JP2017158173A - Moving picture encoding device and moving picture encoding method - Google Patents

Moving picture encoding device and moving picture encoding method Download PDF

Info

Publication number
JP2017158173A
JP2017158173A JP2016199348A JP2016199348A JP2017158173A JP 2017158173 A JP2017158173 A JP 2017158173A JP 2016199348 A JP2016199348 A JP 2016199348A JP 2016199348 A JP2016199348 A JP 2016199348A JP 2017158173 A JP2017158173 A JP 2017158173A
Authority
JP
Japan
Prior art keywords
field
encoding
fields
picture
phase
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.)
Pending
Application number
JP2016199348A
Other languages
Japanese (ja)
Inventor
安倍 清史
Seishi Abe
清史 安倍
秀之 大古瀬
Hideyuki Okose
秀之 大古瀬
北村 臣二
Shinji Kitamura
臣二 北村
橋本 隆
Takashi Hashimoto
隆 橋本
敏彦 日下部
Toshihiko Kusakabe
敏彦 日下部
悠樹 丸山
Yuki Maruyama
悠樹 丸山
重里 達郎
Tatsuro Shigesato
達郎 重里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to US15/298,603 priority Critical patent/US10116945B2/en
Publication of JP2017158173A publication Critical patent/JP2017158173A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a moving picture encoding device capable of efficiently encoding a moving picture having an interlaced structure.SOLUTION: A moving picture encoding device 100 encodes a moving picture having an interlaced structure, and includes a storage unit 120 in which plural fields are stored as plural reference pictures, and an encoding unit 110 for encoding an encoding target field as a B picture by using a first reference picture list including only one field in phase with the encoding target field out of plural fields, and a second reference picture list including only one field having a phase opposite to the encoding target field out of the plural fields.SELECTED DRAWING: Figure 1

Description

本開示は、インターレース構造の動画像を符号化する動画像符号化装置に関する。   The present disclosure relates to a moving image encoding apparatus that encodes an interlaced moving image.

特許文献1は、入力がインターレース信号である場合の動きベクトルの符号化または復号において、符号化効率を向上させることができるようにした画像処理装置および方法に関する。   Patent Document 1 relates to an image processing apparatus and method capable of improving encoding efficiency in motion vector encoding or decoding when an input is an interlaced signal.

特許文献1において、例えば、当該PUと当該PUに関する動きベクトル情報により参照される参照PUは、トップフィールドに属している。これに対して、Co−located PUは、トップフィールドに属し、Co−located PUに関する動きベクトル情報により参照される参照PUは、ボトムフィールドに属しているため、フィールド間における位相ずれが生じている。そこで、パリティ調整部は、Co−located PUに関する動きベクトル情報の垂直成分を−1/2シフト調整する。   In Patent Document 1, for example, a reference PU referred to by motion vector information related to the PU and the PU belongs to the top field. On the other hand, the Co-located PU belongs to the top field, and the reference PU referred to by the motion vector information related to the Co-located PU belongs to the bottom field, so that a phase shift occurs between the fields. Therefore, the parity adjustment unit adjusts the vertical component of the motion vector information related to the Co-located PU by −½ shift.

特開2013−121020号公報JP 2013-121020 A

本開示は、インターレース構造の動画像を効率的に符号化することができる動画像符号化装置等を提供する。   The present disclosure provides a moving image encoding apparatus and the like that can efficiently encode a moving image having an interlace structure.

本開示における動画像符号化装置は、インターレース構造の動画像を符号化する動画像符号化装置であって、複数のフィールドが複数の参照ピクチャとして記憶される記憶部と、複数のフィールドのうち、符号化対象フィールドに対し同相の1つのフィールドのみを含む第1参照ピクチャリストと、複数のフィールドのうち、符号化対象フィールドに対し逆相の1つのフィールドのみを含む第2参照ピクチャリストとを用いて、符号化対象フィールドをBピクチャとして符号化する符号化部とを備える。   A moving image encoding device according to the present disclosure is a moving image encoding device that encodes a moving image having an interlace structure, and a storage unit in which a plurality of fields are stored as a plurality of reference pictures, and a plurality of fields, A first reference picture list that includes only one field that is in-phase with the encoding target field and a second reference picture list that includes only one field out of phase with respect to the encoding target field among a plurality of fields are used. And an encoding unit that encodes the encoding target field as a B picture.

本開示における動画像符号化装置等は、インターレース構造の動画像を効率的に符号化することができる。   A moving image encoding device or the like in the present disclosure can efficiently encode a moving image having an interlace structure.

実施の形態1における動画像符号化装置の構成を示すブロック図FIG. 3 is a block diagram showing a configuration of a moving image encoding apparatus according to Embodiment 1. 実施の形態1における動画像復号装置の構成を示すブロック図FIG. 2 is a block diagram illustrating a configuration of a moving picture decoding apparatus according to Embodiment 1. 実施の形態1におけるフィールドを示す概念図Conceptual diagram showing fields in the first embodiment 実施の形態1におけるフィールドの表示順を示す概念図Conceptual diagram showing the display order of fields in the first embodiment 実施の形態1における複数のフィールドの参照を示す概念図Conceptual diagram showing reference of a plurality of fields in the first embodiment 第1参考例におけるフィールド間の参照関係を示す概念図Conceptual diagram showing the reference relationship between fields in the first reference example 第2参考例におけるフィールド間の参照関係を示す概念図Conceptual diagram showing the reference relationship between fields in the second reference example 実施の形態1におけるフィールド間の参照関係の一例を示す概念図Conceptual diagram showing an example of a reference relationship between fields in the first embodiment 第3参考例におけるフィールド間の参照関係を示す概念図Conceptual diagram showing the reference relationship between fields in the third reference example 第4参考例におけるフィールド間の参照関係を示す概念図Conceptual diagram showing the reference relationship between fields in the fourth reference example 実施の形態1におけるフィールド間の参照関係の一例を示す概念図Conceptual diagram showing an example of a reference relationship between fields in the first embodiment 第5参考例におけるフィールド間の参照関係を示す概念図Conceptual diagram showing the reference relationship between fields in the fifth reference example 第6参考例におけるフィールド間の参照関係を示す概念図Conceptual diagram showing the reference relationship between fields in the sixth reference example 実施の形態1におけるフィールド間の参照関係の一例を示す概念図Conceptual diagram showing an example of a reference relationship between fields in the first embodiment 実施の形態1における動画像符号化装置の動作を示すフローチャートFlowchart showing the operation of the moving picture coding apparatus in the first embodiment. 実施の形態1における動画像符号化装置の第1適用例を示す概念図Schematic diagram showing a first application example of the moving picture coding apparatus in the first embodiment 実施の形態1における動画像符号化装置の第2適用例を示す概念図Schematic diagram showing a second application example of the moving picture coding apparatus in the first embodiment 実施の形態1における動画像符号化装置の第3適用例を示す概念図Schematic diagram showing a third application example of the video encoding apparatus in the first embodiment.

以下、適宜図面を参照しながら、実施の形態を詳細に説明する。但し、必要以上に詳細な説明は省略する場合がある。例えば、既によく知られた事項の詳細説明や実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になるのを避け、当業者の理解を容易にするためである。   Hereinafter, embodiments will be described in detail with reference to the drawings as appropriate. However, more detailed description than necessary may be omitted. For example, detailed descriptions of already well-known matters and repeated descriptions for substantially the same configuration may be omitted. This is to avoid the following description from becoming unnecessarily redundant and to facilitate understanding by those skilled in the art.

なお、発明者らは、当業者が本開示を十分に理解するために添付図面および以下の説明を提供するのであって、これらによって特許請求の範囲に記載の主題を限定することを意図するものではない。   In addition, the inventors provide the accompanying drawings and the following description in order for those skilled in the art to fully understand the present disclosure, and these are intended to limit the subject matter described in the claims. is not.

また、以下の説明において、第1、第2または第3などの序数は、適宜、付け替えられてもよいし、省略されてもよいし、新たに付与されてもよい。   In the following description, the ordinal numbers such as first, second, and third may be appropriately replaced, omitted, or newly added.

また、以下の説明において、Iピクチャ、Pピクチャ、Bピクチャ、および、IDR(Instantaneous Decoding Refresh)ピクチャのそれぞれは、基本的に、ピクチャの属性またはタイプを示す。ただし、Iピクチャ、Pピクチャ、Bピクチャ、および、IDRピクチャのそれぞれは、その属性およびタイプに対応するピクチャ自体を示す場合がある。   In the following description, each of an I picture, a P picture, a B picture, and an IDR (Instantaneous Decoding Refresh) picture basically indicates a picture attribute or type. However, each of an I picture, a P picture, a B picture, and an IDR picture may indicate a picture corresponding to its attribute and type.

また、以下の説明において、トップフィールドおよびボトムフィールドのそれぞれは、基本的に、フィールドの属性またはタイプを示す。ただし、トップフィールドおよびボトムフィールドのそれぞれは、その属性およびタイプに対応するフィールド自体を示す場合がある。   In the following description, each of the top field and the bottom field basically indicates the attribute or type of the field. However, each of the top field and the bottom field may indicate the field itself corresponding to the attribute and type.

(実施の形態1)
以下、図1〜15を用いて、実施の形態1を説明する。
(Embodiment 1)
Hereinafter, Embodiment 1 will be described with reference to FIGS.

[1−1.構成]
図1は、実施の形態1における動画像符号化装置の構成を示すブロック図である。図1に示された動画像符号化装置100は、符号化部110および記憶部120を備える。符号化部110は、減算部111、変換部112、可変長符号化部113、逆変換部114、加算部115および予測部116を備える。
[1-1. Constitution]
FIG. 1 is a block diagram showing a configuration of a moving picture coding apparatus according to Embodiment 1. The moving picture encoding apparatus 100 shown in FIG. 1 includes an encoding unit 110 and a storage unit 120. The encoding unit 110 includes a subtraction unit 111, a conversion unit 112, a variable length encoding unit 113, an inverse conversion unit 114, an addition unit 115, and a prediction unit 116.

動画像符号化装置100は、動画像を符号化する。具体的には、動画像符号化装置100において、符号化部110は、AVC(Advanced Video Coding)またはHEVC(High Efficiency Video Coding)と呼ばれる動画像符号化規格に従って、動画像に含まれる複数のピクチャを符号化する。また、符号化部110は、符号化対象ピクチャをブロック毎に符号化する。   The moving image encoding apparatus 100 encodes a moving image. Specifically, in the video encoding device 100, the encoding unit 110 includes a plurality of pictures included in a video according to a video encoding standard called AVC (Advanced Video Coding) or HEVC (High Efficiency Video Coding). Is encoded. The encoding unit 110 encodes the encoding target picture for each block.

符号化部110が符号化対象ピクチャをブロック毎に符号化する際、予測部116は、面内予測または面間予測によって符号化対象ピクチャ内の原画像ブロックに対する予測画像ブロックを生成する。減算部111は、符号化対象ピクチャ内の原画像ブロックから予測画像ブロックを減算することにより、差分画像ブロックを生成する。変換部112は、差分画像ブロックを周波数成分に変換し量子化することにより、係数ブロックを生成する。   When the encoding unit 110 encodes the encoding target picture for each block, the prediction unit 116 generates a predicted image block for the original image block in the encoding target picture by intra prediction or inter prediction. The subtraction unit 111 generates a difference image block by subtracting the predicted image block from the original image block in the encoding target picture. The conversion unit 112 generates a coefficient block by converting the difference image block into a frequency component and quantizing it.

可変長符号化部113は、係数ブロックに対して可変長符号化を行うことにより、符号化ブロックを生成する。逆変換部114は、係数ブロックを逆量子化し画素成分に変換することにより、差分画像ブロックを生成する。加算部115は、差分画像ブロックに予測画像ブロックを加算することにより、再構成画像ブロックを生成する。再構成画像ブロックに対して、ブロック歪を低減させるためのフィルタ処理が適用されてもよい。   The variable length coding unit 113 generates a coded block by performing variable length coding on the coefficient block. The inverse conversion unit 114 generates a difference image block by dequantizing the coefficient block and converting the coefficient block into a pixel component. The adding unit 115 generates a reconstructed image block by adding the predicted image block to the difference image block. Filter processing for reducing block distortion may be applied to the reconstructed image block.

符号化部110は、符号化対象ピクチャに対して生成された複数の再構成画像ブロックを含む再構成ピクチャを生成し、再構成ピクチャを面間予測に用いられる参照ピクチャとして記憶部120に記憶する。例えば、次の符号化対象ピクチャが符号化される際に、予測部116は、記憶部120に記憶された参照ピクチャを参照して、面間予測を行うことにより、次の符号化対象ピクチャ内の原画像ブロックに対する予測画像ブロックを生成する。   The encoding unit 110 generates a reconstructed picture including a plurality of reconstructed image blocks generated for the encoding target picture, and stores the reconstructed picture in the storage unit 120 as a reference picture used for inter-frame prediction. . For example, when the next encoding target picture is encoded, the prediction unit 116 refers to the reference picture stored in the storage unit 120 and performs inter-frame prediction to thereby determine the next encoding target picture. A predicted image block for the original image block is generated.

また、動画像に含まれる複数のピクチャのそれぞれは、Iピクチャ、Pピクチャ、および、Bピクチャのいずれかに分類される。Iピクチャ、Pピクチャ、および、Bピクチャは、ピクチャタイプとも呼ばれる。   Each of the plurality of pictures included in the moving image is classified into one of an I picture, a P picture, and a B picture. The I picture, P picture, and B picture are also called picture types.

Iピクチャでは、各ブロックに対して面間予測を行うことが禁止される。Pピクチャでは、各ブロックに対して面間予測を行うことが許容され、1つのブロックに対して1つの参照ピクチャを参照することが可能である。Bピクチャでは、各ブロックに対して面間予測を行うことが許容され、1つのブロックに対して最大で2つの参照ピクチャを参照することが可能である。   In the I picture, it is prohibited to perform inter prediction for each block. In a P picture, inter-block prediction is allowed for each block, and one reference picture can be referenced for one block. In B pictures, inter-block prediction is allowed for each block, and a maximum of two reference pictures can be referenced for one block.

具体的には、符号化対象ピクチャがIピクチャである場合、符号化部110は、符号化対象ピクチャの各ブロックに対して面内予測を行って、符号化対象ピクチャを符号化する。符号化対象ピクチャがPピクチャである場合、符号化部110は、1つの参照ピクチャリストを用いて、符号化対象ピクチャを符号化する。符号化対象ピクチャがBピクチャである場合、符号化部110は、2つの参照ピクチャリストを用いて、符号化対象ピクチャを符号化する。   Specifically, when the encoding target picture is an I picture, the encoding unit 110 performs intra prediction for each block of the encoding target picture and encodes the encoding target picture. When the encoding target picture is a P picture, the encoding unit 110 encodes the encoding target picture using one reference picture list. When the encoding target picture is a B picture, the encoding unit 110 encodes the encoding target picture using two reference picture lists.

各参照ピクチャリストには、1以上の参照ピクチャが含まれる。参照ピクチャリストは、参照リストと呼ばれる場合がある。例えば、符号化対象ピクチャがPピクチャである場合、符号化部110は、1つの参照ピクチャリストに含まれる複数の参照ピクチャから、面間予測において参照される参照ピクチャをブロック毎に選択してもよい。   Each reference picture list includes one or more reference pictures. The reference picture list may be referred to as a reference list. For example, when the encoding target picture is a P picture, the encoding unit 110 may select, for each block, a reference picture that is referred to in inter prediction from a plurality of reference pictures included in one reference picture list. Good.

また、符号化対象ピクチャがBピクチャである場合、符号化部110は、2つの参照ピクチャリストに含まれる複数の参照ピクチャから、面間予測において参照される参照ピクチャをブロック毎に選択してもよい。また、この場合、符号化部110は、1つのブロックに対して、2つの参照ピクチャリストのそれぞれから1つの参照ピクチャを選択することにより、2つの参照ピクチャを選択してもよい。例えば、符号化部110は、1つのブロックに対して、2つの参照ピクチャを参照して双方向予測をおこなってもよい。   Also, when the encoding target picture is a B picture, the encoding unit 110 may select, for each block, a reference picture that is referred to in inter-frame prediction from a plurality of reference pictures included in two reference picture lists. Good. In this case, the encoding unit 110 may select two reference pictures for one block by selecting one reference picture from each of two reference picture lists. For example, the encoding unit 110 may perform bi-directional prediction with reference to two reference pictures for one block.

2つの参照ピクチャリストは、L0およびL1と呼ばれる。例えば、符号化対象ピクチャがPピクチャである場合、2つの参照ピクチャリストL0、L1のうち、1つの参照ピクチャリストL0のみが用いられる。そして、符号化対象ピクチャがBピクチャである場合、2つの参照ピクチャリストL0、L1が用いられる。   The two reference picture lists are called L0 and L1. For example, when the encoding target picture is a P picture, only one reference picture list L0 is used out of the two reference picture lists L0 and L1. When the encoding target picture is a B picture, two reference picture lists L0 and L1 are used.

記憶部120には、複数の参照ピクチャが記憶される。記憶部120に記憶される参照ピクチャは、面間予測に用いられるピクチャであり、符号化されたピクチャに対する再構成ピクチャである。符号化部110が面間予測を用いて符号化対象ピクチャ内の原画像ブロックを符号化する際、予測部116は、参照ピクチャを参照して、原画像ブロックを予測することにより、予測画像ブロックを生成する。   The storage unit 120 stores a plurality of reference pictures. The reference picture stored in the storage unit 120 is a picture used for inter prediction and is a reconstructed picture for an encoded picture. When the encoding unit 110 encodes the original image block in the encoding target picture using inter-frame prediction, the prediction unit 116 refers to the reference picture to predict the original image block, thereby predicting the predicted image block. Is generated.

動画像符号化装置100は、特に、インターレース構造の動画像を符号化する。インターレース構造の動画像は、それぞれがトップフィールドおよびボトムフィールドに分類される複数のフィールドを含む。符号化部110は、複数のフィールドのそれぞれをピクチャとして符号化する。そして、記憶部120には、複数のフィールドのそれぞれが参照ピクチャとして記憶される。つまり、上記の説明におけるピクチャは、フィールドでもよい。   The moving image encoding apparatus 100 particularly encodes a moving image having an interlace structure. A moving image having an interlace structure includes a plurality of fields each classified into a top field and a bottom field. The encoding unit 110 encodes each of the plurality of fields as a picture. Then, each of the plurality of fields is stored in the storage unit 120 as a reference picture. That is, the picture in the above description may be a field.

図2は、図1に示された動画像符号化装置100に対応する動画像復号装置の構成を示すブロック図である。図2に示された動画像復号装置200は、復号部210および記憶部220を備える。復号部210は、可変長復号部213、逆変換部214、加算部215および予測部216を備える。   FIG. 2 is a block diagram showing a configuration of a moving picture decoding apparatus corresponding to the moving picture encoding apparatus 100 shown in FIG. The moving picture decoding apparatus 200 shown in FIG. 2 includes a decoding unit 210 and a storage unit 220. The decoding unit 210 includes a variable length decoding unit 213, an inverse conversion unit 214, an addition unit 215, and a prediction unit 216.

動画像復号装置200は、動画像を復号する。具体的には、動画像復号装置200において、復号部210は、AVCまたはHEVCと呼ばれる動画像符号化規格に従って、動画像に含まれる複数のピクチャを復号する。また、復号部210は、復号対象ピクチャをブロック毎に復号する。   The moving image decoding apparatus 200 decodes a moving image. Specifically, in the moving picture decoding apparatus 200, the decoding unit 210 decodes a plurality of pictures included in a moving picture in accordance with a moving picture coding standard called AVC or HEVC. In addition, the decoding unit 210 decodes the decoding target picture for each block.

復号部210が復号対象ピクチャをブロック毎に復号する際、可変長復号部213は、符号化ブロックに対して可変長復号を行うことにより、係数ブロックを生成する。逆変換部214は、係数ブロックを逆量子化し画素成分に変換することにより、差分画像ブロックを生成する。   When the decoding unit 210 decodes the decoding target picture for each block, the variable length decoding unit 213 generates a coefficient block by performing variable length decoding on the encoded block. The inverse conversion unit 214 generates a difference image block by dequantizing the coefficient block and converting the coefficient block into a pixel component.

予測部216は、面内予測または面間予測によって予測画像ブロックを生成する。加算部215は、差分画像ブロックに予測画像ブロックを加算することにより、再構成画像ブロックを生成する。再構成画像ブロックに対して、ブロック歪を低減させるためのフィルタ処理が適用されてもよい。   The prediction unit 216 generates a predicted image block by intra prediction or inter prediction. The adding unit 215 generates a reconstructed image block by adding the predicted image block to the difference image block. Filter processing for reducing block distortion may be applied to the reconstructed image block.

復号部210は、復号対象ピクチャに対して生成された複数の再構成画像ブロックを含む再構成ピクチャを生成し、復号されたピクチャとして再構成ピクチャを出力する。   The decoding unit 210 generates a reconstructed picture including a plurality of reconstructed image blocks generated for the decoding target picture, and outputs the reconstructed picture as a decoded picture.

また、復号部210は、再構成ピクチャを面間予測に用いられる参照ピクチャとして記憶部220に記憶する。例えば、次の復号対象ピクチャが復号される際に、予測部216は、記憶部220に記憶された参照ピクチャを参照して、面間予測を行うことにより、次の復号対象ピクチャ内の復号対象画像ブロックに対する予測画像ブロックを生成する。   Also, the decoding unit 210 stores the reconstructed picture in the storage unit 220 as a reference picture used for inter prediction. For example, when the next decoding target picture is decoded, the prediction unit 216 refers to the reference picture stored in the storage unit 220 and performs inter-frame prediction to thereby perform the decoding target in the next decoding target picture. A predicted image block for the image block is generated.

記憶部220には、動画像符号化装置100の記憶部120と同じように、複数の参照ピクチャが記憶される。記憶部220に記憶される参照ピクチャは、面間予測に用いられるピクチャであり、復号されたピクチャと同等の再構成ピクチャである。復号部210が面間予測を用いて復号対象ピクチャ内の復号対象画像ブロックを復号する際、予測部216は、参照ピクチャを用いて、復号対象画像ブロックを予測することにより、予測画像ブロックを生成する。   The storage unit 220 stores a plurality of reference pictures in the same manner as the storage unit 120 of the video encoding device 100. The reference picture stored in the storage unit 220 is a picture used for inter prediction, and is a reconstructed picture equivalent to a decoded picture. When the decoding unit 210 decodes a decoding target image block in a decoding target picture using inter prediction, the prediction unit 216 generates a predicted image block by predicting the decoding target image block using a reference picture. To do.

動画像復号装置200は、動画像符号化装置100に対応し、特に、インターレース構造の動画像を復号する。復号部210は、動画像に含まれる複数のフィールドのそれぞれをピクチャとして復号する。記憶部220には、複数のフィールドのそれぞれが参照ピクチャとして記憶される。動画像復号装置200に関する上記の説明におけるピクチャは、フィールドでもよい。   The moving image decoding apparatus 200 corresponds to the moving image encoding apparatus 100, and particularly decodes a moving image having an interlace structure. The decoding unit 210 decodes each of a plurality of fields included in the moving image as a picture. Each of the plurality of fields is stored in the storage unit 220 as a reference picture. The picture in the above description regarding the moving picture decoding apparatus 200 may be a field.

図3は、フィールドを示す概念図である。例えば、1つのフレーム300には、1対のフィールド301、302を含む。   FIG. 3 is a conceptual diagram showing fields. For example, one frame 300 includes a pair of fields 301 and 302.

フィールド301とフィールド302とは、上下に1画素分ずれている。フィールド301は、1対のフィールド301、302のうち、上側のフィールドに対応し、トップフィールドに分類される。フィールド302は、1対のフィールド301、302のうち、下側のフィールドに対応し、ボトムフィールドに分類される。   The field 301 and the field 302 are shifted by one pixel vertically. The field 301 corresponds to the upper field of the pair of fields 301 and 302 and is classified as a top field. The field 302 corresponds to the lower field of the pair of fields 301 and 302 and is classified as a bottom field.

そして、フィールド301とフィールド302とのそれぞれが、1つのピクチャとして符号化される。   Then, each of the field 301 and the field 302 is encoded as one picture.

図4は、フィールドの表示順を示す概念図である。図4の例において、フィールドt0、t2、t4は、トップフィールドに属し、フィールドb1、b3、b5は、ボトムフィールドに属する。そして、フィールドt0、b1、t2、b3、t4、b5が順に表示される。つまり、トップフィールドと、ボトムフィールドとが交互に表示される。これにより、動きが滑らかに表示される。   FIG. 4 is a conceptual diagram showing the display order of fields. In the example of FIG. 4, fields t0, t2, and t4 belong to the top field, and fields b1, b3, and b5 belong to the bottom field. Then, fields t0, b1, t2, b3, t4, and b5 are displayed in order. That is, the top field and the bottom field are displayed alternately. Thereby, the movement is displayed smoothly.

なお、インターレース構造の動画像に含まれる各フィールドの表示順は、基本的に、各フィールドの撮像順に対応し、各フィールドが動画像符号化装置100へ入力される順序である入力順に対応する。また、フィールドの順序に関して、時間的に過去の方向が前方に対応し、時間的に将来の方向が後方に対応する。   Note that the display order of each field included in a moving image having an interlace structure basically corresponds to the imaging order of each field, and corresponds to the input order that is the order in which each field is input to the moving image encoding apparatus 100. Regarding the field order, the past direction in time corresponds to the front and the future direction in time corresponds to the rear.

また、2つのフィールドの両方がトップフィールドに属する場合、または、2つのフィールドの両方がボトムフィールドに属する場合、2つのフィールドは同相の関係を有する。この場合、一方のフィールドは、他方のフィールドに対し同相のフィールドであると表現される。   Also, when both of the two fields belong to the top field, or when both of the two fields belong to the bottom field, the two fields have an in-phase relationship. In this case, one field is expressed as a field in phase with the other field.

また、2つのフィールドのうち、一方がトップフィールドに属し、他方がボトムフィールドに属する場合、または、一方がボトムフィールドに属し、他方がトップフィールドに属する場合、2つのフィールドは逆相の関係を有する。この場合、一方のフィールドは、他方のフィールドに対し逆相のフィールドであると表現される。   Also, if one of the two fields belongs to the top field and the other belongs to the bottom field, or if one belongs to the bottom field and the other belongs to the top field, the two fields have a reversed phase relationship. . In this case, one field is expressed as a field out of phase with respect to the other field.

また、同相および逆相は、それぞれ、同パリティおよび逆パリティと表現される場合がある。   In-phase and anti-phase may be expressed as in-parity and reverse parity, respectively.

[1−2.動作]
図1に示された動画像符号化装置100等について、その動作を以下説明する。なお、以下では、基本的に、動画像符号化装置100の動作が示される。動画像復号装置200は、動画像符号化装置100の動作に対応する動作を行う。また、以下において、他のピクチャを参照してピクチャを符号化または復号することを、ピクチャが他のピクチャを参照すると表現する場合がある。
[1-2. Operation]
The operation of the moving picture coding apparatus 100 shown in FIG. 1 will be described below. In the following, the operation of the moving image encoding apparatus 100 is basically shown. The video decoding device 200 performs an operation corresponding to the operation of the video encoding device 100. In the following, encoding or decoding a picture with reference to another picture may be expressed as a picture referring to another picture.

図5は、複数のフィールドの参照を示す概念図である。例えば、動きがない場合、符号化対象フィールドと位置が一致する同相のフィールドを参照して符号化対象フィールドを符号化することにより、予測精度が向上し、符号化効率が向上する。一方、動きがある場合、符号化対象フィールドに対して時間的に近い逆相のフィールドを参照して符号化対象フィールドを符号化することにより、予測精度が向上し、符号化効率が向上する。   FIG. 5 is a conceptual diagram showing reference to a plurality of fields. For example, when there is no motion, by encoding the encoding target field with reference to the in-phase field whose position matches the encoding target field, the prediction accuracy is improved and the encoding efficiency is improved. On the other hand, when there is motion, by encoding a field to be encoded with reference to a field that is in reverse phase with respect to the field to be encoded, prediction accuracy is improved and encoding efficiency is improved.

しかしながら、符号化対象フィールドに、動きがない領域と動きがある領域とが含まれる場合がある。そこで、図1に示された動画像符号化装置100の符号化部110は、符号化対象フィールドのブロック毎に、同相のフィールドと逆相のフィールドとの間で参照先を切り替える。具体的には、符号化部110は、動きがない領域内のブロックを符号化する際、同相のフィールドを参照する。そして、符号化部110は、動きがある領域内のブロックを符号化する際、逆相のフィールドを参照する。   However, the encoding target field may include a region having no motion and a region having motion. Therefore, the encoding unit 110 of the moving image encoding apparatus 100 illustrated in FIG. 1 switches the reference destination between the in-phase field and the anti-phase field for each block of the encoding target field. Specifically, the encoding unit 110 refers to an in-phase field when encoding a block in an area where there is no motion. Then, the encoding unit 110 refers to a reversed-phase field when encoding a block in an area where there is motion.

これにより、符号化部110は、動きのない領域と、動きのある領域との両方において、予測精度を向上させることができ、符号化効率を向上させることができる。   Thereby, the encoding unit 110 can improve the prediction accuracy in both the region having no motion and the region having motion, and can improve the encoding efficiency.

図6は、第1参考例におけるフィールド間の参照関係を示す概念図である。図6には、フィールドt0、b1、t2、b3、t4、b5が表示順(入力順)で示されている。そして、フィールドt0、t2、t4は、トップフィールドに属し、フィールドb1、b3、b5は、ボトムフィールドに属する。   FIG. 6 is a conceptual diagram showing a reference relationship between fields in the first reference example. In FIG. 6, fields t0, b1, t2, b3, t4, and b5 are shown in display order (input order). The fields t0, t2, and t4 belong to the top field, and the fields b1, b3, and b5 belong to the bottom field.

また、フィールドt0は、Iピクチャとして符号化され、フィールドb1、t2、b3、t4、b5は、Pピクチャとして符号化される。フィールドt0、b1、t2、b3、t4、b5は、1つのGOP(Group Of Pictures)を構成していてもよい。   The field t0 is encoded as an I picture, and the fields b1, t2, b3, t4, and b5 are encoded as P pictures. The fields t0, b1, t2, b3, t4, and b5 may constitute one GOP (Group Of Pictures).

図6の例において、フィールドt2がPピクチャとして符号化される際、フィールドt2に対し同相のフィールドt0を含む参照ピクチャリストL0が利用される。そして、フィールドb5がPピクチャとして符号化される際、フィールドb5に対し逆相のフィールドt4を含む参照ピクチャリストL0が利用される。これにより、動きのないフィールドt2、および、動きのあるフィールドb5を効率的に符号化することができる。   In the example of FIG. 6, when the field t2 is encoded as a P picture, the reference picture list L0 including the field t0 that is in phase with the field t2 is used. Then, when the field b5 is encoded as a P picture, a reference picture list L0 including a field t4 that is out of phase with the field b5 is used. Thereby, the field t2 without motion and the field b5 with motion can be efficiently encoded.

しかし、同相のフィールドおよび逆相のフィールドの一方のみを含む参照ピクチャリストL0を用いて、動きのない領域と、動きのある領域との両方を含むフィールドを効率的に符号化することは困難である。   However, it is difficult to efficiently encode a field including both a non-motion area and a motion area using the reference picture list L0 including only one of the in-phase field and the anti-phase field. is there.

なお、図6等に記載のL0[0]は、参照ピクチャリストL0の参照インデックス0を示す。参照インデックスは、参照ピクチャリストに含まれる参照ピクチャを識別するためのインデックスである。図6の例では、フィールドt2の符号化において、フィールドt0が、参照ピクチャリストL0に含まれ、参照インデックス0が割り当てられていることを示す。また、フィールドb5の符号化において、フィールドt4が、参照ピクチャリストL0に含まれ、参照インデックス0が割り当てられていることを示す。   Note that L0 [0] described in FIG. 6 and the like indicates the reference index 0 of the reference picture list L0. The reference index is an index for identifying a reference picture included in the reference picture list. In the example of FIG. 6, in the encoding of the field t2, it is indicated that the field t0 is included in the reference picture list L0 and the reference index 0 is assigned. In addition, in the encoding of the field b5, the field t4 is included in the reference picture list L0 and indicates that the reference index 0 is assigned.

図7は、第2参考例におけるフィールド間の参照関係を示す概念図である。図7には、図6と同じように、フィールドt0、b1、t2、b3、t4、b5が表示順(入力順)で示されている。そして、フィールドt0、t2、t4は、トップフィールドに属し、フィールドb1、b3、b5は、ボトムフィールドに属する。   FIG. 7 is a conceptual diagram showing a reference relationship between fields in the second reference example. In FIG. 7, as in FIG. 6, the fields t0, b1, t2, b3, t4, and b5 are shown in display order (input order). The fields t0, t2, and t4 belong to the top field, and the fields b1, b3, and b5 belong to the bottom field.

また、図6と同じように、フィールドt0は、Iピクチャとして符号化され、フィールドb1、t2、b3、t4、b5は、Pピクチャとして符号化される。フィールドt0、b1、t2、b3、t4、b5は、1つのGOPを構成していてもよい。   Similarly to FIG. 6, the field t0 is encoded as an I picture, and the fields b1, t2, b3, t4, and b5 are encoded as P pictures. The fields t0, b1, t2, b3, t4, and b5 may constitute one GOP.

図7の例では、フィールドt2がPピクチャとして符号化される際、フィールドt2に対し同相のフィールドt0と、フィールドt2に対し逆相のフィールドb1とを含む参照ピクチャリストL0が利用される。そして、フィールドt2のブロック毎にフィールドt0とフィールドb1との間で参照先が切り替えられ、フィールドt2が符号化される。これにより、フィールドt2が、動きのない領域と、動きのある領域との両方を含んでいても、効率的に符号化される。   In the example of FIG. 7, when the field t2 is encoded as a P picture, a reference picture list L0 including a field t0 that is in phase with the field t2 and a field b1 that is out of phase with respect to the field t2 is used. Then, the reference destination is switched between the field t0 and the field b1 for each block of the field t2, and the field t2 is encoded. Thereby, even if the field t2 includes both a non-motion area and a motion area, the field t2 is efficiently encoded.

また、図7の例では、フィールドt2の符号化において、参照ピクチャリストL0に含まれるフィールドt0とフィールドb1とを識別するため、フィールドt0には参照インデックス1が割り当てられ、フィールドb1には参照インデックス0が割り当てられる。そして、参照先を示す情報として参照インデックス0または1がブロック毎に符号化される。   Further, in the example of FIG. 7, in the encoding of the field t2, the reference index 1 is assigned to the field t0 and the reference index is assigned to the field b1 in order to identify the field t0 and the field b1 included in the reference picture list L0. 0 is assigned. Then, the reference index 0 or 1 is encoded for each block as information indicating the reference destination.

また、フィールドt2の復号においても、符号化の場合と同じように、フィールドt2に対し同相のフィールドt0と、フィールドt2に対し逆相のフィールドb1とを含む参照ピクチャリストL0が利用される。また、参照ピクチャリストL0に含まれるフィールドt0とフィールドb1とを識別するため、フィールドt0には参照インデックス1が割り当てられ、フィールドb1には参照インデックス0が割り当てられる。   Also in the decoding of the field t2, the reference picture list L0 including the field t0 that is in phase with the field t2 and the field b1 that is out of phase with respect to the field t2 is used as in the case of encoding. Further, in order to identify the field t0 and the field b1 included in the reference picture list L0, the reference index 1 is assigned to the field t0, and the reference index 0 is assigned to the field b1.

そして、参照先を示す情報として参照インデックス0または1がブロック毎に復号される。そして、ブロック毎に、復号された参照インデックス0または1に基づいて、フィールドt0とフィールドb1との間で参照先が切り替えられる。これにより、符号化の場合と同じ参照先が、復号において利用される。   Then, the reference index 0 or 1 is decoded for each block as information indicating the reference destination. Then, for each block, the reference destination is switched between the field t0 and the field b1 based on the decoded reference index 0 or 1. As a result, the same reference destination as in the case of encoding is used in decoding.

また、例えば、フィールドb5がPピクチャとして符号化される際、フィールドb5に対し同相のフィールドb3と、フィールドb5に対し逆相のフィールドt4とを含む参照ピクチャリストL0が利用される。フィールドb3には参照インデックス1が割り当てられ、フィールドt4には参照インデックス0が割り当てられる。これにより、フィールドb5が、動きのない領域と、動きのある領域との両方を含んでいても、効率的に符号化される。   For example, when the field b5 is encoded as a P picture, a reference picture list L0 including a field b3 that is in phase with the field b5 and a field t4 that is out of phase with respect to the field b5 is used. Reference index 1 is assigned to field b3, and reference index 0 is assigned to field t4. Thereby, even if the field b5 includes both a non-motion area and a motion area, the field b5 is efficiently encoded.

しかしながら、図7の例では、ブロック毎に参照インデックス0または1が符号化されるため、符号量が増加する可能性がある。また、1つの参照ピクチャリストに複数のフィールドを割り当てるための制御回路が複雑化する可能性がある。   However, in the example of FIG. 7, since the reference index 0 or 1 is encoded for each block, the amount of codes may increase. In addition, a control circuit for assigning a plurality of fields to one reference picture list may be complicated.

そこで、図1に示された動画像符号化装置100は、同相の1つのフィールドのみを含む第1参照ピクチャリストと、逆相の1つのフィールドのみを含む第2参照ピクチャリストとを用いて、符号化対象フィールドをBピクチャとして符号化する。   Therefore, the moving picture encoding apparatus 100 illustrated in FIG. 1 uses a first reference picture list including only one in-phase field and a second reference picture list including only one field in reverse phase, The encoding target field is encoded as a B picture.

図8は、フィールド間の参照関係であって、図1に示された動画像符号化装置100で用いられる参照関係の一例を示す概念図である。図8には、図6および図7と同じように、フィールドt0、b1、t2、b3、t4、b5が表示順(入力順)で示されている。そして、フィールドt0、t2、t4は、トップフィールドに属し、フィールドb1、b3、b5は、ボトムフィールドに属する。   FIG. 8 is a conceptual diagram illustrating an example of a reference relationship between fields, which is used in the moving image coding apparatus 100 illustrated in FIG. 1. In FIG. 8, the fields t0, b1, t2, b3, t4, and b5 are shown in the display order (input order) as in FIG. 6 and FIG. The fields t0, t2, and t4 belong to the top field, and the fields b1, b3, and b5 belong to the bottom field.

そして、図8では、フィールドt0は、Iピクチャとして符号化され、フィールドb1、t2、b3、t4、b5は、Bピクチャとして符号化される。図6および図7と同じように、フィールドt0、b1、t2、b3、t4、b5は、1つのGOPを構成していてもよい。   In FIG. 8, the field t0 is encoded as an I picture, and the fields b1, t2, b3, t4, and b5 are encoded as B pictures. Similar to FIGS. 6 and 7, the fields t0, b1, t2, b3, t4, and b5 may constitute one GOP.

例えば、動画像符号化装置100の符号化部110は、フィールドt2の符号化において、フィールドt2に対し同相のフィールドt0を参照ピクチャリストL0に追加する。そして、符号化部110は、参照ピクチャリストL0のフィールドt0に参照インデックス0を割り当てる。また、符号化部110は、フィールドt2に対し逆相の1つのフィールドb1を参照ピクチャリストL1に追加する。そして、符号化部110は、参照ピクチャリストL1のフィールドb1に参照インデックス0を割り当てる。   For example, the encoding unit 110 of the video encoding device 100 adds a field t0 that is in-phase with the field t2 to the reference picture list L0 in the encoding of the field t2. Then, the encoding unit 110 assigns the reference index 0 to the field t0 of the reference picture list L0. Also, the encoding unit 110 adds one field b1 having a phase opposite to that of the field t2 to the reference picture list L1. Then, the encoding unit 110 assigns the reference index 0 to the field b1 of the reference picture list L1.

そして、動画像符号化装置100の符号化部110は、同相のフィールドt0のみを含む参照ピクチャリストL0と、逆相のフィールドb1のみを含む参照ピクチャリストL1とを用いて、フィールドt2をBピクチャとして符号化する。   Then, the encoding unit 110 of the video encoding device 100 uses the reference picture list L0 including only the in-phase field t0 and the reference picture list L1 including only the out-of-phase field b1 as the B picture as the field t2. Is encoded as

例えば、動画像符号化装置100の符号化部110は、参照ピクチャリストL0に含まれるフィールドt0を参照して、フィールドt2において動きのないブロックを符号化する。また、符号化部110は、参照ピクチャリストL1に含まれるフィールドb1を参照して、フィールドt2において動きのあるブロックを符号化する。   For example, the encoding unit 110 of the video encoding device 100 refers to the field t0 included in the reference picture list L0 and encodes a block having no motion in the field t2. Also, the encoding unit 110 refers to the field b1 included in the reference picture list L1 and encodes a block having motion in the field t2.

これにより、動画像符号化装置100は、フィールドt2を符号化する際、フィールドt2において動きのない領域に対して、同相のフィールドt0を参照し、フィールドt2において動きのある領域に対して、逆相のフィールドb1を参照することができる。すなわち、動画像符号化装置100は、フィールドt2におけるブロック毎に、フィールドt0とフィールドb1との間で参照先を切り替えて、効率的にフィールドt2を符号化することができる。   As a result, when encoding the field t2, the moving image encoding apparatus 100 refers to the in-phase field t0 with respect to the non-motion area in the field t2, and reverses the non-motion area in the field t2. Reference can be made to the phase field b1. That is, the moving picture encoding apparatus 100 can efficiently encode the field t2 by switching the reference destination between the field t0 and the field b1 for each block in the field t2.

また、例えば、動画像符号化装置100の符号化部110は、フィールドt2を符号化する際、参照ピクチャリストL0に含まれるフィールドt0を示す情報、および、参照ピクチャリストL1に含まれるフィールドb1を示す情報を符号化する。また、符号化部110は、参照ピクチャリストL0およびL1のうち、フィールドt2におけるブロック毎に、そのブロックの符号化に用いられる参照ピクチャリストを示す情報を符号化する。   Further, for example, when encoding the field t2, the encoding unit 110 of the moving image encoding device 100 uses the information indicating the field t0 included in the reference picture list L0 and the field b1 included in the reference picture list L1. The indicated information is encoded. Also, the encoding unit 110 encodes information indicating the reference picture list used for encoding the block for each block in the field t2 in the reference picture lists L0 and L1.

そして、動画像復号装置200の復号部210は、フィールドt2を復号する際、参照ピクチャリストL0に含まれるフィールドt0を示す情報、および、参照ピクチャリストL1に含まれるフィールドb1を示す情報を復号する。そして、復号部210は、参照ピクチャリストL0にフィールドt0を追加し、フィールドt0に参照インデックス0を割り当てる。また、復号部210は、参照ピクチャリストL1にフィールドb1を追加し、フィールドb1に参照インデックス0を割り当てる。   Then, when decoding the field t2, the decoding unit 210 of the video decoding device 200 decodes information indicating the field t0 included in the reference picture list L0 and information indicating the field b1 included in the reference picture list L1. . Then, the decoding unit 210 adds a field t0 to the reference picture list L0 and assigns a reference index 0 to the field t0. Also, the decoding unit 210 adds the field b1 to the reference picture list L1, and assigns the reference index 0 to the field b1.

そして、動画像復号装置200の復号部210は、同相のフィールドt0のみを含む参照ピクチャリストL0と、逆相のフィールドb1のみを含む参照ピクチャリストL1とを用いて、フィールドt2をBピクチャとして復号する。また、復号部210は、参照ピクチャリストL0およびL1のうち、フィールドt2におけるブロック毎に、そのブロックの符号化に用いられた参照ピクチャリストを示す情報を復号する。   Then, the decoding unit 210 of the video decoding device 200 decodes the field t2 as a B picture using the reference picture list L0 including only the in-phase field t0 and the reference picture list L1 including only the anti-phase field b1. To do. Also, the decoding unit 210 decodes information indicating the reference picture list used for coding the block in the field t2 in the reference picture lists L0 and L1.

これにより、動画像復号装置200は、参照ピクチャリストL0およびL1のうち、フィールドt2におけるブロック毎に、そのブロックの符号化において用いられた参照ピクチャリストを選択することができる。そして、動画像復号装置200は、参照ピクチャリストL0に含まれるフィールドt0、および、参照ピクチャリストL1に含まれるフィールドb1のうち、ブロック毎に、そのブロックの符号化において用いられたフィールドを選択することができる。   Thereby, the moving picture decoding apparatus 200 can select the reference picture list used in the encoding of the block for each block in the field t2 from the reference picture lists L0 and L1. Then, the moving picture decoding apparatus 200 selects, for each block, the field used in the encoding of the block among the field t0 included in the reference picture list L0 and the field b1 included in the reference picture list L1. be able to.

すなわち、動画像符号化装置100は、フィールドt2の符号化において、参照インデックスを符号化せずに、フィールドt0とフィールドb1とを切り替えて参照することができる。また、動画像復号装置200は、フィールドt2の復号において、参照インデックスを復号せずに、動画像符号化装置100で参照されたフィールドと同じフィールドをブロック毎に選択することができる。   That is, the moving picture coding apparatus 100 can switch and refer to the field t0 and the field b1 without coding the reference index in coding of the field t2. In addition, in the decoding of the field t2, the moving picture decoding apparatus 200 can select the same field as the field referenced by the moving picture encoding apparatus 100 for each block without decoding the reference index.

また、例えば、動画像符号化装置100の符号化部110は、図8のように2つの参照ピクチャリストL0、L1が利用される場合に、各ブロックがどのような方法で予測を行うかを示すブロックタイプの情報をブロック毎に符号化する。ブロックタイプは、面内予測を行うか、参照ピクチャリストL0を用いた面間予測を行うか、参照ピクチャリストL1を用いた面間予測を行うか等の情報を示すものである。一方、図6のように1つの参照ピクチャリストL0のみが利用される場合でも、ほぼ同様のブロックタイプの情報をブロック毎に符号化する。よって、どちらの方法を用いた場合でも、各ブロックの符号化に用いられる参照ピクチャリストを示す情報に相当する符号量は大きくは変わらない。   Also, for example, the encoding unit 110 of the video encoding device 100 determines how each block performs prediction when two reference picture lists L0 and L1 are used as shown in FIG. The block type information shown is encoded for each block. The block type indicates information such as whether to perform intra prediction, inter prediction using the reference picture list L0, or inter prediction using the reference picture list L1. On the other hand, even when only one reference picture list L0 is used as shown in FIG. 6, almost the same block type information is encoded for each block. Therefore, regardless of which method is used, the code amount corresponding to the information indicating the reference picture list used for encoding each block does not change significantly.

したがって、動画像符号化装置100は、フィールドt2の符号化において、符号量の増加を抑制しつつ、ブロック毎に、同相のフィールドt0と、逆相のフィールドb1とを切り替えて参照することができる。   Therefore, the moving picture coding apparatus 100 can switch and refer to the in-phase field t0 and the anti-phase field b1 for each block while suppressing an increase in the code amount in the coding of the field t2. .

また、参照ピクチャリストL0およびL1のそれぞれには1つのフィールドのみが割り当てられる。したがって、フィールドを割り当てるための制御回路を簡素化することが可能である。特に、参照ピクチャリストL0またはL1に対し1つのピクチャのみの追加が許容された回路であっても、同相のフィールドと逆相のフィールドとの間で参照先をブロック毎に切り替えることが可能である。   Also, only one field is assigned to each of the reference picture lists L0 and L1. Therefore, it is possible to simplify the control circuit for assigning fields. In particular, even in a circuit in which only one picture is allowed to be added to the reference picture list L0 or L1, the reference destination can be switched for each block between the in-phase field and the anti-phase field. .

なお、図8の例において、フィールドb5を符号化する際、フィールドb5に対し同相のフィールドb3のみを含む参照ピクチャリストL0と、フィールドb5に対し逆相のフィールドt4のみを含む参照ピクチャリストL1とが用いられる。そして、参照ピクチャリストL0に含まれるフィールドb3にも、参照ピクチャリストL1に含まれるフィールドt4にも、参照インデックス0が割り当てられる。   In the example of FIG. 8, when the field b5 is encoded, the reference picture list L0 including only the field b3 that is in phase with the field b5, and the reference picture list L1 including only the field t4 that is out of phase with respect to the field b5 Is used. Then, the reference index 0 is assigned to both the field b3 included in the reference picture list L0 and the field t4 included in the reference picture list L1.

動画像符号化装置100は、フィールドb3とフィールドt4との間で参照先を切り替えて、フィールドb5を符号化することができる。また、動画像符号化装置100は、フィールドt2およびフィールドb5と同じように、フィールドb3およびフィールドt4を符号化することができる。   The moving picture encoding apparatus 100 can encode the field b5 by switching the reference destination between the field b3 and the field t4. Further, the moving picture encoding apparatus 100 can encode the field b3 and the field t4 in the same manner as the field t2 and the field b5.

また、図8では、フィールドb1よりも表示順で前方、かつ、フィールドb1に対し同相の参照可能なフィールドが存在しない。したがって、動画像符号化装置100は、逆相のフィールドt0のみをそれぞれが含む参照ピクチャリストL0およびL1を用いて、フィールドb1をBピクチャとして符号化してもよい。あるいは、動画像符号化装置100は、フィールドt0のみを含む参照ピクチャリストL0を用いて、フィールドb1をPピクチャとして符号化してもよい。   In FIG. 8, there is no field that can be referred to in front of the field b1 and in the same order as the field b1. Therefore, the moving picture encoding apparatus 100 may encode the field b1 as a B picture using the reference picture lists L0 and L1 each including only the reverse-phase field t0. Alternatively, the moving picture encoding apparatus 100 may encode the field b1 as a P picture using the reference picture list L0 including only the field t0.

すなわち、同相のフィールドと逆相のフィールドとが参照可能である場合に、同相のフィールドのみを含む参照ピクチャリストL0と、逆相のフィールドのみを含む参照ピクチャリストL1とを用いて、符号化対象フィールドが符号化されてもよい。   That is, when the in-phase field and the out-of-phase field can be referred to, the reference picture list L0 including only the in-phase field and the reference picture list L1 including only the out-of-phase field are used for encoding. The field may be encoded.

また、上記の説明では、参照ピクチャリストL0およびL1のそれぞれが1つのフィールドのみを含むため、1つのフィールドに割り当てられた参照インデックス0が符号化されない。しかし、参照インデックス0が符号化されない場合に限らず、参照インデックス0が符号化される場合であっても、参照インデックス0の符号量が参照インデックス1の符号量よりも小さい場合に同じような効果が得られる。   In the above description, since each of reference picture lists L0 and L1 includes only one field, reference index 0 assigned to one field is not encoded. However, not only when the reference index 0 is not encoded but also when the reference index 0 is encoded, the same effect is obtained when the code amount of the reference index 0 is smaller than the code amount of the reference index 1. Is obtained.

図9は、第3参考例におけるフィールド間の参照関係を示す概念図である。図9には、フィールドt0、b1、t2、b3、t4、b5、t6、b7、t8、b9、t10、b11が表示順(入力順)で示されている。この例では、符号化順は、表示順と同じである。また、上段のフィールドt0、t2、t4、t6、t8、t10はトップフィールドに属し、下段のフィールドb1、b3、b5、b7、b9、b11はボトムフィールドに属する。点線矢印は、参照元から参照先への参照を示す。   FIG. 9 is a conceptual diagram showing a reference relationship between fields in the third reference example. In FIG. 9, fields t0, b1, t2, b3, t4, b5, t6, b7, t8, b9, t10, and b11 are shown in display order (input order). In this example, the encoding order is the same as the display order. The upper fields t0, t2, t4, t6, t8, and t10 belong to the top field, and the lower fields b1, b3, b5, b7, b9, and b11 belong to the bottom field. A dotted arrow indicates a reference from the reference source to the reference destination.

図9において、各フィールドは、IDRピクチャまたはPピクチャとして符号化される。IDRピクチャは、Iピクチャの一種である。IDRピクチャよりも符号化順で後方のピクチャから、そのIDRピクチャよりも符号化順で前方のピクチャへの参照は、禁止される。   In FIG. 9, each field is encoded as an IDR picture or a P picture. An IDR picture is a type of I picture. Reference from a picture behind the IDR picture in the coding order to a picture ahead of the IDR picture in the coding order is prohibited.

また、図9において、符号化対象フィールドがPピクチャとして符号化される際、前方同相フィールドが参照可能であれば参照される。ここで、前方同相フィールドは、符号化対象フィールドよりも表示順で前方、かつ、符号化対象フィールドに対し同相のフィールドである。また、複数の前方同相フィールドが参照可能であれば、参照可能な複数の前方同相フィールドのうち、符号化対象フィールドに表示順で最も近い前方同相フィールドが参照される。   In FIG. 9, when the encoding target field is encoded as a P picture, the forward in-phase field is referred to if it can be referred to. Here, the front in-phase field is a field in front of the encoding target field in the display order and in-phase with the encoding target field. If a plurality of forward in-phase fields can be referred to, the forward in-phase field closest to the encoding target field in the display order is referred to from among the plurality of forward in-phase fields that can be referred to.

これにより、動画像において動きのない領域が効率的に符号化される。しかしながら、動画像において動きのある領域が効率的に符号化されない可能性がある。   Thereby, the area | region without a motion in a moving image is encoded efficiently. However, there is a possibility that a region having motion in a moving image is not efficiently encoded.

図10は、第4参考例におけるフィールド間の参照関係を示す概念図である。図10には、図9と同じように、フィールドt0、b1、t2、b3、t4、b5、t6、b7、t8、b9、t10、b11が表示順(入力順)で示されている。この例では、符号化順は、表示順と同じである。また、上段のフィールドt0、t2、t4、t6、t8、t10はトップフィールドに属し、下段のフィールドb1、b3、b5、b7、b9、b11はボトムフィールドに属する。点線矢印は、参照元から参照先への参照を示す。   FIG. 10 is a conceptual diagram showing a reference relationship between fields in the fourth reference example. 10, as in FIG. 9, fields t0, b1, t2, b3, t4, b5, t6, b7, t8, b9, t10, and b11 are shown in display order (input order). In this example, the encoding order is the same as the display order. The upper fields t0, t2, t4, t6, t8, and t10 belong to the top field, and the lower fields b1, b3, b5, b7, b9, and b11 belong to the bottom field. A dotted arrow indicates a reference from the reference source to the reference destination.

また、図9と同じように、各フィールドは、IDRピクチャまたはPピクチャとして符号化される。   Similarly to FIG. 9, each field is encoded as an IDR picture or a P picture.

図10において、符号化対象フィールドがPピクチャとして符号化される際、前方逆相フィールドが参照可能であれば参照される。ここで、前方逆相フィールドは、符号化対象フィールドよりも表示順で前方、かつ、符号化対象フィールドに対し逆相のフィールドである。また、複数の前方逆相フィールドが参照可能であれば、参照可能な複数の前方逆相フィールドのうち、符号化対象フィールドに表示順で最も近い前方逆相フィールドが参照される。   In FIG. 10, when the encoding target field is encoded as a P picture, the forward reverse phase field is referred to if it can be referred to. Here, the forward reverse phase field is a field that is forward in the display order from the encoding target field and is out of phase with respect to the encoding target field. If a plurality of forward reverse phase fields can be referred to, the forward reverse phase field closest to the encoding target field in the display order is referred to from among the referenceable forward reverse phase fields.

これにより、動画像において動きのある領域が効率的に符号化される。しかしながら、動画像において動きのない領域が効率的に符号化されない可能性がある。   Thereby, the area | region with a motion in a moving image is encoded efficiently. However, there is a possibility that an area without motion in a moving image is not efficiently encoded.

図11は、フィールド間の参照関係であって、図1に示された動画像符号化装置100で用いられる参照関係の一例を示す概念図である。   FIG. 11 is a conceptual diagram illustrating an example of a reference relationship between fields, which is used in the moving image coding apparatus 100 illustrated in FIG. 1.

図11には、図9および図10と同じように、フィールドt0、b1、t2、b3、t4、b5、t6、b7、t8、b9、t10、b11が表示順(入力順)で示されている。この例では、符号化順は、表示順と同じである。また、上段のフィールドt0、t2、t4、t6、t8、t10はトップフィールドに属し、下段のフィールドb1、b3、b5、b7、b9、b11はボトムフィールドに属する。点線矢印は、参照元から参照先への参照を示す。   FIG. 11 shows the fields t0, b1, t2, b3, t4, b5, t6, b7, t8, b9, t10, b11 in the display order (input order) as in FIG. 9 and FIG. Yes. In this example, the encoding order is the same as the display order. The upper fields t0, t2, t4, t6, t8, and t10 belong to the top field, and the lower fields b1, b3, b5, b7, b9, and b11 belong to the bottom field. A dotted arrow indicates a reference from the reference source to the reference destination.

この例では、各フィールドは、IDRピクチャまたはBピクチャとして符号化される。また、符号化対象フィールドがBピクチャとして符号化される際、参照可能な1以上の前方同相フィールドのうち、符号化対象フィールドに最も近い前方同相フィールドが参照ピクチャリストL0に追加される。また、参照可能な1以上の前方逆相フィールドのうち、符号化対象フィールドに最も近い前方逆相フィールドが参照ピクチャリストL1に追加される。   In this example, each field is encoded as an IDR picture or a B picture. When the encoding target field is encoded as a B picture, the front in-phase field closest to the encoding target field is added to the reference picture list L0 among one or more forward in-phase fields that can be referred to. In addition, among the one or more forward reverse phase fields that can be referred to, the forward reverse phase field closest to the encoding target field is added to the reference picture list L1.

そして、動画像符号化装置100の符号化部110は、1つの前方同相フィールドのみを含む参照ピクチャリストL0と、1つの前方逆相フィールドのみを含む参照ピクチャリストL1を用いて、符号化対象フィールドをBピクチャとして符号化する。例えば、符号化部110は、ブロック毎に、符号化対象フィールドにおいて動きのない領域に対して、前方同相フィールドを参照し、符号化対象フィールドにおいて動きのある領域に対して、前方逆相フィールドを参照し、符号化対象フィールドを符号化する。   Then, the encoding unit 110 of the moving image encoding device 100 uses the reference picture list L0 including only one forward in-phase field and the reference picture list L1 including only one forward in-phase field, to encode the encoding target field. Is encoded as a B picture. For example, for each block, the encoding unit 110 refers to the forward in-phase field with respect to the area where there is no motion in the encoding target field, and sets the forward anti-phase field with respect to the area where there is motion in the encoding target field. Refer to and encode the encoding target field.

これにより、動画像符号化装置100は、動画像において動きのない領域と動きのある領域との両方を効率的に符号化することができる。   Thereby, the moving image encoding device 100 can efficiently encode both the non-moving region and the moving region in the moving image.

なお、フィールドb1を符号化する際、参照可能な前方同相フィールドが存在しない。したがって、動画像符号化装置100は、逆相のフィールドt0のみをそれぞれが含む参照ピクチャリストL0およびL1を用いて、フィールドb1をBピクチャとして符号化してもよい。あるいは、動画像符号化装置100は、フィールドt0のみを含む参照ピクチャリストL0を用いて、フィールドb1をPピクチャとして符号化してもよい。フィールドb7も、フィールドb1と同じように符号化される。   Note that when the field b1 is encoded, there is no reference forward in-phase field. Therefore, the moving picture encoding apparatus 100 may encode the field b1 as a B picture using the reference picture lists L0 and L1 each including only the reverse-phase field t0. Alternatively, the moving picture encoding apparatus 100 may encode the field b1 as a P picture using the reference picture list L0 including only the field t0. The field b7 is encoded in the same manner as the field b1.

図12は、第5参考例におけるフィールド間の参照関係を示す概念図である。図12には、フィールドt0、b1、t2、b3、t4、b5、t6、b7、t8、b9、t10、b11、t12、b13が表示順(入力順)で示されている。符号化順は、例えば、t0、b1、t6、b7、t12、b13、t2、b3、t4、b5、t8、b9、t10、b11の順である。   FIG. 12 is a conceptual diagram showing a reference relationship between fields in the fifth reference example. In FIG. 12, fields t0, b1, t2, b3, t4, b5, t6, b7, t8, b9, t10, b11, t12, and b13 are shown in display order (input order). The encoding order is, for example, the order of t0, b1, t6, b7, t12, b13, t2, b3, t4, b5, t8, b9, t10, b11.

また、上段のフィールドt0、t2、t4、t6、t8、t10、t12はトップフィールドに属し、下段のフィールドb1、b3、b5、b7、b9、b11、b13はボトムフィールドに属する。点線矢印は、参照元から参照先への参照を示す。   The upper fields t0, t2, t4, t6, t8, t10, and t12 belong to the top field, and the lower fields b1, b3, b5, b7, b9, b11, and b13 belong to the bottom field. A dotted arrow indicates a reference from the reference source to the reference destination.

また、フィールドt0は、IDRピクチャとして符号化され、フィールドt12は、Iピクチャとして符号化される。フィールドb1、t6、b7、b13は、Pピクチャとして符号化される。フィールドt2、b3、t4、b5、t8、b9、t10、b11は、Bピクチャとして符号化される。   The field t0 is encoded as an IDR picture, and the field t12 is encoded as an I picture. Fields b1, t6, b7, and b13 are encoded as P pictures. Fields t2, b3, t4, b5, t8, b9, t10, b11 are encoded as B pictures.

また、符号化対象フィールドがPピクチャとして符号化される際、前方同相フィールドが参照可能であれば参照される。また、複数の前方同相フィールドが参照可能であれば、参照可能な複数の前方同相フィールドのうち、符号化対象フィールドに表示順で最も近い前方同相フィールドが参照される。   Further, when the encoding target field is encoded as a P picture, the forward in-phase field is referred to if it can be referred to. If a plurality of forward in-phase fields can be referred to, the forward in-phase field closest to the encoding target field in the display order is referred to from among the plurality of forward in-phase fields that can be referred to.

これにより、動画像において動きのない領域が効率的に符号化される。しかしながら、動画像において動きのある領域が効率的に符号化されない可能性がある。   Thereby, the area | region without a motion in a moving image is encoded efficiently. However, there is a possibility that a region having motion in a moving image is not efficiently encoded.

図13は、第6参考例におけるフィールド間の参照関係を示す概念図である。図13には、図12と同じように、フィールドt0、b1、t2、b3、t4、b5、t6、b7、t8、b9、t10、b11、t12、b13が表示順(入力順)で示されている。符号化順は、例えば、t0、b1、t6、b7、t12、b13、t2、b3、t4、b5、t8、b9、t10、b11の順である。   FIG. 13 is a conceptual diagram showing a reference relationship between fields in the sixth reference example. In FIG. 13, as in FIG. 12, the fields t0, b1, t2, b3, t4, b5, t6, b7, t8, b9, t10, b11, t12, b13 are shown in the display order (input order). ing. The encoding order is, for example, the order of t0, b1, t6, b7, t12, b13, t2, b3, t4, b5, t8, b9, t10, b11.

また、図12と同じように、上段のフィールドt0、t2、t4、t6、t8、t10、t12はトップフィールドに属し、下段のフィールドb1、b3、b5、b7、b9、b11、b13はボトムフィールドに属する。点線矢印は、参照元から参照先への参照を示す。   Similarly to FIG. 12, the upper fields t0, t2, t4, t6, t8, t10, and t12 belong to the top field, and the lower fields b1, b3, b5, b7, b9, b11, and b13 are the bottom fields. Belonging to. A dotted arrow indicates a reference from the reference source to the reference destination.

また、図12と同じように、フィールドt0は、IDRピクチャとして符号化され、フィールドt12は、Iピクチャとして符号化される。フィールドb1、t6、b7、b13は、Pピクチャとして符号化される。フィールドt2、b3、t4、b5、t8、b9、t10、b11は、Bピクチャとして符号化される。   Similarly to FIG. 12, the field t0 is encoded as an IDR picture, and the field t12 is encoded as an I picture. Fields b1, t6, b7, and b13 are encoded as P pictures. Fields t2, b3, t4, b5, t8, b9, t10, b11 are encoded as B pictures.

図13において、符号化対象フィールドがPピクチャとして符号化される際、前方逆相フィールドが参照可能であれば参照される。また、複数の前方逆相フィールドが参照可能であれば、参照可能な複数の前方逆相フィールドのうち、符号化対象フィールドに表示順で最も近い前方逆相フィールドが参照される。   In FIG. 13, when the encoding target field is encoded as a P picture, the forward reverse phase field is referred to if it can be referred to. If a plurality of forward reverse phase fields can be referred to, the forward reverse phase field closest to the encoding target field in the display order is referred to from among the referenceable forward reverse phase fields.

これにより、動画像において動きのある領域が効率的に符号化される。しかしながら、動画像において動きのない領域が効率的に符号化されない可能性がある。   Thereby, the area | region with a motion in a moving image is encoded efficiently. However, there is a possibility that an area without motion in a moving image is not efficiently encoded.

図14は、フィールド間の参照関係であって、図1に示された動画像符号化装置100で用いられる参照関係の一例を示す概念図である。図14には、図12および図13と同じように、フィールドt0、b1、t2、b3、t4、b5、t6、b7、t8、b9、t10、b11、t12、b13が表示順(入力順)で示されている。符号化順は、例えば、t0、b1、t6、b7、t12、b13、t2、b3、t4、b5、t8、b9、t10、b11の順である。   FIG. 14 is a conceptual diagram illustrating an example of a reference relationship between fields, which is used in the moving image coding apparatus 100 illustrated in FIG. 1. In FIG. 14, the fields t0, b1, t2, b3, t4, b5, t6, b7, t8, b9, t10, b11, t12, b13 are displayed in the display order (input order) as in FIG. 12 and FIG. It is shown in The encoding order is, for example, the order of t0, b1, t6, b7, t12, b13, t2, b3, t4, b5, t8, b9, t10, b11.

また、図12および図13と同じように、上段のフィールドt0、t2、t4、t6、t8、t10、t12はトップフィールドに属し、下段のフィールドb1、b3、b5、b7、b9、b11、b13はボトムフィールドに属する。点線矢印は、参照元から参照先への参照を示す。   Similarly to FIGS. 12 and 13, the upper fields t0, t2, t4, t6, t8, t10, and t12 belong to the top field, and the lower fields b1, b3, b5, b7, b9, b11, b13. Belongs to the bottom field. A dotted arrow indicates a reference from the reference source to the reference destination.

また、図12および図13と同じように、フィールドt0は、IDRピクチャとして符号化され、フィールドt12は、Iピクチャとして符号化され、フィールドt2、b3、t4、b5、t8、b9、t10、b11は、Bピクチャとして符号化される。図14の例では、フィールドb1、t6、b7、b13も、Bピクチャとして符号化される。   Similarly to FIGS. 12 and 13, the field t0 is encoded as an IDR picture, the field t12 is encoded as an I picture, and the fields t2, b3, t4, b5, t8, b9, t10, b11. Is encoded as a B picture. In the example of FIG. 14, the fields b1, t6, b7, and b13 are also encoded as B pictures.

特に、フィールドt6、b7、b13が符号化対象フィールドとして符号化される際、参照可能な1以上の前方同相フィールドのうち、符号化対象フィールドに最も近い前方同相フィールドが参照ピクチャリストL0に追加される。また、参照可能な1以上の前方逆相フィールドのうち、符号化対象フィールドに最も近い前方逆相フィールドが参照ピクチャリストL1に追加される。   In particular, when the fields t6, b7, and b13 are encoded as the encoding target field, the front in-phase field closest to the encoding target field is added to the reference picture list L0 among the one or more forward in-phase fields that can be referred to. The In addition, among the one or more forward reverse phase fields that can be referred to, the forward reverse phase field closest to the encoding target field is added to the reference picture list L1.

そして、動画像符号化装置100の符号化部110は、1つの前方同相フィールドのみを含む参照ピクチャリストL0と、1つの前方逆相フィールドのみを含む参照ピクチャリストL1を用いて、符号化対象フィールドをBピクチャとして符号化する。例えば、符号化部110は、ブロック毎に、符号化対象フィールドにおいて動きのない領域に対して、前方同相フィールドを参照し、符号化対象フィールドにおいて動きのある領域に対して、前方逆相フィールドを参照し、符号化対象フィールドを符号化する。   Then, the encoding unit 110 of the moving image encoding device 100 uses the reference picture list L0 including only one forward in-phase field and the reference picture list L1 including only one forward in-phase field, to encode the encoding target field. Is encoded as a B picture. For example, for each block, the encoding unit 110 refers to the forward in-phase field with respect to the area where there is no motion in the encoding target field, and sets the forward anti-phase field with respect to the area where there is motion in the encoding target field. Refer to and encode the encoding target field.

これにより、動画像符号化装置100は、動画像において動きのない領域と動きのある領域との両方を効率的に符号化することができる。   Thereby, the moving image encoding device 100 can efficiently encode both the non-moving region and the moving region in the moving image.

なお、フィールドb1を符号化する際、参照可能な前方同相フィールドが存在しない。したがって、動画像符号化装置100は、逆相のフィールドt0のみをそれぞれが含む参照ピクチャリストL0およびL1を用いて、フィールドb1をBピクチャとして符号化してもよい。あるいは、動画像符号化装置100は、フィールドt0のみを含む参照ピクチャリストL0を用いて、フィールドb1をPピクチャとして符号化してもよい。   Note that when the field b1 is encoded, there is no reference forward in-phase field. Therefore, the moving picture encoding apparatus 100 may encode the field b1 as a B picture using the reference picture lists L0 and L1 each including only the reverse-phase field t0. Alternatively, the moving picture encoding apparatus 100 may encode the field b1 as a P picture using the reference picture list L0 including only the field t0.

図15は、図1に示された動画像符号化装置100の動作を示すフローチャートである。例えば、動画像符号化装置100は、インターレース構造の動画像に含まれる符号化対象フィールドを前方参照によって符号化する際、符号化対象フィールドをPピクチャではなくBピクチャとして符号化する。以下、動画像符号化装置100の具体的な動作を示す。   FIG. 15 is a flowchart showing the operation of the moving picture encoding apparatus 100 shown in FIG. For example, when the encoding target field included in the interlaced moving image is encoded by forward reference, the encoding apparatus 100 encodes the encoding target field as a B picture instead of a P picture. Hereinafter, a specific operation of the moving image encoding apparatus 100 will be described.

まず、符号化部110は、動画像の構造が、インターレース構造かプログレッシブ構造かを判定する(S101)。符号化部110は、例えば、外部からの指示に従って、動画像の構造が、インターレース構造かプログレッシブ構造かを判定してもよい。あるいは、動画像がインターレース構造かプログレッシブ構造かを示す情報を含み、符号化部110は、動画像に含まれる情報に基づいて、動画像の構造が、インターレース構造かプログレッシブ構造かを判定してもよい。   First, the encoding unit 110 determines whether the structure of the moving image is an interlace structure or a progressive structure (S101). For example, the encoding unit 110 may determine whether the structure of the moving image is an interlace structure or a progressive structure in accordance with an instruction from the outside. Alternatively, it includes information indicating whether the moving image is an interlaced structure or a progressive structure, and the encoding unit 110 may determine whether the structure of the moving image is an interlaced structure or a progressive structure based on the information included in the moving image. Good.

そして、動画像の構造がインターレース構造である場合(S101でYes)、符号化部110は、符号化対象フィールドを前方参照によって符号化するか否かを判定する(S102)。符号化部110は、GOP、表示順(入力順)、または、これらの組み合わせに基づいて、符号化対象フィールドを前方参照によって符号化するか否かを判定してもよい。例えば、符号化部110は、周期的に、符号化対象フィールドを前方参照によって符号化すると判定してもよい。   If the moving image structure is an interlaced structure (Yes in S101), the encoding unit 110 determines whether or not to encode the encoding target field by forward reference (S102). The encoding unit 110 may determine whether or not to encode the encoding target field by forward reference based on GOP, display order (input order), or a combination thereof. For example, the encoding unit 110 may periodically determine to encode the encoding target field by forward reference.

なお、上記の前方参照は、面間予測を用いて符号化し、かつ、表示順で後方のフィールドを参照せずに、表示順で前方のフィールドを参照することを意味する。   Note that the above forward reference means encoding using inter prediction and referring to the forward field in the display order without referring to the backward field in the display order.

そして、符号化部110は、符号化対象フィールドを前方参照によって符号化する場合(S102でYes)、符号化対象フィールドをBピクチャとして符号化する(S103)。具体的には、この場合、符号化部110は、1つの前方同相フィールドのみを含む参照ピクチャリストL0と、1つの前方逆相フィールドのみを含む参照ピクチャリストL1とを用いて、符号化対象フィールドをBピクチャとして符号化する。   Then, when the encoding target field is encoded by forward reference (Yes in S102), the encoding unit 110 encodes the encoding target field as a B picture (S103). Specifically, in this case, the encoding unit 110 uses the reference picture list L0 including only one forward in-phase field and the reference picture list L1 including only one forward in-phase field, and encodes the field to be encoded. Is encoded as a B picture.

一方、符号化部110は、符号化対象フィールドを前方参照によって符号化しない場合(S102でNo)、他の方法で符号化対象フィールドを符号化する(S104)。例えば、符号化部110は、符号化対象フィールドをIピクチャとして符号化してもよい。あるいは、符号化部110は、後方参照を含む方法で、符号化対象フィールドをPピクチャまたはBピクチャとして符号化してもよい。   On the other hand, when the encoding target field is not encoded by forward reference (No in S102), the encoding unit 110 encodes the encoding target field using another method (S104). For example, the encoding unit 110 may encode the encoding target field as an I picture. Alternatively, the encoding unit 110 may encode the encoding target field as a P picture or a B picture by a method including backward reference.

また、動画像の構造がプログレッシブ構造である場合(S101でNo)、符号化部110は、符号化対象フレームを前方参照によって符号化するか否かを判定する(S105)。符号化部110は、GOP、表示順(入力順)、または、これらの組み合わせに基づいて、符号化対象フレームを前方参照によって符号化するか否かを判定してもよい。例えば、符号化部110は、周期的に、符号化対象フレームを前方参照によって符号化すると判定してもよい。   Also, when the structure of the moving image is a progressive structure (No in S101), the encoding unit 110 determines whether or not to encode the encoding target frame by forward reference (S105). The encoding unit 110 may determine whether to encode the encoding target frame by forward reference based on GOP, display order (input order), or a combination thereof. For example, the encoding unit 110 may periodically determine to encode the encoding target frame by forward reference.

なお、上記の前方参照は、面間予測を用いて符号化し、かつ、表示順で後方のフレームを参照せずに、表示順で前方のフレームを参照することを意味する。   Note that the above forward reference means encoding using inter prediction and referring to the forward frame in the display order without referring to the backward frame in the display order.

そして、符号化部110は、符号化対象フレームを前方参照によって符号化する場合(S105でYes)、符号化対象フレームをPピクチャとして符号化する(S106)。具体的には、この場合、符号化部110は、符号化対象フレームよりも表示順で前方の1つのフレームのみを含む参照ピクチャリストL0を用いて、符号化対象フレームをPピクチャとして符号化する。   Then, when the encoding target frame is encoded by forward reference (Yes in S105), the encoding unit 110 encodes the encoding target frame as a P picture (S106). Specifically, in this case, the encoding unit 110 encodes the encoding target frame as a P picture using the reference picture list L0 including only one frame ahead of the encoding target frame in the display order. .

一方、符号化部110は、符号化対象フレームを前方参照によって符号化しない場合(S105でNo)、他の方法で符号化対象フレームを符号化する(S107)。例えば、符号化部110は、符号化対象フレームをIピクチャとして符号化してもよい。あるいは、符号化部110は、後方参照を含む方法で、符号化対象フレームをPピクチャまたはBピクチャとして符号化してもよい。   On the other hand, when the encoding unit 110 does not encode the encoding target frame by forward reference (No in S105), the encoding unit 110 encodes the encoding target frame by another method (S107). For example, the encoding unit 110 may encode the encoding target frame as an I picture. Alternatively, the encoding unit 110 may encode the encoding target frame as a P picture or a B picture by a method including backward reference.

上記の動作によって、動画像符号化装置100は、インターレース構造の動画像に含まれる符号化対象フィールドを前方参照によって符号化する場合、符号化対象フィールドをBピクチャとして符号化する。そして、動画像符号化装置100は、この場合、1つの前方同相フィールドのみを含む参照ピクチャリストL0と、1つの前方逆相フィールドのみを含む参照ピクチャリストL1とを用いる。   With the above operation, the moving image encoding apparatus 100 encodes the encoding target field as a B picture when encoding the encoding target field included in the interlaced moving image by forward reference. In this case, the moving picture coding apparatus 100 uses the reference picture list L0 including only one forward in-phase field and the reference picture list L1 including only one forward reverse-phase field.

これにより、動画像符号化装置100は、符号量の増加を抑制しつつ、同相のフィールドと逆相のフィールドとの間で参照先をブロック毎に切り替えて符号化対象フィールドを符号化することができる。つまり、動画像符号化装置100は、インターレース構造の動画像を効率的に符号化することができる。   As a result, the moving image encoding apparatus 100 can encode the encoding target field by switching the reference destination for each block between the in-phase field and the anti-phase field while suppressing an increase in the code amount. it can. That is, the moving image encoding apparatus 100 can efficiently encode a moving image having an interlace structure.

また、動画像符号化装置100は、プログレッシブ構造の動画像に含まれる符号化対象フレームを前方参照によって符号化する場合、符号化対象フレームをPピクチャとして符号化する。そして、動画像符号化装置100は、この場合、符号化対象フレームよりも表示順で前方の1つのフレームのみを含む参照ピクチャリストL0を用いる。   In addition, when the encoding target frame included in the progressive structure moving image is encoded by forward reference, the moving image encoding apparatus 100 encodes the encoding target frame as a P picture. In this case, the moving image encoding apparatus 100 uses the reference picture list L0 including only one frame ahead in the display order from the encoding target frame.

これにより、動画像符号化装置100は、符号量の増加を抑制しつつ、前方のフレームを参照して符号化対象フレームを符号化できる。つまり、動画像符号化装置100は、プログレッシブ構造の動画像を効率的に符号化することができる。   Thereby, the moving image encoding device 100 can encode the encoding target frame with reference to the preceding frame while suppressing an increase in the code amount. That is, the moving image encoding apparatus 100 can efficiently encode a moving image having a progressive structure.

なお、上記の説明では、符号化対象フィールドに対し同相のフィールドが参照ピクチャリストL0に含まれ、符号化対象フィールドに対し逆相のフィールドが参照ピクチャリストL1に含まれる。しかし、符号化対象フィールドに対し同相のフィールドが参照ピクチャリストL1に含まれ、符号化対象フィールドに対し逆相のフィールドが参照ピクチャリストL0に含まれてもよい、つまりL0、L1が反対でもよい。   In the above description, a field in phase with the encoding target field is included in the reference picture list L0, and a field out of phase with respect to the encoding target field is included in the reference picture list L1. However, a field in phase with the encoding target field may be included in the reference picture list L1, and a field out of phase with respect to the encoding target field may be included in the reference picture list L0, that is, L0 and L1 may be opposite. .

また、上記の説明において、参照可能か否かは、参照が許容されているか否かに対応していてもよいし、記憶部120に記憶されているか否かに対応していてもよい。   Further, in the above description, whether or not reference is possible may correspond to whether or not reference is permitted, or may correspond to whether or not the reference is stored.

また、動画像符号化装置100は、符号化対象フィールドにおける1つのブロックを符号化する際、符号化対象フィールドに対し同相のフィールドと、符号化対象フィールドに対し逆相のフィールドとの両方を参照してもよい。すなわち、双予測が利用されてもよい。例えば、動画像符号化装置100は、符号化対象フィールドに対し同相のフィールドと、符号化対象フィールドに対し逆相のフィールドとの両方を参照して、動きのある領域と動きのない領域とにまたがるブロックを符号化してもよい。   In addition, when encoding one block in the encoding target field, the moving image encoding apparatus 100 refers to both the in-phase field with respect to the encoding target field and the reverse phase field with respect to the encoding target field. May be. That is, bi-prediction may be used. For example, the moving image encoding apparatus 100 refers to both a field in phase with respect to the encoding target field and a field in reverse phase with respect to the encoding target field, and converts the motion area into the non-motion area. You may code the block which straddles.

また、2つの参照ピクチャリストL0、L1にそれぞれ含まれる2つのフィールドのうち、一方が同相で、他方が逆相であれば、これらの2つのフィールドの一方または両方が符号化対象フィールドよりも表示順で後方であってもよい。   If one of the two fields included in each of the two reference picture lists L0 and L1 is in phase and the other is out of phase, one or both of these two fields are displayed more than the encoding target field. It may be backward in order.

[1−3.効果等]
以上のように、本実施の形態において、動画像符号化装置100は、インターレース構造の動画像を符号化する。また、動画像符号化装置100は、符号化部110と記憶部120とを備える。記憶部120には、複数のフィールドが複数の参照ピクチャとして記憶される。
[1-3. Effect]
As described above, in the present embodiment, the moving image encoding apparatus 100 encodes a moving image having an interlace structure. In addition, the moving image encoding device 100 includes an encoding unit 110 and a storage unit 120. The storage unit 120 stores a plurality of fields as a plurality of reference pictures.

符号化部110は、第1参照ピクチャリストと第2参照ピクチャリストとを用いて、符号化対象フィールドをBピクチャとして符号化する。第1参照ピクチャリストは、記憶部120に記憶された複数のフィールドのうち、符号化対象フィールドに対し同相の1つのフィールドのみを含む。第2参照ピクチャリストは、記憶部120に記憶された複数のフィールドのうち、符号化対象フィールドに対し逆相の1つのフィールドのみを含む。   The encoding unit 110 encodes the encoding target field as a B picture using the first reference picture list and the second reference picture list. The first reference picture list includes only one field in phase with the encoding target field among the plurality of fields stored in the storage unit 120. The second reference picture list includes only one field out of phase with respect to the encoding target field among the plurality of fields stored in the storage unit 120.

これにより、動画像符号化装置100は、インターレース構造の動画像に含まれる符号化対象フィールドを符号化する際、符号量の増加を抑制しつつ、同相のフィールドと逆相のフィールドとをブロック毎に切り替えて参照することができる。すなわち、動画像符号化装置100は、インターレース構造の動画像を効率的に符号化することができる。   Thereby, when encoding the encoding target field included in the interlaced structure moving image, the moving image encoding device 100 suppresses an increase in the amount of code and sets the in-phase field and the reverse-phase field for each block. You can switch to and refer to. That is, the moving image encoding apparatus 100 can efficiently encode a moving image having an interlace structure.

例えば、第1参照ピクチャリストに含まれる1つのフィールド、および、第2参照ピクチャリストに含まれる1つのフィールドは、符号化対象フィールドよりも表示順で前方の2つのフィールドである。   For example, one field included in the first reference picture list and one field included in the second reference picture list are two fields ahead of the encoding target field in display order.

これにより、動画像符号化装置100は、符号化対象フィールドの符号化において、符号量の増加を抑制しつつ、符号化対象フィールドよりも前方の2つのフィールドをブロック毎に切り替えて参照することができる。したがって、動画像符号化装置100は、2つのフィールドを効率的に参照することができる。   As a result, the moving picture coding apparatus 100 can refer to the two fields ahead of the coding target field by switching each block while suppressing an increase in the code amount in coding of the coding target field. it can. Therefore, the moving image encoding apparatus 100 can refer to the two fields efficiently.

また、例えば、第1参照ピクチャリストに含まれる1つのフィールドは、記憶部120に記憶された複数のフィールドに含まれる参照可能な1以上の前方同相フィールドのうち、符号化対象フィールドに表示順で最も近いフィールドである。また、第2参照ピクチャリストに含まれる1つのフィールドは、記憶部120に記憶された複数のフィールドに含まれる参照可能な1以上の前方逆相フィールドのうち、符号化対象フィールドに表示順で最も近いフィールドである。   In addition, for example, one field included in the first reference picture list is displayed in the encoding target field in display order among one or more forward in-phase fields that can be referred to included in the plurality of fields stored in the storage unit 120. The closest field. In addition, one field included in the second reference picture list is the highest in the display order in the encoding target field among the one or more forward reverse phase fields that can be referred to included in the plurality of fields stored in the storage unit 120. Close field.

ここで、1以上の前方同相フィールドは、記憶部120に記憶された複数のフィールドのうち、符号化対象フィールドよりも表示順で前方、かつ、符号化対象フィールドに対し同相の1以上のフィールドである。また、1以上の前方逆相フィールドは、記憶部120に記憶された複数のフィールドのうち、符号化対象フィールドよりも表示順で前方、かつ、符号化対象フィールドに対し逆相の1以上のフィールドである。   Here, the one or more forward in-phase fields are one or more fields that are forward in display order from the encoding target field and in phase with the encoding target field among the plurality of fields stored in the storage unit 120. is there. In addition, the one or more forward anti-phase fields are one or more fields that are ahead of the encoding target field in the display order and out of phase with respect to the encoding target field among the plurality of fields stored in the storage unit 120. It is.

これにより、動画像符号化装置100は、符号化対象フィールドの符号化において、符号量の増加を抑制しつつ、符号化対象フィールドに近い前方の2つのフィールドをブロック毎に切り替えて参照することができる。したがって、動画像符号化装置100は、2つのフィールドを効率的に参照し、予測精度を向上させることができる。   As a result, the moving image encoding apparatus 100 can refer to the two fields in front of the encoding target field by switching each block while suppressing an increase in the code amount in encoding of the encoding target field. it can. Therefore, the moving image encoding apparatus 100 can efficiently refer to the two fields and improve the prediction accuracy.

また、例えば、動画像符号化装置100は、さらに、プログレッシブ構造の動画像を符号化する。そして、符号化部110は、インターレース構造の動画像の符号化において符号化対象フィールドを前方参照のみを用いて符号化する際、符号化対象フィールドをBピクチャとして符号化する。また、符号化部110は、プログレッシブ構造の動画像の符号化において符号化対象フレームを前方参照のみを用いて符号化する際、符号化対象フレームをPピクチャとして符号化する。   Further, for example, the moving image encoding apparatus 100 further encodes a moving image having a progressive structure. Then, the encoding unit 110 encodes the encoding target field as a B picture when encoding the encoding target field using only forward reference in encoding of the interlaced structure moving image. Also, the encoding unit 110 encodes the encoding target frame as a P picture when encoding the encoding target frame using only forward reference in encoding of a moving image having a progressive structure.

これにより、動画像符号化装置100は、符号化される動画像がインターレース構造の動画像であるか、プログレッシブ構造の動画像であるかに従って、前方参照によって符号化されるピクチャのピクチャタイプを適切に決定することができる。したがって、動画像符号化装置100は、インターレース構造の動画像、および、プログレッシブ構造の動画像を効率的に符号化することができる。   As a result, the moving picture coding apparatus 100 appropriately sets the picture type of a picture to be coded by forward reference according to whether the moving picture to be coded is an interlaced moving picture or a progressive moving picture. Can be determined. Therefore, the moving image encoding apparatus 100 can efficiently encode a moving image having an interlace structure and a moving image having a progressive structure.

また、本実施の形態において、動画像復号装置200は、動画像符号化装置100の構成要素に対応する構成要素を備え、動画像符号化装置100の動作に対応する動作を行う。例えば、動画像復号装置200は、インターレース構造の動画像を復号する。また、動画像復号装置200は、復号部210と記憶部220とを備える。記憶部220には、複数のフィールドが複数の参照ピクチャとして記憶される。   Further, in the present embodiment, the video decoding device 200 includes components corresponding to the components of the video encoding device 100, and performs an operation corresponding to the operation of the video encoding device 100. For example, the moving image decoding apparatus 200 decodes a moving image having an interlace structure. In addition, the moving picture decoding apparatus 200 includes a decoding unit 210 and a storage unit 220. The storage unit 220 stores a plurality of fields as a plurality of reference pictures.

復号部210は、第1参照ピクチャリストと第2参照ピクチャリストとを用いて、復号対象ピクチャをBピクチャとして復号する。第1参照ピクチャリストは、記憶部120に記憶された複数のフィールドのうち、復号対象フィールドに対し同相の1つのフィールドのみを含む。第2参照ピクチャリストは、記憶部120に記憶された複数のフィールドのうち、復号対象フィールドに対し逆相の1つのフィールドのみを含む。   The decoding unit 210 decodes the decoding target picture as a B picture using the first reference picture list and the second reference picture list. The first reference picture list includes only one field in phase with the decoding target field among the plurality of fields stored in the storage unit 120. The second reference picture list includes only one field out of phase with respect to the decoding target field among the plurality of fields stored in the storage unit 120.

これにより、動画像復号装置200は、復号対象フィールドの復号において、動画像符号化装置100と同じように、復号対象フィールドに対し同相のフィールドと、復号対象フィールドに対し逆相のフィールドとをブロック毎に切り替えて参照することができる。すなわち、動画像復号装置200は、動画像符号化装置100の動作に対応する動作を行うことができる。   Thereby, in the decoding of the decoding target field, the moving picture decoding apparatus 200 blocks a field in phase with respect to the decoding target field and a field in reverse phase with respect to the decoding target field in the same manner as the moving picture encoding apparatus 100 You can switch and refer to each. That is, the video decoding device 200 can perform an operation corresponding to the operation of the video encoding device 100.

なお、第1参照ピクチャリストおよび第2参照ピクチャリストのうち、一方が参照ピクチャリストL0であり、他方が参照ピクチャリストL1である。第1参照ピクチャリストは、参照ピクチャリストL0および参照ピクチャリストL1のうち、どちらでもよい。また、第2参照ピクチャリストは、参照ピクチャリストL0および参照ピクチャリストL1のうち、どちらでもよい。   One of the first reference picture list and the second reference picture list is the reference picture list L0, and the other is the reference picture list L1. The first reference picture list may be either the reference picture list L0 or the reference picture list L1. Further, the second reference picture list may be either the reference picture list L0 or the reference picture list L1.

また、参照ピクチャリストに、1つの参照ピクチャのみが含まれる場合、参照ピクチャリストに含まれる1つの参照ピクチャには参照インデックス0が割り当てられる。そして、この場合、参照インデックス0は参照先としてブロック毎に符号化されないため、符号量の増加が抑制される。   Further, when only one reference picture is included in the reference picture list, a reference index 0 is assigned to one reference picture included in the reference picture list. In this case, since the reference index 0 is not encoded for each block as a reference destination, an increase in the code amount is suppressed.

また、AVCでは、動きがない領域の符号化に適しているフレーム符号化と、動きがある領域の符号化に適しているフィールド符号化とをブロック毎に切り替える方法が規定されている。一方、HEVCでは、フレーム符号化とフィールド符号化とをブロック毎に切り替える方法が規定されていない。したがって、動きがない領域と動きがある領域とを含む符号化対象フィールドを効率的に符号化することができる動画像符号化装置100は、HEVCにおいて、特に有用である。   AVC also defines a method for switching, for each block, frame coding suitable for coding a region having no motion and field coding suitable for coding a region having motion. On the other hand, HEVC does not define a method for switching between frame coding and field coding for each block. Therefore, the moving image encoding apparatus 100 that can efficiently encode an encoding target field including a region having no motion and a region having motion is particularly useful in HEVC.

(他の実施の形態)
以上のように、本出願において開示する技術の例示として、実施の形態1を説明した。しかしながら、本開示における技術は、これに限定されず、適宜、変更、置き換え、付加、省略などを行った実施の形態にも適用可能である。また、上記実施の形態1で説明した各構成要素を組み合わせて、新たな実施の形態とすることも可能である。そこで、以下、他の実施の形態を例示する。
(Other embodiments)
As described above, the first embodiment has been described as an example of the technique disclosed in the present application. However, the technology in the present disclosure is not limited to this, and can also be applied to an embodiment in which changes, replacements, additions, omissions, and the like are appropriately performed. Moreover, it is also possible to combine each component demonstrated in the said Embodiment 1, and it can also be set as a new embodiment. Therefore, other embodiments will be exemplified below.

例えば、実施の形態1において、符号化部110は、減算部111、変換部112、可変長符号化部113、逆変換部114、加算部115、および、予測部116を備える。また、復号部210は、可変長復号部213、逆変換部214、加算部215、および、予測部216を備える。しかし、これらの構成要素は、一例であり、これらの構成要素に対し、適宜、変更、置き換え、付加、省略などが行われてもよい。   For example, in Embodiment 1, the encoding unit 110 includes a subtraction unit 111, a conversion unit 112, a variable length encoding unit 113, an inverse conversion unit 114, an addition unit 115, and a prediction unit 116. The decoding unit 210 includes a variable length decoding unit 213, an inverse conversion unit 214, an addition unit 215, and a prediction unit 216. However, these components are examples, and changes, replacements, additions, omissions, and the like may be appropriately performed on these components.

また、符号化部110は、エンコーダと表現されてもよいし、復号部210は、デコーダと表現されてもよい。記憶部120、220は、それぞれ、ストレージ、バッファ、メモリ、参照ピクチャバッファ、または、参照ピクチャメモリ等のように表現されてもよい。   The encoding unit 110 may be expressed as an encoder, and the decoding unit 210 may be expressed as a decoder. Each of the storage units 120 and 220 may be expressed as a storage, a buffer, a memory, a reference picture buffer, a reference picture memory, or the like.

また、動画像符号化装置100および動画像復号装置200は、それぞれ、本開示における複数の構成要素を選択的に備えてもよいし、動画像符号化方法および動画像復号方法は、それぞれ、本開示における複数の処理を選択的に含んでもよい。   Further, each of the moving image encoding device 100 and the moving image decoding device 200 may selectively include a plurality of components in the present disclosure, and the moving image encoding method and the moving image decoding method are respectively A plurality of processes in the disclosure may be selectively included.

また、本開示における各構成要素は、回路でもよい。これらの回路は、全体として1つの回路を構成してもよいし、それぞれ別々の回路でもよい。また、これらの回路は、それぞれ、汎用的な回路でもよいし、専用の回路でもよい。   Each component in the present disclosure may be a circuit. These circuits may constitute one circuit as a whole, or may be separate circuits. Each of these circuits may be a general-purpose circuit or a dedicated circuit.

また、本開示における各処理をコンピュータが実行してもよい。例えば、コンピュータが、プロセッサ(CPU)、メモリおよび入出力回路等のハードウェア資源を用いてプログラムを実行することによって、本開示における各処理を実行する。具体的には、プロセッサが処理対象のデータをメモリまたは入出力回路等から取得してデータを演算したり、演算結果をメモリまたは入出力回路等に出力したりすることによって、各処理を実行する。   Further, each process in the present disclosure may be executed by a computer. For example, a computer executes each process in the present disclosure by executing a program using hardware resources such as a processor (CPU), a memory, and an input / output circuit. Specifically, the processor acquires each data to be processed from a memory or an input / output circuit, etc., calculates the data, or outputs the calculation result to the memory or the input / output circuit, etc. .

また、本開示における各処理を実行するためのプログラムが、コンピュータ読み取り可能なCD−ROM等の非一時的な記録媒体に記録されてもよい。この場合、コンピュータが、非一時的な記録媒体からプログラムを読み出して、プログラムを実行することにより、各処理を実行する。   In addition, a program for executing each process in the present disclosure may be recorded on a non-transitory recording medium such as a computer-readable CD-ROM. In this case, the computer reads the program from the non-temporary recording medium and executes the program to execute each process.

さらに、実施の形態1に示された動画像符号化装置100は、様々な装置に適用されてもよい。以下、図16〜18を用いて、動画像符号化装置100の適用例を説明する。   Furthermore, the moving picture encoding apparatus 100 shown in Embodiment 1 may be applied to various apparatuses. Hereinafter, application examples of the moving image encoding apparatus 100 will be described with reference to FIGS.

図16は、図1に示された動画像符号化装置100の第1適用例を示す概念図である。図16には、デジタルカメラ401、および、クラウドシステム402が示されている。デジタルカメラ401は、動画像符号化装置100の一例である。デジタルカメラ401は、動画像符号化装置100を含んでいてもよい。   FIG. 16 is a conceptual diagram showing a first application example of the moving picture coding apparatus 100 shown in FIG. FIG. 16 shows a digital camera 401 and a cloud system 402. The digital camera 401 is an example of the moving image encoding device 100. The digital camera 401 may include the moving image encoding device 100.

デジタルカメラ401は、実施の形態1で示された手順に従って、インターレース構造の動画像を符号化する。すなわち、デジタルカメラ401は、同相の1つのフィールドのみを含む参照ピクチャリストと、逆相の1つのフィールドのみを含む参照ピクチャリストとを用いて、符号化対象フィールドをBピクチャとして符号化する。そして、デジタルカメラ401は、符号化された動画像をクラウドシステム402へ送信することにより、符号化された動画像をクラウドシステム402に保存する。   The digital camera 401 encodes a moving image having an interlace structure according to the procedure described in the first embodiment. That is, the digital camera 401 uses the reference picture list including only one in-phase field and the reference picture list including only one anti-phase field to encode the encoding target field as a B picture. Then, the digital camera 401 stores the encoded moving image in the cloud system 402 by transmitting the encoded moving image to the cloud system 402.

インターレース構造の動画像の符号化において実施の形態1で示された手順が適用されるため、符号量が削減される。したがって、通信におけるデータの伝送量も削減され、また、データの記憶に対する記憶容量も削減される。   Since the procedure shown in the first embodiment is applied in the encoding of the moving image having the interlace structure, the code amount is reduced. Accordingly, the amount of data transmitted in communication is reduced, and the storage capacity for data storage is also reduced.

図17は、図1に示された動画像符号化装置100の第2適用例を示す概念図である。図17には、放送用カメラ411、放送局412、および、テレビ413が示されている。放送用カメラ411は、動画像符号化装置100の一例である。放送用カメラ411は、動画像符号化装置100を含んでいてもよい。   FIG. 17 is a conceptual diagram showing a second application example of the moving picture encoding apparatus 100 shown in FIG. FIG. 17 shows a broadcasting camera 411, a broadcasting station 412, and a television 413. The broadcast camera 411 is an example of the moving image encoding device 100. The broadcast camera 411 may include the moving image encoding device 100.

放送用カメラ411は、実施の形態1で示された手順に従って、インターレース構造の動画像を符号化する。すなわち、放送用カメラ411は、同相の1つのフィールドのみを含む参照ピクチャリストと、逆相の1つのフィールドのみを含む参照ピクチャリストとを用いて、符号化対象フィールドをBピクチャとして符号化する。そして、符号化された動画像は、放送用カメラ411から放送局412へ送信され、放送局412からテレビ413へ送信される。   The broadcast camera 411 encodes a moving image having an interlace structure according to the procedure described in the first embodiment. That is, the broadcast camera 411 encodes the encoding target field as a B picture using a reference picture list including only one in-phase field and a reference picture list including only one in-phase field. The encoded moving image is transmitted from the broadcast camera 411 to the broadcast station 412 and transmitted from the broadcast station 412 to the television 413.

インターレース構造の動画像の符号化において実施の形態1で示された手順が適用されるため、符号量が削減される。したがって、放送におけるデータの伝送量も削減される。   Since the procedure shown in the first embodiment is applied in the encoding of the moving image having the interlace structure, the code amount is reduced. Therefore, the data transmission amount in broadcasting is also reduced.

図18は、図1に示された動画像符号化装置100の第3適用例を示す概念図である。図18には、監視カメラ421、クラウドシステム422、および、ビデオレコーダ423が示されている。監視カメラ421は、動画像符号化装置100の一例である。監視カメラ421は、動画像符号化装置100を含んでいてもよい。   FIG. 18 is a conceptual diagram showing a third application example of the moving picture encoding apparatus 100 shown in FIG. FIG. 18 shows a monitoring camera 421, a cloud system 422, and a video recorder 423. The monitoring camera 421 is an example of the moving image encoding device 100. The monitoring camera 421 may include the moving image encoding device 100.

監視カメラ421は、実施の形態1で示された手順に従って、インターレース構造の動画像を符号化する。すなわち、監視カメラ421は、同相の1つのフィールドのみを含む参照ピクチャリストと、逆相の1つのフィールドのみを含む参照ピクチャリストとを用いて、符号化対象フィールドをBピクチャとして符号化する。   The surveillance camera 421 encodes a moving image having an interlace structure according to the procedure shown in the first embodiment. That is, the surveillance camera 421 uses the reference picture list including only one in-phase field and the reference picture list including only one anti-phase field to encode the encoding target field as a B picture.

監視カメラ421は、符号化された動画像をクラウドシステム422またはビデオレコーダ423へ送信することにより、符号化された動画像をクラウドシステム422またはビデオレコーダ423に保存する。   The monitoring camera 421 stores the encoded moving image in the cloud system 422 or the video recorder 423 by transmitting the encoded moving image to the cloud system 422 or the video recorder 423.

動画像の符号化において実施の形態1で示された手順が適用されるため、符号量が削減される。したがって、通信におけるデータの伝送量も削減され、また、データの記憶に対する記憶容量も削減される。また、監視カメラ421によって符号化される動画像には、基本的に、動きがない背景領域が含まれる。したがって、実施の形態1で示された手順が適用されることによって得られる効果は大きい。   Since the procedure shown in the first embodiment is applied in the encoding of the moving image, the code amount is reduced. Accordingly, the amount of data transmitted in communication is reduced, and the storage capacity for data storage is also reduced. In addition, the moving image encoded by the monitoring camera 421 basically includes a background region that does not move. Therefore, the effect obtained by applying the procedure shown in the first embodiment is great.

以上のように、本開示における技術の例示として、実施の形態を説明した。そのために、添付図面および詳細な説明を提供した。   As described above, the embodiments have been described as examples of the technology in the present disclosure. For this purpose, the accompanying drawings and detailed description are provided.

したがって、添付図面および詳細な説明に記載された構成要素の中には、課題解決のために必須な構成要素だけでなく、上記技術を例示するために、課題解決のためには必須でない構成要素も含まれ得る。そのため、それらの必須ではない構成要素が添付図面や詳細な説明に記載されていることをもって、直ちに、それらの必須ではない構成要素が必須であるとの認定をするべきではない。   Accordingly, among the components described in the accompanying drawings and the detailed description, not only the components essential for solving the problem, but also the components not essential for solving the problem in order to illustrate the above technique. May also be included. Therefore, it should not be immediately recognized that these non-essential components are essential as those non-essential components are described in the accompanying drawings and detailed description.

また、上述の実施の形態は、本開示における技術を例示するためのものであるから、特許請求の範囲またはその均等の範囲において種々の変更、置き換え、付加、省略などを行うことができる。   Moreover, since the above-mentioned embodiment is for demonstrating the technique in this indication, a various change, replacement, addition, abbreviation, etc. can be performed in a claim or its equivalent range.

本開示は、動画像を符号化する動画像符号化装置などに適用可能である。具体的には、デジタルビデオカメラ、定点観測カメラ、監視カメラ、または、防犯カメラなどに、本開示は適用可能である。   The present disclosure is applicable to a moving image encoding device that encodes a moving image. Specifically, the present disclosure is applicable to a digital video camera, a fixed point observation camera, a surveillance camera, a security camera, or the like.

100 動画像符号化装置
110 符号化部
111 減算部
112 変換部
113 可変長符号化部
114、214 逆変換部
115、215 加算部
116、216 予測部
120、220 記憶部
200 動画像復号装置
210 復号部
213 可変長復号部
300 フレーム
301、302、b1、b3、b5、b7、b9、b11、b13、t0、t2、t4、t6、t8、t10、t12 フィールド
401 デジタルカメラ
402、422 クラウドシステム
411 放送用カメラ
412 放送局
413 テレビ
421 監視カメラ
423 ビデオレコーダ
DESCRIPTION OF SYMBOLS 100 Moving image encoder 110 Encoding part 111 Subtraction part 112 Conversion part 113 Variable length encoding part 114,214 Inverse conversion part 115,215 Adder 116,216 Prediction part 120,220 Storage part 200 Moving picture decoding apparatus 210 Decoding Unit 213 variable length decoding unit 300 frame 301, 302, b1, b3, b5, b7, b9, b11, b13, t0, t2, t4, t6, t8, t10, t12 field 401 digital camera 402, 422 cloud system 411 broadcast Camera 412 broadcast station 413 TV 421 surveillance camera 423 video recorder

Claims (5)

インターレース構造の動画像を符号化する動画像符号化装置であって、
複数のフィールドが複数の参照ピクチャとして記憶される記憶部と、
前記複数のフィールドのうち、符号化対象フィールドに対し同相の1つのフィールドのみを含む第1参照ピクチャリストと、前記複数のフィールドのうち、前記符号化対象フィールドに対し逆相の1つのフィールドのみを含む第2参照ピクチャリストとを用いて、前記符号化対象フィールドをBピクチャとして符号化する符号化部とを備える
動画像符号化装置。
A video encoding device that encodes a video having an interlace structure,
A storage unit in which a plurality of fields are stored as a plurality of reference pictures;
A first reference picture list including only one field in phase with the encoding target field among the plurality of fields, and only one field out of phase with respect to the encoding target field among the plurality of fields. A video encoding apparatus comprising: an encoding unit that encodes the encoding target field as a B picture using a second reference picture list including the reference picture list.
前記第1参照ピクチャリストに含まれる前記1つのフィールド、および、前記第2参照ピクチャリストに含まれる前記1つのフィールドは、前記符号化対象フィールドよりも表示順で前方の2つのフィールドである
請求項1に記載の動画像符号化装置。
The one field included in the first reference picture list and the one field included in the second reference picture list are two fields ahead in display order from the encoding target field. The moving image encoding apparatus according to 1.
前記第1参照ピクチャリストに含まれる前記1つのフィールドは、前記複数のフィールドに含まれる参照可能な1以上の前方同相フィールドのうち、前記符号化対象フィールドに表示順で最も近いフィールドであり、
前記1以上の前方同相フィールドは、前記複数のフィールドのうち、前記符号化対象フィールドよりも表示順で前方、かつ、前記符号化対象フィールドに対し同相の1以上のフィールドであり、
前記第2参照ピクチャリストに含まれる前記1つのフィールドは、前記複数のフィールドに含まれる参照可能な1以上の前方逆相フィールドのうち、前記符号化対象フィールドに表示順で最も近いフィールドであり、
前記1以上の前方逆相フィールドは、前記複数のフィールドのうち、前記符号化対象フィールドよりも表示順で前方、かつ、前記符号化対象フィールドに対し逆相の1以上のフィールドである
請求項1または2に記載の動画像符号化装置。
The one field included in the first reference picture list is a field closest to the encoding target field in display order among one or more forward in-phase fields that can be referred to included in the plurality of fields.
The one or more forward in-phase fields are one or more fields in front of the encoding target field and in phase with the encoding target field among the plurality of fields.
The one field included in the second reference picture list is a field closest to the encoding target field in display order among one or more forward-reverse-phase fields that can be referred to included in the plurality of fields.
2. The one or more forward reverse phase fields are one or more fields of the plurality of fields that are forward in display order from the encoding target field and are out of phase with respect to the encoding target field. Or the moving image encoding apparatus of 2.
前記動画像符号化装置は、さらに、プログレッシブ構造の動画像を符号化する動画像符号化装置であって、
前記符号化部は、
前記インターレース構造の動画像の符号化において前記符号化対象フィールドを前方参照のみを用いて符号化する際、前記符号化対象フィールドをBピクチャとして符号化し、
前記プログレッシブ構造の動画像の符号化において符号化対象フレームを前方参照のみを用いて符号化する際、前記符号化対象フレームをPピクチャとして符号化する
請求項1〜3のいずれか1項に記載の動画像符号化装置。
The video encoding device is a video encoding device that further encodes a video having a progressive structure,
The encoding unit includes:
When encoding the encoding target field using only forward reference in encoding of the interlaced structure video, the encoding target field is encoded as a B picture,
The encoding target frame is encoded as a P picture when encoding the encoding target frame using only forward reference in encoding of the progressive structure moving image. Video encoding device.
インターレース構造の動画像を符号化する動画像符号化方法であって、
記憶部に複数の参照ピクチャとして記憶された複数のフィールドのうち、符号化対象フィールドに対し同相の1つのフィールドのみを含む第1参照ピクチャリストと、前記複数のフィールドのうち、前記符号化対象フィールドに対し逆相の1つのフィールドのみを含む第2参照ピクチャリストとを用いて、前記符号化対象フィールドをBピクチャとして符号化する
動画像符号化方法。
A video encoding method for encoding a video having an interlace structure,
A first reference picture list including only one field in phase with respect to the encoding target field among a plurality of fields stored as a plurality of reference pictures in the storage unit; and the encoding target field among the plurality of fields In contrast, a moving picture coding method for coding the field to be coded as a B picture using a second reference picture list including only one field in reverse phase.
JP2016199348A 2016-02-26 2016-10-07 Moving picture encoding device and moving picture encoding method Pending JP2017158173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/298,603 US10116945B2 (en) 2016-02-26 2016-10-20 Moving picture encoding apparatus and moving picture encoding method for encoding a moving picture having an interlaced structure

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016036305 2016-02-26
JP2016036305 2016-02-26

Publications (1)

Publication Number Publication Date
JP2017158173A true JP2017158173A (en) 2017-09-07

Family

ID=59810818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016199348A Pending JP2017158173A (en) 2016-02-26 2016-10-07 Moving picture encoding device and moving picture encoding method

Country Status (1)

Country Link
JP (1) JP2017158173A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011259197A (en) * 2010-06-09 2011-12-22 Sony Corp Encoding device and encoding method
JP2012124896A (en) * 2010-12-07 2012-06-28 Mediatek Inc Method and apparatus of video coding using picture structure with low-delay hierarchical b group
JP2015524225A (en) * 2012-06-21 2015-08-20 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Apparatus and method for coding a video signal
JP2015192303A (en) * 2014-03-28 2015-11-02 日本電気株式会社 Picture encoding apparatus, picture encoding method and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011259197A (en) * 2010-06-09 2011-12-22 Sony Corp Encoding device and encoding method
JP2012124896A (en) * 2010-12-07 2012-06-28 Mediatek Inc Method and apparatus of video coding using picture structure with low-delay hierarchical b group
JP2015524225A (en) * 2012-06-21 2015-08-20 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Apparatus and method for coding a video signal
JP2015192303A (en) * 2014-03-28 2015-11-02 日本電気株式会社 Picture encoding apparatus, picture encoding method and program

Similar Documents

Publication Publication Date Title
KR102044250B1 (en) Method for video decoding and computer readable redording meduim thereof
KR102136973B1 (en) Enhanced bidirectional optical flow for video coding
CN111164973B (en) Coding affine prediction motion information for video coding
JP2022172295A (en) Image encoding method, image decoding method, and recording medium
RU2654129C2 (en) Features of intra block copy prediction mode for video and image coding and decoding
US20170064326A1 (en) Image encoding method and image decoding method
JP2020114013A (en) Encoding device, decoding device, encoding method, decoding method, and program
CN114827594B (en) Picture data processing method, device and storage medium
TW201640894A (en) Overlapped motion compensation for video coding
US20140105295A1 (en) Moving image encoding method and apparatus, and moving image decoding method and apparatus
KR101965287B1 (en) Method for inter prediction and apparatus thereof
JP2015529065A (en) Multiple hypothesis motion compensation for scalable video coding and 3D video coding
WO2013009104A2 (en) Inter prediction method and apparatus for same
JP2022505578A (en) Video signal processing methods and equipment with subblock-based motion compensation
JP2013009302A (en) Video encoding device, video encoding method, and video encoding program
JP2013115583A (en) Moving image encoder, control method of the same, and program
TWI543590B (en) Spatial motion vector scaling for scalable video coding
JPWO2011121731A1 (en) Image processing apparatus and image processing method
US10116945B2 (en) Moving picture encoding apparatus and moving picture encoding method for encoding a moving picture having an interlaced structure
JP2020108055A (en) Image decoder, image encoder, image decoding method and program
JP2022125265A (en) Decoding device and program
WO2015008339A1 (en) Video image encoding device, video image encoding method, video image decoding device, and video image decoding method
JP2017158173A (en) Moving picture encoding device and moving picture encoding method
CA2842670A1 (en) Selection of picture blocks from multiple reference pictures for inter-coding of divided pictures
JP6438376B2 (en) Video encoding apparatus, video decoding apparatus, video encoding method, video decoding method, video encoding program, and video decoding program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200616

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20201208