JP2006345157A - Coding equipment, decoding equipment, coding method, decoding method and these programs - Google Patents

Coding equipment, decoding equipment, coding method, decoding method and these programs Download PDF

Info

Publication number
JP2006345157A
JP2006345157A JP2005168103A JP2005168103A JP2006345157A JP 2006345157 A JP2006345157 A JP 2006345157A JP 2005168103 A JP2005168103 A JP 2005168103A JP 2005168103 A JP2005168103 A JP 2005168103A JP 2006345157 A JP2006345157 A JP 2006345157A
Authority
JP
Japan
Prior art keywords
picture data
decoding
data
encoding
processing
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.)
Granted
Application number
JP2005168103A
Other languages
Japanese (ja)
Other versions
JP4674496B2 (en
Inventor
Tetsuo Kaneko
哲夫 金子
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2005168103A priority Critical patent/JP4674496B2/en
Publication of JP2006345157A publication Critical patent/JP2006345157A/en
Application granted granted Critical
Publication of JP4674496B2 publication Critical patent/JP4674496B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide coding equipment capable of shortening a processing time at a time when a plurality of picture data are coded on the basis of a predetermined reference relationship. <P>SOLUTION: In a processable MB searching circuit 130, micro-block MBs processable in parallel among a plurality of picture data are specified on the basis of the reference relationship among a plurality of the picture data. A plurality of the micro-block MBs are processed in parallel by processors 111 and 112. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像データを符号化する符号化装置、符号化方法およびそのプログラム、並びに画像データを復号する復号装置、復号方法およびそのプログラムに関する。   The present invention relates to an encoding device that encodes image data, an encoding method, and a program thereof, and a decoding device that decodes image data, a decoding method, and a program thereof.

近年、画像データをデジタルとして取り扱い、その際、効率の高い情報の伝送、蓄積を目的とし、画像情報特有の冗長性を利用して、離散コサイン変換等の直交変換と動き補償により圧縮するMPEG(Moving Picture Experts Group)や、H.264/AVC(Advanced Video Coding)などの方式に準拠した符号化装置および復号装置が、放送局などの情報配信、及び一般家庭における情報受信の双方において普及しつつある。   In recent years, image data has been handled as digital data. At that time, MPEG (compressed by orthogonal transformation such as discrete cosine transformation and motion compensation is used for the purpose of efficient transmission and storage of information, and using redundancy unique to image information. Moving Picture Experts Group) H.264 / AVC (Advanced Video Coding) and other encoding devices and decoding devices that are compliant with systems such as broadcast stations and information reception in general households are becoming widespread.

ところで、上述した符号化装置および復号装置では、リアルタイム通信などの分野で、処理時間の短縮を図りたいという要請がある。   By the way, in the above-described encoding device and decoding device, there is a demand to reduce the processing time in the field of real-time communication and the like.

本発明はかかる事情に鑑みてなされたものであり、予め決められた参照関係に基づいて複数のピクチャデータを符号化する場合の処理時間を短縮できる符号化装置、符号化方法およびそのプログラムを提供することを目的とする。
また、本発明は、予め決められた参照関係に基づいて符号化された複数のピクチャデータを復号する場合の処理時間を短縮できる復号装置、復号方法およびそのプログラムを提供することを目的とする。
The present invention has been made in view of such circumstances, and provides an encoding apparatus, an encoding method, and a program thereof that can reduce processing time when encoding a plurality of picture data based on a predetermined reference relationship. The purpose is to do.
It is another object of the present invention to provide a decoding device, a decoding method, and a program thereof that can shorten the processing time when decoding a plurality of picture data encoded based on a predetermined reference relationship.

上述した従来技術の問題点を解決し、上述した目的を達成するため、第1の観点の発明の符号化装置は、予め決められた参照関係に基づいて複数のピクチャデータを符号化する符号化装置であって、前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の符号化処理が可能なデータを検出する検出手段と、前記検出手段の検出結果に基づいて、前記複数のピクチャデータの符号化処理を並列に行う複数の処理回路とを有する。   In order to solve the above-described problems of the prior art and achieve the above-described object, an encoding apparatus according to a first aspect of the present invention provides an encoding for encoding a plurality of picture data based on a predetermined reference relationship. An apparatus for detecting data that can be encoded in the plurality of picture data based on the reference relationship of the plurality of picture data, and based on a detection result of the detection means, And a plurality of processing circuits that perform encoding processing of a plurality of picture data in parallel.

また、本発明の復号装置は、予め決められた参照関係に基づいて複数のピクチャデータを復号する復号装置であって、前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の復号処理が可能なデータを検出する検出手段と、前記検出手段の検出結果に基づいて、前記複数のピクチャデータの復号処理を並列に行う複数の処理回路とを有する。   The decoding device according to the present invention is a decoding device that decodes a plurality of picture data based on a predetermined reference relationship, and includes a plurality of pieces of picture data based on the reference relationship of the plurality of picture data. Detection means for detecting data that can be decoded, and a plurality of processing circuits that perform decoding processing of the plurality of picture data in parallel based on the detection result of the detection means.

また、本発明の符号化方法は、予め決められた参照関係に基づいて複数のピクチャデータを符号化する符号化方法であって、前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の符号化処理が可能なデータを検出する第1の工程と、前記第1の工程の検出結果に基づいて、前記複数のピクチャデータの符号化処理を並列処理する第2の工程とを有する。   Also, the encoding method of the present invention is an encoding method for encoding a plurality of picture data based on a predetermined reference relationship, wherein the plurality of picture data is based on the reference relationship of the plurality of picture data. A first step of detecting data that can be encoded in the picture data, and a second step of performing parallel processing on the encoding processing of the plurality of picture data based on the detection result of the first step; Have

また、本発明の復号方法は、予め決められた参照関係に基づいて複数のピクチャデータを復号する復号方法であって、前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の復号処理が可能なデータを検出する第1の工程と、前記第1の工程の検出結果に基づいて、前記複数のピクチャデータの復号処理を並列処理する第2の工程とを有する。   The decoding method of the present invention is a decoding method for decoding a plurality of picture data based on a predetermined reference relationship, and includes a plurality of pieces of picture data based on the reference relationship of the plurality of picture data. A first step of detecting data that can be decoded, and a second step of parallelly decoding the plurality of picture data based on the detection result of the first step.

また、本発明のプログラムは、予め決められた参照関係に基づいて複数のピクチャデータを符号化するコンピュータが実行するプログラムであって、前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の符号化処理が可能なデータを検出する第1の手順と、前記第1の手順の検出結果に基づいて、前記複数のピクチャデータの符号化処理を並列処理する第2の手順とを前記コンピュータに実行させる。   The program of the present invention is a program executed by a computer that encodes a plurality of picture data based on a predetermined reference relation, and the plurality of picture data is based on the reference relation of the plurality of picture data. A first procedure for detecting data that can be encoded in picture data; and a second procedure for performing parallel processing on the encoding processing of the plurality of picture data based on the detection result of the first procedure; Is executed by the computer.

また、本発明のプログラムは、予め決められた参照関係に基づいて複数のピクチャデータを復号するコンピュータが実行するプログラムであって、前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の復号処理が可能なデータを検出する第1の手順と、前記第1の手順の検出結果に基づいて、前記複数のピクチャデータの復号処理を並列処理する第2の手順とを前記コンピュータに実行させる。   The program of the present invention is a program executed by a computer that decodes a plurality of picture data based on a predetermined reference relationship, and the plurality of pictures is based on the reference relationship of the plurality of picture data. A first procedure for detecting data that can be decoded in the data, and a second procedure for performing parallel decoding processing on the plurality of picture data based on a detection result of the first procedure. To run.

本発明によれば、予め決められた参照関係に基づいて複数のピクチャデータを符号化する場合の処理時間を短縮できる符号化装置、符号化方法およびそのプログラムを提供することができる。
また、本発明によれば、予め決められた参照関係に基づいて符号化された複数のピクチャデータを復号する場合の処理時間を短縮できる復号装置、復号方法およびそのプログラムを提供することができる。
According to the present invention, it is possible to provide an encoding device, an encoding method, and a program thereof that can shorten the processing time when encoding a plurality of picture data based on a predetermined reference relationship.
Furthermore, according to the present invention, it is possible to provide a decoding device, a decoding method, and a program thereof that can shorten the processing time when decoding a plurality of picture data encoded based on a predetermined reference relationship.

以下、本発明の実施形態に係わる符号化装置について説明する。
<第1実施形態>
先ず、本実施形態の構成要素と、本発明の構成要素との関係を説明する。
図1に示す処理可能MB探索回路130が本発明の検出手段の一例である。
また、本実施形態のプロセッサ111,112が、本発明の処理回路の一例である。
また、本実施形態のマクロブロックMBが、本発明のブロックデータの一例である。
Hereinafter, an encoding apparatus according to an embodiment of the present invention will be described.
<First Embodiment>
First, the relationship between the component of this embodiment and the component of this invention is demonstrated.
The processable MB search circuit 130 shown in FIG. 1 is an example of the detection means of the present invention.
Moreover, the processors 111 and 112 of this embodiment are examples of the processing circuit of this invention.
Further, the macro block MB of the present embodiment is an example of the block data of the present invention.

以下、本実施形態の画像処理装置1について説明する。
図1は、本実施形態の画像処理装置1の概念図である。
図1に示すように、画像処理装置1は、例えば、マルチプロセッサ110、エントロピー符号/算術符号化回路121、エントロピー復号/算術復号回路122、処理可能MB探索回路130、ビットストリームメモリ140、ワークメモリ150、フレームメモリ160を有する。
図1に示すように、マルチプロセッサ110は、制御用バス115を介して、エントロピー符号/算術符号化回路121、エントロピー復号/算術復号回路122および処理可能MB探索回路130と接続されている。
また、マルチプロセッサ110は、画像データ用バス135を介して、ビットストリームメモリ140、ワークメモリ150およびフレームメモリ160と接続されている。
また、エントロピー符号/算術符号化回路121、エントロピー復号/算術復号回路122、処理可能MB探索回路130、ビットストリームメモリ140、ワークメモリ150およびフレームメモリ160は、画像データ用バス135を介して接続されている。
Hereinafter, the image processing apparatus 1 of the present embodiment will be described.
FIG. 1 is a conceptual diagram of an image processing apparatus 1 according to the present embodiment.
As shown in FIG. 1, the image processing apparatus 1 includes, for example, a multiprocessor 110, an entropy code / arithmetic encoding circuit 121, an entropy decoding / arithmetic decoding circuit 122, a processable MB search circuit 130, a bit stream memory 140, a work memory. 150 and a frame memory 160.
As shown in FIG. 1, the multiprocessor 110 is connected to an entropy code / arithmetic encoding circuit 121, an entropy decoding / arithmetic decoding circuit 122, and a processable MB search circuit 130 via a control bus 115.
The multiprocessor 110 is connected to the bit stream memory 140, the work memory 150, and the frame memory 160 via the image data bus 135.
The entropy code / arithmetic encoding circuit 121, the entropy decoding / arithmetic decoding circuit 122, the processable MB search circuit 130, the bit stream memory 140, the work memory 150, and the frame memory 160 are connected via an image data bus 135. ing.

本実施形態では、マルチプロセッサ110の処理は図示しないメモリに記憶されたプログラム(本発明のプログラムの一例)に基づいて行われる。   In the present embodiment, the processing of the multiprocessor 110 is performed based on a program (an example of the program of the present invention) stored in a memory (not shown).

図1に示すエントロピー符号/算術符号化回路121は、マルチプロセッサ110で符号化されたピクチャデータにエントロピー符号化あるいは算術符号化を施してビットストリームメモリ140に書き込む。
また、エントロピー復号/算術復号回路122は、マルチプロセッサ110において復号処理を行う場合に、画像データ用バス135を介してビットストリームメモリ140から入力したピクチャデータをエントロピー復号あるいは算術復号し、制御用バス115を介してマルチプロセッサ110に出力する。
The entropy code / arithmetic encoding circuit 121 shown in FIG. 1 performs entropy encoding or arithmetic encoding on the picture data encoded by the multiprocessor 110 and writes the result to the bitstream memory 140.
The entropy decoding / arithmetic decoding circuit 122 performs entropy decoding or arithmetic decoding on the picture data input from the bit stream memory 140 via the image data bus 135 when the multiprocessor 110 performs decoding processing, and the control bus. The data is output to the multiprocessor 110 via 115.

また、エントロピー符号/算術符号化回路121、エントロピー復号/算術復号回路122、並びに処理可能MB探索回路130などは、例えば、CMOS(Complementary Metal-Oxide Semiconductor)ゲートで構成される。
また、ワークメモリ150は、例えば、SRAM(Static RAM)である。
また、ビットストリームメモリ140およびワークメモリ150は、例えば、DDR−SDRAMである。
Further, the entropy code / arithmetic encoding circuit 121, the entropy decoding / arithmetic decoding circuit 122, the processable MB search circuit 130, and the like are configured by, for example, CMOS (Complementary Metal-Oxide Semiconductor) gates.
The work memory 150 is, for example, an SRAM (Static RAM).
The bit stream memory 140 and the work memory 150 are, for example, DDR-SDRAM.

[マルチプロセッサ110]
マルチプロセッサ110は、マクロブロックMBを単位とした符号化処理と復号処理とを行う。
本実施形態では、マルチプロセッサ110は、符号化方式として、例えば、H.264/AVCや、MPEGなどを採用する。
なお、本実施形態のピクチャデータは、フレームデータ、フィールドデータのいずれでもよい。
[Multiprocessor 110]
The multiprocessor 110 performs encoding processing and decoding processing in units of macroblocks MB.
In the present embodiment, the multiprocessor 110 uses, for example, H.264 as an encoding method. H.264 / AVC, MPEG, etc. are adopted.
Note that the picture data of this embodiment may be either frame data or field data.

<符号化処理>
図2は、図1に示すマルチプロセッサ110が行う符号化処理の機能ブロック図である。
マルチプロセッサ110は、符号化処理において、図2に示す演算部24、直交変換部25、量子化部26、逆量子化部29、逆直交変換部30、デブロックフィルタ31、加算部33、イントラ予測部41、並びに動き予測・補償部42の機能を実現する。
<Encoding process>
FIG. 2 is a functional block diagram of the encoding process performed by the multiprocessor 110 shown in FIG.
In the encoding process, the multiprocessor 110 performs the operation unit 24, the orthogonal transform unit 25, the quantization unit 26, the inverse quantization unit 29, the inverse orthogonal transform unit 30, the deblock filter 31, the addition unit 33, the intra unit illustrated in FIG. The functions of the prediction unit 41 and the motion prediction / compensation unit 42 are realized.

演算部24は、符号化対象のピクチャデータT_PICと、イントラ予測部41または動き予測・補償部42から入力した予測画像データとの差分を示す画像データS24を生成し、これを直交変換部25に出力する。
直交変換部25は、画像データS24に離散コサイン変換(DCT:Discrete Cosine Transform)やカルーネン・レーベ変換などの直交変換を施して変換係数を示す画像データ(例えばDCT係数)S25を生成し、これを量子化部26に出力する。
The calculation unit 24 generates image data S24 indicating a difference between the picture data T_PIC to be encoded and the predicted image data input from the intra prediction unit 41 or the motion prediction / compensation unit 42, and supplies this to the orthogonal transform unit 25. Output.
The orthogonal transform unit 25 generates image data (for example, DCT coefficient) S25 indicating transform coefficients by performing orthogonal transform such as discrete cosine transform (DCT) or Karhunen-Loeve transform on the image data S24. The data is output to the quantization unit 26.

量子化部26は、画像データS25(量子化前の変換係数)を量子化して量子化後の変換係数を示す画像データS26を生成し、これを図1に示すエントロピー符号/算術符号化回路121と、図2に示す逆量子化部29とに出力する。
逆量子化部29は、量子化部26の量子化に対応した逆量子化処理を画像データS26に施して、それによって得られたデータを生成し、これを逆直交変換部30に出力する。
逆直交変換部30は、逆量子化部29から入力したデータに、直交変換部25における直交変換の逆変換を施して生成した画像データを加算部33に出力する。
The quantization unit 26 quantizes the image data S25 (transformation coefficient before quantization) to generate image data S26 indicating the transform coefficient after quantization, which is generated by the entropy code / arithmetic coding circuit 121 shown in FIG. And to the inverse quantization unit 29 shown in FIG.
The inverse quantization unit 29 performs an inverse quantization process corresponding to the quantization of the quantization unit 26 on the image data S <b> 26, generates data obtained thereby, and outputs this to the inverse orthogonal transform unit 30.
The inverse orthogonal transform unit 30 outputs the image data generated by performing the inverse transform of the orthogonal transform in the orthogonal transform unit 25 to the data input from the inverse quantization unit 29 to the adding unit 33.

加算部33は、逆直交変換部30から入力した(デコードされた)画像データと、イントラ予測部41あるいは動き予測・補償部42から入力した予測画像データPIとを加算して参照(再構成)ピクチャデータを生成し、これをデブロックフィルタ31に出力する。
デブロックフィルタ31は、参照ピクチャデータのブロック歪みを除去した画像データを、参照ピクチャデータR_PICとしてワークメモリ150に書き込む。
The adding unit 33 adds (decodes) the image data input (decoded) from the inverse orthogonal transform unit 30 and the predicted image data PI input from the intra prediction unit 41 or the motion prediction / compensation unit 42 to be referred (reconstructed). Picture data is generated and output to the deblocking filter 31.
The deblock filter 31 writes the image data from which the block distortion of the reference picture data is removed to the work memory 150 as reference picture data R_PIC.

イントラ予測部41は、イントラ符号化するマクロブロックMBにおいて、残差が最小となるイントラ予測のモードおよび予測ブロックのブロックサイズを決定する。
イントラ予測部41は、ブロックサイズとして、4x4および16x16画素を用いる。
イントラ予測部41は、イントラ予測が選択された場合に、イントラ予測による予測画像データPIを演算部24および加算部33に出力する。
The intra prediction unit 41 determines the intra prediction mode and the block size of the prediction block that minimize the residual in the macroblock MB to be intra-coded.
The intra prediction unit 41 uses 4 × 4 and 16 × 16 pixels as the block size.
The intra prediction unit 41 outputs predicted image data PI based on intra prediction to the calculation unit 24 and the addition unit 33 when intra prediction is selected.

動き予測・補償部42は、既に符号化され、局所復号され、ワークメモリ150に記録されている画像から、動き予測を行い、残差を最小にする動きベクトルおよび動く補償のブロックサイズを決定する。
動き予測・補償部42は、ブロックサイズとして、16x16、16x8、8x16、8x8、8x4、4x8および4x4画素を用いる。
動き予測・補償部42は、インター予測が選択された場合に、インター予測による予測画像データPIを演算部24および加算部33に出力する。
The motion prediction / compensation unit 42 performs motion prediction from an image that has already been encoded, locally decoded, and recorded in the work memory 150, and determines a motion vector that minimizes the residual and a block size for motion compensation. .
The motion prediction / compensation unit 42 uses 16 × 16, 16 × 8, 8 × 16, 8 × 8, 8 × 4, 4 × 8, and 4 × 4 pixels as block sizes.
When the inter prediction is selected, the motion prediction / compensation unit 42 outputs the predicted image data PI based on the inter prediction to the calculation unit 24 and the addition unit 33.

マルチプロセッサ110は、処理可能MB探索回路130の探索結果に基づいて、複数のピクチャデータ間で並列処理して図2に示す符号化処理を行う。
また、マルチプロセッサ110は、処理可能MB探索回路130の探索結果に基づいて、ピクチャデータ内の複数のマクロブロックMB間で、図2に示す符号化処理を並列に行う。
Based on the search result of the processable MB search circuit 130, the multiprocessor 110 performs a parallel process between a plurality of picture data and performs the encoding process shown in FIG.
Further, the multiprocessor 110 performs the encoding process shown in FIG. 2 in parallel between a plurality of macroblocks MB in the picture data based on the search result of the processable MB search circuit 130.

[処理可能MB探索回路130(符号化時)]
図3は、マルチプロセッサ110の符号化時における図1に示す処理可能MB探索回路130の処理を説明するためのフローチャートである。
ステップST11:
処理可能MB探索回路130は、カレント(符号化対象)マクロブロックMBが未符号化であり、当該カレントマクロブロックMBの画面左および上(図4に示すマクロブロックMB_A,MB_B,MB_C)が符号化済であるという条件を満たすか否かを判断し、満たすと判断するとステップST12に進み、そうでない場合にはステップST14に進む。
[Processable MB search circuit 130 (when encoding)]
FIG. 3 is a flowchart for explaining the processing of the processable MB search circuit 130 shown in FIG. 1 when the multiprocessor 110 is encoded.
Step ST11:
In the processable MB search circuit 130, the current (encoding target) macroblock MB is unencoded, and the left and top (macroblocks MB_A, MB_B, MB_C shown in FIG. 4) of the current macroblock MB are encoded. It is determined whether or not the condition of being completed is satisfied. If it is determined that the condition is satisfied, the process proceeds to step ST12, and if not, the process proceeds to step ST14.

ステップST12:
処理可能MB探索回路130は、図5に示すように、カレントマクロブロックMBの参照ピクチャ内の探索領域(参照領域)のマクロブロックMBが符号化済であるという条件を満たすか否かを判断し、満たすと判断するとステップST13に進み、そうでない場合にはステップST14に進む。
Step ST12:
As shown in FIG. 5, the processable MB search circuit 130 determines whether or not the condition that the macroblock MB in the search area (reference area) in the reference picture of the current macroblock MB has been encoded is satisfied. If it is determined that the condition is satisfied, the process proceeds to step ST13. If not, the process proceeds to step ST14.

ステップST13:
処理可能MB探索回路130は、カレントマクロブロックMBを符号化処理可能マクロブロックリストEPMLに登録する。
Step ST13:
The processable MB search circuit 130 registers the current macroblock MB in the encoding processable macroblock list EPML.

ステップST14:
処理可能MB探索回路130は、カレントマクロブロックMBとして未選択のマクロブロックMBをカレントマクロブロックMBとして選択する。
具体的には、処理可能MB探索回路130は、選択するマクロブロックMBのアドレスをインクリメントする。
ステップST15:
処理可能MB探索回路130は、1ピクチャデータ内の全てのマクロブロックMBについてステップST11の処理を終了したと判断するとステップST16に進み、そうでない場合にはステップST11に進む。
ステップST16:
処理可能MB探索回路130は、マルチプロセッサ110で連続して符号化処理される3ピクチャデータについてステップST11〜ST15の処理が終了したと判断するとステップST18に進み、そうでない場合にはステップST17に進む。
Step ST14:
The processable MB search circuit 130 selects an unselected macroblock MB as the current macroblock MB as the current macroblock MB.
Specifically, the processable MB search circuit 130 increments the address of the selected macroblock MB.
Step ST15:
The processable MB search circuit 130 proceeds to step ST16 when determining that the process of step ST11 has been completed for all macroblocks MB in one picture data, and otherwise proceeds to step ST11.
Step ST16:
The processable MB search circuit 130 proceeds to step ST18 when determining that the processing of steps ST11 to ST15 has been completed for the three picture data continuously encoded by the multiprocessor 110, and proceeds to step ST17 otherwise. .

ステップST17:
処理可能MB探索回路130は、選択するマクロブロックMBのアドレスを「0」にリセットする。
ステップST18:
処理可能MB探索回路130は、マルチプロセッサ110で並列的に符号化される3ピクチャデータについて符号化処理を終了したと判断すると処理を終了し、そうでない場合にはステップST11に戻る。
Step ST17:
The processable MB search circuit 130 resets the address of the selected macroblock MB to “0”.
Step ST18:
The processable MB search circuit 130 ends the process when it determines that the encoding process has been completed for the three picture data encoded in parallel by the multiprocessor 110, and returns to step ST11 otherwise.

以下、図1に示す画像処理装置1の符号化処理の動作例を説明する。
図6は、図1に示す画像処理装置1の符号化処理の動作例を説明するためのフローチャートである。
ステップST21:
図1に示すプロセッサ111が、エントロピー符号/算術符号化回路121を起動する。
これにより、エントロピー符号/算術符号化回路121が、後のステップST25においてマルチプロセッサ110で符号化されたピクチャデータにエントロピー符号化あるいは算術符号化を施してビットストリームメモリ140に書き込む処理を開始可能な状態になる。
ステップST22:
プロセッサ111が、図1に示す処理可能MB探索回路130を起動する。
これにより、処理可能MB探索回路130が、図3に示す処理を行い符号化処理可能MBリストEPMLを生成する。
Hereinafter, an operation example of the encoding process of the image processing apparatus 1 illustrated in FIG. 1 will be described.
FIG. 6 is a flowchart for explaining an operation example of the encoding process of the image processing apparatus 1 shown in FIG.
Step ST21:
The processor 111 shown in FIG. 1 activates the entropy code / arithmetic coding circuit 121.
As a result, the entropy code / arithmetic encoding circuit 121 can start the process of performing entropy encoding or arithmetic encoding on the picture data encoded by the multiprocessor 110 in step ST25 and writing the picture data in the bit stream memory 140. It becomes a state.
Step ST22:
The processor 111 activates the processable MB search circuit 130 shown in FIG.
As a result, the processable MB search circuit 130 performs the process shown in FIG. 3 and generates an encoding processable MB list EPML.

ステップST23:
プロセッサ(親プロセッサ)111が、プロセッサ(子プロセッサ)112を起動する。
これにより、プロセッサ112が後述する図7に示す処理を行う。
ステップST24:
プロセッサ111が、処理可能MB探索回路130に符号化処理可能なマクロブロックMBを問い合わせる。
処理可能MB探索回路130は、プロセッサ111からの問い合わせに基づいて、図3に示す手順で生成した符号化処理可能マクロブロックリストEPMLを基に、プロセッサ111に割り当てられたマクロブロックMBのなかに、符号化処理可能なマクロブロックMBがあるか否かを判断し、符号化処理可能なマクロブロックMBがあると判断すると、そのマクロブロックMBをプロセッサ111に通知する。
プロセッサ111は、処理可能なマクロブロックMBがある旨の通知を受けると、ステップST25に進み、そうでない場合にはステップST26に進む。
Step ST23:
The processor (parent processor) 111 activates the processor (child processor) 112.
Thereby, the processor 112 performs the process shown in FIG.
Step ST24:
The processor 111 inquires the processable MB search circuit 130 for a macroblock MB that can be encoded.
The processable MB search circuit 130, based on the inquiry from the processor 111, in the macroblock MB allocated to the processor 111 based on the encoding processable macroblock list EPML generated by the procedure shown in FIG. It is determined whether there is a macroblock MB that can be encoded. If it is determined that there is a macroblock MB that can be encoded, the processor 111 is notified of the macroblock MB.
Upon receiving notification that there is a processable macroblock MB, the processor 111 proceeds to step ST25, otherwise proceeds to step ST26.

ステップST25:
プロセッサ111は、処理対象のマクロブロックMBの符号化処理を行う。
具体的には、プロセッサ111は、処理対象のマクロブロックMBについて、図2に示す機能ブロックに従って符号化処理を行い、その結果を例えば図1に示すワークメモリ150やフレームメモリ160を介してエントロピー符号/算術符号化回路121に出力する。
ステップST26:
プロセッサ111は、例えば、マルチプロセッサ110が実行するシステム管理スレッドなどの上位システムの判断結果を基に、符号化処理を終了したと判断すると処理を終了し、そうでない場合にはステップST24に戻る。
Step ST25:
The processor 111 performs encoding processing of the macro block MB to be processed.
Specifically, the processor 111 performs an encoding process on the processing target macroblock MB according to the functional block shown in FIG. 2, and the result is entropy encoded via the work memory 150 and the frame memory 160 shown in FIG. / Output to arithmetic coding circuit 121.
Step ST26:
For example, when the processor 111 determines that the encoding process has ended based on the determination result of the host system such as a system management thread executed by the multiprocessor 110, the processor 111 ends the process. Otherwise, the process returns to step ST24.

図7は、図6に示すステップST23において、プロセッサ111によって起動されたプロセッサ112が実行する符号化処理を説明するためのフローチャートである。
ステップST31:
プロセッサ112が、処理可能MB探索回路130に符号化処理可能なマクロブロックMBを問い合わせる。
処理可能MB探索回路130は、プロセッサ112からの問い合わせに基づいて、図3に示す手順で生成した符号化処理可能マクロブロックリストEPMLを基に、プロセッサ112に割り当てられたマクロブロックMBのなかに、符号化処理可能なマクロブロックMBがあるか否かを判断し、符号化処理可能なマクロブロックMBがあると判断すると、そのマクロブロックMBをプロセッサ112に通知する。
プロセッサ112は、符号化処理可能なマクロブロックMBがある旨の通知を受けると、ステップST32に進み、そうでない場合にはステップST33に進む。
FIG. 7 is a flowchart for explaining the encoding process executed by the processor 112 activated by the processor 111 in step ST23 shown in FIG.
Step ST31:
The processor 112 inquires the processable MB search circuit 130 about a macroblock MB that can be encoded.
The processable MB search circuit 130, based on the inquiry from the processor 112, in the macroblock MB allocated to the processor 112 based on the encoding processable macroblock list EPML generated by the procedure shown in FIG. It is determined whether there is a macroblock MB that can be encoded. If it is determined that there is a macroblock MB that can be encoded, the processor 112 is notified of the macroblock MB.
Upon receiving notification that there is a macroblock MB that can be encoded, the processor 112 proceeds to step ST32, otherwise proceeds to step ST33.

ステップST32:
プロセッサ112は、処理対象のマクロブロックMBの符号化処理を行う。
具体的には、プロセッサ112は、処理対象のマクロブロックMBについて、図2に示す機能ブロックに従って符号化処理を行い、その結果を例えば図1に示すワークメモリ150やフレームメモリ160を介してエントロピー符号/算術符号化回路121に出力する。
ステップST33:
プロセッサ112は、符号化処理を終了したと判断すると処理を終了し、そうでない場合にはステップST31に戻る。
Step ST32:
The processor 112 performs an encoding process on the processing target macroblock MB.
Specifically, the processor 112 performs encoding processing on the macro block MB to be processed according to the functional block shown in FIG. 2, and the result is entropy encoded via the work memory 150 and the frame memory 160 shown in FIG. / Output to arithmetic coding circuit 121.
Step ST33:
When determining that the encoding process has ended, the processor 112 ends the process, and otherwise returns to step ST31.

図8は、図1に示す画像処理装置1が符号化処理を行った場合のプロセッサ111,112およびエントロピー符号/算術符号化回路121における処理の流れを説明するための図である。
図8に示すように、期間X1において、プロセッサ111がI1ピクチャデータの上半分の符号化処理を行う。
次に、期間X2において、プロセッサ111によるI1ピクチャデータの下半分の符号化処理と、プロセッサ112によるP2ピクチャデータの上半分の符号化処理とを並行して行う。
次に、期間X3において、プロセッサ111によるB3ピクチャデータの上半分の符号化処理と、プロセッサ112によるP2ピクチャデータの下半分の符号化処理とを並列に行う。また、それと並行して、エントロピー符号/算術符号化回路121が、I1ピクチャデータのエントロピー符号化あるいは算術符号化処理を行う。
次に、期間X4において、プロセッサ111によるB3ピクチャデータの下半分の符号化処理と、プロセッサ112によるB4ピクチャデータの上半分の符号化処理とを並列に行う。また、それと並行して、エントロピー符号/算術符号化回路121が、P2ピクチャデータのエントロピー符号化あるいは算術符号化処理を行う。
なお、図8に示すプロセッサ111,112の符号化処理は、図2に示す機能ブロックに従って行われる。
FIG. 8 is a diagram for explaining a processing flow in the processors 111 and 112 and the entropy code / arithmetic coding circuit 121 when the image processing apparatus 1 shown in FIG. 1 performs the coding process.
As shown in FIG. 8, in the period X1, the processor 111 performs the upper half encoding process of the I1 picture data.
Next, in the period X2, the lower half encoding process of the I1 picture data by the processor 111 and the upper half encoding process of the P2 picture data by the processor 112 are performed in parallel.
Next, in the period X3, the encoding process for the upper half of the B3 picture data by the processor 111 and the encoding process for the lower half of the P2 picture data by the processor 112 are performed in parallel. In parallel with this, the entropy code / arithmetic coding circuit 121 performs entropy coding or arithmetic coding processing of the I1 picture data.
Next, in the period X4, the lower half encoding process of the B3 picture data by the processor 111 and the upper half encoding process of the B4 picture data by the processor 112 are performed in parallel. In parallel with this, the entropy code / arithmetic coding circuit 121 performs entropy coding or arithmetic coding processing of the P2 picture data.
Note that the encoding processing of the processors 111 and 112 shown in FIG. 8 is performed according to the functional blocks shown in FIG.

ところで、図8に示す例では、プロセッサ111が、I1ピクチャデータの上半分と下半分、B3ピクチャデータの上半分と下半分、P5ピクチャデータの上半分と下半分の符号化処理を実行し、プロセッサ112が、P2ピクチャデータの上半分と下半分、B4ピクチャデータの上半分と下半分、B6ピクチャデータの上半分と下半分の符号化処理を実行する場合を例示したが、各ピクチャデータのマクロブロックMBの処理は、参照関係に基づいて並列処理が可能であれば、プロセッサ111,112の何れで実行されてもよい。   By the way, in the example shown in FIG. 8, the processor 111 executes encoding processing of the upper half and the lower half of the I1 picture data, the upper half and the lower half of the B3 picture data, and the upper half and the lower half of the P5 picture data, The case where the processor 112 executes the encoding process of the upper half and the lower half of the P2 picture data, the upper half and the lower half of the B4 picture data, and the upper half and the lower half of the B6 picture data is illustrated. The processing of the macro block MB may be executed by any of the processors 111 and 112 as long as parallel processing is possible based on the reference relationship.

<復号処理>
[マルチプロセッサ110(復号時)]
図9は、図1に示すマルチプロセッサ110が行う復号処理の機能ブロック図である。
マルチプロセッサ110は、復号処理において、図9に示す逆量子化部83、逆直交変換部84、加算部85、イントラ予測部89、並びに動き予測・補償部90などの機能を実現する。
<Decryption process>
[Multiprocessor 110 (during decoding)]
FIG. 9 is a functional block diagram of a decoding process performed by the multiprocessor 110 shown in FIG.
The multiprocessor 110 implements functions such as the inverse quantization unit 83, the inverse orthogonal transform unit 84, the addition unit 85, the intra prediction unit 89, and the motion prediction / compensation unit 90 illustrated in FIG. 9 in the decoding process.

逆量子化部83は、エントロピー復号/算術復号回路122から入力した可逆復号後の画像データS82を、図2に示す量子化部26に対応した逆量子化方法で逆量子化して画像データS83を生成し、これを逆直交変換部84に出力する。
逆直交変換部84は、逆量子化部83から入力した画像データS83を、図2に示す直交変換部25の直交変換に対応した直交逆変換を行って画像データS84を生成し、これを加算部85に出力する。
加算部85は、イントラ予測部89あるいは動き予測・補償部90から入力した予測画像と、逆直交変換部84から入力した画像データS84とを加算して画像データS85を生成し、これをワークメモリ150およびフレームメモリ160に書き込む。
The inverse quantization unit 83 inversely quantizes the image data S82 after lossless decoding input from the entropy decoding / arithmetic decoding circuit 122 by an inverse quantization method corresponding to the quantization unit 26 illustrated in FIG. This is generated and output to the inverse orthogonal transform unit 84.
The inverse orthogonal transform unit 84 performs the orthogonal inverse transform corresponding to the orthogonal transform of the orthogonal transform unit 25 shown in FIG. 2 on the image data S83 input from the inverse quantization unit 83 to generate the image data S84, and adds this. To the unit 85.
The adding unit 85 adds the predicted image input from the intra prediction unit 89 or the motion prediction / compensation unit 90 and the image data S84 input from the inverse orthogonal transform unit 84 to generate image data S85, which is generated as work memory. 150 and the frame memory 160 are written.

イントラ予測部89は、ワークメモリ150から読み出した画像データS85内の復号対象のブロックデータがイントラ予測符号化されたものである場合に、当該ブロックデータをイントラ方式で復号して予測画像データを生成し、これを加算部85に出力する。
動き予測・補償部90は、ワークメモリ150から読み出した画像データS85内の復号対象のブロックデータがインター予測符号化されたものである場合に、当該ブロックデータをインター方式で復号して予測画像データを生成し、これを加算部85に出力する。
When the block data to be decoded in the image data S85 read from the work memory 150 is subjected to intra prediction encoding, the intra prediction unit 89 generates predicted image data by decoding the block data using the intra method. This is output to the adder 85.
When the block data to be decoded in the image data S85 read from the work memory 150 has been subjected to inter prediction encoding, the motion prediction / compensation unit 90 decodes the block data using the inter method and predicts image data. Is output to the adder 85.

[処理可能MB探索回路130(復号時)]
図10は、マルチプロセッサ110の復号時における図1に示す処理可能MB探索回路130の処理を説明するためのフローチャートである。
ステップST41:
処理可能MB探索回路130は、カレント(復号対象)マクロブロックMBが未復号であり、当該カレントマクロブロックMBの画面左および上(図4に示すマクロブロックMB_A,MB_B,MB_C)が復号済であるという条件を満たすか否かを判断し、満たすと判断するとステップST42に進み、そうでない場合にはステップST45に進む。
[Processable MB search circuit 130 (in decoding)]
FIG. 10 is a flowchart for explaining the processing of the processable MB search circuit 130 shown in FIG.
Step ST41:
In the processable MB search circuit 130, the current (decoding target) macroblock MB has not been decoded, and the screen left and top (macroblocks MB_A, MB_B, MB_C shown in FIG. 4) of the current macroblock MB have been decoded. If it is determined whether or not the above condition is satisfied, the process proceeds to step ST42. If not, the process proceeds to step ST45.

ステップST42:
処理可能MB探索回路130は、カレントマクロブロックMBがイントラ符号化されているか否かを判断し、イントラ符号化されていると判断すると、ステップST44に進み、そうでない場合(インター符号化されている場合)にステップST43に進む。
ステップST43:
処理可能MB探索回路130は、例えば、図1および図9に示すエントロピー復号/算術復号回路122から入力したカレントマクロブロックMBの動きベクトルMVに基づいて、その参照画像データ内の動きベクトルMVで指し示されるマクロブロックMBが既に復号済みであるか否かを判断し、復号済みであると判断するとステップST44に進み、そうでない場合にはステップST45に進む。
Step ST42:
The processable MB search circuit 130 determines whether or not the current macroblock MB is intra-encoded, and if it is determined that it is intra-encoded, the process proceeds to step ST44; otherwise (inter-encoded). In step ST43).
Step ST43:
The processable MB search circuit 130 indicates, for example, the motion vector MV in the reference image data based on the motion vector MV of the current macroblock MB input from the entropy decoding / arithmetic decoding circuit 122 shown in FIGS. It is determined whether or not the indicated macroblock MB has already been decoded. If it is determined that the macroblock MB has been decoded, the process proceeds to step ST44, and if not, the process proceeds to step ST45.

ステップST44:
処理可能MB探索回路130は、カレントマクロブロックMBを復号処理可能マクロブロックリストDPMLに登録する。
ステップST45:
処理可能MB探索回路130は、カレントマクロブロックMBとして未選択のマクロブロックMBをカレントマクロブロックMBとして選択する。
具体的には、処理可能MB探索回路130は、選択するマクロブロックMBのアドレスをインクリメントする。
ステップST46:
処理可能MB探索回路130は、1ピクチャデータ内の全てのマクロブロックMBについてステップST41の処理を終了したと判断するとステップST47に進み、そうでない場合にはステップST41に進む。
ステップST47:
処理可能MB探索回路130は、マルチプロセッサ110で連続して復号される3ピクチャデータについてステップST41〜ST46の処理が終了したと判断するとステップST48に進み、そうでない場合にはステップST49に進む。
Step ST44:
The processable MB search circuit 130 registers the current macroblock MB in the decoding processable macroblock list DPML.
Step ST45:
The processable MB search circuit 130 selects an unselected macroblock MB as the current macroblock MB as the current macroblock MB.
Specifically, the processable MB search circuit 130 increments the address of the selected macroblock MB.
Step ST46:
The processable MB search circuit 130 proceeds to step ST47 when determining that the process of step ST41 has been completed for all macroblocks MB in one picture data, and otherwise proceeds to step ST41.
Step ST47:
The processable MB search circuit 130 proceeds to step ST48 when determining that the processing of steps ST41 to ST46 has been completed for the three picture data successively decoded by the multiprocessor 110, and proceeds to step ST49 otherwise.

ステップST48:
処理可能MB探索回路130は、選択するマクロブロックMBのアドレスを「0」にリセットする。
ステップST49:
処理可能MB探索回路130は、マルチプロセッサ110で連続して復号される3ピクチャデータについて復号処理を終了したと判断すると処理を終了し、そうでない場合にはステップST41に戻る。
Step ST48:
The processable MB search circuit 130 resets the address of the selected macroblock MB to “0”.
Step ST49:
The processable MB search circuit 130 ends the process when it determines that the decoding process has been completed for the three picture data continuously decoded by the multiprocessor 110, and returns to step ST41 otherwise.

以下、図1に示す画像処理装置1の復号処理の動作例を説明する。
図11は、図1に示す画像処理装置1の復号処理の動作例を説明するためのフローチャートである。
ステップST61:
図1に示すプロセッサ111が、エントロピー符号/算術復号回路122を起動する。
これにより、エントロピー復号/算術復号回路122は、マルチプロセッサ110において復号処理を行う場合に、画像データ用バス135を介してビットストリームメモリ140から入力したピクチャデータをエントロピー復号あるいは算術復号し、制御用バス115を介してマルチプロセッサ110に出力する。
ステップST62:
プロセッサ111が、図1に示す処理可能MB探索回路130を起動する。
これにより、処理可能MB探索回路130が、図10に示す処理を行い、復号処理可能MBリストDPMLを生成する。
Hereinafter, an operation example of the decoding process of the image processing apparatus 1 illustrated in FIG. 1 will be described.
FIG. 11 is a flowchart for explaining an operation example of the decoding process of the image processing apparatus 1 shown in FIG.
Step ST61:
The processor 111 shown in FIG. 1 activates the entropy code / arithmetic decoding circuit 122.
Thus, the entropy decoding / arithmetic decoding circuit 122 performs entropy decoding or arithmetic decoding on the picture data input from the bit stream memory 140 via the image data bus 135 when the multiprocessor 110 performs decoding processing, and performs control processing. The data is output to the multiprocessor 110 via the bus 115.
Step ST62:
The processor 111 activates the processable MB search circuit 130 shown in FIG.
As a result, the processable MB search circuit 130 performs the process shown in FIG. 10 and generates a decoding processable MB list DPML.

ステップST63:
プロセッサ(親プロセッサ)111が、プロセッサ(子プロセッサ)112を起動する。
これにより、プロセッサ112が後述する図12に示す処理を行う。
ステップST64:
プロセッサ111が、処理可能MB探索回路130に復号処理可能なマクロブロックMBを問い合わせる。
処理可能MB探索回路130は、プロセッサ111からの問い合わせに基づいて、図10に示す手順で生成した復号処理可能マクロブロックリストDPMLを基に、プロセッサ111に割り当てられたマクロブロックMBのなかに、復号処理可能なマクロブロックMBがあるか否かを判断し、復号処理可能なマクロブロックMBがあると判断すると、そのマクロブロックMBをプロセッサ111に通知する。
プロセッサ111は、復号処理可能なマクロブロックMBがある旨の通知を受けると、ステップST65に進み、そうでない場合にはステップST66に進む。
Step ST63:
The processor (parent processor) 111 activates the processor (child processor) 112.
Thereby, the processor 112 performs the process shown in FIG.
Step ST64:
The processor 111 inquires the processable MB search circuit 130 for a macroblock MB that can be decoded.
The processable MB search circuit 130 decodes the macroblock MB assigned to the processor 111 based on the decoding processable macroblock list DPML generated by the procedure shown in FIG. 10 based on the inquiry from the processor 111. It is determined whether there is a processable macroblock MB. If it is determined that there is a macroblock MB that can be decoded, the processor 111 is notified of the macroblock MB.
Upon receiving notification that there is a macroblock MB that can be decoded, the processor 111 proceeds to step ST65, and otherwise proceeds to step ST66.

ステップST65:
プロセッサ111は、復号処理対象のマクロブロックMBの復号処理を行う。
具体的には、プロセッサ111は、エントロピー復号/算術復号回路122から入力した復号処理対象のマクロブロックMBについて、図9に示す機能ブロックに従って復号処理を行い、その結果を例えば図1に示すワークメモリ150やフレームメモリ160に書き込む。
ステップST66:
プロセッサ111は、例えば、マルチプロセッサ110が実行するシステム管理スレッドなどの上位システムの判断結果を基に、復号処理を終了したと判断すると処理を終了し、そうでない場合にはステップST64に戻る。
Step ST65:
The processor 111 performs a decoding process on the decoding target macroblock MB.
Specifically, the processor 111 performs the decoding process on the decoding target macroblock MB input from the entropy decoding / arithmetic decoding circuit 122 according to the functional block shown in FIG. 150 and the frame memory 160 are written.
Step ST66:
For example, when the processor 111 determines that the decoding process has ended based on the determination result of the host system such as a system management thread executed by the multiprocessor 110, the processor 111 ends the process. Otherwise, the process returns to step ST64.

図12は、図11に示すステップST63において、プロセッサ111によって起動されたプロセッサ112が実行する復号処理を説明するためのフローチャートである。
ステップST71:
プロセッサ112が、処理可能MB探索回路130に復号処理可能なマクロブロックMBを問い合わせる。
処理可能MB探索回路130は、プロセッサ112からの問い合わせに基づいて、図10に示す手順で生成した復号処理可能マクロブロックリストDPMLを基に、プロセッサ112に割り当てられたマクロブロックMBのなかに、復号処理可能なマクロブロックMBがあるか否かを判断し、復号処理可能なマクロブロックMBがあると判断すると、そのマクロブロックMBをプロセッサ112に通知する。
プロセッサ112は、復号処理可能なマクロブロックMBがある旨の通知を受けると、ステップST72に進み、そうでない場合にはステップST73に進む。
FIG. 12 is a flowchart for explaining the decoding process executed by the processor 112 activated by the processor 111 in step ST63 shown in FIG.
Step ST71:
The processor 112 inquires the processable MB search circuit 130 for a macroblock MB that can be decoded.
Based on the inquiry from the processor 112, the processable MB search circuit 130 decodes the macroblock MB assigned to the processor 112 based on the decoding processable macroblock list DPML generated by the procedure shown in FIG. It is determined whether there is a processable macroblock MB. If it is determined that there is a macroblock MB that can be decoded, the processor 112 is notified of the macroblock MB.
Upon receiving notification that there is a macroblock MB that can be decoded, the processor 112 proceeds to step ST72, otherwise proceeds to step ST73.

ステップST72:
プロセッサ112は、復号処理対象のマクロブロックMBの符号化処理を行う。
具体的には、プロセッサ112は、エントロピー復号/算術復号回路122から入力した復号処理対象のマクロブロックMBについて、図9に示す機能ブロックに従って符号化処理を行い、その結果を例えば図9に示すワークメモリ150やフレームメモリ160に書き込む。
ステップST73:
プロセッサ112は、復号処理を終了したと判断すると処理を終了し、そうでない場合にはステップST71に戻る。
Step ST72:
The processor 112 performs an encoding process on the decoding target macroblock MB.
Specifically, the processor 112 performs an encoding process on the decoding target macroblock MB input from the entropy decoding / arithmetic decoding circuit 122 in accordance with the functional blocks shown in FIG. Write to the memory 150 or the frame memory 160.
Step ST73:
If processor 112 determines that the decoding process has ended, it ends the process, and if not, it returns to step ST71.

図13は、図1に示す画像処理装置1が復号処理を行った場合のエントロピー復号/算術復号回路122およびプロセッサ111,112における処理の流れを説明するための図である。
図13に示すように、期間X11において、エントロピー復号/算術復号回路122が、I1ピクチャデータの上半分のエントロピーあるいは算術復号処理を行う。
次に、期間X12において、プロセッサ111が、図9に示す機能ブロックに従って、エントロピー復号/算術復号回路122から入力したI1ピクチャデータの上半分の復号処理を行う。また、それと並行して、エントロピー復号/算術復号回路122によるP2ピクチャデータの復号処理が行われる。
次に、期間X13において、プロセッサ111によるI1ピクチャデータの下半分の復号処理と、プロセッサ112によるP2ピクチャデータの上半分の復号処理とが並行して行われる。また、それと並行して、エントロピー復号/算術復号回路122によるB3ピクチャデータの復号処理が行われる。
次に、期間X14において、プロセッサ111によるB3ピクチャデータの上半分の復号処理と、プロセッサ112によるP2ピクチャデータの下半分の復号処理とが並行して行われる。また、それと並行して、エントロピー復号/算術復号回路122によるB4ピクチャデータの復号処理が行われる。
なお、図13に示すプロセッサ111,112の復号処理は、図9に示す機能ブロックに従って行われる。
すなわち、プロセッサ111,112は、その復号処理において、図14に示すように、I,P,Bピクチャデータの復号処理を、処理可能MB探索回路130による復号処理可能なマクロブロックMBの判断結果を基に並列に実行する。
FIG. 13 is a diagram for explaining the flow of processing in the entropy decoding / arithmetic decoding circuit 122 and the processors 111 and 112 when the image processing apparatus 1 shown in FIG. 1 performs decoding processing.
As shown in FIG. 13, in the period X11, the entropy decoding / arithmetic decoding circuit 122 performs entropy or arithmetic decoding processing on the upper half of the I1 picture data.
Next, in the period X12, the processor 111 performs the decoding process on the upper half of the I1 picture data input from the entropy decoding / arithmetic decoding circuit 122 according to the functional block shown in FIG. At the same time, the entropy decoding / arithmetic decoding circuit 122 performs decoding processing of P2 picture data.
Next, in the period X13, the decoding process for the lower half of the I1 picture data by the processor 111 and the decoding process for the upper half of the P2 picture data by the processor 112 are performed in parallel. In parallel with this, the B3 picture data is decoded by the entropy decoding / arithmetic decoding circuit 122.
Next, in the period X14, the decoding process for the upper half of the B3 picture data by the processor 111 and the decoding process for the lower half of the P2 picture data by the processor 112 are performed in parallel. At the same time, the entropy decoding / arithmetic decoding circuit 122 performs decoding processing of B4 picture data.
Note that the decoding processing of the processors 111 and 112 shown in FIG. 13 is performed according to the functional blocks shown in FIG.
That is, in the decoding process, the processors 111 and 112 perform the decoding process of the I, P, and B picture data as shown in FIG. Run in parallel based on.

ところで、図13に示す例では、プロセッサ111が、I1ピクチャデータの上半分と下半分、B3ピクチャデータの上半分と下半分、P5ピクチャデータの上半分と下半分の復号処理を実行し、プロセッサ112が、P2ピクチャデータの上半分と下半分、B4ピクチャデータの上半分と下半分、B6ピクチャデータの上半分と下半分の復号処理を実行する場合を例示したが、各ピクチャデータ内のマクロブロックMBの処理は、参照関係に基づいて並列処理が可能であれば、プロセッサ111,112の何れで実行されてもよい。   By the way, in the example shown in FIG. 13, the processor 111 executes decoding processing of the upper half and the lower half of the I1 picture data, the upper half and the lower half of the B3 picture data, and the upper half and the lower half of the P5 picture data. 112 illustrates the case where the decoding process is performed on the upper half and the lower half of the P2 picture data, the upper half and the lower half of the B4 picture data, and the upper half and the lower half of the B6 picture data. The processing of the block MB may be executed by any of the processors 111 and 112 as long as parallel processing is possible based on the reference relationship.

以上説明したように、画像処理装置1では、プロセッサ111と112とで、複数のピクチャデータの符号化処理を並行して行う。そのため、画像処理装置1によれば、符号化処理の処理時間を短縮できる。
また、画像処理装置1では、プロセッサ111と112とで、複数のピクチャデータの復号処理を並行して行う。そのため、画像処理装置1によれば、復号処理の処理時間を短縮できる。
As described above, in the image processing apparatus 1, the processors 111 and 112 perform encoding processing of a plurality of picture data in parallel. Therefore, according to the image processing apparatus 1, the processing time of the encoding process can be shortened.
In the image processing apparatus 1, the processors 111 and 112 perform a decoding process on a plurality of picture data in parallel. Therefore, according to the image processing apparatus 1, the processing time of the decoding process can be shortened.

ところで、上述したように、画像処理装置1において、H.264/AVCの符号化あるいは復号処理を行うことで、例えば、動作周波数200MHz程度の低速且つ安価なプロセッサ111,112を用いてHD(High Definition)画像の符号化あるいは復号処理をソフトウェアで実行可能になる。   Incidentally, as described above, in the image processing apparatus 1, the By performing H.264 / AVC encoding or decoding processing, for example, HD (High Definition) image encoding or decoding processing can be executed by software using low-speed and inexpensive processors 111 and 112 having an operating frequency of about 200 MHz. Become.

<第2実施形態>
図15は、本実施形態の画像処理装置101の構成図である。
図15に示すように、画像処理装置101は、図1に示す画像処理装置と、マルチプロセッサ110aの構成、並びに処理可能MB探索回路130aの処理内容を除いて同じである。
Second Embodiment
FIG. 15 is a configuration diagram of the image processing apparatus 101 of the present embodiment.
As shown in FIG. 15, the image processing apparatus 101 is the same as the image processing apparatus shown in FIG. 1 except for the configuration of the multiprocessor 110a and the processing content of the processable MB search circuit 130a.

図15に示すように、マルチプロセッサ110aは、プロセッサ1111,1112,1113と、プロセッサ1121,1122,1123とを有する。
本実施形態において、プロセッサ1111,1112,1113は、第1実施形態で説明したプロセッサ111の処理を行う。
このとき、プロセッサ1111,1112,1113は、1ピクチャデータの符号化処理および復号処理を、図16に示すように並列的に行う。
すなわち、画像処理装置101では、符号化処理および復号処理を、複数のピクチャデータ間で並列に行うことに加えて、1ピクチャデータ内でも並列処理する。
また、プロセッサ1121,1122,1123は、第1実施形態で説明したプロセッサ112の処理を行う。
このとき、プロセッサ1121,1122,1123は、1ピクチャデータの符号化処理および復号処理を、図16に示すように並列的に行う。
As illustrated in FIG. 15, the multiprocessor 110 a includes processors 1111, 1112, 1113 and processors 1121, 1122, 1123.
In the present embodiment, the processors 1111, 1112, and 1113 perform the processing of the processor 111 described in the first embodiment.
At this time, the processors 1111, 1112, and 1113 perform encoding processing and decoding processing of one picture data in parallel as shown in FIG.
That is, in the image processing apparatus 101, in addition to performing encoding processing and decoding processing in parallel between a plurality of picture data, parallel processing is also performed in one picture data.
The processors 1121, 1122, and 1123 perform the processing of the processor 112 described in the first embodiment.
At this time, the processors 1121, 1122, and 1123 perform encoding processing and decoding processing of one picture data in parallel as shown in FIG.

ここで、図16に示すように、例えば、プロセッサ1111がピクチャデータ内の垂直方向V1のライン上のマクロブロックMBについて図中左から右に向けて順に符号化処理を行う。
また、プロセッサ1111の処理と並行して、プロセッサ1112が、プロセッサ1111によって既に上側に隣接するマクロブロックMBが符号化済となった垂直方向V2のライン上のカレントマクロブロックMBの符号化処理を行う。
また、プロセッサ1111,1112の処理と並行して、プロセッサ1113が、プロセッサ1112によって既に上側に隣接するマクロブロックMBが符号化済となった垂直方向V3のライン上のカレントマクロブロックMBの符号化処理を行う。
Here, as shown in FIG. 16, for example, the processor 1111 performs encoding processing sequentially from the left to the right in the figure for the macroblock MB on the line in the vertical direction V1 in the picture data.
In parallel with the processing of the processor 1111, the processor 1112 performs the encoding process of the current macroblock MB on the line in the vertical direction V <b> 2 in which the macroblock MB adjacent on the upper side has already been encoded by the processor 1111. .
In parallel with the processing of the processors 1111 and 1112, the processor 1113 encodes the current macroblock MB on the line in the vertical direction V3 in which the macroblock MB adjacent to the upper side has already been encoded by the processor 1112. I do.

プロセッサ1111,1112,1113は、復号処理についても、上述した符号化処理と同様に行う。   The processors 1111, 1112, and 1113 also perform the decoding process in the same manner as the encoding process described above.

また、プロセッサ1121,1122,1123も、上述したプロセッサ1111,1112,1113と同様に符号化および復号処理を行う。   The processors 1121, 1122, and 1123 also perform encoding and decoding processes in the same manner as the processors 1111, 1112, and 1113 described above.

本実施形態によれば、ピクチャデータ内でのマクロブロックMBの処理が並列化されるため、第1実施形態に比べてさらに処理時間を短縮できる。   According to the present embodiment, since the processing of the macroblock MB in the picture data is parallelized, the processing time can be further reduced as compared with the first embodiment.

<第3実施形態>
図17は、本実施形態の画像処理装置201の構成図である。
図17に示すように、画像処理装置201は、図1に示す画像処理装置1から、エントロピー符号/算術符号化回路121を除いた構成を有している。
画像処理装置201は、符号化処理を行わず、復号処理のみを行う点を除いて、第1実施形態の画像処理装置1と同じである。
<Third Embodiment>
FIG. 17 is a configuration diagram of the image processing apparatus 201 of the present embodiment.
As shown in FIG. 17, the image processing apparatus 201 has a configuration in which the entropy code / arithmetic encoding circuit 121 is removed from the image processing apparatus 1 shown in FIG. 1.
The image processing apparatus 201 is the same as the image processing apparatus 1 of the first embodiment except that only the decoding process is performed without performing the encoding process.

図18は、図17に示す画像処理装置201によって、3ピクチャ同時復号化処理を行った場合の処理の流れを示すタイミングチャート図である。
エントロピー復号/算術復号回路122で、ピクチャ単位の同期信号に同期して、1フレーム(1ピクチャ)ずつの復号を行う。最初のIピクチャがエントロピー復号/算術復号回路122で復号化処理の完了後、マルチプロセッサ110が復号化を開始する。
図18に示すように、マルチプロセッサ110は、最大3ピクチャの復号化処理を並列に行う。
マルチプロセッサ110内の各プロセッサは、常に復号化処理を行っているとは限らず、処理可能MB探索回路130が処理可能なマクロブロックMBを見つけることが出来ない期間は、待ちが発生する。
各プロセッサは、必ずしもどのピクチャを復号するかあらかじめ決まっている訳ではなく、処理可能MB探索回路130の通知に従って、処理できるマクロブロックMBをそれが属するピクチャデータを問わず、復号するようになっている。
図14は、3ピクチャ同時復号化処理の空間的なイメージを示した図である。処理タイミングに関しては、必ずしもピクチャ単位の同期信号に同期する必要はない。また、図14のようにピクチャ間の並列化(複数ピクチャ同時復号)だけでなく、ピクチャ内での並列処理(同一ピクチャ内の複数MB同時復号)も行う。
FIG. 18 is a timing chart showing the flow of processing when the three-picture simultaneous decoding process is performed by the image processing apparatus 201 shown in FIG.
The entropy decoding / arithmetic decoding circuit 122 decodes one frame (one picture) at a time in synchronization with the synchronization signal for each picture. After the first I picture is decoded by the entropy decoding / arithmetic decoding circuit 122, the multiprocessor 110 starts decoding.
As shown in FIG. 18, the multiprocessor 110 performs decoding processing of up to three pictures in parallel.
Each processor in the multiprocessor 110 does not always perform the decoding process, and a wait occurs during a period in which the processable MB search circuit 130 cannot find a processable macroblock MB.
Each processor does not necessarily determine which picture is to be decoded in advance, but can decode a processable macroblock MB regardless of the picture data to which it belongs according to the notification from the processable MB search circuit 130. Yes.
FIG. 14 is a diagram showing a spatial image of the 3-picture simultaneous decoding process. Regarding the processing timing, it is not always necessary to synchronize with a synchronization signal in units of pictures. In addition to paralleling between pictures (simultaneous decoding of multiple pictures) as shown in FIG. 14, parallel processing within a picture (simultaneous decoding of multiple MBs within the same picture) is also performed.

<第4実施形態>
図19は、本実施形態の画像処理装置301の構成図である。
図19に示すように、画像処理装置301は、例えば、マルチプロセッサ110、ビットストリームメモリ140、ワークメモリ150およびフレームメモリ160を有し、これらが画像データ用バス135を介して接続されている。
<Fourth embodiment>
FIG. 19 is a configuration diagram of the image processing apparatus 301 of the present embodiment.
As shown in FIG. 19, the image processing apparatus 301 includes, for example, a multiprocessor 110, a bit stream memory 140, a work memory 150, and a frame memory 160, which are connected via an image data bus 135.

画像処理装置301において、マルチプロセッサ110は、例えば、3つのプロセッサ111,112,113を有し、これらに図20に示すように複数の異なるピクチャデータ(ピクチャデータ)を並列的に符号化あるいは復号処理させる。
なお、マルチプロセッサ110が備えるプロセッサは、4以上であってもよい。
In the image processing apparatus 301, the multiprocessor 110 includes, for example, three processors 111, 112, and 113, and a plurality of different picture data (picture data) are encoded or decoded in parallel as shown in FIG. Let it be processed.
Note that the number of processors included in the multiprocessor 110 may be four or more.

<第5実施形態>
図21は、本実施形態の画像処理装置401の構成図である。
図21に示すように、画像処理装置401は、例えば、マルチプロセッサ110、エントロピー復号/算術復号回路1221,1222,1223、処理可能MB探索回路130、ビットストリームメモリ140、ワークメモリ150およびフレームメモリ160を有する。
図21において、第1実施形態と同じ符号を付した構成は、第1実施形態で説明したものと同じである。
<Fifth Embodiment>
FIG. 21 is a configuration diagram of the image processing apparatus 401 of the present embodiment.
As shown in FIG. 21, the image processing apparatus 401 includes, for example, a multiprocessor 110, an entropy decoding / arithmetic decoding circuit 1221, 1222, 1223, a processable MB search circuit 130, a bit stream memory 140, a work memory 150, and a frame memory 160. Have
In FIG. 21, the structure which attached | subjected the same code | symbol as 1st Embodiment is the same as what was demonstrated in 1st Embodiment.

エントロピー復号/算術復号回路1221,1222,1223は、例えば、図22に示すように、ビットストリームメモリ140から読み出したピクチャデータ(ピクチャデータ)のエントロピー復号あるいは算術復号を並列処理によって実現する。
当該並列処理は、例えば、処理可能MB探索回路130によって並列処理できるデータを特定し、これをエントロピー復号/算術復号回路1221,1222,1223に通知して行ってもよい。
なお、マルチプロセッサ110は、第1実施形態と同様に、図22に示すように各ピクチャデータを並列的に復号処理する。
The entropy decoding / arithmetic decoding circuits 1221, 1222, 1223, for example, realize entropy decoding or arithmetic decoding of picture data (picture data) read from the bit stream memory 140 by parallel processing, as shown in FIG.
For example, the parallel processing may be performed by specifying data that can be processed in parallel by the processable MB search circuit 130 and notifying the data to the entropy decoding / arithmetic decoding circuits 1221, 1222, and 1223.
Note that the multiprocessor 110 decodes each picture data in parallel as shown in FIG. 22 as in the first embodiment.

本発明は上述した実施形態には限定されない。
例えば、上述した実施形態では、各構成要素を回路によって実現した場合を例示したが、上述した構成要素の全部あるいは一部を、例えば、CPU(Central Processing Unit)などの処理回路がプログラムを実行して実現してもよい。
また、上述した実施形態では、複数のプロセッサで処理を並列化する場合を例示したが、本発明における並列処理は、1つのプロセッサでタイムシェアリングなどにより、スレッドを並行処理する場合も含む。
The present invention is not limited to the embodiment described above.
For example, in the above-described embodiment, the case where each component is realized by a circuit is illustrated. However, for example, a processing circuit such as a CPU (Central Processing Unit) executes a program for all or part of the above-described component. May be realized.
Further, in the above-described embodiment, the case where the processes are parallelized by a plurality of processors has been exemplified. However, the parallel processing in the present invention includes a case where threads are processed in parallel by time sharing or the like by one processor.

図1は、本発明は、本発明の第1実施形態の画像処理装置の構成図である。FIG. 1 is a configuration diagram of an image processing apparatus according to a first embodiment of the present invention. 図2は、図1に示すマルチプロセッサが実行する符号化処理の機能ブロック図である。FIG. 2 is a functional block diagram of the encoding process executed by the multiprocessor shown in FIG. 図3は、図1に示す処理可能MB探索回路の符号化時の処理を説明するためのフローチャートである。FIG. 3 is a flowchart for explaining processing at the time of encoding of the processable MB search circuit shown in FIG. 図4は、同じピクチャデータ内でのマクロブロックの参照関係を説明するための図である。FIG. 4 is a diagram for explaining the reference relationship of macroblocks in the same picture data. 図5は、図1に示すマルチプロセッサによる符号化処理を説明するための図である。FIG. 5 is a diagram for explaining an encoding process by the multiprocessor shown in FIG. 図6は、図1に示すマルチプロセッサ(プロセッサ111)による符号化処理を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining an encoding process by the multiprocessor (processor 111) shown in FIG. 図7は、図1に示すプロセッサ112による符号化処理を説明するための図である。FIG. 7 is a diagram for explaining the encoding process by the processor 112 shown in FIG. 図8は、図1に示すマルチプロセッサによる符号化処理を説明するためのフローチャートである。FIG. 8 is a flowchart for explaining an encoding process by the multiprocessor shown in FIG. 図9は、図1に示すマルチプロセッサが実行する復号処理の機能ブロック図である。FIG. 9 is a functional block diagram of decoding processing executed by the multiprocessor shown in FIG. 図10は、図1に示す処理可能MB探索回路の復号時の処理を説明するためのフローチャートである。FIG. 10 is a flowchart for explaining processing at the time of decoding of the processable MB search circuit shown in FIG. 図11は、図1に示すマルチプロセッサによる復号処理を説明するための図である。FIG. 11 is a diagram for explaining decoding processing by the multiprocessor shown in FIG. 図12は、図1に示すマルチプロセッサ(プロセッサ111)による復号処理を説明するためのフローチャートである。FIG. 12 is a flowchart for explaining decoding processing by the multiprocessor (processor 111) shown in FIG. 図13は、図1に示すマルチプロセッサによる復号処理を説明するための図である。FIG. 13 is a diagram for explaining decoding processing by the multiprocessor shown in FIG. 図14は、図1に示すマルチプロセッサによる復号処理を説明するための図である。FIG. 14 is a diagram for explaining decoding processing by the multiprocessor shown in FIG. 図15は、本発明の第2実施形態の画像処理装置の構成図である。FIG. 15 is a configuration diagram of an image processing apparatus according to the second embodiment of the present invention. 図16は、図15に示す画像処理装置の動作を説明するための図である。FIG. 16 is a diagram for explaining the operation of the image processing apparatus shown in FIG. 図17は、本発明の第3実施形態の画像処理装置の構成図である。FIG. 17 is a configuration diagram of an image processing apparatus according to the third embodiment of the present invention. 図18は、図17に示す画像処理装置の動作を説明するための図である。FIG. 18 is a diagram for explaining the operation of the image processing apparatus shown in FIG. 図19は、本発明の第4実施形態の画像処理装置の構成図である。FIG. 19 is a configuration diagram of an image processing apparatus according to the fourth embodiment of the present invention. 図20は、図19に示す画像処理装置の動作を説明するための図である。FIG. 20 is a diagram for explaining the operation of the image processing apparatus shown in FIG. 図21は、本発明の第5実施形態の画像処理装置の構成図である。FIG. 21 is a configuration diagram of an image processing apparatus according to the fifth embodiment of the present invention. 図22は、図21に示す画像処理装置の動作を説明するための図である。FIG. 22 is a diagram for explaining the operation of the image processing apparatus shown in FIG.

符号の説明Explanation of symbols

24…演算部、25…直交変換部、26…量子化部、27…可逆符号化部、28…バッファ、29…逆量子化部、30…逆直交変換部、33…加算部、41…イントラ予測部、42…動き予測・補償部、83…逆量子化部、84…逆直交変換部、85…加算部、110…マルチプロセッサ、111,112,113,1111,1112,1113,1121,1122,1123…プロセッサ、121…エントロピー符号/算術符号化回路、122…エントロピー復号/算術復号回路、130…処理可能MB探索回路、140…ビットストリームメモリ、150…ワークメモリ、160…フレームメモリ

24 ... Calculation unit, 25 ... Orthogonal transformation unit, 26 ... Quantization unit, 27 ... Lossless encoding unit, 28 ... Buffer, 29 ... Dequantization unit, 30 ... Inverse orthogonal transformation unit, 33 ... Addition unit, 41 ... Intra Prediction unit 42 ... motion prediction / compensation unit 83 ... inverse quantization unit 84 84 inverse orthogonal transform unit 85 ... addition unit 110 ... multiprocessor 111, 112, 113, 1111, 1112, 1113, 1121, 1122 , 1123 ... processor, 121 ... entropy code / arithmetic encoding circuit, 122 ... entropy decoding / arithmetic decoding circuit, 130 ... processable MB search circuit, 140 ... bit stream memory, 150 ... work memory, 160 ... frame memory

Claims (12)

予め決められた参照関係に基づいて複数のピクチャデータを符号化する符号化装置であって、
前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の符号化処理が可能なデータを検出する検出手段と、
前記検出手段の検出結果に基づいて、前記複数のピクチャデータの符号化処理を並列に行う複数の処理回路と
を有する符号化装置。
An encoding device that encodes a plurality of picture data based on a predetermined reference relationship,
Detecting means for detecting data that can be encoded in the plurality of picture data based on the reference relationship of the plurality of picture data;
And a plurality of processing circuits that perform the encoding processing of the plurality of picture data in parallel based on a detection result of the detection unit.
前記処理回路は、前記ピクチャデータを構成する複数のブロックデータを単位として前記符号化処理を行い、
前記検出手段は、前記複数のピクチャデータ内の符号化処理が可能な前記ブロックデータを検出する
請求項1に記載の符号化装置。
The processing circuit performs the encoding process in units of a plurality of block data constituting the picture data,
The encoding device according to claim 1, wherein the detection unit detects the block data that can be encoded in the plurality of picture data.
前記検出手段は、ピクチャデータ内で検出対象の前記ブロックデータに対して所定の位置にある他の前記ブロックデータの符号化処理が終了し、且つ、当該検出対象のブロックデータの符号化に用いる参照対象のピクチャデータ内の参照対象の領域内のブロックデータの符号化が終了していることを条件に、前記検出対象のブロックデータの符号化処理が可能であると判断する
請求項2に記載の符号化装置。
The detection means is a reference used for encoding the block data to be detected after the encoding processing of the other block data at a predetermined position with respect to the block data to be detected in the picture data is completed. The determination according to claim 2, wherein encoding of the block data to be detected is possible on the condition that encoding of block data in the reference target area in the target picture data has been completed. Encoding device.
前記検出手段は、前記ピクチャデータ内の複数のブロックデータ間での参照関係にさらに基づいて前記符号化処理可能なブロックデータを検出し、
前記処理回路は、前記検出手段の検出結果に基づいて、同じ前記ピクチャデータ内に属する複数の前記ブロックデータを並列に処理する
請求項2に記載の符号化装置。
The detecting means detects the block data that can be encoded based further on a reference relationship between a plurality of block data in the picture data,
The encoding device according to claim 2, wherein the processing circuit processes a plurality of the block data belonging to the same picture data in parallel based on a detection result of the detection means.
予め決められた参照関係に基づいて複数のピクチャデータを復号する復号装置であって、
前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の復号処理が可能なデータを検出する検出手段と、
前記検出手段の検出結果に基づいて、前記複数のピクチャデータの復号処理を並列に行う複数の処理回路と
を有する復号装置。
A decoding device that decodes a plurality of picture data based on a predetermined reference relationship,
Detecting means for detecting data capable of decoding processing in the plurality of picture data based on the reference relationship of the plurality of picture data;
A decoding apparatus comprising: a plurality of processing circuits that perform decoding processing of the plurality of picture data in parallel based on a detection result of the detection unit.
前記処理回路は、前記ピクチャデータを構成する複数のブロックデータを単位として前記復号処理を行い、
前記検出手段は、前記複数のピクチャデータ内の復号処理が可能な前記ブロックデータを検出する
請求項5に記載の復号装置。
The processing circuit performs the decoding process in units of a plurality of block data constituting the picture data,
The decoding device according to claim 5, wherein the detection means detects the block data that can be decoded in the plurality of picture data.
前記検出手段は、ピクチャデータ内で検出対象の前記ブロックデータに対して所定の位置にある他の前記ブロックデータの復号処理が終了し、且つ、当該検出対象のブロックデータの復号に用いる参照対象のブロックデータの復号が終了していることを条件に、前記検出対象のブロックデータの復号処理が可能であると判断する
請求項6に記載の復号装置。
The detection means ends the decoding process of the other block data at a predetermined position with respect to the block data to be detected in the picture data, and the reference target used for decoding the block data to be detected The decoding device according to claim 6, wherein it is determined that decoding processing of the block data to be detected is possible on condition that decoding of block data has been completed.
前記検出手段は、前記ピクチャデータ内の複数のブロックデータ間での参照関係にさらに基づいて前記復号処理可能なブロックデータを検出し、
前記処理回路は、前記検出手段の検出結果に基づいて、同じ前記ピクチャデータ内に属する複数の前記ブロックデータを並列に処理する
請求項6に記載の復号装置。
The detection means detects the block data that can be decoded based on a reference relationship between a plurality of block data in the picture data,
The decoding apparatus according to claim 6, wherein the processing circuit processes a plurality of the block data belonging to the same picture data in parallel based on a detection result of the detection means.
予め決められた参照関係に基づいて複数のピクチャデータを符号化する符号化方法であって、
前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の符号化処理が可能なデータを検出する第1の工程と、
前記第1の工程の検出結果に基づいて、前記複数のピクチャデータの符号化処理を並列処理する第2の工程と
を有する符号化方法。
An encoding method for encoding a plurality of picture data based on a predetermined reference relationship,
A first step of detecting data that can be encoded in the plurality of picture data based on the reference relationship of the plurality of picture data;
And a second step of performing parallel processing on the encoding processing of the plurality of picture data based on the detection result of the first step.
予め決められた参照関係に基づいて複数のピクチャデータを復号する復号方法であって、
前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の復号処理が可能なデータを検出する第1の工程と、
前記第1の工程の検出結果に基づいて、前記複数のピクチャデータの復号処理を並列処理する第2の工程と
を有する復号方法。
A decoding method for decoding a plurality of picture data based on a predetermined reference relationship,
A first step of detecting data that can be decoded in the plurality of picture data based on the reference relationship of the plurality of picture data;
A decoding method comprising: a second step of performing parallel processing on decoding processing of the plurality of picture data based on the detection result of the first step.
予め決められた参照関係に基づいて複数のピクチャデータを符号化するコンピュータが実行するプログラムであって、
前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の符号化処理が可能なデータを検出する第1の手順と、
前記第1の手順の検出結果に基づいて、前記複数のピクチャデータの符号化処理を並列処理する第2の手順と
を前記コンピュータに実行させるプログラム。
A program executed by a computer that encodes a plurality of picture data based on a predetermined reference relationship,
A first procedure for detecting data that can be encoded in the plurality of picture data based on the reference relationship of the plurality of picture data;
A program for causing the computer to execute a second procedure for performing parallel processing on encoding processing of the plurality of picture data based on the detection result of the first procedure.
予め決められた参照関係に基づいて複数のピクチャデータを復号するコンピュータが実行するプログラムであって、
前記複数のピクチャデータの前記参照関係に基づいて、前記複数のピクチャデータ内の復号処理が可能なデータを検出する第1の手順と、
前記第1の手順の検出結果に基づいて、前記複数のピクチャデータの復号処理を並列処理する第2の手順と
を前記コンピュータに実行させるプログラム。
A program executed by a computer that decodes a plurality of picture data based on a predetermined reference relationship,
A first procedure for detecting data capable of decoding processing in the plurality of picture data based on the reference relationship of the plurality of picture data;
A program for causing the computer to execute a second procedure for performing parallel processing on decoding processing of the plurality of picture data based on a detection result of the first procedure.
JP2005168103A 2005-06-08 2005-06-08 Encoding device, decoding device, encoding method, decoding method, and program thereof Expired - Fee Related JP4674496B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005168103A JP4674496B2 (en) 2005-06-08 2005-06-08 Encoding device, decoding device, encoding method, decoding method, and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005168103A JP4674496B2 (en) 2005-06-08 2005-06-08 Encoding device, decoding device, encoding method, decoding method, and program thereof

Publications (2)

Publication Number Publication Date
JP2006345157A true JP2006345157A (en) 2006-12-21
JP4674496B2 JP4674496B2 (en) 2011-04-20

Family

ID=37641790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005168103A Expired - Fee Related JP4674496B2 (en) 2005-06-08 2005-06-08 Encoding device, decoding device, encoding method, decoding method, and program thereof

Country Status (1)

Country Link
JP (1) JP4674496B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008146438A (en) * 2006-12-12 2008-06-26 Toshiba Corp Image processor and image processing method
JPWO2009063646A1 (en) * 2007-11-16 2011-03-31 パナソニック株式会社 Image decoding apparatus and image decoding method
WO2012086829A1 (en) * 2010-12-21 2012-06-28 日本電気株式会社 Movement estimation device, movement estimation method, movement estimation program, and video image encoding device
JP2013168950A (en) * 2012-02-16 2013-08-29 Imagination Technologies Ltd Method and device for decoding video image
US8761529B2 (en) 2010-06-09 2014-06-24 Samsung Electronics Co., Ltd. Apparatus and method for parallel encoding and decoding image data based on correlation of macroblocks
JP2015185979A (en) * 2014-03-24 2015-10-22 富士通株式会社 Moving image encoding device and moving image encoder

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454354B (en) * 2016-09-07 2019-10-18 中山大学 A kind of AVS2 parallel encoding processing system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000295616A (en) * 1999-04-08 2000-10-20 Matsushita Electric Ind Co Ltd Image coder, image decoder, image coding method, image decoding method and program storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000295616A (en) * 1999-04-08 2000-10-20 Matsushita Electric Ind Co Ltd Image coder, image decoder, image coding method, image decoding method and program storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008146438A (en) * 2006-12-12 2008-06-26 Toshiba Corp Image processor and image processing method
JPWO2009063646A1 (en) * 2007-11-16 2011-03-31 パナソニック株式会社 Image decoding apparatus and image decoding method
US8565315B2 (en) 2007-11-16 2013-10-22 Panasonic Corporation Image decoding device and image decoding method
US8761529B2 (en) 2010-06-09 2014-06-24 Samsung Electronics Co., Ltd. Apparatus and method for parallel encoding and decoding image data based on correlation of macroblocks
WO2012086829A1 (en) * 2010-12-21 2012-06-28 日本電気株式会社 Movement estimation device, movement estimation method, movement estimation program, and video image encoding device
US9596467B2 (en) 2010-12-21 2017-03-14 Nec Corporation Motion estimation device for predicting a vector by referring to motion vectors of adjacent blocks, motion estimation method and storage medium of motion estimation program
JP2013168950A (en) * 2012-02-16 2013-08-29 Imagination Technologies Ltd Method and device for decoding video image
US10425655B2 (en) 2012-02-16 2019-09-24 Imagination Technologies Limited Decoding successive motion compensated video sequence images in parallel using data corresponding to maximum extent of a motion vector
JP2015185979A (en) * 2014-03-24 2015-10-22 富士通株式会社 Moving image encoding device and moving image encoder

Also Published As

Publication number Publication date
JP4674496B2 (en) 2011-04-20

Similar Documents

Publication Publication Date Title
KR102052290B1 (en) Deriving reference mode values and encoding and decoding information representing prediction modes
JP4674496B2 (en) Encoding device, decoding device, encoding method, decoding method, and program thereof
WO2015052273A1 (en) Method and apparatus for displacement vector component prediction in video coding and decoding
JP2006186972A (en) Intra prediction apparatus
JP4501631B2 (en) Image coding apparatus and method, computer program for image coding apparatus, and portable terminal
JP2023052767A (en) Video processing method and encoder
JP2022501868A (en) Video-coded motion vector predictor index coding
US9872044B2 (en) Optimized edge order for de-blocking filter
US20070133689A1 (en) Low-cost motion estimation apparatus and method thereof
JP7323220B2 (en) Candidates in frames with global motion
JP7448558B2 (en) Methods and devices for image encoding and decoding
JP2019521555A (en) Method and apparatus for decoding a block of intra-predicted pictures and corresponding coding method and apparatus
JPWO2008020470A1 (en) Decoding method and apparatus
JP2013115583A (en) Moving image encoder, control method of the same, and program
WO2015145504A1 (en) Image decoding device, image decoding method, and integrated circuit
CN114827623A (en) Boundary extension for video coding and decoding
KR100644620B1 (en) Method and apparatus for decoding moving picture which post filtering is applied
JP2010183162A (en) Motion picture encoder
JP5938424B2 (en) Method for reconstructing and encoding image blocks
JP5580541B2 (en) Image decoding apparatus and image decoding method
JP2007325119A (en) Image processing apparatus and method
TW201633786A (en) Multimedia codec, application processor including the same, and method of operating the application processor
JP4797999B2 (en) Image encoding / decoding device
CN112889285B (en) Video encoding and decoding
JP4779977B2 (en) Image encoding / decoding device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080527

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100302

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100416

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101228

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110110

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140204

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140204

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees