Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7388610B2 - Video encoding method, video decoding method, and terminal - Google Patents
[go: Go Back, main page]

JP7388610B2 - Video encoding method, video decoding method, and terminal - Google Patents

Video encoding method, video decoding method, and terminal Download PDF

Info

Publication number
JP7388610B2
JP7388610B2 JP2022032366A JP2022032366A JP7388610B2 JP 7388610 B2 JP7388610 B2 JP 7388610B2 JP 2022032366 A JP2022032366 A JP 2022032366A JP 2022032366 A JP2022032366 A JP 2022032366A JP 7388610 B2 JP7388610 B2 JP 7388610B2
Authority
JP
Japan
Prior art keywords
motion vector
motion
image block
current image
predicted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022032366A
Other languages
Japanese (ja)
Other versions
JP2022084683A (en
Inventor
アン、ジーチェン
チェン、シュー
ゼン、ジアンフア
Original Assignee
ホアウェイ・テクノロジーズ・カンパニー・リミテッド
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ホアウェイ・テクノロジーズ・カンパニー・リミテッド filed Critical ホアウェイ・テクノロジーズ・カンパニー・リミテッド
Priority to JP2022032366A priority Critical patent/JP7388610B2/en
Publication of JP2022084683A publication Critical patent/JP2022084683A/en
Application granted granted Critical
Publication of JP7388610B2 publication Critical patent/JP7388610B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は、映像符号化および復号分野に関し、特に、映像符号化方法、映像復号方法、および端末に関する。 The present invention relates to the field of video encoding and decoding, and particularly relates to a video encoding method, a video decoding method, and a terminal.

映像符号化圧縮の基本原理は、空間領域と、時間領域と、コードワードとの間の相関性を用いて、可能な限り、冗長性を無くすことである。ブロックベースのハイブリッド映像符号化フレームワークは、映像符号化圧縮がイントラ予測、インター予測、変換、定量化、エントロピー符号化、および同様のものの段階を実行することによって実現される、比較的普及している方法である。ムービングピクチャエクスパーツグループ(Moving Picture Experts Group,MPEG)および高効率映像符号化(High Efficiency Video Coding,HEVC)標準規格の両方が、ブロックベースのハイブリッド映像符号化フレームワークを用いる。 The basic principle of video coding and compression is to eliminate redundancy as much as possible by using the correlation between the spatial domain, time domain, and codewords. Block-based hybrid video coding frameworks are relatively popular, where video coding compression is achieved by performing stages of intra-prediction, inter-prediction, transform, quantification, entropy coding, and the like. This is the way to be. Both the Moving Picture Experts Group (MPEG) and High Efficiency Video Coding (HEVC) standards use block-based hybrid video coding frameworks.

インター予測中、動き補償プロセスを用いることによって画像ブロックの予測ブロックを生成するように、各画像ブロックの動き情報を決定する必要がある。動き情報は、参照画像情報および動きベクトルを含む。 During inter prediction, motion information for each image block needs to be determined so as to generate a predictive block for the image block by using a motion compensation process. The motion information includes reference image information and motion vectors.

現在の画像ブロックの動き情報を決定するとき、一般的に用いられる方法は、マージモード(merge mode)、非マージモード、および同様のものを含む。以下の段階は、マージモードに含まれ得る。 When determining motion information for a current image block, commonly used methods include merge mode, non-merge mode, and the like. The following stages may be included in merge mode.

1.候補動き情報リストを構築し、ここで、リストにおける候補動き情報は、空間的にまたは時間的に現在の画像ブロックの隣接ブロックの動き情報を用いることによって推論により取得される。 1. A candidate motion information list is constructed, where candidate motion information in the list is obtained by inference by using motion information of spatially or temporally neighboring blocks of the current image block.

2.候補動き情報リストから1つの動き情報を選択し、リストにおける動き情報のインデックスを転送し、動き情報のインデックスを用いることによって現在の画像ブロックの全ての動き情報を特定する。 2. Select one motion information from the candidate motion information list, transfer the index of the motion information in the list, and use the motion information index to identify all the motion information of the current image block.

マージモードの動きベクトルが、隣接ブロックの動きベクトルを完全に複製することによって取得され、その結果、現在の画像ブロックの動きベクトルが十分に正確になっていない。 The merge mode motion vector is obtained by completely duplicating the motion vector of the neighboring block, so that the motion vector of the current image block is not accurate enough.

しかし、非マージモードでは、現在の画像ブロックの動き情報は、以下の段階を実行することによって決定され得る。 However, in non-merge mode, the motion information of the current image block may be determined by performing the following steps.

1.参照画像情報を転送し、ここで、参照画像情報は、片方向/双方向予測情報、1つまたは2つの参照画像リスト、当該1つまたは2つの参照画像リストにそれぞれ対応する1つまたは2つの参照画像インデックスを含む。 1. Transfer reference image information, where the reference image information includes unidirectional/bidirectional prediction information, one or two reference image lists, and one or two reference image lists corresponding to the one or two reference image lists, respectively. Contains reference image index.

2.候補動きベクトル予測値リストを構築し、ここで、リストにおける候補動きベクトル予測値は、現在の画像ブロックの隣接ブロックの動き情報を用いることによって推論により取得される。 2. A list of candidate motion vector predictors is constructed, where the candidate motion vector predictors in the list are obtained by inference by using motion information of neighboring blocks of the current image block.

3.候補動きベクトル予測値リストから動きベクトル予測値を選択し、リストにおける動きベクトル予測値のインデックスを転送し、動きベクトル予測値のインデックスを用いることによって現在の画像ブロックの動きベクトル予測値を特定する。 3. Selecting a motion vector predictor from a list of candidate motion vector predictors, transferring an index of the motion vector predictor in the list, and using the index of the motion vector predictor to identify a motion vector predictor for the current image block.

4.動きベクトル差を転送し、動きベクトル差と動きベクトル予測値とを加算し、現在の画像ブロックの動きベクトルを取得する。 4. Transfer the motion vector difference, add the motion vector difference and the motion vector prediction value, and obtain the motion vector of the current image block.

非マージモードでは、参照画像情報、動きベクトル予測値のインデックス、および対応する動きベクトル差を転送する必要があり、これにより、動き情報がより正確となる。しかし、比較的大量の情報が転送され、その結果、ビットレートが比較的高い。 In non-merging mode, the reference picture information, motion vector predictor index, and corresponding motion vector difference need to be transferred, which makes the motion information more accurate. However, a relatively large amount of information is transferred and, as a result, the bit rate is relatively high.

本発明の実施形態は、映像符号化方法、映像復号方法、および端末を提供し、同じ映像品質の場合において、転送される必要がある情報を減少させ、それにより、一定の伝送ビットを節約する。 Embodiments of the present invention provide a video encoding method, a video decoding method, and a terminal, which reduce the information that needs to be transferred in the case of the same video quality, thereby saving a certain number of transmission bits. .

本発明の実施形態の第1の態様は、映像復号方法を開示し、当該映像復号方法は、ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得する段階であって、予測動き情報は、参照画像情報および動きベクトル予測値を含み、候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、段階と、インデックスに基づき、候補予測動き情報リストを照会し、発見された候補予測動き情報を予測動き情報として用いる段階と、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定し、ビットストリームから動きベクトル差を取得する段階と、対応関係に基づき、動きベクトル予測値と対応する動きベクトル差とを加算し、現在の画像ブロックの動きベクトルを取得する段階とを備える。 A first aspect of embodiments of the present invention discloses a video decoding method, the video decoding method comprising the step of obtaining, from a bitstream, an index of predicted motion information of a current image block in a candidate predicted motion information list. The predicted motion information includes reference image information and a motion vector predicted value, and the candidate predicted motion information in the candidate predicted motion information list is motion information of a block adjacent to the current image block in the time domain or the spatial domain. a step of querying the candidate predicted motion information list based on the index and using the discovered candidate predicted motion information as predicted motion information; determining a correspondence and obtaining a motion vector difference from the bitstream; and adding a motion vector predicted value and a corresponding motion vector difference based on the correspondence to obtain a motion vector of the current image block. Equipped with.

本実装方式において、現在の画像ブロックの動きベクトル予測値は、動きベクトル差を用いることによって補正され、これにより、再構築により取得された現在の画像ブロックの動きベクトルはより正確となる。加えて、動きベクトル差は、動きベクトル差と動きベクトル予測値との間の対応関係に基づき、より有効に決定され、それにより、伝送ビットを節約する。 In this implementation, the motion vector prediction of the current image block is corrected by using the motion vector difference, so that the motion vector of the current image block obtained by reconstruction is more accurate. In addition, the motion vector difference is determined more efficiently based on the correspondence between the motion vector difference and the motion vector predictor, thereby saving transmission bits.

任意選択的な実装方式において、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階は、参照画像情報に基づき、現在の画像ブロックの予測モードを決定する段階であって、予測モードは、片方向予測または双方向予測を含む、段階と、予測モードに基づき、動きベクトル差の個数を決定する段階と、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階とを含む。 In an optional implementation, determining the correspondence between the motion vector difference and the motion vector predictor based on the predicted motion information determines a prediction mode for the current image block based on the reference image information. a step of determining the number of motion vector differences based on the prediction mode; and a step of determining the number of motion vector differences based on the number of motion vector differences and predicted motion information. , determining a correspondence between the motion vector difference and the motion vector predicted value.

本実装方式において、動きベクトル差と動きベクトル予測値との間の対応関係は決定され、そして、動きベクトル予測値は、動きベクトル予測値に対応する動きベクトル差を用いることによって補正され、これにより、再構築により取得された現在の画像ブロックの動きベクトルはより正確となる。 In this implementation scheme, the correspondence between the motion vector difference and the motion vector predicted value is determined, and the motion vector predicted value is corrected by using the motion vector difference corresponding to the motion vector predicted value, thereby , the motion vector of the current image block obtained by reconstruction will be more accurate.

任意選択的な実装方式において、予測モードに基づき、動きベクトル差の個数を決定する段階は、予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定する段階、または、予測モードが双方向予測であり、かつ、参照画像情報が参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定する段階、または、予測モードが双方向予測である場合、現在の画像ブロックのビットストリーム、ビットストリームのスライスレイヤヘッダ情報、ビットストリームの画像レイヤヘッダ情報、およびビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つから、動きベクトル差の個数を取得する段階を含む。 In an optional implementation, determining the number of motion vector differences based on the prediction mode includes determining that there is one motion vector difference if the prediction mode is unidirectional prediction; is bidirectional prediction, and the reference picture information includes a picture order count of the reference picture, the step of determining the number of motion vector differences based on the picture order count of the reference picture of the current picture block, or the prediction If the mode is bidirectional prediction, the motion vector is extracted from at least one of the bitstream of the current image block, the slice layer header information of the bitstream, the image layer header information of the bitstream, and the sequence layer header information of the bitstream. The method includes the step of obtaining the number of differences.

本実装方式の有益な効果は以下の通りである。現在の画像ブロックの動きベクトル予測値は、動きベクトル差を用いることによって補正され、これにより、再構築により取得された現在の画像ブロックの動きベクトルはより正確となる。 The beneficial effects of this implementation method are as follows. The motion vector prediction of the current image block is corrected by using the motion vector difference, so that the motion vector of the current image block obtained by reconstruction is more accurate.

任意選択的な実装方式において、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定する段階は、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定する段階、または、現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定する段階を含む。 In an optional implementation scheme, determining the number of motion vector differences based on the picture order count of the reference picture of the current image block includes the step of determining the number of motion vector differences based on the picture order count of the first reference picture of the current image block. determining that a motion vector difference exists between the two if the picture order count of the second reference picture of the current image block is greater than the picture order count of the image block and is less than the picture order count of the current image block; or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block, or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block. If so, determining that there is one motion vector difference.

本実装方式の有益な効果は、以下の通りである。現在の画像ブロックの動きベクトル予測値は、動きベクトル差を用いることによって補正され、これにより、再構築により取得された現在の画像ブロックの動きベクトルは、より正確となる。 The beneficial effects of this implementation scheme are as follows. The motion vector prediction of the current image block is corrected by using the motion vector difference, so that the motion vector of the current image block obtained by reconstruction is more accurate.

任意選択的な実装方式において、予測モードが双方向予測である場合、予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階は、2つの動きベクトル差が存在する場合、2つの動きベクトル差を、第1の動きベクトル予測値と第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いる段階、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差として用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を、第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、ビットストリームから、動きベクトル差が第1の動きベクトル予測値に対応していることを示すか、もしくは動きベクトル差が第2の動きベクトル予測値に対応していることを示す情報を取得し、取得された情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階を含む。 In an optional implementation, if the prediction mode is bidirectional prediction, the predicted motion information includes two motion vector predictors, a first motion vector predictor and a second motion vector predictor; The step of determining a correspondence relationship between a motion vector difference and a motion vector predicted value based on the number of differences and predicted motion information includes, when two motion vector differences exist, converting the two motion vector differences into a first separately using the motion vector predicted value of the second motion vector predicted value as the corresponding motion vector difference, or, if one motion vector difference exists, converting the motion vector difference to the first motion vector predicted value. either use the motion vector difference as the corresponding motion vector difference and set the motion vector difference corresponding to the second motion vector predicted value to 0, or use the motion vector difference as the motion vector difference corresponding to the second motion vector predicted value. The motion vector difference corresponding to the first motion vector predicted value is set to 0, or the motion vector difference is set to the motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value. used as a vector difference, or indicates from the bitstream that the motion vector difference corresponds to a first motion vector prediction, or that the motion vector difference corresponds to a second motion vector prediction. and determining a correspondence between the motion vector difference and the motion vector predicted value based on the obtained information.

本実装方式の有益な効果は、以下の通りである。現在の画像ブロックの動きベクトル予測値は、動きベクトル差を用いることによって補正され、これにより、再構築により取得された現在の画像ブロックの動きベクトルは、より正確となる。加えて、動きベクトル差は、動きベクトル差と動きベクトル予測値との間の対応関係に基づき、より有効に決定され、それにより、伝送ビットを節約する。 The beneficial effects of this implementation scheme are as follows. The motion vector prediction of the current image block is corrected by using the motion vector difference, so that the motion vector of the current image block obtained by reconstruction is more accurate. In addition, the motion vector difference is determined more efficiently based on the correspondence between the motion vector difference and the motion vector predictor, thereby saving transmission bits.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つから取得される。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is obtained from at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream.

本実装方式の有益な効果は以下の通りである。現在の画像ブロックの動きベクトル予測値は、動きベクトル差を用いることによって補正され、これにより、再構築により取得された現在の画像ブロックの動きベクトルは、より正確となる。 The beneficial effects of this implementation method are as follows. The motion vector prediction of the current image block is corrected by using the motion vector difference, so that the motion vector of the current image block obtained by reconstruction is more accurate.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list.

本実装方式の有益な効果は以下の通りである。候補予測動き情報リストにおける候補予測動き情報の個数が、計算の複雑さを低減させるよう制御され、それにより、復号速度を増加させる。 The beneficial effects of this implementation method are as follows. The number of candidate predicted motion information in the candidate predicted motion information list is controlled to reduce computational complexity, thereby increasing decoding speed.

任意選択的な実装方式において、現在の画像ブロックは、ビットストリームに対応する現在の再構築されるべき画像ブロックの任意の予測単位である。 In an optional implementation, the current image block is an arbitrary prediction unit of the current to-be-reconstructed image block corresponding to the bitstream.

本実装方式の有益な効果は、以下の通りである。現在の画像ブロックの動きベクトル予測値は、動きベクトル差を用いることによって補正され、これにより、再構築により取得された現在の画像ブロックの動きベクトルは、より正確となる。加えて、動きベクトル差は、動きベクトル差と動きベクトル予測値との間の対応関係に基づき、より有効に決定され、それにより、伝送ビットを節約する。 The beneficial effects of this implementation scheme are as follows. The motion vector prediction of the current image block is corrected by using the motion vector difference, so that the motion vector of the current image block obtained by reconstruction is more accurate. In addition, the motion vector difference is determined more efficiently based on the correspondence between the motion vector difference and the motion vector predictor, thereby saving transmission bits.

本発明の実施形態の第2の態様は、映像復号端末を開示し、当該映像復号端末は、プロセッサとメモリとを備える。プロセッサは、ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得するオペレーションであって、予測動き情報は、参照画像情報および動きベクトル予測値を含み、候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、オペレーションと、インデックスに基づき、候補予測動き情報リストを照会し、発見された候補予測動き情報を予測動き情報として用いるオペレーションと、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定し、ビットストリームから動きベクトル差を取得するオペレーションと、対応関係に基づき、動きベクトル予測値と対応する動きベクトル差とを加算し、現在の画像ブロックの動きベクトルを取得するオペレーションとを実行するよう構成される。 A second aspect of an embodiment of the present invention discloses a video decoding terminal, the video decoding terminal comprising a processor and a memory. The processor obtains an index of predicted motion information of a current image block in a candidate predicted motion information list from a bitstream, the predicted motion information includes reference image information and a motion vector predicted value, and the predicted motion information includes reference image information and a motion vector predicted value; The candidate predicted motion information in the information list is the motion information of adjacent blocks of the current image block in the time domain or the spatial domain. Based on the operation and index, the candidate predicted motion information list is queried and the found candidate predicted motion an operation that uses information as predicted motion information; an operation that determines a correspondence relationship between a motion vector difference and a motion vector predicted value based on the predicted motion information; and an operation that obtains a motion vector difference from a bitstream; , adding the motion vector predicted value and the corresponding motion vector difference to obtain the motion vector of the current image block.

任意選択的な実装方式において、プロセッサは、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階は、参照画像情報に基づき、現在の画像ブロックの予測モードを決定する段階であって、予測モードは、片方向予測または双方向予測を含む、段階と、予測モードに基づき、動きベクトル差の個数を決定する段階と、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階とを含む。 In an optional implementation, the processor determines, based on the predicted motion information, the correspondence between the motion vector difference and the motion vector predictor based on the prediction mode of the current image block, based on the reference image information. a step of determining the number of motion vector differences based on the prediction mode, and a step of determining the number of motion vector differences and predicted motion information based on the prediction mode. and determining a correspondence between the motion vector difference and the motion vector predicted value based on the motion vector difference and the motion vector predicted value.

任意選択的な実装方式において、プロセッサが、予測モードに基づき、動きベクトル差の個数を決定することは、予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定すること、または、予測モードが双方向予測であり、かつ、参照画像情報が参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定すること、または、予測モードが双方向予測である場合、現在の画像ブロックのビットストリーム、ビットストリームのスライスレイヤヘッダ情報、ビットストリームの画像レイヤヘッダ情報、およびビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つから、動きベクトル差の個数を取得することを含む。 In an optional implementation, the processor determining the number of motion vector differences based on the prediction mode includes determining that there is one motion vector difference if the prediction mode is unidirectional prediction; or , when the prediction mode is bidirectional prediction and the reference picture information includes a picture order count of the reference picture, determining the number of motion vector differences based on the picture order count of the reference picture of the current picture block; or, if the prediction mode is bidirectional prediction, from at least one of the bitstream of the current image block, slice layer header information of the bitstream, image layer header information of the bitstream, and sequence layer header information of the bitstream. , including obtaining the number of motion vector differences.

任意選択的な実装方式において、プロセッサが、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定することは、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定すること、または、現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定することを含む。 In an optional implementation, the processor determines the number of motion vector differences based on a picture order count of a reference picture of the current image block, the processor determining the number of motion vector differences based on a picture order count of a first reference picture of the current image block. If is greater than the picture order count of the current image block, and the picture order count of the second reference picture of the current image block is less than the picture order count of the current image block, it is determined that there is a difference between the two motion vectors. or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block, or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block. if less than the ordinal count, determining that one motion vector difference exists;

任意選択的な実装方式において、予測モードが双方向予測である場合、予測動き情報が第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、プロセッサが動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定することは、2つの動きベクトル差が存在する場合、2つの動きベクトル差を、第1の動きベクトル予測値と第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いること、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差として用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、ビットストリームから、動きベクトル差が第1の動きベクトル予測値に対応していることを示すか、もしくは動きベクトル差が第2の動きベクトル予測値に対応していることを示す情報を取得し、取得された情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定することを含む。 In an optional implementation, if the prediction mode is bidirectional prediction, the predicted motion information includes two motion vector predictors, a first motion vector predictor and a second motion vector predictor, and the processor Determining the correspondence between a motion vector difference and a motion vector predicted value based on the number of vector differences and predicted motion information means that when two motion vector differences exist, the two motion vector differences are The first motion vector predicted value and the second motion vector predicted value may be used separately as the motion vector difference corresponding to the second motion vector predicted value, or if one motion vector difference exists, the motion vector difference is used as the first motion vector predicted value. or set the motion vector difference corresponding to the second motion vector predicted value to 0, or use the motion vector difference as the motion vector difference corresponding to the second motion vector predicted value. and set the motion vector difference corresponding to the first motion vector predicted value to 0, or set the motion vector difference to the motion corresponding to each of the first motion vector predicted value and the second motion vector predicted value. used as a vector difference, or indicates from the bitstream that the motion vector difference corresponds to a first motion vector prediction, or that the motion vector difference corresponds to a second motion vector prediction. and determining a correspondence between the motion vector difference and the motion vector predicted value based on the obtained information.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つから取得される。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is obtained from at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list.

任意選択的な実装方式において、現在の画像ブロックは、ビットストリームに対応する現在の再構築されるべき画像ブロックの任意の予測単位である。 In an optional implementation, the current image block is an arbitrary prediction unit of the current to-be-reconstructed image block corresponding to the bitstream.

本発明の実施形態の第3の態様は、映像復号端末を開示し、当該映像復号端末は、ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得するよう構成される第1の取得ユニットであって、予測動き情報は、参照画像情報および動きベクトル予測値を含み、候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、第1の取得ユニットと、インデックスに基づき、候補予測動き情報リストを照会し、発見された候補予測動き情報を予測動き情報として用いるよう構成される照会ユニットと、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するよう構成される決定ユニットと、ビットストリームから動きベクトル差を取得するよう構成される第2の取得ユニットと、対応関係に基づき、動きベクトル予測値と対応する動きベクトル差とを加算し、現在の画像ブロックの動きベクトルを取得するよう構成される演算ユニットとを備える。 A third aspect of embodiments of the present invention discloses a video decoding terminal, the video decoding terminal being configured to obtain from a bitstream an index of predicted motion information of a current image block in a candidate predicted motion information list. a first acquisition unit in which the predicted motion information includes reference image information and a motion vector predicted value, and the candidate predicted motion information in the candidate predicted motion information list is a first acquisition unit of the current image block in the temporal domain or the spatial domain; a first acquisition unit configured to query a list of candidate predicted motion information based on the index and use the found candidate predicted motion information as predicted motion information; a determining unit configured to determine a correspondence between a motion vector difference and a motion vector predictor based on the motion information; a second obtaining unit configured to obtain a motion vector difference from the bitstream; and a calculation unit configured to add the motion vector prediction value and the corresponding motion vector difference based on the correspondence to obtain the motion vector of the current image block.

任意選択的な実装方式において、決定ユニットは、参照画像情報に基づき、現在の画像ブロックの予測モードを決定するよう構成される第1の決定サブユニットであって、予測モードは、片方向予測または双方向予測を含む、第1の決定サブユニットと、予測モードに基づき、動きベクトル差の個数を決定するよう構成される第2の決定サブユニットと、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するよう構成される第3の決定サブユニットとを有する。 In an optional implementation, the determining unit is a first determining subunit configured to determine a prediction mode of the current image block based on the reference image information, the prediction mode being unidirectional prediction or a first determination subunit configured to determine a number of motion vector differences based on a prediction mode, and a second determination subunit configured to determine a number of motion vector differences and predicted motion information; a third determining sub-unit configured to determine a correspondence between the motion vector difference and the motion vector predicted value based on the motion vector prediction value.

任意選択的な実装方式において、第2の決定サブユニットは、予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または予測モードが双方向予測であり、かつ、参照画像情報が参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定するか、または、予測モードが双方向予測である場合、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つから動きベクトル差の個数を取得するよう構成される。 In an optional implementation, the second determining sub-unit determines that one motion vector difference exists if the prediction mode is unidirectional prediction, or if the prediction mode is bidirectional prediction, and If the reference picture information includes a picture order count of the reference picture, determine the number of motion vector differences based on the picture order count of the reference picture of the current picture block, or if the prediction mode is bidirectional prediction; The number of motion vector differences is configured to be obtained from at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream.

任意選択的な実装方式において、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定するとき、第2の決定サブユニットは、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または、現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定するよう構成される。 In an optional implementation scheme, when determining the number of motion vector differences based on the picture order count of the reference picture of the current image block, the second determining sub-unit selects the first reference picture of the current image block. If the picture order count of the current image block is greater than the picture order count of the current image block, and the picture order count of the second reference picture of the current image block is less than the picture order count of the current image block, then the difference between the two motion vectors exists, or the picture order count of each reference picture of the current picture block is greater than the picture order count of the current picture block, or the picture order count of each reference picture of the current picture block is greater than the picture order count of the current picture block. If it is less than the picture order count of the image block, it is configured to determine that one motion vector difference exists.

任意選択的な実装方式において、予測モードが双方向予測である場合、予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、第3の決定サブユニットは、2つの動きベクトル差が存在する場合、2つの動きベクトル差を、第1の動きベクトル予測値および第2の動きベクトル予測値に対応する動きベクトル差として別々に用いるか、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差として用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を、第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、ビットストリームから、動きベクトル差が第1の動きベクトル予測値に対応していることを示すか、もしくは動きベクトル差が第2の動きベクトル予測値に対応していることを示す情報を取得するよう構成される。 In an optional implementation, if the prediction mode is bidirectional prediction, the predicted motion information includes two motion vector predictors, a first motion vector predictor and a second motion vector predictor, and a third motion vector predictor. If there are two motion vector differences, the determining subunit of is configured to separately use the two motion vector differences as a motion vector difference corresponding to a first motion vector predicted value and a second motion vector predicted value; Alternatively, if one motion vector difference exists, use the motion vector difference as the motion vector difference corresponding to the first motion vector prediction value and set the motion vector difference corresponding to the second motion vector prediction value to 0. or use the motion vector difference as the motion vector difference corresponding to the second motion vector predictor and set the motion vector difference corresponding to the first motion vector predictor to 0; or Use the difference as a motion vector difference corresponding to each of the first motion vector predictor and the second motion vector predictor, or use the difference as a motion vector difference corresponding to each of the first motion vector predictor and the second motion vector predictor, or or that the motion vector difference corresponds to a second motion vector prediction.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つから取得される。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is obtained from at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list.

任意選択的な実装方式において、現在の画像ブロックは、ビットストリームに対応する現在の再構築されるべき画像ブロックの任意の予測単位である。 In an optional implementation, the current image block is an arbitrary prediction unit of the current to-be-reconstructed image block corresponding to the bitstream.

本発明の実施形態の第4の態様は、映像符号化方法を開示し、当該映像符号化方法は、現在の画像ブロックの候補予測動き情報リストを構築する段階であって、候補予測動き情報リストに含まれる候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、段階と、動き推定中に取得された、現在の画像ブロックの動きベクトルに基づき、候補予測動き情報リストから、1つの候補予測動き情報を現在の画像ブロックの予測動き情報として選択し、候補予測動き情報リストにおける、選択された候補予測動き情報のインデックスを決定する段階であって、予測動き情報は、参照画像情報および動きベクトル予測値を含む、段階と、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階と、対応関係と動きベクトルとに基づき、動きベクトル予測値に対応する動きベクトル差を取得する段階と、インデックスと動きベクトル差とをビットストリームに符号化する段階とを備える。 A fourth aspect of embodiments of the present invention discloses a video encoding method, the video encoding method comprising: constructing a candidate predicted motion information list for a current image block; The candidate predicted motion information included in the candidate prediction motion information is the motion information of the neighboring blocks of the current image block in the time domain or the spatial domain. a step of selecting one candidate predicted motion information from a predicted motion information list as predicted motion information of the current image block, and determining an index of the selected candidate predicted motion information in the candidate predicted motion information list, the step of: The motion information includes a step of including reference image information and a motion vector predicted value, a step of determining a correspondence between a motion vector difference and a motion vector predicted value based on the predicted motion information, and a step of determining a correspondence between the motion vector difference and the motion vector predicted value based on the predicted motion information. , and encoding the index and the motion vector difference into a bitstream.

任意選択的な実装方式において、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階は、参照画像情報に基づき、現在の画像ブロックの予測モードを決定する段階であって、予測モードは、片方向予測または双方向予測を含む、段階と、予測モードに基づき、動きベクトル差の個数を決定する段階と、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階とを含む。 In an optional implementation, determining the correspondence between the motion vector difference and the motion vector predictor based on the predicted motion information determines a prediction mode for the current image block based on the reference image information. a step of determining the number of motion vector differences based on the prediction mode; and a step of determining the number of motion vector differences based on the number of motion vector differences and predicted motion information. , determining a correspondence between the motion vector difference and the motion vector predicted value.

任意選択的な実装方式において、予測モードに基づき、動きベクトル差の個数を決定する段階は、予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定する段階、または、予測モードが双方向予測であり、かつ、参照画像情報が現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定する段階、または、予測モードが双方向予測である場合、動きベクトル差の予め設定された個数を、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する段階を含む。 In an optional implementation, determining the number of motion vector differences based on the prediction mode includes determining that there is one motion vector difference if the prediction mode is unidirectional prediction; is bidirectional prediction, and the reference picture information includes a picture order count of the reference picture of the current picture block, determine the number of motion vector differences based on the picture order count of the reference picture of the current picture block. When the step or prediction mode is bidirectional prediction, a preset number of motion vector differences is encoded into at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream. including the stage of

任意選択的な実装方式において、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定する段階は、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定する段階、または、現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定する段階を含む。 In an optional implementation scheme, determining the number of motion vector differences based on the picture order count of the reference picture of the current image block includes the step of determining the number of motion vector differences based on the picture order count of the first reference picture of the current image block. determining that a motion vector difference exists between the two if the picture order count of the second reference picture of the current image block is greater than the picture order count of the image block and is less than the picture order count of the current image block; or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block, or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block. If so, determining that there is one motion vector difference.

任意選択的な実装方式において、予測モードが双方向予測である場合、予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する段階は、2つの動きベクトル差が存在する場合、2つの動きベクトル差を、第1の動きベクトル予測値と第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いる段階、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差として用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは動きベクトル差を第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは予め設定された対応関係に基づき、動きベクトル差と、第1の動きベクトル予測値および第2の動きベクトル予測値の各々との間の対応関係を決定し、予め設定された対応関係をビットストリームに符号化する段階を含む。 In an optional implementation, if the prediction mode is bidirectional prediction, the predicted motion information includes two motion vector predictors, a first motion vector predictor and a second motion vector predictor; The step of determining a correspondence relationship between a motion vector difference and a motion vector predicted value based on the number of differences and predicted motion information includes, when two motion vector differences exist, converting the two motion vector differences into a first separately using the motion vector predicted value of the second motion vector predicted value as the corresponding motion vector difference, or, if one motion vector difference exists, converting the motion vector difference to the first motion vector predicted value. using the motion vector difference as the corresponding motion vector difference and setting the motion vector difference corresponding to the second motion vector predicted value to 0; or using the motion vector difference as the motion vector difference corresponding to the second motion vector predicted value. , the motion vector difference corresponding to the first motion vector predicted value is set to 0, or the motion vector difference is set as the motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value. determining the correspondence between the motion vector difference and each of the first motion vector predicted value and the second motion vector predicted value based on the preset correspondence; and encoding the relationship into a bitstream.

任意選択的な実装方式において、当該方法は、候補予測動き情報リストにおける候補予測動き情報の個数を、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する段階を備える。 In an optional implementation, the method sets the number of candidate motion information in the candidate motion information list to at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream. a step of encoding.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list.

任意選択的な実装方式において、現在の画像ブロックは、ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である。 In an optional implementation, the current image block is an arbitrary prediction unit of the current to-be-encoded image block corresponding to the bitstream.

本発明の実施形態の第5の態様は、映像符号化端末を開示し、当該映像符号化端末は、プロセッサとメモリとを備える。プロセッサは、現在の画像ブロックの候補予測動き情報リストを構築するオペレーションであって、候補予測動き情報リストに含まれる候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、オペレーションと、動き推定中に取得された、現在の画像ブロックの動きベクトルに基づき、候補予測動き情報リストから、1つの候補予測動き情報を現在の画像ブロックの予測動き情報として選択し、候補予測動き情報リストにおける、選択された候補予測動き情報のインデックスを決定するオペレーションであって、予測動き情報は、参照画像情報および動きベクトル予測値を含む、オペレーションと、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するオペレーションと、対応関係と動きベクトルとに基づき、動きベクトル予測値に対応する動きベクトル差を取得するオペレーションと、インデックスと動きベクトル差とをビットストリームに符号化するオペレーションとを実行するよう構成される。 A fifth aspect of an embodiment of the present invention discloses a video encoding terminal, the video encoding terminal comprising a processor and a memory. The processor is operable to construct a candidate predicted motion information list for a current image block, wherein the candidate predicted motion information included in the candidate predicted motion information list is a motion of a neighboring block of the current image block in a temporal domain or a spatial domain. Select one candidate predicted motion information from the candidate predicted motion information list as the predicted motion information of the current image block based on the operation information and the motion vector of the current image block obtained during motion estimation. , an operation for determining an index of selected candidate predicted motion information in a candidate predicted motion information list, the predicted motion information includes reference image information and a motion vector predicted value, and based on the operation and the predicted motion information, an operation for determining a correspondence between a motion vector difference and a motion vector predicted value; an operation for obtaining a motion vector difference corresponding to a motion vector predicted value based on the correspondence and the motion vector; and an operation of encoding the data into a bitstream.

任意選択的な実装方式において、プロセッサが予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定することは、参照画像情報に基づき、現在の画像ブロックの予測モードであって、片方向予測または双方向予測を含む予測モードを決定することと、予測モードに基づき、動きベクトル差の個数を決定することと、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定することとを含む。 In an optional implementation scheme, the processor determines the correspondence between the motion vector difference and the motion vector predictor based on the predicted motion information in a prediction mode of the current image block based on the reference image information. The method includes determining a prediction mode including unidirectional prediction or bidirectional prediction, determining the number of motion vector differences based on the prediction mode, and determining motion vector differences based on the number of motion vector differences and predicted motion information. determining a correspondence between the vector difference and the motion vector predictor.

任意選択的な実装方式において、プロセッサが予測モードに基づき、動きベクトル差の個数を決定することは、予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または、予測モードが双方向予測であり、かつ、参照画像情報が現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定するか、または、予測モードが双方向予測である場合、動きベクトル差の予め設定された個数を、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化することを含む。 In an optional implementation, the processor determines the number of motion vector differences based on the prediction mode, determining that there is one motion vector difference if the prediction mode is unidirectional prediction; or If the prediction mode is bidirectional prediction and the reference picture information includes the picture order count of the reference picture of the current picture block, calculate the number of motion vector differences based on the picture order count of the reference picture of the current picture block. or, if the prediction mode is bidirectional prediction, a preset number of motion vector differences based on at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream. including encoding.

任意選択的な実装方式において、プロセッサが、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定することは、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または、現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定することを含む。 In an optional implementation, the processor determines the number of motion vector differences based on a picture order count of a reference picture of the current image block, the processor determining the number of motion vector differences based on a picture order count of a first reference picture of the current image block. If is greater than the picture order count of the current image block, and the picture order count of the second reference picture of the current image block is less than the picture order count of the current image block, it is determined that there is a difference between the two motion vectors. or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block, or the picture order count of each reference picture of the current image block is greater than the picture order count of the current image block. if less than the ordinal count, determining that one motion vector difference exists;

任意選択的な実装方式において、予測モードが双方向予測である場合、予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、プロセッサが、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定することは、2つの動きベクトル差が存在する場合、2つの動きベクトル差を第1の動きベクトル予測値と第2の動きベクトル予測値とに対応する動きベクトル差を別々に用いること、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差として用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を、第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、予め設定された対応関係に基づき、動きベクトル差と、第1の動きベクトル予測値および第2の動きベクトル予測値の各々との間の対応関係を決定し、予め設定された対応関係をビットストリームに符号化することを含む。 In an optional implementation, if the prediction mode is bidirectional prediction, the predicted motion information includes two motion vector predictors, a first motion vector predictor and a second motion vector predictor, and the processor , determining the correspondence between the motion vector difference and the motion vector predicted value based on the number of motion vector differences and the predicted motion information means that if there are two motion vector differences, the two motion vector differences are Using motion vector differences corresponding to the first motion vector prediction value and the second motion vector prediction value separately, or, if one motion vector difference exists, using the motion vector difference as the first motion vector prediction value. or use the motion vector difference corresponding to the second motion vector predicted value as the motion vector difference corresponding to the second motion vector predicted value, or set the motion vector difference corresponding to the second motion vector predicted value to 0. and set the motion vector difference corresponding to the first motion vector predicted value to 0, or set the motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value. or determine a correspondence relationship between the motion vector difference and each of the first motion vector predicted value and the second motion vector predicted value based on a preset correspondence relationship. , including encoding the preset correspondence into a bitstream.

任意選択的な実装方式において、当該方法は、候補予測動き情報リストにおける候補予測動き情報の個数を、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する段階を備える。 In an optional implementation, the method sets the number of candidate motion information in the candidate motion information list to at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream. a step of encoding.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list.

任意選択的な実装方式において、現在の画像ブロックは、ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である。 In an optional implementation, the current image block is an arbitrary prediction unit of the current to-be-encoded image block corresponding to the bitstream.

本発明の実施形態の第6の態様は、映像符号化端末を開示し、当該映像符号化端末は、現在の画像ブロックの候補予測動き情報リストを構築するよう構成されるリスト構築ユニットであって、候補予測動き情報リストに含まれる候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、リスト構築ユニットと、動き推定中に取得された、現在の画像ブロックの動きベクトルに基づき、候補予測動き情報リストから、1つの候補予測動き情報を、現在の画像ブロックの予測動き情報として選択するよう構成される選択ユニットであって、予測動き情報は、参照画像情報および動きベクトル予測値を含む、選択ユニットと、候補予測動き情報リストにおける、選択された候補予測動き情報のインデックスを決定するよう構成される第1の決定ユニットと、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するよう構成される第2の決定ユニットと、対応関係と動きベクトルとに基づき、動きベクトル予測値に対応する動きベクトル差を取得するよう構成される取得ユニットと、インデックスと動きベクトル差とをビットストリームに符号化するよう構成される第1の符号化ユニットとを備える。 A sixth aspect of embodiments of the present invention discloses a video encoding terminal, the video encoding terminal being a list construction unit configured to construct a candidate predicted motion information list for the current image block. , the candidate predicted motion information included in the candidate predicted motion information list is the motion information of neighboring blocks of the current image block in the time domain or the spatial domain. a selection unit configured to select one candidate predicted motion information from a candidate predicted motion information list as predicted motion information of a current image block based on a motion vector of the block, the predicted motion information being a reference image; a selection unit configured to determine an index of the selected candidate predicted motion information in the list of candidate predicted motion information; a second determining unit configured to determine a correspondence between the vector difference and the motion vector predictor; and a second determining unit configured to determine a correspondence between the vector difference and the motion vector predictor, and to obtain a motion vector difference corresponding to the motion vector predictor based on the correspondence and the motion vector. an acquisition unit configured and a first encoding unit configured to encode the index and the motion vector difference into a bitstream.

任意選択的な実装方式において、第2の決定ユニットは、参照画像情報に基づき、現在の画像ブロックの予測モードを決定するよう構成される第1の決定サブユニットであって、予測モードは、片方向予測または双方向予測を含む、第1の決定サブユニットと、予測モードに基づき、動きベクトル差の個数を決定するよう構成される第2の決定サブユニットと、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するよう構成される第3の決定サブユニットとを有する。 In an optional implementation, the second determining unit is a first determining subunit configured to determine a prediction mode of the current image block based on the reference image information, the prediction mode being one-sided. a first determining subunit configured to determine a number of motion vector differences, including directional prediction or bidirectional prediction; and a second determination subunit configured to determine a number of motion vector differences based on a prediction mode; and a second determination subunit configured to determine a number of motion vector differences and a predicted motion. and a third determining subunit configured to determine a correspondence between the motion vector difference and the motion vector prediction based on the information.

任意選択的な実装方式において、第2の決定サブユニットは、予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または、予測モードが双方向予測であり、かつ、参照画像情報が現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定するか、または、予測モードが双方向予測である場合、動きベクトル差の予め設定された個数を、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化するよう構成される。 In an optional implementation, the second determining sub-unit determines that there is one motion vector difference if the prediction mode is unidirectional prediction, or if the prediction mode is bidirectional prediction and , if the reference picture information includes the picture order count of the reference picture of the current picture block, determine the number of motion vector differences based on the picture order count of the reference picture of the current picture block, or if the prediction mode is both In the case of direction prediction, the predetermined number of motion vector differences is configured to be encoded into at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream.

任意選択的な実装方式において、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定するとき、第2の決定サブユニットは、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定するよう構成される。 In an optional implementation scheme, when determining the number of motion vector differences based on the picture order count of the reference picture of the current image block, the second determining sub-unit selects the first reference picture of the current image block. If the picture order count of the current image block is greater than the picture order count of the current image block, and the picture order count of the second reference picture of the current image block is less than the picture order count of the current image block, then the difference between the two motion vectors exists, or the picture order count of each reference picture in the current image block is greater than the picture order count of the current image block, or the picture order count of each reference picture in the current image block is greater than the picture order count of the current image block. If it is less than the picture order count of the block, it is configured to determine that one motion vector difference exists.

任意選択的な実装方式において、予測モードが双方向予測である場合、予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、第3の決定サブユニットは、2つの動きベクトル差が存在する場合、2つの動きベクトル差を、第1の動きベクトル予測値と第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いるか、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差として用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いる、もしくは、予め設定された対応関係に基づき、動きベクトル差と、第1の動きベクトル予測値および第2の動きベクトル予測値の各々との間の対応関係を決定し、予め設定された対応関係をビットストリームに符号化するよう構成される。 In an optional implementation, if the prediction mode is bidirectional prediction, the predicted motion information includes two motion vector predictors, a first motion vector predictor and a second motion vector predictor, and a third motion vector predictor. If there are two motion vector differences, the determining subunit of determines whether to separately use the two motion vector differences as motion vector differences corresponding to the first motion vector predicted value and the second motion vector predicted value. , or, if there is one motion vector difference, use the motion vector difference as the motion vector difference corresponding to the first motion vector predictor and set the motion vector difference corresponding to the second motion vector predictor to 0. or use the motion vector difference as the motion vector difference corresponding to the second motion vector predictor and set the motion vector difference corresponding to the first motion vector predictor to 0; or The vector difference is used as a motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value, or the motion vector difference and the first motion vector are used based on a preset correspondence relationship. The apparatus is configured to determine a correspondence between the predicted value and each of the second motion vector predicted values, and to encode the predetermined correspondence into a bitstream.

任意選択的な実装方式において、端末はさらに、候補予測動き情報リストにおける候補予測動き情報の個数を、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化するよう構成される第2の符号化ユニットを備える。 In an optional implementation, the terminal further sets the number of candidate motion information pieces in the candidate motion information list to at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream. A second encoding unit configured to encode.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list.

任意選択的な実装方式において、現在の画像ブロックは、ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である。 In an optional implementation, the current image block is an arbitrary prediction unit of the current to-be-encoded image block corresponding to the bitstream.

本発明の実施形態の第7の態様は、コンピュータ記憶媒体を開示し、当該コンピュータ記憶媒体は、第1の態様および第4の態様において用いられるコンピュータソフトウェア命令を記憶するよう構成され、コンピュータソフトウェア命令は、前述の態様を実行するために設計されたプログラムを含む。 A seventh aspect of embodiments of the invention discloses a computer storage medium configured to store the computer software instructions used in the first aspect and the fourth aspect, the computer storage medium configured to store computer software instructions used in the first aspect and the fourth aspect. includes programs designed to carry out the aspects described above.

本発明の実施形態の第2の態様から第7の態様における技術的解決手段は、本発明の実施形態の第1の態様における技術的解決手段と一致し、得られる有益な効果は同様であることが理解されるべきである。詳細はここでは再び説明されない。 The technical solutions in the second to seventh aspects of the embodiments of the present invention are consistent with the technical solutions in the first aspect of the embodiments of the present invention, and the obtained beneficial effects are similar. It should be understood that Details are not explained here again.

前述の技術的解決手段から、本発明の実施形態は、以下の利点を有することが分かる。本発明の実施形態において、隣接ブロックの参照画像情報が取得されて現在の画像ブロックの参照画像情報として用いられる。動きベクトルに対して、隣接ブロックの動きベクトルが現在の画像ブロックの動きベクトルを予測するために用いられ、動きベクトル差は転送され、動きベクトル予測値を補正し、動きベクトルの比較的高い精度を達成する。加えて、動きベクトル差は、動きベクトル差と動きベクトル予測値との間の対応関係に基づき、より有効に決定され、それにより、伝送ビットを節約する。本発明の実施形態を実現することは、同じ映像品質の場合において、転送される必要がある情報を減少させることができ、それにより、一定の伝送ビットを節約することが分かる。 From the above technical solutions, it can be seen that the embodiments of the present invention have the following advantages. In embodiments of the present invention, reference image information of neighboring blocks is obtained and used as reference image information of the current image block. For motion vectors, the motion vectors of neighboring blocks are used to predict the motion vector of the current image block, and the motion vector difference is transferred to correct the motion vector prediction and improve the relatively high accuracy of the motion vector. achieve. In addition, the motion vector difference is determined more efficiently based on the correspondence between the motion vector difference and the motion vector predictor, thereby saving transmission bits. It can be seen that implementing embodiments of the present invention can reduce the information that needs to be transferred in the case of the same video quality, thereby saving certain transmission bits.

本発明の実施形態における技術的解決手段をより明確に説明するために、以下では、実施形態を説明するために必要な添付の図面を簡潔に説明する。明らかに、以下の説明における添付の図面は単に本発明のいくつかの実施形態を示しており、当業者は、創造努力なく、これらの添付の図面から他の図面を導出し得る。 In order to more clearly explain the technical solution in the embodiments of the present invention, the accompanying drawings necessary for explaining the embodiments are briefly described below. Obviously, the attached drawings in the following description merely illustrate some embodiments of the invention, and a person skilled in the art can derive other drawings from these attached drawings without any creative effort.

本発明の実施形態において開示される映像復号方法の概略フローチャートである。1 is a schematic flowchart of a video decoding method disclosed in an embodiment of the present invention.

本発明の実施形態において開示される映像復号端末の概略構造図である。1 is a schematic structural diagram of a video decoding terminal disclosed in an embodiment of the present invention.

本発明の実施形態において開示される別の映像復号端末の概略構造図である。FIG. 2 is a schematic structural diagram of another video decoding terminal disclosed in an embodiment of the present invention.

本発明の実施形態において開示される映像符号化方法の概略フローチャートである。1 is a schematic flowchart of a video encoding method disclosed in an embodiment of the present invention.

本発明の実施形態において開示される映像符号化端末の概略構造図である。1 is a schematic structural diagram of a video encoding terminal disclosed in an embodiment of the present invention.

本発明の実施形態において開示される別の映像符号化端末の概略構造図である。FIG. 2 is a schematic structural diagram of another video encoding terminal disclosed in an embodiment of the present invention.

本発明の実施形態において開示される映像符号化/復号装置または電子デバイスの概略構造図である。1 is a schematic structural diagram of a video encoding/decoding apparatus or an electronic device disclosed in an embodiment of the present invention.

本発明の実施形態において開示される映像符号化/復号システムの概略構造図である。1 is a schematic structural diagram of a video encoding/decoding system disclosed in an embodiment of the present invention.

本発明の目的、技術的解決手段、および利点をより明確にするために、以下ではさらに、添付の図面を参照して本発明を詳細に説明する。明らかに、説明される実施形態は、本発明の実施形態の全てではなく、一部に過ぎない。当業者により、創造努力なく、本発明の実施形態に基づいて取得される他の全ての実施形態は、本発明の保護範囲内に含まれるものとする。 In order to make the objectives, technical solutions, and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

本発明の明細書、特許請求の範囲、および添付の図面において、「第1」、「第2」という用語、および同様のものは、異なる対象を区別することを意図するが、特定の順序を示すものではない。加えて、「含む」および「有する」という用語、ならびにこれらの任意の他の変形は、非排他的包含を含むことを意図する。例えば、一連の段階またはユニットを含むプロセス、方法、システム、製品、またはデバイスは、列挙されている段階またはユニットに限定されず、任意選択的に、列挙されていない段階またはユニットをさらに含み、または、任意選択的に、プロセス、方法、またはデバイスの別の固有段階またはユニットをさらに含む。 In the specification of the invention, the claims, and the accompanying drawings, the terms "first," "second," and the like are intended to distinguish between different subject matter, but not in any particular order. It is not meant to be shown. Additionally, the terms "comprising" and "having" and any other variations thereof are intended to include non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes unlisted steps or units, or , optionally further comprising other specific steps or units of the process, method, or device.

本発明の実施形態は、映像符号化方法、映像復号方法、および端末を提供し、同じ映像品質の場合において、転送される必要のある情報を減少させ、それにより、一定の伝送ビットを節約する。詳細は以下において別々に説明される。 Embodiments of the present invention provide a video encoding method, a video decoding method, and a terminal, which reduce the information that needs to be transferred in the case of the same video quality, thereby saving a certain number of transmission bits. . Details are explained separately below.

図1は、本発明の実施形態において開示される映像復号方法の概略フローチャートである。図1に示されている映像復号方法は、以下の段階を備えてよい。 FIG. 1 is a schematic flowchart of a video decoding method disclosed in an embodiment of the present invention. The video decoding method shown in FIG. 1 may include the following steps.

101.ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得する。 101. Obtain the index of the predicted motion information of the current image block in the candidate predicted motion information list from the bitstream.

本発明の本実施形態において、予測動き情報は、参照画像情報および動きベクトル予測値を含み、候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である。 In this embodiment of the present invention, the predicted motion information includes reference image information and motion vector predicted values, and the candidate predicted motion information in the candidate predicted motion information list includes the neighboring blocks of the current image block in the time domain or the spatial domain. This is movement information.

本発明の本実施形態において、現在の画像ブロックは、ビットストリームに対応する現在の再構築されるべき画像ブロックの任意の予測単位であってよい。本発明のいくつかの実施形態において、現在の画像ブロックは代替的に、ビットストリームに対応する現在の再構築されるべき画像ブロックの任意の変換単位、または復号単位であってよい。このことは限定されるものではない。 In this embodiment of the invention, the current image block may be any prediction unit of the current to-be-reconstructed image block corresponding to the bitstream. In some embodiments of the invention, the current image block may alternatively be any transform unit or decoding unit of the current to-be-reconstructed image block corresponding to the bitstream. This is not a limitation.

候補予測動き情報リストにおける候補予測動き情報の個数は、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つから取得され得る。 The number of pieces of candidate predicted motion information in the candidate predicted motion information list may be obtained from at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream.

加えて、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。マージモードは、高効率映像符号化(High Efficiency Video Coding,HEVC)標準規格のインター予測方法である。マージモードでは、現在の画像ブロックの隣接ブロックの1つの動き情報が、動き情報リストから直接選択され、現在の画像ブロックの動き情報を特定し、動き情報リストにおいて比較的大きい個数の動き情報が存在する。しかし、本発明の本実施形態において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さく、これにより、計算の複雑さを低減させる。 In addition, the number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list. The merge mode is an inter prediction method of the High Efficiency Video Coding (HEVC) standard. In the merge mode, the motion information of one of the neighboring blocks of the current image block is directly selected from the motion information list to determine the motion information of the current image block, and there is a relatively large number of motion information in the motion information list. do. However, in this embodiment of the invention, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list, thereby reducing the computational complexity.

102.インデックスに基づき、候補予測動き情報リストを照会し、発見された候補予測動き情報を予測動き情報として用いる。 102. Based on the index, the candidate predicted motion information list is queried and the discovered candidate predicted motion information is used as predicted motion information.

一般的に、隣接画像ブロックの参照画像情報が完全に同じであるという確率が高く、一方、隣接画像ブロックの動きベクトルが通常、僅かに異なる。従って、本発明の本実施形態において、発見された候補予測動き情報は、予測動き情報として用いられ、動きベクトル差も取得され、予測動き情報に含まれる動きベクトル予測値を補正し、現在の画像ブロックの比較的正確な動きベクトルを取得する。 In general, there is a high probability that the reference image information of adjacent image blocks is completely the same, while the motion vectors of adjacent image blocks are usually slightly different. Therefore, in this embodiment of the invention, the found candidate predicted motion information is used as the predicted motion information, the motion vector difference is also obtained, and the motion vector prediction value included in the predicted motion information is corrected to correct the current image Obtain relatively accurate motion vectors for blocks.

103.予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定し、ビットストリームから動きベクトル差を取得する。 103. Based on the predicted motion information, a correspondence between a motion vector difference and a motion vector predicted value is determined, and the motion vector difference is obtained from the bitstream.

任意選択的な実装方式において、動きベクトル差と動きベクトル予測値との間の対応関係は、参照画像情報に基づき、現在の画像ブロックの予測モードであって、片方向予測または双方向予測を含む予測モードを決定し、予測モードに基づき、動きベクトル差の個数を決定し、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するという方式で、予測動き情報に基づき、決定され得る。 In an optional implementation scheme, the correspondence between the motion vector difference and the motion vector predictor is based on reference image information and the prediction mode of the current image block, including unidirectional prediction or bidirectional prediction. Determine a prediction mode, determine the number of motion vector differences based on the prediction mode, and determine the correspondence between the motion vector difference and the motion vector predicted value based on the number of motion vector differences and predicted motion information. This method can be determined based on the predicted motion information.

動きベクトル差と動きベクトル予測値との間の対応関係を決定する実装方式において、予測モードに基づき、動きベクトル差の個数を決定する段階は、以下の方式で実現され得る。予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または、予測モードが双方向予測であり、かつ、参照画像情報が参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定するか、もしくは、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、もしくは、現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定するか、または、予測モードが双方向予測である場合、現在の画像ブロックのビットストリーム、ビットストリームのスライスレイヤヘッダ情報、ビットストリームの画像レイヤヘッダ情報、およびビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つから動きベクトル差の個数を取得する。 In the implementation method of determining the correspondence between motion vector differences and motion vector prediction values, determining the number of motion vector differences based on the prediction mode may be implemented in the following manner. If the prediction mode is unidirectional prediction, it is determined that one motion vector difference exists, or if the prediction mode is bidirectional prediction and the reference picture information includes the picture order count of the reference picture, the current Determine the number of motion vector differences based on the picture order count of the reference picture of the picture block of the current picture block, or the picture order count of the first reference picture of the current picture block is greater than the picture order count of the current picture block. , and the picture order count of the second reference picture of the current image block is smaller than the picture order count of the current image block, then determine that there is a motion vector difference between the two, or One motion vector difference if the picture order count of the reference picture is greater than the picture order count of the current picture block, or if the picture order count of each reference picture of the current picture block is less than the picture order count of the current picture block. exists or the prediction mode is bidirectional prediction, the bitstream of the current image block, the slice layer header information of the bitstream, the image layer header information of the bitstream, and the sequence layer header of the bitstream. The number of motion vector differences is obtained from at least one of the pieces of information.

動きベクトル差の個数が取得された後に、予測モードが双方向予測である場合、予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、動きベクトル差と動きベクトル予測値との間の対応関係は、以下の方式で決定され得る。2つの動きベクトル差が存在する場合、2つの動きベクトル差を第1の動きベクトル予測値と第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いるか、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差として用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を、第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、ビットストリームから、動きベクトル差が第1の動きベクトル予測値に対応していることを示すか、もしくは動きベクトル差が第2の動きベクトル予測値に対応していることを示す情報を取得し、取得された情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する。 After the number of motion vector differences is obtained, if the prediction mode is bidirectional prediction, the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value. , the correspondence between the motion vector difference and the motion vector predicted value may be determined in the following manner. If two motion vector differences exist, the two motion vector differences are used separately as the motion vector differences corresponding to the first motion vector prediction value and the second motion vector prediction value, or one motion vector difference is used as the motion vector difference corresponding to the first motion vector prediction value and the second motion vector prediction value. If a difference exists, use the motion vector difference as the motion vector difference corresponding to the first motion vector predictor and set the motion vector difference corresponding to the second motion vector predictor to 0, or Either use the vector difference as the motion vector difference corresponding to the second motion vector predicted value and set the motion vector difference corresponding to the first motion vector predicted value to 0, or use the motion vector difference as the motion vector difference corresponding to the first motion vector predicted value. Use it as a motion vector difference corresponding to each of the motion vector predicted value and the second motion vector predicted value, or indicate from the bitstream that the motion vector difference corresponds to the first motion vector predicted value. , or obtain information indicating that the motion vector difference corresponds to the second motion vector predicted value, and determine the correspondence between the motion vector difference and the motion vector predicted value based on the obtained information. .

可能な実装方式において、動きベクトル差は、第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いられることに注意すべきである。言い換えれば、動きベクトル差は再使用される。このことは、動きベクトル差を符号化するための消費を節約し、効率を向上させる。 It should be noted that in a possible implementation, the motion vector difference is used as the motion vector difference corresponding to each of the first motion vector predictor and the second motion vector predictor. In other words, motion vector differences are reused. This saves consumption and improves efficiency for encoding motion vector differences.

104.対応関係に基づき、動きベクトル予測値と対応する動きベクトル差とを加算し、現在の画像ブロックの動きベクトルを取得する。 104. Based on the correspondence, the motion vector prediction value and the corresponding motion vector difference are added to obtain the motion vector of the current image block.

本発明の本実施形態において、動きベクトル予測値と対応する動きベクトル差とが加算され、これにより、動きベクトル予測値のオフセットを補正することができ、現在の画像ブロックの動きベクトルを比較的正確に復元することができる。 In this embodiment of the invention, the motion vector prediction value and the corresponding motion vector difference are summed, which allows to compensate for the offset of the motion vector prediction value and calculate the motion vector of the current image block relatively accurately. can be restored.

図1に説明されている映像復号方法によれば、現在の画像ブロックの動きベクトルを比較的正確に復元することができ、従って、同じビットレートの場合において、出力される映像は、比較的高い品質を有することが分かる。 According to the video decoding method illustrated in FIG. You can see that it has quality.

図2は、本発明の実施形態において開示される映像復号端末の概略構造図である。図2に示されているように、端末は、プロセッサ201とメモリ202とを備える。メモリ202は、データ処理を実行するためにプロセッサ201により必要とされるキャッシュを記憶するよう構成されてよく、さらに、データ処理を実行するためにプロセッサ201により呼び出されるデータを提供し、取得された結果データのための記憶空間を提供するよう構成されてよい。 FIG. 2 is a schematic structural diagram of a video decoding terminal disclosed in an embodiment of the present invention. As shown in FIG. 2, the terminal includes a processor 201 and a memory 202. Memory 202 may be configured to store caches needed by processor 201 to perform data processing, and further provide data that is called upon and retrieved by processor 201 to perform data processing. It may be configured to provide storage space for result data.

本発明の本実施形態において、プロセッサ201は、メモリ202に記憶されているプログラムコードを呼び出すことにより、ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得するオペレーションであって、予測動き情報は、参照画像情報および動きベクトル予測値を含み、候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、オペレーションと、インデックスに基づき、候補予測動き情報リストを照会し、発見された候補予測動き情報を予測動き情報として用いるオペレーションと、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定し、ビットストリームから、動きベクトル差を取得するオペレーションと、対応関係に基づき、動きベクトル予測値と対応する動きベクトル差とを加算し、現在の画像ブロックの動きベクトルを取得するオペレーションとを実行するよう構成される。 In this embodiment of the invention, the processor 201 performs an operation for obtaining the index of predicted motion information of the current image block in the candidate predicted motion information list from the bitstream by invoking a program code stored in the memory 202. The predicted motion information includes reference image information and a motion vector predicted value, and the candidate predicted motion information in the candidate predicted motion information list is motion information of a block adjacent to the current image block in the time domain or the spatial domain. , an operation that queries a candidate predicted motion information list based on the index and uses the discovered candidate predicted motion information as predicted motion information; and an operation that uses the detected candidate predicted motion information as predicted motion information; an operation that determines the correspondence between and obtains the motion vector difference from the bitstream, and adds the motion vector predicted value and the corresponding motion vector difference based on the correspondence to obtain the motion vector of the current image block. and configured to perform the operations.

図2に説明されている映像復号端末によれば、現在の画像ブロックの動きベクトルを比較的正確に復元することができ、従って、同じビットレートの場合において、出力される映像は、比較的高い品質を有する。 According to the video decoding terminal illustrated in FIG. Has quality.

図3は、本発明の実施形態において開示されている別の映像復号端末の概略構造図である。図3に示されているように、端末は、ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得するよう構成される第1の取得ユニット301であって、予測動き情報は、参照画像情報および動きベクトル予測値を含み、候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、第1の取得ユニット301と、インデックスに基づき、候補予測動き情報リストを照会し、発見された候補予測動き情報を予測動き情報として用いるよう構成される照会ユニット302と、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するよう構成される決定ユニット303と、ビットストリームから、動きベクトル差を取得するよう構成される第2の取得ユニット304と、対応関係に基づき、動きベクトル予測値と対応する動きベクトル差とを加算し、現在の画像ブロックの動きベクトルを取得するよう構成される演算ユニット305とを備えてよい。 FIG. 3 is a schematic structural diagram of another video decoding terminal disclosed in the embodiment of the present invention. As shown in FIG. 3, the terminal includes a first acquisition unit 301 configured to obtain, from the bitstream, an index of predicted motion information of the current image block in the candidate predicted motion information list; The predicted motion information includes reference image information and a motion vector predicted value, and the candidate predicted motion information in the candidate predicted motion information list is motion information of a block adjacent to the current image block in the time domain or the spatial domain. an acquisition unit 301; a query unit 302 configured to query a candidate predicted motion information list based on the index and use the found candidate predicted motion information as predicted motion information; a determination unit 303 configured to determine a correspondence between a motion vector predicted value and a second acquisition unit 304 configured to obtain a motion vector difference from a bitstream; and a calculation unit 305 configured to add the vector prediction value and the corresponding motion vector difference to obtain the motion vector of the current image block.

図3に説明されている映像復号端末によれば、現在の画像ブロックの動きベクトルを比較的正確に復元することができ、従って、同じビットレートの場合において、出力される映像は、比較的高い品質を有する。 According to the video decoding terminal illustrated in FIG. Has quality.

図4は、本発明の実施形態において開示される映像符号化方法の概略フローチャートである。図4に示されている映像符号化方法は、以下の段階を備えてよい。 FIG. 4 is a schematic flowchart of a video encoding method disclosed in an embodiment of the present invention. The video encoding method shown in FIG. 4 may include the following steps.

401.現在の画像ブロックの候補予測動き情報リストを構築し、ここで、候補予測動き情報リストに含まれる候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である。 401. A candidate predicted motion information list of a current image block is constructed, where the candidate predicted motion information included in the candidate predicted motion information list is motion information of neighboring blocks of the current image block in a time domain or a spatial domain.

本発明の本実施形態において、現在の画像ブロックは、ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である。本発明のいくつかの実施形態において、現在の画像ブロックは代替的に、ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の変換単位または復号単位であってよい。このことは限定されるものではない。 In this embodiment of the invention, the current image block is any prediction unit of the current to-be-coded image block corresponding to the bitstream. In some embodiments of the invention, the current image block may alternatively be any transform unit or decoding unit of the current to-be-encoded image block corresponding to the bitstream. This is not a limitation.

任意選択的な実装方式において、候補予測動き情報リストにおける候補予測動き情報の個数は、ビットストリームのスライスレイヤヘッダ情報、画像レイヤヘッダ情報、およびシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化されてよい。 In an optional implementation, the number of candidate predicted motion information in the candidate predicted motion information list is encoded in at least one of slice layer header information, image layer header information, and sequence layer header information of the bitstream. good.

加えて、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい。マージモードは、高効率映像符号化(High Efficiency Video Coding,HEVC)標準規格におけるインター予測方法である。マージモードでは、現在の画像ブロックの隣接ブロックの1つの動き情報が、動き情報リストから直接選択され、現在の画像ブロックの動き情報を特定し、動き情報リストにおいて比較的大きい個数の動き情報が存在する。しかし、本発明の本実施形態において、候補予測動き情報リストにおける候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さく、これにより、計算の複雑さを低減させる。 In addition, the number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list. Merge mode is an inter prediction method in the High Efficiency Video Coding (HEVC) standard. In the merge mode, the motion information of one of the neighboring blocks of the current image block is directly selected from the motion information list to determine the motion information of the current image block, and there is a relatively large number of motion information in the motion information list. do. However, in this embodiment of the invention, the number of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of motion information in the merge mode motion information list, thereby reducing the computational complexity.

402.動き推定中に取得された、現在の画像ブロックの動きベクトルに基づき、候補予測動き情報リストから、1つの候補予測動き情報を現在の画像ブロックの予測動き情報として選択し、候補予測動き情報リストにおける、選択された候補予測動き情報のインデックスを決定し、ここで、予測動き情報は、参照画像情報および動きベクトル予測値を含む。 402. Based on the motion vector of the current image block obtained during motion estimation, one candidate predicted motion information is selected from the candidate predicted motion information list as the predicted motion information of the current image block, and , determining an index of the selected candidate predicted motion information, where the predicted motion information includes reference image information and a motion vector predicted value.

本発明の本実施形態において、動き推定は、隣接ブロックの動き情報を用いることによって現在の画像ブロックに対して実行される。任意選択的な実装方式において、複数の動きベクトルの位置が動き推定中に取得され、最小レート歪みコストを有する動きベクトルが現在の画像ブロックの動きベクトルとして選択される。 In this embodiment of the invention, motion estimation is performed on the current image block by using motion information of neighboring blocks. In an optional implementation, positions of multiple motion vectors are obtained during motion estimation, and the motion vector with the lowest rate-distortion cost is selected as the motion vector of the current image block.

可能な実装方式において、候補予測動き情報リストにおける候補予測動き情報は走査され、各個の候補予測動き情報は現在の画像ブロックの予測動き情報として用いられ、レート歪みコストを計算し、これにより、最小レート歪みコストを有する1つの候補予測動き情報を、現在の画像ブロックの予測動き情報として選択する。 In a possible implementation, the candidate predicted motion information in the candidate predicted motion information list is scanned, and each candidate predicted motion information is used as the predicted motion information of the current image block to calculate the rate-distortion cost, thereby determining the minimum One candidate predicted motion information with rate-distortion cost is selected as the predicted motion information of the current image block.

403.予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する。 403. Based on the predicted motion information, a correspondence relationship between the motion vector difference and the motion vector predicted value is determined.

本発明の本実施形態において、動きベクトル差と動きベクトル予測値との間の対応関係は、以下の方式で決定され得る。参照画像情報に基づき、現在の画像ブロックの予測モードであって、片方向予測または双方向予測を含む予測モードを決定し、予測モードに基づき、動きベクトル差の個数を決定し、動きベクトル差の個数と予測動き情報とに基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定する。 In this embodiment of the invention, the correspondence between the motion vector difference and the motion vector prediction value may be determined in the following manner. Based on the reference image information, determine the prediction mode of the current image block that includes unidirectional prediction or bidirectional prediction, determine the number of motion vector differences based on the prediction mode, and determine the number of motion vector differences. Based on the number and predicted motion information, a correspondence relationship between the motion vector difference and the motion vector predicted value is determined.

予測モードに基づき、動きベクトル差の個数を決定することは、以下の方式で実現され得る。予測モードが片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または、予測モードが双方向予測であり、かつ、参照画像情報が現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、現在の画像ブロックの参照画像のピクチャ順序カウントに基づき、動きベクトル差の個数を決定するか、または、現在の画像ブロックの第1の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きく、かつ、現在の画像ブロックの第2の参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、もしくは、現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは現在の画像ブロックの各参照画像のピクチャ順序カウントが現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定するか、または、予測モードが双方向予測である場合、動きベクトル差の予め設定された個数を、現在の画像ブロックのビットストリーム、ビットストリームのスライスレイヤヘッダ情報、ビットストリームの画像レイヤヘッダ情報、およびビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する。 Determining the number of motion vector differences based on the prediction mode may be achieved in the following manner. If the prediction mode is unidirectional prediction, it is determined that there is one motion vector difference, or if the prediction mode is bidirectional prediction and the reference picture information is the picture order count of the reference picture of the current picture block. , the number of motion vector differences is determined based on the picture order count of the reference picture of the current picture block, or the picture order count of the first reference picture of the current picture block is based on the picture order count of the reference picture of the current picture block. If the picture order count of the second reference picture of the current image block is greater than the picture order count and the picture order count of the second reference picture of the current image block is less than the picture order count of the current image block, then determine that there is a difference between the two motion vectors, or If the picture order count of each reference picture of the image block is greater than the picture order count of the current image block, or the picture order count of each reference picture of the current image block is less than the picture order count of the current image block, If it is determined that one motion vector difference exists, or if the prediction mode is bidirectional prediction, a preset number of motion vector differences is added to the bitstream of the current image block, slice layer header information of the bitstream. , image layer header information of the bitstream, and sequence layer header information of the bitstream.

動きベクトル差の個数が決定された後に、動きベクトル差と動きベクトル予測値との間の対応関係は、以下の方式で決定され得る。2つの動きベクトル差が存在する場合、2つの動きベクトル差を、第1の動きベクトル予測値と第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いるか、または、1つの動きベクトル差が存在する場合、動きベクトル差を第1の動きベクトル予測値に対応する動きベクトル差として用いて、第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を第2の動きベクトル予測値に対応する動きベクトル差を用いて、第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、動きベクトル差を、第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、予め設定された対応関係に基づき、動きベクトル差と、第1の動きベクトル予測値および第2の動きベクトル予測値の各々との間の対応関係を決定し、予め設定された対応関係をビットストリームに符号化する。 After the number of motion vector differences is determined, the correspondence between the motion vector differences and the motion vector prediction values may be determined in the following manner. If two motion vector differences exist, the two motion vector differences are used separately as motion vector differences corresponding to the first motion vector prediction value and the second motion vector prediction value, or one motion vector difference is used as the motion vector difference corresponding to the first motion vector prediction value and the second motion vector prediction value. If a vector difference exists, use the motion vector difference as the motion vector difference corresponding to the first motion vector predictor and set the motion vector difference corresponding to the second motion vector predictor to zero, or; The motion vector difference corresponding to the second motion vector predicted value is used to set the motion vector difference corresponding to the first motion vector predicted value to 0, or the motion vector difference is set to 0 using the motion vector difference corresponding to the second motion vector predicted value. The motion vector predicted value and the second motion vector predicted value may be used as a motion vector difference corresponding to each of the predicted motion vector values, or the motion vector difference, the first motion vector predicted value, and the second motion vector predicted value may be A correspondence relationship between each of the two motion vector predicted values is determined, and the preset correspondence relationship is encoded into a bitstream.

可能な実装方式において、動きベクトル差は、第1の動きベクトル予測値および第2の動きベクトル予測値の各々に対応する動きベクトル差として用いられることに注意すべきである。言い換えれば、動きベクトル差は再使用される。このことは、動きベクトル差を符号化するための消費を節約し、効率を向上させる。 It should be noted that in a possible implementation, the motion vector difference is used as the motion vector difference corresponding to each of the first motion vector predictor and the second motion vector predictor. In other words, motion vector differences are reused. This saves consumption and improves efficiency for encoding motion vector differences.

404.対応関係と動きベクトルとに基づき、動きベクトル予測値に対応する動きベクトル差を取得する。 404. Based on the correspondence and the motion vector, a motion vector difference corresponding to the motion vector predicted value is obtained.

現在の画像ブロックの動きベクトルは、段階402において決定され、従って、現在の画像ブロックの動きベクトルから、動きベクトル予測値を減算することによって、動きベクトル予測値に対応する動きベクトル差を取得できる。 The motion vector of the current image block is determined in step 402, and thus a motion vector difference corresponding to the motion vector prediction value can be obtained by subtracting the motion vector prediction value from the motion vector of the current image block.

405.インデックスと動きベクトル差とをビットストリームに符号化する。 405. Encode the index and motion vector difference into a bitstream.

図4において説明される映像符号化方法によれば、ビットストリームにおいてインデックスおよび動きベクトル差のみを伝送する必要があり、現在の画像ブロックの動き情報を復号側において復元することができることが分かる。従って、同じ映像品質の場合において、当該方法を用いることによって一定のビットレートを節約することができる。 It can be seen that according to the video encoding method described in FIG. 4, only the index and motion vector difference need to be transmitted in the bitstream, and the motion information of the current image block can be restored on the decoding side. Therefore, in the case of the same video quality, a certain bit rate can be saved by using this method.

図5は、本発明の実施形態において開示される映像符号化端末の概略構造図である。図5に示されているように、端末は、プロセッサ501とメモリ502とを備える。メモリ502は、データ処理を実行するためにプロセッサ501により必要とされるキャッシュを記憶するよう構成されてよく、さらに、データ処理を実行するためにプロセッサ501により呼び出されるデータを提供し、取得された結果データのための記憶空間を提供するように構成されてよい。 FIG. 5 is a schematic structural diagram of a video encoding terminal disclosed in an embodiment of the present invention. As shown in FIG. 5, the terminal includes a processor 501 and a memory 502. Memory 502 may be configured to store caches needed by processor 501 to perform data processing, and further provides data that is called upon and retrieved by processor 501 to perform data processing. It may be configured to provide storage space for result data.

本発明の本実施形態において、プロセッサ501は、メモリ502に記憶されているプログラムコードを呼び出すことによって、現在の画像ブロックの候補予測動き情報リストを構築するオペレーションであって、候補予測動き情報リストに含まれる候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、オペレーションと、動き推定中に取得された、現在の画像ブロックの動きベクトルに基づき、候補予測動き情報リストから、1つの候補予測動き情報を現在の画像ブロックの予測動き情報として選択し、候補予測動き情報リストにおける、選択された候補予測動き情報のインデックスを決定するオペレーションであって、予測動き情報は、参照画像情報および動きベクトル予測値を含む、オペレーションと、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するオペレーションと、対応関係と動きベクトルとに基づき、動きベクトル予測値に対応する動きベクトル差を取得するオペレーションと、インデックスと動きベクトル差とをビットストリームに符号化するオペレーションとを実行するよう構成される。 In this embodiment of the invention, processor 501 performs an operation for constructing a list of candidate predicted motion information for a current image block by invoking program code stored in memory 502. The candidate prediction motion information included is the motion information of the neighboring blocks of the current image block in the time domain or the spatial domain. An operation of selecting one candidate predicted motion information from a motion information list as the predicted motion information of the current image block, and determining an index of the selected candidate predicted motion information in the candidate predicted motion information list, the operation comprising: The information includes an operation that includes reference image information and a motion vector predicted value, an operation that determines a correspondence between a motion vector difference and a motion vector predicted value based on the predicted motion information, and a correspondence and a motion vector. the motion vector difference corresponding to the motion vector predictor; and the operation of encoding the index and the motion vector difference into a bitstream.

図5に説明されている映像符号化端末によれば、ビットストリームにおいてインデックスおよび動きベクトル差のみを伝送する必要があり、現在の画像ブロックの動き情報を復号側において復元できることが分かる。従って、同じ映像品質の場合において、当該端末を用いることによって、一定のビットレートを節約できる。 According to the video encoding terminal illustrated in FIG. 5, it is necessary to transmit only the index and the motion vector difference in the bitstream, and it is understood that the motion information of the current image block can be restored on the decoding side. Therefore, in the case of the same video quality, a certain bit rate can be saved by using this terminal.

図6は、本発明の実施形態において開示される別の映像符号化端末の概略構造図である。図6に示されているように、端末は、現在の画像ブロックの候補予測動き情報リストを構築するよう構成されるリスト構築ユニット601であって、候補予測動き情報リストに含まれる候補予測動き情報は、時間領域または空間領域における現在の画像ブロックの隣接ブロックの動き情報である、リスト構築ユニット601と、動き推定中に取得された、現在の画像ブロックの動きベクトルに基づき、候補予測動き情報リストから、1つの候補予測動き情報を、現在の画像ブロックの予測動き情報として選択するよう構成される選択ユニット602であって、予測動き情報は、参照画像情報および動きベクトル予測値を含む、選択ユニット602と、候補予測動き情報リストにおける、選択された候補予測動き情報のインデックスを決定するよう構成される第1の決定ユニット603と、予測動き情報に基づき、動きベクトル差と動きベクトル予測値との間の対応関係を決定するよう構成される第2の決定ユニット604と、対応関係と動きベクトルとに基づき、動きベクトル予測値に対応する動きベクトル差を取得するよう構成される取得ユニット605と、インデックスと動きベクトル差とをビットストリームに符号化するよう構成される第1の符号化ユニット606とを備えてよい。 FIG. 6 is a schematic structural diagram of another video encoding terminal disclosed in an embodiment of the present invention. As shown in FIG. 6, the terminal includes a list construction unit 601 configured to construct a list of candidate predicted motion information for the current image block, the terminal comprising: a list of candidate predicted motion information included in the list of candidate predicted motion information; is the motion information of the neighboring blocks of the current image block in the time domain or the spatial domain.The list construction unit 601 constructs a candidate predicted motion information list based on the motion vectors of the current image block obtained during motion estimation. a selection unit 602 configured to select one candidate predicted motion information from the selection unit 602 as the predicted motion information of the current image block, the predicted motion information comprising reference image information and a motion vector prediction value; 602 , a first determining unit 603 configured to determine the index of the selected candidate predicted motion information in the candidate predicted motion information list; a second determining unit 604 configured to determine a correspondence between the motion vectors, and an obtaining unit 605 configured to obtain a motion vector difference corresponding to the motion vector prediction based on the correspondence and the motion vector; a first encoding unit 606 configured to encode the index and the motion vector difference into a bitstream.

図6に説明されている映像符号化端末によれば、ビットストリームにおいて、インデックスおよび動きベクトル差のみを伝送する必要があり、現在の画像ブロックの動き情報を復号側において復元できることが分かる。従って、同じ映像品質の場合において、当該端末を用いることによって、一定のビットレートを節約できる。 According to the video encoding terminal illustrated in FIG. 6, it is necessary to transmit only the index and the motion vector difference in the bitstream, and it is understood that the motion information of the current image block can be restored on the decoding side. Therefore, in the case of the same video quality, a certain bit rate can be saved by using this terminal.

図7は、本発明の実施形態において開示される映像符号化/復号装置または電子デバイス50の概略構造図である。当該装置または電子デバイスは、本発明の実施形態におけるコーデックに組み込まれてよい。詳細は以下において説明される。 FIG. 7 is a schematic structural diagram of a video encoding/decoding apparatus or electronic device 50 disclosed in an embodiment of the present invention. The apparatus or electronic device may be incorporated into a codec in an embodiment of the invention. Details are explained below.

電子デバイス50は、例えば、無線通信システムにおけるモバイル端末またはユーザ装置であってよい。映像画像を符号化および復号する、または符号化する、または復号することが必要であり得る任意の電子デバイスまたは装置上で、本発明の実施形態を実現することができることが理解されるべきである。 Electronic device 50 may be, for example, a mobile terminal or user equipment in a wireless communication system. It should be understood that embodiments of the invention can be implemented on any electronic device or apparatus that encodes and decodes or may be required to encode or decode video images. .

装置50は、装置を保護するために用いられる、デバイスに組み込まれる筐体30を備えてよい。装置50はさらに、液晶ディスプレイの形式のディスプレイ32を備えてよい。本発明の他の実施形態において、ディスプレイは、画像または映像を表示するために適した任意の適切なディスプレイであってよい。装置50はさらに、キーパッド34を備えてよい。本発明の他の実施形態において、任意の適切なデータまたはユーザインタフェース機構が用いられてよい。例えば、ユーザインタフェースが仮想キーボードとして実現されてよく、または、データエントリシステムがタッチセンシティブディスプレイの一部として実現されてよい。装置は、マイク36または任意の適切な音声入力部を備えてよく、音声入力部は、デジタルまたはアナログ信号入力部であってよい。装置50はさらに、以下の音声出力装置を備えてよい。本発明の本実施形態における音声出力装置は、イヤフォン38、スピーカ、アナログ音声出力接続、またはデジタル音声出力接続のうちのいずれかであってよい。装置50はまた、電池40を備えてよい。本発明の他の実施形態において、デバイスは、ソーラー電池、燃料電池、またはクロック発生器などの任意の適切なモバイルエネルギーデバイスにより駆動されてよい。装置はさらに、別のデバイスと近距離見通し内通信するために用いられる赤外線ポート42を備えてよい。他の実施形態において、装置50はさらに、ブルートゥース(登録商標)無線接続またはUSB有線接続などの任意の適切な近距離通信解決手段を備えてよい。 The device 50 may include a housing 30 incorporated into the device that is used to protect the device. The device 50 may further include a display 32 in the form of a liquid crystal display. In other embodiments of the invention, the display may be any suitable display suitable for displaying images or video. Device 50 may further include a keypad 34. In other embodiments of the invention, any suitable data or user interface mechanism may be used. For example, a user interface may be implemented as a virtual keyboard, or a data entry system may be implemented as part of a touch-sensitive display. The device may be equipped with a microphone 36 or any suitable audio input, which may be a digital or analog signal input. The device 50 may further include the following audio output devices. The audio output device in this embodiment of the invention may be either an earphone 38, a speaker, an analog audio output connection, or a digital audio output connection. Device 50 may also include a battery 40. In other embodiments of the invention, the device may be powered by any suitable mobile energy device, such as a solar cell, a fuel cell, or a clock generator. The device may further include an infrared port 42 used for close range line-of-sight communication with another device. In other embodiments, device 50 may further include any suitable short-range communication solution, such as a Bluetooth® wireless connection or a USB wired connection.

装置50は、装置50を制御するよう構成されるコントローラ56またはプロセッサを備えてよい。コントローラ56は、メモリ58と接続されてよい。本発明の本実施形態におけるメモリは、画像データまたは音声データを記憶し、および/またはコントローラ56上で実行される命令を記憶してよい。コントローラ56はさらに、音声および/または映像データ符号化および復号を実現するために、またはコントローラ56により実現される補助符号化および復号のために適したコーデック回路54と接続されてよい。 Device 50 may include a controller 56 or processor configured to control device 50. Controller 56 may be connected to memory 58 . The memory in this embodiment of the invention may store image data or audio data and/or store instructions to be executed on controller 56. Controller 56 may further be connected with a codec circuit 54 suitable for implementing audio and/or video data encoding and decoding or for auxiliary encoding and decoding implemented by controller 56 .

装置50はさらに、UICCおよびUICCリーダなどの、ユーザ情報を提供するよう構成され、ネットワーク認証およびユーザ認可のために用いられる認証情報を提供するために適したスマートカード46およびカードリーダ48を備えてよい。 The device 50 further comprises a smart card 46 and a card reader 48 configured to provide user information and suitable for providing authentication information used for network authentication and user authorization, such as a UICC and a UICC reader. good.

装置50はさらに、無線インタフェース回路52を備えてよい。無線インタフェース回路は、コントローラと接続され、例えば、セルラ通信ネットワーク、無線通信システム、または無線ローカルエリアネットワークと通信するために用いられる無線通信信号を生成するために適する。装置50はさらに、アンテナ44を備えてよい。アンテナは、無線インタフェース回路52と接続され、無線インタフェース回路52において生成される無線周波数信号を別の装置(または、複数の装置)へ送信し、別の装置(または複数の装置)から無線周波数信号を受信するよう構成される。 Device 50 may further include a wireless interface circuit 52. The wireless interface circuit is connected to the controller and is suitable for generating wireless communication signals used for communicating with, for example, a cellular communication network, a wireless communication system, or a wireless local area network. Device 50 may further include an antenna 44. The antenna is connected to the radio interface circuit 52 to transmit radio frequency signals generated in the radio interface circuit 52 to another device (or devices) and to receive radio frequency signals from another device (or devices). configured to receive.

本発明のいくつかの実施形態において、装置50は、シングルフレームを記録または検出できるカメラを備え、コーデック54またはコントローラは、これらのシングルフレームを受信および処理する。本発明のいくつかの実施形態において、装置は、伝送および/または記憶を行う前に、別のデバイスから、処理されるべき映像画像データを受信してよい。本発明のいくつかの実施形態において、装置50は、無線または有線接続を介して画像を受信して画像を符号化/復号し得る。 In some embodiments of the invention, device 50 comprises a camera capable of recording or detecting single frames, and codec 54 or controller receives and processes these single frames. In some embodiments of the invention, the apparatus may receive video image data to be processed from another device prior to transmission and/or storage. In some embodiments of the invention, device 50 may receive images via a wireless or wired connection and encode/decode the images.

本発明の本実施形態において、コーデック54は、図1に説明されている映像復号方法、または図4に説明されている映像符号化方法を実行するよう構成されてよい。 In this embodiment of the invention, codec 54 may be configured to perform the video decoding method described in FIG. 1 or the video encoding method described in FIG. 4.

図8は、本発明の実施形態において開示される映像符号化/復号システムの概略構造図である。図8に示されているように、映像符号化/復号システム10は、ソース装置12と宛先装置14とを備える。ソース装置12は、符号化された映像データを生成する。従って、ソース装置12は、映像符号化装置、または映像符号化デバイスと称されてよい。宛先装置14は、ソース装置12により生成された、符号化された映像データを復号し得る。従って、宛先装置14は、映像復号装置、または映像復号デバイスと称されてよい。ソース装置12および宛先装置14は、映像符号化/復号装置、または映像符号化/復号デバイスの実例であってよい。ソース装置12および宛先装置14は、広範囲の装置を含んでよく、デスクトップコンピュータ、モバイルコンピューティング装置、ノートブック(例えば、ラップトップ)コンピュータ、タブレットコンピュータ、セットトップボックス、スマートフォンなどのハンドヘルドコンピュータ、テレビ、カメラ、表示装置、デジタルメディアプレーヤ、映像ゲームコンソール、車載コンピュータ、または同様のものを含む。 FIG. 8 is a schematic structural diagram of a video encoding/decoding system disclosed in an embodiment of the present invention. As shown in FIG. 8, video encoding/decoding system 10 includes a source device 12 and a destination device 14. Source device 12 generates encoded video data. Accordingly, source device 12 may be referred to as a video encoding device or a video encoding device. Destination device 14 may decode encoded video data generated by source device 12 . Accordingly, destination device 14 may be referred to as a video decoding device or a video decoding device. Source device 12 and destination device 14 may be instances of video encoding/decoding equipment or video encoding/decoding devices. Source device 12 and destination device 14 may include a wide range of devices, including desktop computers, mobile computing devices, notebook (e.g., laptop) computers, tablet computers, set-top boxes, handheld computers such as smartphones, televisions, including cameras, displays, digital media players, video game consoles, in-vehicle computers, or the like.

宛先装置14は、符号化された映像データを、チャネル16を介してソース装置12から受信してよい。チャネル16は、符号化された映像データを、ソース装置12から宛先装置14へ移動することができる1つまたは複数の媒体および/または装置を含んでよい。実例において、チャネル16は、ソース装置12に、符号化された映像データをリアルタイムで宛先装置14へ直接伝送させることを可能にする1つまたは複数の通信媒体を含んでよい。本実例において、ソース装置12は、通信標準規格(例えば、無線通信プロトコル)に従って符号化された映像データを変調してよく、変調された映像データを宛先装置14へ伝送してよい。1つまたは複数の通信媒体は、例えば、無線周波数(RF)スペクトラム、または1つまたは複数の物理伝送線路のような無線および/または有線通信媒体を含んでよい。1つまたは複数の通信媒体は、(ローカルエリアネットワーク、広域ネットワーク、またはグローバルネットワーク(例えば、インターネット)などの)パケットベースのネットワークの一部を構成し得る。1つまたは複数の通信媒体は、ルータ、スイッチ、基地局、または、ソース装置12と宛先装置14との間の通信を促進する別のデバイスを含んでよい。 Destination device 14 may receive encoded video data from source device 12 via channel 16 . Channel 16 may include one or more media and/or devices that can move encoded video data from source device 12 to destination device 14. In illustrative examples, channel 16 may include one or more communication media that enable source device 12 to transmit encoded video data directly to destination device 14 in real time. In this example, source device 12 may modulate encoded video data according to a communication standard (eg, a wireless communication protocol) and transmit the modulated video data to destination device 14. The one or more communication media may include wireless and/or wired communication media, such as, for example, the radio frequency (RF) spectrum or one or more physical transmission lines. The one or more communication media may constitute part of a packet-based network (such as a local area network, wide area network, or global network (eg, the Internet)). The one or more communication media may include a router, switch, base station, or other device that facilitates communication between source device 12 and destination device 14.

別の実例において、チャネル16は、ソース装置12により生成された符号化された映像データを記憶する記憶媒体を含んでよい。本実例において、宛先装置14は、ディスクアクセスまたはカードアクセスを介して記憶媒体にアクセスし得る。記憶媒体は、ブルーレイ、DVD、CD-ROM、フラッシュメモリ、または符号化された映像データを記憶するよう構成される別の適切なデジタル記憶媒体などの、複数の、ローカルアクセス可能なデータ記憶媒体を含んでよい。 In another example, channel 16 may include a storage medium that stores encoded video data generated by source device 12. In this example, destination device 14 may access the storage medium via disk access or card access. The storage medium may include a plurality of locally accessible data storage media, such as a Blu-ray, DVD, CD-ROM, flash memory, or another suitable digital storage medium configured to store encoded video data. may be included.

別の実例において、チャネル16は、ファイルサーバ、または、ソース装置12により生成された符号化された映像データを記憶する別の中間記憶装置を含んでよい。本実例において、宛先装置14は、ストリーミング伝送またはダウンロードにより、ファイルサーバまたは別の中間記憶装置上に記憶されている符号化された映像データにアクセスし得る。ファイルサーバは、符号化された映像データを記憶し、符号化された映像データを宛先装置14へ伝送することができる一種のサーバであってよい。実例におけるファイルサーバは、(例えば、ウェブサイトのために用いられる)ウェブサーバ、ファイル転送プロトコル(FTP)サーバ、ネットワーク接続型ストレージ(NAS)装置、およびローカルディスクドライブを含む。 In another example, channel 16 may include a file server or another intermediate storage device that stores encoded video data generated by source device 12. In this example, destination device 14 may access encoded video data stored on a file server or another intermediate storage device by streaming transmission or downloading. The file server may be a type of server that can store encoded video data and transmit the encoded video data to destination device 14 . File servers in examples include web servers (eg, used for websites), file transfer protocol (FTP) servers, network attached storage (NAS) devices, and local disk drives.

宛先装置14は、標準規格データ接続(例えば、インターネット接続)を介して、符号化された映像データにアクセスし得る。データ接続の実例の種類は、ファイルサーバ上に記憶されている符号化された映像データにアクセスするために適した無線チャネル(例えば、Wi-Fi(登録商標)接続)もしくは有線接続(例えば、DSLまたはケーブルモデム)、またはこれらの組み合わせを含む。符号化された映像データは、ストリーミング伝送、ダウンロード伝送、またはこれらの組み合わせにより、ファイルサーバから伝送されてよい。 Destination device 14 may access the encoded video data via a standard data connection (eg, an Internet connection). Illustrative types of data connections include wireless channels (e.g., Wi-Fi connections) or wired connections (e.g., DSL connections) suitable for accessing encoded video data stored on the file server. or cable modem), or a combination thereof. The encoded video data may be transmitted from the file server by streaming transmission, download transmission, or a combination thereof.

本発明の技術は、無線応用シナリオに限定されるものではない。例えば、技術は、地上波テレビ放送、無線テレビ伝送、衛星テレビ伝送、(例えば、インターネットを介する)ストリーミング映像伝送、データ記憶媒体に記憶されている映像データの符号化、データ記憶媒体に記憶されている映像データの復号という応用、または別の応用をサポートする複数のマルチメディア応用における映像符号化および復号に適用されてよい。いくつかの実例において、映像符号化/復号システム10は、ストリーミング映像伝送、映像再生、映像放送、および/または映像通話、および他の応用をサポートするべく、片方向または双方向映像伝送をサポートするよう構成されてよい。 The techniques of the present invention are not limited to wireless application scenarios. For example, techniques include terrestrial television broadcasting, over-the-air television transmission, satellite television transmission, streaming video transmission (e.g., over the Internet), encoding of video data stored on a data storage medium, and encoding of video data stored on a data storage medium. The present invention may be applied to video encoding and decoding in multiple multimedia applications that support other applications. In some instances, video encoding/decoding system 10 supports unidirectional or bidirectional video transmission to support streaming video transmission, video playback, video broadcasting, and/or video calling, and other applications. It may be configured as follows.

図8の実例において、ソース装置12は映像ソース18と、映像エンコーダ20と、出力インタフェース22とを含む。いくつかの実例において、出力インタフェース22は、変調器/復調器(モデム)、および/またはトランスミッタを含んでよい。映像ソース18は、映像キャプチャ装置(例えば、映像カメラ)、以前撮影された映像データを含む映像アーカイブ、映像コンテンツプロバイダから映像データを受信するよう構成される映像入力インタフェース、および/または映像データを生成するよう構成されるコンピュータグラフィックシステム、または前述の映像データソースの組み合わせを含んでよい。 In the example of FIG. 8, source device 12 includes a video source 18, a video encoder 20, and an output interface 22. In some examples, output interface 22 may include a modulator/demodulator (modem) and/or a transmitter. Video source 18 may include a video capture device (e.g., a video camera), a video archive containing previously captured video data, a video input interface configured to receive video data from a video content provider, and/or generate video data. or a combination of the video data sources described above.

映像エンコーダ20は、映像ソース18から映像データを符号化してよい。いくつかの実例において、ソース装置12は、出力インタフェース22を用いることによって、符号化された映像データを宛先装置14へ直接伝送する。符号化された映像データは代替的に、記憶媒体に、またはファイルサーバ上で記憶されてよく、これにより、宛先装置14は後で、符号化された映像データにアクセスし、符号化された映像データを復号および/または再生する。 Video encoder 20 may encode video data from video source 18 . In some instances, source device 12 transmits encoded video data directly to destination device 14 by using output interface 22 . The encoded video data may alternatively be stored on a storage medium or on a file server so that destination device 14 can later access the encoded video data and retrieve the encoded video data. Decrypt and/or regenerate data.

図8の実例において、宛先装置14は、入力インタフェース28と、映像デコーダ30と、表示装置32とを含む。いくつかの実例において、入力インタフェース28は、受信器および/またはモデムを含む。入力インタフェース28は、チャネル16を介して符号化された映像データを受信してよい。表示装置32は、宛先装置14と統合されてよく、または、宛先装置14の外部にあってよい。表示装置32は通常、復号された映像データを表示する。表示装置32は、液晶ディスプレイ(LCD)、プラズマディスプレイ、有機発光ダイオード(OLED)ディスプレイ、または別の種類の表示装置などの複数の種類の表示装置を含んでよい。 In the example of FIG. 8, destination device 14 includes an input interface 28, a video decoder 30, and a display device 32. In the example of FIG. In some instances, input interface 28 includes a receiver and/or modem. Input interface 28 may receive encoded video data via channel 16 . Display device 32 may be integrated with destination device 14 or may be external to destination device 14 . Display device 32 typically displays decoded video data. Display device 32 may include multiple types of display devices, such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display device.

映像エンコーダ20および映像デコーダ30は、映像圧縮標準規格(例えば、高効率映像符号化H.265標準規格)に従ってオペレーションを実行し得て、HEVCテストモデル(HM)に準拠し得る。H.265標準規格のテキスト形式の記述ITU-TH.265(V3)(04/2015)は、2015年4月29日にリリースされ、http://handle.itu.int//11.1002/1000/12455からダウンロードされ得て、ドキュメントの全ての内容のその全体が参照により組み込まれている。 Video encoder 20 and video decoder 30 may perform operations in accordance with a video compression standard (eg, the High Efficiency Video Coding H.265 standard) and may be compliant with the HEVC Test Model (HM). H. Textual description of the ITU-TH.265 standard. 265 (V3) (04/2015) was released on April 29, 2015 and is available at http://handle. itu. int//11.1002/1000/12455, and all contents of the document are incorporated by reference in their entirety.

代替的に、映像エンコーダ20および映像デコーダ30は、他のプロプライエタリまたは産業標準規格に従ってオペレーションを実行し得る。標準規格は、ITU-TH.261,ISO/IECMPEG-1Visual,ITU-TH.262、またはISO/IECMPEG-2Visual、ITU-TH.263、ISO/IECMPEG-4Visual、および、スケーラブル映像符号化/復号(SVC)およびマルチビュー映像符号化/復号(MVC)という拡張方式を含むITU-TH.264(ISO/IEC MPEG-4AVCとも称される)を含む。本発明の技術は、任意の特定の符号化/復号標準規格または技術に限定されるものではないことが理解されるべきである。 Alternatively, video encoder 20 and video decoder 30 may perform operations according to other proprietary or industry standards. The standard is ITU-TH. 261, ISO/IECMPEG-1Visual, ITU-TH. 262, or ISO/IECMPEG-2Visual, ITU-TH. H.263, ISO/IECMPEG-4Visual, and ITU-TH. 264 (also known as ISO/IEC MPEG-4AVC). It should be understood that the techniques of the present invention are not limited to any particular encoding/decoding standard or technique.

加えて、図8は、実例に過ぎず、本発明の技術は、必ずしも符号化装置と復号装置との間の任意のデータ通信を含むわけではない映像符号化/復号応用(例えば、片側映像符号化または片側映像復号)に適用されてよい。他の実例において、データがローカルメモリから検索され、データは、ネットワークを用いることによってストリーミングを介して伝送され、または、データは、同様の方式でオペレーションされる。符号化装置は、データを符号化してデータをメモリに記憶し得て、および/または、復号装置は、メモリからデータを検索してデータを復号し得る。多くの実例において、互いに通信を行わずに、単にデータをメモリに符号化する、および/または単にメモリからデータを検索してデータを復号する複数の装置が、符号化および復号を実行する。 In addition, FIG. 8 is illustrative only, and the techniques of the present invention may be used in video encoding/decoding applications (e.g., one-sided video coding) that do not necessarily involve any data communication between the encoding device and the decoding device. or one-sided video decoding). In other instances, the data is retrieved from local memory, the data is transmitted via streaming by using a network, or the data is operated on in a similar manner. An encoding device may encode data and store the data in memory, and/or a decoding device may retrieve data from memory and decode the data. In many instances, encoding and decoding is performed by multiple devices that simply encode data into memory and/or simply retrieve data from memory and decode data without communicating with each other.

映像エンコーダ20および映像デコーダ30はそれぞれ、例えば、1つまたは複数のマイクロプロセッサ、デジタル信号プロセッサ(DSP)、特定用途向け集積回路(ASIC)、フィールドプログラマブルゲートアレイ(FPGA)、ディスクリート論理回路、ハードウェア、またはこれらの任意の組み合わせのような、複数の適切な回路のうちのいずれかとして実現されてよい。技術がソフトウェアを用いることによって部分的にまたは完全に実現される場合、装置は、適切な非一時的コンピュータ可読記憶媒体にソフトウェアの命令を記憶し得て、1つまたは複数のプロセッサは、本発明の技術を実行するようにハードウェアにおける命令を実行するために用いられ得る。(ハードウェア、ソフトウェア、ハードウェアおよびソフトウェアの組み合わせ、および同様のものを含む)前述のもののうち任意の1つは、1つまたは複数のプロセッサとして見なされてよい。映像エンコーダ20および映像デコーダ30はそれぞれ、1つまたは複数のエンコーダまたはデコーダに含まれてよく、それぞれは別の装置の組み合わされたエンコーダ/デコーダ(コーデック(CODEC))の一部として統合されてよい。 Video encoder 20 and video decoder 30 each include, for example, one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic circuits, hardware , or any combination thereof. If the techniques are partially or fully implemented using software, the apparatus may store the software instructions on a suitable non-transitory computer-readable storage medium and the one or more processors may implement the present invention. can be used to execute instructions in hardware to perform the techniques of Any one of the foregoing (including hardware, software, combinations of hardware and software, and the like) may be considered one or more processors. Video encoder 20 and video decoder 30 may each be included in one or more encoders or decoders, and each may be integrated as part of a combined encoder/decoder (CODEC) of another device. .

本発明は概して、映像エンコーダ20が、信号を用いることによって、情報を別の装置(例えば、映像デコーダ30)に「シグナリング」することを示してよい。「シグナリング」という表現は概して、シンタックス要素を示し、および/または符号化された映像データの転送を表してよい。転送は、リアルタイムで、またはほぼリアルタイムで発生し得る。代替的に、通信は、ある期間にわたって発生してよく、例えば、符号化後に取得された二進数データを用いることによって、シンタックス要素が符号化中にコンピュータ可読記憶媒体に記憶されるとき、発生し得る。復号装置は、シンタックス要素が媒体に記憶された後に、任意の時間においてシンタックス要素を検索し得る。
(例1)
ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得する段階であって、前記予測動き情報は、参照画像情報および動きベクトル予測値を含み、前記候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における前記現在の画像ブロックの隣接ブロックの動き情報である、段階と、
前記インデックスに基づき、前記候補予測動き情報リストを照会し、発見された前記候補予測動き情報を前記予測動き情報として用いる段階と、
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定し、前記ビットストリームから前記動きベクトル差を取得する段階と、
前記対応関係に基づき、前記動きベクトル予測値と対応する前記動きベクトル差とを加算し、前記現在の画像ブロックの動きベクトルを取得する段階と
を備える
映像復号方法。
(例2)
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定する前記段階は、
前記参照画像情報に基づき、前記現在の画像ブロックの予測モードを決定する段階であって、前記予測モードは、片方向予測または双方向予測を含む、段階と、
前記予測モードに基づき、動きベクトル差の個数を決定する段階と、
前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定する段階とを含む、
例1に記載の映像復号方法。
(例3)
前記予測モードに基づき、動きベクトル差の個数を決定する前記段階は、
前記予測モードが前記片方向予測である場合、1つの動きベクトル差が存在すると決定する段階、または、
前記予測モードが前記双方向予測であり、かつ、前記参照画像情報が参照画像のピクチャ順序カウントを含む場合、前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定する段階、または、
前記予測モードが前記双方向予測である場合、前記現在の画像ブロックの前記ビットストリーム、前記ビットストリームのスライスレイヤヘッダ情報、前記ビットストリームの画像レイヤヘッダ情報、および前記ビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つから、前記動きベクトル差の個数を取得する段階を含む、
例2に記載の映像復号方法。
(例4)
前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定する前記段階は、
前記現在の画像ブロックの第1の参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きく、かつ、前記現在の画像ブロックの第2の参照画像のピクチャ順序カウントが前記現在の画像ブロックの前記ピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定する段階、または、
前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定する段階を含む、
例3に記載の映像復号方法。
(例5)
前記予測モードが前記双方向予測である場合、前記予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定する前記段階は、
2つの動きベクトル差が存在する場合、前記2つの動きベクトル差を、前記第1の動きベクトル予測値と前記第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いる段階、または、
1つの動きベクトル差が存在する場合、前記動きベクトル差を前記第1の動きベクトル予測値に対応する動きベクトル差として用いて、前記第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、前記動きベクトル差を前記第2の動きベクトル予測値に対応する動きベクトル差として用いて、前記第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、前記動きベクトル差を前記第1の動きベクトル予測値および前記第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、前記ビットストリームから、前記動きベクトル差が前記第1の動きベクトル予測値に対応していることを示すか、もしくは前記動きベクトル差が前記第2の動きベクトル予測値に対応していることを示す情報を取得し、取得された前記情報に基づき、前記動きベクトル差と前記動きベクトル予測値との間の対応関係を決定する段階を含む、
例2から4のいずれか一項に記載の映像復号方法。
(例6)
前記候補予測動き情報リストにおける候補予測動き情報の個数は、前記ビットストリームの前記スライスレイヤヘッダ情報、前記画像レイヤヘッダ情報、および前記シーケンスレイヤヘッダ情報のうち少なくとも1つから取得される、
例1から5のいずれか一項に記載の映像復号方法。
(例7)
前記候補予測動き情報リストにおける前記候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい、
例1から6のいずれか一項に記載の映像復号方法。
(例8)
前記現在の画像ブロックは、前記ビットストリームに対応する現在の再構築されるべき画像ブロックの任意の予測単位である、
例1から7のいずれか一項に記載の映像復号方法。
(例9)
ビットストリームから、候補予測動き情報リストにおける現在の画像ブロックの予測動き情報のインデックスを取得するよう構成される第1の取得ユニットであって、前記予測動き情報は、参照画像情報および動きベクトル予測値を含み、前記候補予測動き情報リストにおける候補予測動き情報は、時間領域または空間領域における前記現在の画像ブロックの隣接ブロックの動き情報である、第1の取得ユニットと、
前記インデックスに基づき、前記候補予測動き情報リストを照会し、発見された前記候補予測動き情報を前記予測動き情報として用いるよう構成される照会ユニットと、
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定するよう構成される決定ユニットと、
前記ビットストリームから、前記動きベクトル差を取得するよう構成される第2の取得ユニットと、
前記対応関係に基づき、前記動きベクトル予測値と対応する前記動きベクトル差とを加算し、前記現在の画像ブロックの動きベクトルを取得するよう構成される演算ユニットと
を備える
映像復号端末。
(例10)
前記決定ユニットは、
前記参照画像情報に基づき、前記現在の画像ブロックの予測モードを決定するよう構成される第1の決定サブユニットであって、前記予測モードは、片方向予測または双方向予測を含む、第1の決定サブユニットと、
前記予測モードに基づき、動きベクトル差の個数を決定するよう構成される第2の決定サブユニットと、
前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定するよう構成される第3の決定サブユニットとを有する、
例9に記載の映像復号端末。
(例11)
前記第2の決定サブユニットは具体的に、
前記予測モードが前記片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または、
前記予測モードが前記双方向予測であり、かつ、前記参照画像情報が参照画像のピクチャ順序カウントを含む場合、前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定するか、または、
前記予測モードが前記双方向予測である場合、前記現在の画像ブロックの前記ビットストリーム、前記ビットストリームのスライスレイヤヘッダ情報、前記ビットストリームの画像レイヤヘッダ情報、および前記ビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つから、前記動きベクトル差の個数を取得するよう構成される、
例10に記載の映像復号端末。
(例12)
前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定するとき、前記第2の決定サブユニットは具体的に、
前記現在の画像ブロックの第1の参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きく、かつ、前記現在の画像ブロックの第2の参照画像のピクチャ順序カウントが前記現在の画像ブロックの前記ピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または、前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きい、もしくは、前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定するよう構成される、
例11に記載の映像復号端末。
(例13)
前記予測モードが前記双方向予測である場合、前記予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、前記第3の決定サブユニットは具体的に、
2つの動きベクトル差が存在する場合、前記2つの動きベクトル差を、前記第1の動きベクトル予測値と前記第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いるか、または、
1つの動きベクトル差が存在する場合、前記動きベクトル差を、前記第1の動きベクトル予測値に対応する動きベクトル差として用いて、前記第2の動きベクトル予測値に対応する動きベクトル差を0に設定する、もしくは、前記動きベクトル差を前記第2の動きベクトル予測値に対応する動きベクトル差として用いて、前記第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、前記動きベクトル差を、前記第1の動きベクトル予測値および前記第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、前記ビットストリームから、前記動きベクトル差が前記第1の動きベクトル予測値に対応していることを示すか、もしくは前記動きベクトル差が前記第2の動きベクトル予測値に対応していることを示す情報を取得して、取得された前記情報に基づき、前記動きベクトル差と前記動きベクトル予測値との間の対応関係を決定するよう構成される、
例10から12のいずれか一項に記載の映像復号端末。
(例14)
前記候補予測動き情報リストにおける候補予測動き情報の個数は、前記ビットストリームの前記スライスレイヤヘッダ情報、前記画像レイヤヘッダ情報、および前記シーケンスレイヤヘッダ情報のうち少なくとも1つから取得される、
例9から13のいずれか一項に記載の映像復号端末。
(例15)
前記候補予測動き情報リストにおける前記候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい、
例9から14のいずれか一項に記載の映像復号端末。
(例16)
前記現在の画像ブロックは、前記ビットストリームに対応する現在の再構築されるべき画像ブロックの任意の予測単位である、
例9から15のいずれか一項に記載の映像復号端末。
(例17)
現在の画像ブロックの候補予測動き情報リストを構築する段階であって、前記候補予測動き情報リストは、候補予測動き情報を含み、前記候補予測動き情報は、時間領域または空間領域における前記現在の画像ブロックの隣接ブロックの動き情報を含む、段階と、
動き推定中に取得された、前記現在の画像ブロックの動きベクトルに基づき、前記候補予測動き情報リストから、1つの候補予測動き情報を前記現在の画像ブロックの予測動き情報として選択し、前記候補予測動き情報リストにおける、選択された前記候補予測動き情報のインデックスを決定する段階であって、前記予測動き情報は、参照画像情報および動きベクトル予測値を含む、段階と、
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定する段階と、
前記対応関係と前記動きベクトルとに基づき、前記動きベクトル予測値に対応する動きベクトル差を取得する段階と、
前記インデックスおよび前記動きベクトル差をビットストリームに符号化する段階と
を備える
映像符号化方法。
(例18)
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定する前記段階は、
前記参照画像情報に基づき、前記現在の画像ブロックの予測モードを決定する段階であって、前記予測モードは、片方向予測または双方向予測を含む、段階と、
前記予測モードに基づき、動きベクトル差の個数を決定する段階と、
前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定する段階と
を含む、
例17に記載の映像符号化方法。
(例19)
前記予測モードに基づき、動きベクトル差の個数を決定する前記段階は、
前記予測モードが前記片方向予測である場合、1つの動きベクトル差が存在すると決定する段階、または、
前記予測モードが前記双方向予測であり、かつ、前記参照画像情報が前記現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定する段階、または、
前記予測モードが前記双方向予測である場合、動きベクトル差の予め設定された個数を、前記現在の画像ブロックの前記ビットストリーム、前記ビットストリームのスライスレイヤヘッダ情報、前記ビットストリームの画像レイヤヘッダ情報、および前記ビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する段階を含む、
例18に記載の映像符号化方法。
(例20)
前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定する前記段階は、
前記現在の画像ブロックの第1の参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きく、かつ、前記現在の画像ブロックの第2の参照画像のピクチャ順序カウントが前記現在の画像ブロックの前記ピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または、前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きい、もしくは、前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定する段階を含む、
例19に記載の映像符号化方法。
(例21)
前記予測モードが前記双方向予測である場合、前記予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定する前記段階は、
2つの動きベクトル差が存在する場合、前記2つの動きベクトル差を、前記第1の動きベクトル予測値と前記第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いる段階、または、
1つの動きベクトル差が存在する場合、前記動きベクトル差を前記第1の動きベクトル予測値に対応する動きベクトル差として用いて、前記第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、前記動きベクトル差を前記第2の動きベクトル予測値に対応する動きベクトル差として用いて、前記第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、前記動きベクトル差を、前記第1の動きベクトル予測値および前記第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、予め設定された対応関係に基づき、前記動きベクトル差と、前記第1の動きベクトル予測値および前記第2の動きベクトル予測値の各々との間の対応関係を決定し、前記予め設定された対応関係を前記ビットストリームに符号化する段階を含む、
例18から20のいずれか一項に記載の映像符号化方法。
(例22)
前記候補予測動き情報リストにおける候補予測動き情報の個数を、前記ビットストリームの前記スライスレイヤヘッダ情報、前記画像レイヤヘッダ情報、および前記シーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する段階
を備える例19から21のいずれか一項に記載の映像符号化方法。
(例23)
前記候補予測動き情報リストにおける前記候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい、
例22に記載の映像符号化方法。
(例24)
前記現在の画像ブロックは、前記ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である、
例17から23のいずれか一項に記載の映像符号化方法。
(例25)
現在の画像ブロックの候補予測動き情報リストを構築するよう構成されるリスト構築ユニットであって、前記候補予測動き情報リストは、候補予測動き情報を含み、前記候補予測動き情報は、時間領域または空間領域における前記現在の画像ブロックの隣接ブロックの動き情報を含む、リスト構築ユニットと、
動き推定中に取得された、前記現在の画像ブロックの動きベクトルに基づき、前記候補予測動き情報リストから、1つの候補予測動き情報を前記現在の画像ブロックの予測動き情報として選択するよう構成される選択ユニットであって、前記予測動き情報は、参照画像情報および動きベクトル予測値を含む、選択ユニットと、
前記候補予測動き情報リストにおける、選択された前記候補予測動き情報のインデックスを決定するよう構成される第1の決定ユニットと、
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定するよう構成される第2の決定ユニットと、
前記対応関係と前記動きベクトルとに基づき、前記動きベクトル予測値に対応する動きベクトル差を取得するよう構成される取得ユニットと、
前記インデックスと前記動きベクトル差とをビットストリームに符号化するよう構成される第1の符号化ユニットと
を備える
映像符号化端末。
(例26)
前記第2の決定ユニットは、
前記参照画像情報に基づき、前記現在の画像ブロックの予測モードを決定するよう構成される第1の決定サブユニットであって、前記予測モードは、片方向予測または双方向予測を含む、第1の決定サブユニットと、
前記予測モードに基づき、動きベクトル差の個数を決定するよう構成される第2の決定サブユニットと、
前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定するよう構成される第3の決定サブユニットとを有する、
例25に記載の映像符号化端末。
(例27)
前記第2の決定サブユニットは具体的に、
前記予測モードが前記片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または、
前記予測モードが前記双方向予測であり、かつ、前記参照画像情報が前記現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定するか、または、
前記予測モードが前記双方向予測である場合、動きベクトル差の予め設定された個数を、前記現在の画像ブロックの前記ビットストリーム、前記ビットストリームのスライスレイヤヘッダ情報、前記ビットストリームの画像レイヤヘッダ情報、および前記ビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化するよう構成される、
例26に記載の映像符号化端末。
(例28)
前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定するとき、前記第2の決定サブユニットは具体的に、
前記現在の画像ブロックの第1の参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きく、かつ、前記現在の画像ブロックの第2の参照画像のピクチャ順序カウントが前記現在の画像ブロックの前記ピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または、
前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定するよう構成される、
例27に記載の映像符号化端末。
(例29)
前記予測モードが前記双方向予測である場合、前記予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、前記第3の決定サブユニットは具体的に、
2つの動きベクトル差が存在する場合、前記2つの動きベクトル差を、前記第1の動きベクトル予測値と前記第2の動きベクトル予測値とに対応する動きベクトル差として別々に用いるか、または、
1つの動きベクトル差が存在する場合、前記動きベクトル差を前記第1の動きベクトル予測値に対応する動きベクトル差として用いて、前記第2の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、前記動きベクトル差を前記第2の動きベクトル予測値に対応する動きベクトル差として用いて、前記第1の動きベクトル予測値に対応する動きベクトル差を0に設定するか、もしくは、前記動きベクトル差を、前記第1の動きベクトル予測値および前記第2の動きベクトル予測値の各々に対応する動きベクトル差として用いるか、もしくは、予め設定された対応関係に基づき、前記動きベクトル差と、前記第1の動きベクトル予測値および前記第2の動きベクトル予測値の各々との間の対応関係を決定し、前記予め設定された対応関係を前記ビットストリームに符号化するよう構成される、
例26から28のいずれか一項に記載の映像符号化端末。
(例30)
前記映像符号化端末はさらに、
前記候補予測動き情報リストにおける候補予測動き情報の個数を、前記ビットストリームの前記スライスレイヤヘッダ情報、前記画像レイヤヘッダ情報、および前記シーケンスレイヤヘッダ情報のうち少なくとも1つに符号化するよう構成される第2の符号化ユニットを備える、
例27から29のいずれか一項に記載の映像符号化端末。
(例31)
前記候補予測動き情報リストにおける前記候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい、
例30に記載の映像符号化端末。
(例32)
前記現在の画像ブロックは、前記ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である、
例25から31のいずれか一項に記載の映像符号化端末。
The present invention may generally refer to video encoder 20 "signaling" information to another device (eg, video decoder 30) by using signals. The expression "signaling" generally indicates a syntax element and/or may represent the transfer of encoded video data. Transfer may occur in real time or near real time. Alternatively, the communication may occur over a period of time, such as when the syntax element is stored on a computer-readable storage medium during encoding, by using binary data obtained after encoding. It is possible. The decoding device may retrieve the syntax element at any time after the syntax element is stored on the medium.
(Example 1)
obtaining an index of predicted motion information of a current image block in a candidate predicted motion information list from a bitstream, the predicted motion information including reference image information and a motion vector predicted value; the candidate predicted motion information in the list is motion information of neighboring blocks of the current image block in the temporal or spatial domain;
querying the candidate predicted motion information list based on the index and using the found candidate predicted motion information as the predicted motion information;
determining a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information, and obtaining the motion vector difference from the bitstream;
and adding the motion vector predicted value and the corresponding motion vector difference based on the correspondence relationship to obtain a motion vector of the current image block.
(Example 2)
The step of determining a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information includes:
determining a prediction mode for the current image block based on the reference image information, the prediction mode including unidirectional prediction or bidirectional prediction;
determining the number of motion vector differences based on the prediction mode;
determining the correspondence between the motion vector difference and the motion vector predicted value based on the number of motion vector differences and the predicted motion information;
Video decoding method described in Example 1.
(Example 3)
The step of determining the number of motion vector differences based on the prediction mode includes:
if the prediction mode is the unidirectional prediction, determining that one motion vector difference exists; or
If the prediction mode is the bidirectional prediction and the reference picture information includes a picture order count of the reference picture, the motion vector difference is determined based on the picture order count of the reference picture of the current picture block. A stage of determining the number of pieces, or
If the prediction mode is the bidirectional prediction, the bitstream of the current image block, slice layer header information of the bitstream, image layer header information of the bitstream, and sequence layer header information of the bitstream. obtaining the number of motion vector differences from at least one of the motion vector differences;
Video decoding method described in Example 2.
(Example 4)
The step of determining the number of motion vector differences based on the picture order count of the reference picture of the current image block comprises:
The picture order count of a first reference picture of the current image block is greater than the picture order count of the current image block, and the picture order count of a second reference picture of the current image block is greater than the picture order count of the current image block. determining that there is a difference between the two motion vectors if the picture order count of the block is less than the picture order count; or
The picture order count of each reference picture of the current picture block is greater than the picture order count of the current picture block, or the picture order count of each reference picture of the current picture block is equal to the picture order of the current picture block. determining that there is a motion vector difference of one if the count is less than the count;
Video decoding method described in Example 3.
(Example 5)
When the prediction mode is the bidirectional prediction, the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the number of motion vector differences and the second motion vector predicted value. The step of determining the correspondence between the motion vector difference and the motion vector predicted value based on the predicted motion information includes:
If two motion vector differences exist, separately using the two motion vector differences as motion vector differences corresponding to the first motion vector prediction value and the second motion vector prediction value, or
If one motion vector difference exists, the motion vector difference is used as the motion vector difference corresponding to the first motion vector prediction value, and the motion vector difference corresponding to the second motion vector prediction value is set to zero. or use the motion vector difference as a motion vector difference corresponding to the second motion vector predicted value and set the motion vector difference corresponding to the first motion vector predicted value to 0; Alternatively, the motion vector difference is used as a motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value, or 1, or information indicating that the motion vector difference corresponds to the second motion vector predicted value, and based on the acquired information; , determining a correspondence between the motion vector difference and the motion vector predicted value;
The video decoding method according to any one of Examples 2 to 4.
(Example 6)
The number of candidate predicted motion information items in the candidate predicted motion information list is obtained from at least one of the slice layer header information, the image layer header information, and the sequence layer header information of the bitstream.
The video decoding method according to any one of Examples 1 to 5.
(Example 7)
The number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list.
The video decoding method according to any one of Examples 1 to 6.
(Example 8)
the current image block is an arbitrary prediction unit of the current image block to be reconstructed corresponding to the bitstream;
The video decoding method according to any one of Examples 1 to 7.
(Example 9)
a first acquisition unit configured to obtain, from a bitstream, an index of predicted motion information of a current image block in a candidate predicted motion information list, the predicted motion information comprising reference image information and a motion vector predicted value; a first acquisition unit, wherein the candidate predicted motion information in the candidate predicted motion information list is motion information of neighboring blocks of the current image block in the temporal domain or the spatial domain;
a query unit configured to query the candidate predicted motion information list based on the index and use the found candidate predicted motion information as the predicted motion information;
a determining unit configured to determine, based on the predicted motion information, a correspondence between a motion vector difference and the motion vector predicted value;
a second acquisition unit configured to acquire the motion vector difference from the bitstream;
and a calculation unit configured to add the motion vector predicted value and the corresponding motion vector difference based on the correspondence relationship to obtain a motion vector of the current image block.
(Example 10)
The determining unit is
a first determining sub-unit configured to determine a prediction mode of the current image block based on the reference image information, the prediction mode comprising a first prediction mode comprising unidirectional prediction or bidirectional prediction; a decision subunit;
a second determining subunit configured to determine the number of motion vector differences based on the prediction mode;
a third determining sub-unit configured to determine the correspondence between the motion vector differences and the motion vector predictions based on the number of motion vector differences and the predicted motion information;
The video decoding terminal described in Example 9.
(Example 11)
Specifically, the second determining subunit:
If the prediction mode is the unidirectional prediction, determining that there is one motion vector difference, or
If the prediction mode is the bidirectional prediction and the reference picture information includes a picture order count of the reference picture, the motion vector difference is determined based on the picture order count of the reference picture of the current picture block. Decide on the number or
If the prediction mode is the bidirectional prediction, the bitstream of the current image block, slice layer header information of the bitstream, image layer header information of the bitstream, and sequence layer header information of the bitstream. configured to obtain the number of motion vector differences from at least one of the motion vector differences;
The video decoding terminal described in Example 10.
(Example 12)
When determining the number of motion vector differences based on the picture order count of the reference picture of the current image block, the second determining sub-unit specifically:
The picture order count of a first reference picture of the current image block is greater than the picture order count of the current image block, and the picture order count of a second reference picture of the current image block is greater than the picture order count of the current image block. determining that a two motion vector difference exists if the picture order count of each reference picture of the current image block is smaller than the picture order count of the current image block; or configured to determine that one motion vector difference exists if the picture order count of each reference picture of the current image block is less than the picture order count of the current image block;
The video decoding terminal described in Example 11.
(Example 13)
When the prediction mode is the bidirectional prediction, the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the third determination subunit Specifically,
If two motion vector differences exist, the two motion vector differences are used separately as motion vector differences corresponding to the first motion vector prediction value and the second motion vector prediction value, or
If one motion vector difference exists, the motion vector difference is used as the motion vector difference corresponding to the first motion vector prediction value, and the motion vector difference corresponding to the second motion vector prediction value is set to 0. or use the motion vector difference as a motion vector difference corresponding to the second motion vector predicted value and set the motion vector difference corresponding to the first motion vector predicted value to 0; Alternatively, the motion vector difference is used as a motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value, or the motion vector difference is calculated from the bitstream. The obtained information indicates that the motion vector difference corresponds to the first motion vector predicted value, or that the motion vector difference corresponds to the second motion vector predicted value. configured to determine a correspondence between the motion vector difference and the motion vector predicted value based on
The video decoding terminal according to any one of Examples 10 to 12.
(Example 14)
The number of candidate predicted motion information items in the candidate predicted motion information list is obtained from at least one of the slice layer header information, the image layer header information, and the sequence layer header information of the bitstream.
The video decoding terminal according to any one of Examples 9 to 13.
(Example 15)
The number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list.
The video decoding terminal according to any one of Examples 9 to 14.
(Example 16)
the current image block is an arbitrary prediction unit of the current image block to be reconstructed corresponding to the bitstream;
The video decoding terminal according to any one of Examples 9 to 15.
(Example 17)
constructing a candidate predicted motion information list for a current image block, said candidate predicted motion information list including candidate predicted motion information, said candidate predicted motion information for said current image block in a temporal domain or a spatial domain; a step comprising motion information of neighboring blocks of the block;
Based on the motion vector of the current image block obtained during motion estimation, one candidate predicted motion information is selected from the candidate predicted motion information list as the predicted motion information of the current image block, and the candidate prediction is determining an index of the selected candidate predicted motion information in a motion information list, the predicted motion information including reference image information and a motion vector predicted value;
determining a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information;
obtaining a motion vector difference corresponding to the motion vector predicted value based on the correspondence relationship and the motion vector;
and encoding the index and the motion vector difference into a bitstream.
(Example 18)
The step of determining a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information includes:
determining a prediction mode for the current image block based on the reference image information, the prediction mode including unidirectional prediction or bidirectional prediction;
determining the number of motion vector differences based on the prediction mode;
determining the correspondence between the motion vector difference and the motion vector predicted value based on the number of motion vector differences and the predicted motion information;
The video encoding method described in Example 17.
(Example 19)
The step of determining the number of motion vector differences based on the prediction mode includes:
if the prediction mode is the unidirectional prediction, determining that one motion vector difference exists; or
If the prediction mode is the bidirectional prediction and the reference picture information includes a picture order count of the reference picture of the current picture block, based on the picture order count of the reference picture of the current picture block. , determining the number of motion vector differences, or
When the prediction mode is the bidirectional prediction, the preset number of motion vector differences is calculated from the bitstream of the current image block, slice layer header information of the bitstream, and image layer header information of the bitstream. , and encoding at least one of sequence layer header information of the bitstream.
The video encoding method described in Example 18.
(Example 20)
The step of determining the number of motion vector differences based on the picture order count of the reference picture of the current image block comprises:
The picture order count of a first reference picture of the current image block is greater than the picture order count of the current image block, and the picture order count of a second reference picture of the current image block is greater than the picture order count of the current image block. determining that a two motion vector difference exists if the picture order count of each reference picture of the current image block is smaller than the picture order count of the current image block; or determining that a motion vector difference exists if the picture order count of each reference picture of the current image block is less than the picture order count of the current image block;
The video encoding method described in Example 19.
(Example 21)
When the prediction mode is the bidirectional prediction, the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the number of motion vector differences and the second motion vector predicted value. The step of determining the correspondence between the motion vector difference and the motion vector predicted value based on the predicted motion information includes:
If two motion vector differences exist, separately using the two motion vector differences as motion vector differences corresponding to the first motion vector prediction value and the second motion vector prediction value, or
If one motion vector difference exists, the motion vector difference is used as the motion vector difference corresponding to the first motion vector prediction value, and the motion vector difference corresponding to the second motion vector prediction value is set to zero. or use the motion vector difference as a motion vector difference corresponding to the second motion vector predicted value and set the motion vector difference corresponding to the first motion vector predicted value to 0; Alternatively, the motion vector difference is used as a motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value, or the motion vector difference is used based on a preset correspondence relationship. determining a correspondence between a vector difference and each of the first motion vector predictor and the second motion vector predictor, and encoding the predetermined correspondence into the bitstream; include,
The video encoding method according to any one of Examples 18 to 20.
(Example 22)
An example comprising: encoding the number of pieces of candidate predicted motion information in the candidate predicted motion information list into at least one of the slice layer header information, the image layer header information, and the sequence layer header information of the bitstream. 22. The video encoding method according to any one of 19 to 21.
(Example 23)
The number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list.
The video encoding method described in Example 22.
(Example 24)
the current image block is an arbitrary prediction unit of the current image block to be encoded corresponding to the bitstream;
The video encoding method according to any one of Examples 17 to 23.
(Example 25)
A list construction unit configured to construct a candidate predicted motion information list for a current image block, wherein the candidate predicted motion information list includes candidate predicted motion information, and the candidate predicted motion information is arranged in a temporal domain or in a spatial domain. a list construction unit comprising motion information of neighboring blocks of the current image block in a region;
Based on the motion vector of the current image block obtained during motion estimation, one candidate predicted motion information is configured to be selected from the list of candidate predicted motion information as the predicted motion information of the current image block. a selection unit, wherein the predicted motion information includes reference image information and a motion vector predicted value;
a first determining unit configured to determine an index of the selected candidate predicted motion information in the candidate predicted motion information list;
a second determining unit configured to determine a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information;
an acquisition unit configured to acquire a motion vector difference corresponding to the motion vector prediction based on the correspondence and the motion vector;
a first encoding unit configured to encode the index and the motion vector difference into a bitstream.
(Example 26)
The second decision unit includes:
a first determining sub-unit configured to determine a prediction mode of the current image block based on the reference image information, the prediction mode comprising a first prediction mode comprising unidirectional prediction or bidirectional prediction; a decision subunit;
a second determining subunit configured to determine the number of motion vector differences based on the prediction mode;
a third determining sub-unit configured to determine the correspondence between the motion vector differences and the motion vector predictions based on the number of motion vector differences and the predicted motion information;
The video encoding terminal according to Example 25.
(Example 27)
Specifically, the second determining subunit:
If the prediction mode is the unidirectional prediction, determining that there is one motion vector difference, or
If the prediction mode is the bidirectional prediction and the reference picture information includes a picture order count of the reference picture of the current picture block, based on the picture order count of the reference picture of the current picture block. , determining the number of motion vector differences, or
When the prediction mode is the bidirectional prediction, the preset number of motion vector differences is calculated from the bitstream of the current image block, slice layer header information of the bitstream, and image layer header information of the bitstream. , and configured to encode at least one of sequence layer header information of the bitstream.
The video encoding terminal according to Example 26.
(Example 28)
When determining the number of motion vector differences based on the picture order count of the reference picture of the current image block, the second determining sub-unit specifically:
The picture order count of a first reference picture of the current image block is greater than the picture order count of the current image block, and the picture order count of a second reference picture of the current image block is greater than the picture order count of the current image block. If it is less than the picture order count of the block, determine that there is a difference between the two motion vectors, or
The picture order count of each reference picture of the current picture block is greater than the picture order count of the current picture block, or the picture order count of each reference picture of the current picture block is equal to the picture order of the current picture block. configured to determine that there is one motion vector difference if less than the count;
The video encoding terminal according to Example 27.
(Example 29)
When the prediction mode is the bidirectional prediction, the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the third determination subunit Specifically,
If two motion vector differences exist, the two motion vector differences are used separately as motion vector differences corresponding to the first motion vector prediction value and the second motion vector prediction value, or
If one motion vector difference exists, the motion vector difference is used as the motion vector difference corresponding to the first motion vector prediction value, and the motion vector difference corresponding to the second motion vector prediction value is set to zero. or use the motion vector difference as a motion vector difference corresponding to the second motion vector predicted value and set the motion vector difference corresponding to the first motion vector predicted value to 0; Alternatively, the motion vector difference is used as a motion vector difference corresponding to each of the first motion vector predicted value and the second motion vector predicted value, or the motion vector difference is used based on a preset correspondence relationship. configured to determine a correspondence between a vector difference and each of the first motion vector predictor and the second motion vector predictor, and encode the preset correspondence into the bitstream; be done,
The video encoding terminal according to any one of Examples 26 to 28.
(Example 30)
The video encoding terminal further includes:
configured to encode the number of pieces of candidate predicted motion information in the candidate predicted motion information list into at least one of the slice layer header information, the image layer header information, and the sequence layer header information of the bitstream. comprising a second encoding unit;
The video encoding terminal according to any one of Examples 27 to 29.
(Example 31)
The number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list.
The video encoding terminal according to Example 30.
(Example 32)
the current image block is an arbitrary prediction unit of the current image block to be encoded corresponding to the bitstream;
The video encoding terminal according to any one of Examples 25 to 31.

装置の区分は、論理機能の区分に過ぎず、本発明は、対応する機能を実現できる限り、前述の区分に限定されないことに注意すべきである。加えて、機能ユニットの具体的な名称は、ユニットを互いから区別する目的のために提供されているに過ぎず、本発明の保護範囲を限定することを意図しない。 It should be noted that the division of devices is only a division of logical functions, and the invention is not limited to the above-mentioned divisions, as long as the corresponding functions can be realized. In addition, the specific names of the functional units are only provided for the purpose of distinguishing the units from each other and are not intended to limit the protection scope of the present invention.

加えて、当業者は、方法の実施形態の段階の全てまたは一部が関連ハードウェアに命令するプログラムにより実現され得ることを理解し得る。プログラムは、コンピュータ可読記憶媒体に記憶されてよい。記憶媒体は、リードオンリメモリ、磁気ディスク、光ディスク、または同様のものを含んでよい。 In addition, those skilled in the art can appreciate that all or some of the steps of the method embodiments may be implemented by a program instructing relevant hardware. The program may be stored on a computer readable storage medium. The storage medium may include read-only memory, magnetic disks, optical disks, or the like.

前述の説明は、本発明の具体的な例示的実装方式に過ぎず、本発明の保護範囲を限定することを意図しない。本発明の実施形態に開示されている技術的範囲内における、当業者により容易に想到される任意の変形または置換は、本発明の保護範囲内に含まれるものとする。従って、本発明の保護範囲は、特許請求の範囲の保護範囲に従うものとする。 The above description is only a specific exemplary implementation of the present invention, and is not intended to limit the protection scope of the present invention. Any modification or replacement easily conceived by a person skilled in the art within the technical scope disclosed in the embodiments of the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

現在の画像ブロックの候補予測動き情報リストを構築する段階であって、前記候補予測動き情報リストは、候補予測動き情報を含み、前記候補予測動き情報は、時間領域または空間領域における前記現在の画像ブロックの隣接ブロックの動き情報を含む、段階と、
動き推定中に取得された、前記現在の画像ブロックの動きベクトルに基づき、前記候補予測動き情報リストから、1つの候補予測動き情報を前記現在の画像ブロックの予測動き情報として選択し、前記候補予測動き情報リストにおける、選択された前記候補予測動き情報のインデックスを決定する段階であって、前記予測動き情報は、参照画像情報および動きベクトル予測値を含む、段階と、
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定する段階と、
前記対応関係と前記動きベクトルとに基づき、前記動きベクトル予測値に対応する動きベクトル差を取得する段階と、
前記インデックスおよび前記動きベクトル差をビットストリームに符号化する段階と
を備え
前記現在の画像ブロックの予測モードが双方向予測である場合、前記予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、同じ動きベクトル差を前記第1の動きベクトル予測値および前記第2の動きベクトル予測値に加算することによって、前記動きベクトル差が、前記第1の動きベクトル予測値および前記第2の動きベクトル予測値によって再使用される
映像符号化方法。
constructing a candidate predicted motion information list for a current image block, said candidate predicted motion information list including candidate predicted motion information, said candidate predicted motion information for said current image block in a temporal domain or a spatial domain; a step comprising motion information of neighboring blocks of the block;
Based on the motion vector of the current image block obtained during motion estimation, one candidate predicted motion information is selected from the candidate predicted motion information list as the predicted motion information of the current image block, and the candidate prediction is determining an index of the selected candidate predicted motion information in a motion information list, the predicted motion information including reference image information and a motion vector predicted value;
determining a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information;
obtaining a motion vector difference corresponding to the motion vector predicted value based on the correspondence relationship and the motion vector;
encoding the index and the motion vector difference into a bitstream ;
When the prediction mode of the current image block is bidirectional prediction, the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and The motion vector difference is reconstructed by the first motion vector predictor and the second motion vector predictor by adding a difference to the first motion vector predictor and the second motion vector predictor. used
Video encoding method.
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定する前記段階は、
前記参照画像情報に基づき、前記現在の画像ブロックの予測モードを決定する段階であって、前記予測モードは、片方向予測または双方向予測を含む、段階と、
前記予測モードに基づき、動きベクトル差の個数を決定する段階と、
前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定する段階と
を含む、
請求項1に記載の映像符号化方法。
The step of determining a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information includes:
determining a prediction mode for the current image block based on the reference image information, the prediction mode including unidirectional prediction or bidirectional prediction;
determining the number of motion vector differences based on the prediction mode;
determining the correspondence between the motion vector difference and the motion vector predicted value based on the number of motion vector differences and the predicted motion information;
The video encoding method according to claim 1.
前記予測モードに基づき、動きベクトル差の個数を決定する前記段階は、
前記予測モードが前記片方向予測である場合、1つの動きベクトル差が存在すると決定する段階、または、
前記予測モードが前記双方向予測であり、かつ、前記参照画像情報が前記現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定する段階、または、
前記予測モードが前記双方向予測である場合、動きベクトル差の予め設定された個数を、前記現在の画像ブロックの前記ビットストリーム、前記ビットストリームのスライスレイヤヘッダ情報、前記ビットストリームの画像レイヤヘッダ情報、および前記ビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する段階を含む、
請求項2に記載の映像符号化方法。
The step of determining the number of motion vector differences based on the prediction mode includes:
if the prediction mode is the unidirectional prediction, determining that one motion vector difference exists; or
If the prediction mode is the bidirectional prediction and the reference picture information includes a picture order count of the reference picture of the current picture block, based on the picture order count of the reference picture of the current picture block. , determining the number of motion vector differences, or
When the prediction mode is the bidirectional prediction, the preset number of motion vector differences is calculated from the bitstream of the current image block, slice layer header information of the bitstream, and image layer header information of the bitstream. , and encoding at least one of sequence layer header information of the bitstream.
The video encoding method according to claim 2.
前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定する前記段階は、
前記現在の画像ブロックの第1の参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きく、かつ、前記現在の画像ブロックの第2の参照画像のピクチャ順序カウントが前記現在の画像ブロックの前記ピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または、前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きい、もしくは、前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定する段階を含む、
請求項3に記載の映像符号化方法。
The step of determining the number of motion vector differences based on the picture order count of the reference picture of the current image block comprises:
The picture order count of a first reference picture of the current image block is greater than the picture order count of the current image block, and the picture order count of a second reference picture of the current image block is greater than the picture order count of the current image block. determining that a two motion vector difference exists if the picture order count of each reference picture of the current image block is smaller than the picture order count of the current image block; or determining that a motion vector difference exists if the picture order count of each reference picture of the current image block is less than the picture order count of the current image block;
The video encoding method according to claim 3.
前記候補予測動き情報リストにおける候補予測動き情報の個数を、前記ビットストリームの前記スライスレイヤヘッダ情報、前記画像レイヤヘッダ情報、および前記シーケンスレイヤヘッダ情報のうち少なくとも1つに符号化する段階
を備える請求項3または4に記載の映像符号化方法。
The method further comprises: encoding the number of pieces of candidate predicted motion information in the candidate predicted motion information list into at least one of the slice layer header information, the image layer header information, and the sequence layer header information of the bitstream. The video encoding method according to item 3 or 4 .
前記候補予測動き情報リストにおける前記候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい、
請求項に記載の映像符号化方法。
The number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list.
The video encoding method according to claim 5 .
前記現在の画像ブロックは、前記ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である、
請求項1からのいずれか一項に記載の映像符号化方法。
the current image block is an arbitrary prediction unit of the current image block to be encoded corresponding to the bitstream;
The video encoding method according to any one of claims 1 to 6 .
現在の画像ブロックの候補予測動き情報リストを構築するよう構成されるリスト構築ユニットであって、前記候補予測動き情報リストは、候補予測動き情報を含み、前記候補予測動き情報は、時間領域または空間領域における前記現在の画像ブロックの隣接ブロックの動き情報を含む、リスト構築ユニットと、
動き推定中に取得された、前記現在の画像ブロックの動きベクトルに基づき、前記候補予測動き情報リストから、1つの候補予測動き情報を前記現在の画像ブロックの予測動き情報として選択するよう構成される選択ユニットであって、前記予測動き情報は、参照画像情報および動きベクトル予測値を含む、選択ユニットと、
前記候補予測動き情報リストにおける、選択された前記候補予測動き情報のインデックスを決定するよう構成される第1の決定ユニットと、
前記予測動き情報に基づき、動きベクトル差と前記動きベクトル予測値との間の対応関係を決定するよう構成される第2の決定ユニットと、
前記対応関係と前記動きベクトルとに基づき、前記動きベクトル予測値に対応する動きベクトル差を取得するよう構成される取得ユニットと、
前記インデックスと前記動きベクトル差とをビットストリームに符号化するよう構成される第1の符号化ユニットと
を備え
前記現在の画像ブロックの予測モードが双方向予測である場合、前記予測動き情報は、第1の動きベクトル予測値および第2の動きベクトル予測値という2つの動きベクトル予測値を含み、同じ動きベクトル差を前記第1の動きベクトル予測値および前記第2の動きベクトル予測値に加算することによって、前記動きベクトル差が、前記第1の動きベクトル予測値および前記第2の動きベクトル予測値によって再使用される
映像符号化端末。
A list construction unit configured to construct a candidate predicted motion information list for a current image block, wherein the candidate predicted motion information list includes candidate predicted motion information, and the candidate predicted motion information is arranged in a temporal domain or in a spatial domain. a list construction unit comprising motion information of neighboring blocks of the current image block in a region;
Based on the motion vector of the current image block obtained during motion estimation, one candidate predicted motion information is configured to be selected from the list of candidate predicted motion information as the predicted motion information of the current image block. a selection unit, wherein the predicted motion information includes reference image information and a motion vector predicted value;
a first determining unit configured to determine an index of the selected candidate predicted motion information in the candidate predicted motion information list;
a second determining unit configured to determine a correspondence between a motion vector difference and the motion vector predicted value based on the predicted motion information;
an acquisition unit configured to acquire a motion vector difference corresponding to the motion vector prediction based on the correspondence and the motion vector;
a first encoding unit configured to encode the index and the motion vector difference into a bitstream ;
When the prediction mode of the current image block is bidirectional prediction, the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and the predicted motion information includes two motion vector predicted values, a first motion vector predicted value and a second motion vector predicted value, and The motion vector difference is reconstructed by the first motion vector predictor and the second motion vector predictor by adding a difference to the first motion vector predictor and the second motion vector predictor. used
Video encoding terminal.
前記第2の決定ユニットは、
前記参照画像情報に基づき、前記現在の画像ブロックの予測モードを決定するよう構成される第1の決定サブユニットであって、前記予測モードは、片方向予測または双方向予測を含む、第1の決定サブユニットと、
前記予測モードに基づき、動きベクトル差の個数を決定するよう構成される第2の決定サブユニットと、
前記動きベクトル差の個数と前記予測動き情報とに基づき、前記動きベクトル差と前記動きベクトル予測値との間の前記対応関係を決定するよう構成される第3の決定サブユニットとを有する、
請求項に記載の映像符号化端末。
The second decision unit includes:
a first determining sub-unit configured to determine a prediction mode of the current image block based on the reference image information, the prediction mode comprising a first prediction mode comprising unidirectional prediction or bidirectional prediction; a decision subunit;
a second determining subunit configured to determine the number of motion vector differences based on the prediction mode;
a third determining sub-unit configured to determine the correspondence between the motion vector differences and the motion vector predictions based on the number of motion vector differences and the predicted motion information;
The video encoding terminal according to claim 8 .
前記第2の決定サブユニットは具体的に、
前記予測モードが前記片方向予測である場合、1つの動きベクトル差が存在すると決定するか、または、
前記予測モードが前記双方向予測であり、かつ、前記参照画像情報が前記現在の画像ブロックの参照画像のピクチャ順序カウントを含む場合、前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定するか、または、
前記予測モードが前記双方向予測である場合、動きベクトル差の予め設定された個数を、前記現在の画像ブロックの前記ビットストリーム、前記ビットストリームのスライスレイヤヘッダ情報、前記ビットストリームの画像レイヤヘッダ情報、および前記ビットストリームのシーケンスレイヤヘッダ情報のうち少なくとも1つに符号化するよう構成される、
請求項に記載の映像符号化端末。
Specifically, the second determining subunit:
If the prediction mode is the unidirectional prediction, determining that there is one motion vector difference, or
If the prediction mode is the bidirectional prediction and the reference picture information includes a picture order count of the reference picture of the current picture block, based on the picture order count of the reference picture of the current picture block. , determining the number of motion vector differences, or
When the prediction mode is the bidirectional prediction, the preset number of motion vector differences is calculated from the bitstream of the current image block, slice layer header information of the bitstream, and image layer header information of the bitstream. , and configured to encode at least one of sequence layer header information of the bitstream.
The video encoding terminal according to claim 9 .
前記現在の画像ブロックの前記参照画像の前記ピクチャ順序カウントに基づき、前記動きベクトル差の個数を決定するとき、前記第2の決定サブユニットは具体的に、
前記現在の画像ブロックの第1の参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きく、かつ、前記現在の画像ブロックの第2の参照画像のピクチャ順序カウントが前記現在の画像ブロックの前記ピクチャ順序カウントより小さい場合、2つの動きベクトル差が存在すると決定するか、または、
前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより大きいか、もしくは前記現在の画像ブロックの各参照画像のピクチャ順序カウントが前記現在の画像ブロックのピクチャ順序カウントより小さい場合、1つの動きベクトル差が存在すると決定するよう構成される、
請求項10に記載の映像符号化端末。
When determining the number of motion vector differences based on the picture order count of the reference picture of the current image block, the second determining sub-unit specifically:
The picture order count of a first reference picture of the current image block is greater than the picture order count of the current image block, and the picture order count of a second reference picture of the current image block is greater than the picture order count of the current image block. If it is less than the picture order count of the block, determine that there is a difference between the two motion vectors, or
The picture order count of each reference picture of the current picture block is greater than the picture order count of the current picture block, or the picture order count of each reference picture of the current picture block is equal to the picture order of the current picture block. configured to determine that there is one motion vector difference if less than the count;
The video encoding terminal according to claim 10 .
前記映像符号化端末はさらに、
前記候補予測動き情報リストにおける候補予測動き情報の個数を、前記ビットストリームの前記スライスレイヤヘッダ情報、前記画像レイヤヘッダ情報、および前記シーケンスレイヤヘッダ情報のうち少なくとも1つに符号化するよう構成される第2の符号化ユニットを備える、
請求項10または11に記載の映像符号化端末。
The video encoding terminal further includes:
configured to encode the number of pieces of candidate predicted motion information in the candidate predicted motion information list into at least one of the slice layer header information, the image layer header information, and the sequence layer header information of the bitstream. comprising a second encoding unit;
The video encoding terminal according to claim 10 or 11 .
前記候補予測動き情報リストにおける前記候補予測動き情報の個数は、マージモードの動き情報リストにおける動き情報の個数より小さい、
請求項12に記載の映像符号化端末。
The number of pieces of candidate predicted motion information in the candidate predicted motion information list is smaller than the number of pieces of motion information in the merge mode motion information list.
The video encoding terminal according to claim 12 .
前記現在の画像ブロックは、前記ビットストリームに対応する現在の符号化されるべき画像ブロックの任意の予測単位である、
請求項から13のいずれか一項に記載の映像符号化端末。
the current image block is an arbitrary prediction unit of the current image block to be encoded corresponding to the bitstream;
The video encoding terminal according to any one of claims 8 to 13 .
プロセッサに請求項1からのいずれか一項に記載の映像符号化方法を実行させる、プログラム。 A program that causes a processor to execute the video encoding method according to any one of claims 1 to 7 .
JP2022032366A 2020-12-14 2022-03-03 Video encoding method, video decoding method, and terminal Active JP7388610B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022032366A JP7388610B2 (en) 2020-12-14 2022-03-03 Video encoding method, video decoding method, and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020206827A JP7036893B2 (en) 2020-12-14 2020-12-14 Video coding method, video decoding method, and terminal
JP2022032366A JP7388610B2 (en) 2020-12-14 2022-03-03 Video encoding method, video decoding method, and terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020206827A Division JP7036893B2 (en) 2020-12-14 2020-12-14 Video coding method, video decoding method, and terminal

Publications (2)

Publication Number Publication Date
JP2022084683A JP2022084683A (en) 2022-06-07
JP7388610B2 true JP7388610B2 (en) 2023-11-29

Family

ID=75156438

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020206827A Active JP7036893B2 (en) 2020-12-14 2020-12-14 Video coding method, video decoding method, and terminal
JP2022032366A Active JP7388610B2 (en) 2020-12-14 2022-03-03 Video encoding method, video decoding method, and terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2020206827A Active JP7036893B2 (en) 2020-12-14 2020-12-14 Video coding method, video decoding method, and terminal

Country Status (1)

Country Link
JP (2) JP7036893B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120019655A (en) * 2022-10-08 2025-05-16 抖音视界有限公司 Method, device and medium for video processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013102266A (en) 2011-11-07 2013-05-23 Ntt Docomo Inc Moving image prediction encoder, moving image prediction encoding method, moving image prediction encoding program, moving image prediction decoder, moving image prediction decoding method and moving image prediction decoding program
JP2013132046A (en) 2011-11-21 2013-07-04 Jvc Kenwood Corp Video decoder, video decoding method, video decoding program, receiver, receiving method, and receiving program
JP6881788B2 (en) 2016-09-30 2021-06-02 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Video coding method, video decoding method, and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013102266A (en) 2011-11-07 2013-05-23 Ntt Docomo Inc Moving image prediction encoder, moving image prediction encoding method, moving image prediction encoding program, moving image prediction decoder, moving image prediction decoding method and moving image prediction decoding program
JP2013132046A (en) 2011-11-21 2013-07-04 Jvc Kenwood Corp Video decoder, video decoding method, video decoding program, receiver, receiving method, and receiving program
JP6881788B2 (en) 2016-09-30 2021-06-02 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Video coding method, video decoding method, and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SUZUKI, Yoshinori and FUJIBAYASHI, Akira,Non-CE9: Bi-prediction for low delay coding,Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 7th Meeting: Geneva, CH, 21-30 November, 2011, [JCTVC-G305],JCTVC-G305 (version 2),ITU-T,2011年11月19日,<URL:http://phenix.it-sudparis.eu/jct/doc_end_user/documents/7_Geneva/wg11/JCTVC-G305-v2.zip>: JCTVC-G305.doc: pp.1-5
ZHOU, Minhua et al.,A method of decoupling motion data reconstruction from entropy decoding,Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 6th Meeting: Torino, IT, 14-22 July, 2011, [JCTVC-F347],JCTVC-F347 (version 2),ITU-T,2011年07月02日,<URL:http://phenix.it-sudparis.eu/jct/doc_end_user/documents/6_Torino/wg11/JCTVC-F347-v2.zip>: JCTVC-F347.doc: pp.1-20

Also Published As

Publication number Publication date
JP2022084683A (en) 2022-06-07
JP2021052420A (en) 2021-04-01
JP7036893B2 (en) 2022-03-15

Similar Documents

Publication Publication Date Title
US12549736B2 (en) Bidirectional inter prediction method and terminal based on motion vector difference reduction
US11039144B2 (en) Method and apparatus for image coding and decoding through inter-prediction
US12155853B2 (en) Picture encoding and decoding method and apparatus for video sequence
CN109891882B (en) A method and device for encoding and decoding based on template matching
JP7388610B2 (en) Video encoding method, video decoding method, and terminal
JP6968228B2 (en) Methods and equipment for image coding and decoding via inter-prediction
BR112019006146B1 (en) VIDEO ENCODING METHOD, VIDEO DECODING METHOD, AND TERMINAL

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230411

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230711

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231017

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231031

R150 Certificate of patent or registration of utility model

Ref document number: 7388610

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150