[go: up one dir, main page]

JP2008182527A - Image encoding apparatus and method, and imaging system - Google Patents

Image encoding apparatus and method, and imaging system Download PDF

Info

Publication number
JP2008182527A
JP2008182527A JP2007014846A JP2007014846A JP2008182527A JP 2008182527 A JP2008182527 A JP 2008182527A JP 2007014846 A JP2007014846 A JP 2007014846A JP 2007014846 A JP2007014846 A JP 2007014846A JP 2008182527 A JP2008182527 A JP 2008182527A
Authority
JP
Japan
Prior art keywords
image
unit
prediction
orthogonal transform
image encoding
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
JP2007014846A
Other languages
Japanese (ja)
Inventor
Kentaro Takakura
憲太郎 高倉
Shinji Kitamura
臣二 北村
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2007014846A priority Critical patent/JP2008182527A/en
Publication of JP2008182527A publication Critical patent/JP2008182527A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

【課題】面内予測の際の待ち時間を削減し、動画像符号化の高速化を図る。
【解決手段】
画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置として、サポートされる面内予測の予測モードに応じて、前記複数のブロックを処理する順序を決定する制御部と、前記制御部で決定された順序に従って、前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて前記予測モードのうちの最適な予測モードで面内予測を行うデータ処理部とを有する。
【選択図】図1
An object of the present invention is to reduce waiting time for in-plane prediction and to speed up moving picture coding.
[Solution]
As an image encoding device that performs intra prediction processing on a plurality of blocks constituting an image, a control unit that determines an order of processing the plurality of blocks according to a prediction mode of supported intra prediction, A data processing unit that performs in-plane prediction in an optimal prediction mode of the prediction modes using pixels adjacent to each block for each of the plurality of blocks according to the order determined by the control unit. Have.
[Selection] Figure 1

Description

本発明は、画像データを圧縮する画像符号化装置に関し、特に画面内での予測処理(面内予測処理)を行う画像符号化装置に関する。   The present invention relates to an image encoding apparatus that compresses image data, and more particularly to an image encoding apparatus that performs prediction processing (in-plane prediction processing) within a screen.

デジタルカメラやデジタルビデオカメラの普及、デジタル通信技術の発達に伴い、動画像のデータを圧縮する技術としてMPEG(Moving Picture Experts Group)が広く用いられるようになってきた。特に、近年規格化されたMEPG−4 AVCのような動画像符号化方式では、通常、面内予測符号化が行われる。   With the spread of digital cameras and digital video cameras and the development of digital communication technology, MPEG (Moving Picture Experts Group) has been widely used as a technology for compressing moving image data. In particular, in a moving picture coding system such as MPEG-4 AVC that has been standardized in recent years, in-plane predictive coding is usually performed.

面内予測(イントラ予測)とは、処理対象とするm×n画素(m,nは正の整数)の予測単位ブロック(以下、対象ブロックと呼ぶ)に対する予測画像を、対象ブロックと同一画面内の画素を用いて予測することである。面内予測には、既に符号化された後の画像を画像符号化装置内で復号化して得られた画素(復号化済み画素)が用いられる。   In-plane prediction (intra prediction) refers to a prediction image for a prediction unit block (hereinafter referred to as a target block) of m × n pixels (m and n are positive integers) to be processed within the same screen as the target block. It is to predict using this pixel. In the in-plane prediction, pixels (decoded pixels) obtained by decoding an already encoded image in the image encoding device are used.

面内予測には、複数の予測モードが存在する。入力画像内の対象ブロックについては、選択された面内予測モードを用いて予測画像が生成される。その後、生成された予測画像と入力画像との差分画像、及び用いられた予測モードを示す情報を符号化し、画像符号化が実現されている。   There are a plurality of prediction modes for in-plane prediction. For the target block in the input image, a predicted image is generated using the selected in-plane prediction mode. Thereafter, the difference image between the generated predicted image and the input image and information indicating the used prediction mode are encoded to realize image encoding.

MPEG−4 AVC(advanced video coding)では、対象ブロック周辺の復号化済み画素を用いて空間予測を行い、対象ブロックの予測画像を生成する。この際の予測モードの決定方法の例が、特許文献1に開示されている。   In MPEG-4 AVC (advanced video coding), spatial prediction is performed using decoded pixels around the target block, and a predicted image of the target block is generated. An example of a prediction mode determination method at this time is disclosed in Patent Document 1.

図37(a),(b),(c),(d),(e),(f),(g),(h),(i)は、輝度信号の4×4画素のブロックに対する面内予測モードの例を示す説明図であって、それぞれ予測モード0、予測モード1、予測モード2、予測モード3、予測モード4、予測モード5、予測モード6、予測モード7、予測モード8についての説明図である。MPEG−4 AVCでは、このような9種類の面内予測モードが用いられる。   37 (a), (b), (c), (d), (e), (f), (g), (h), and (i) are planes for a 4 × 4 pixel block of a luminance signal. It is explanatory drawing which shows the example of intra prediction mode, Comprising: About prediction mode 0, prediction mode 1, prediction mode 2, prediction mode 3, prediction mode 4, prediction mode 5, prediction mode 6, prediction mode 7, and prediction mode 8, respectively It is explanatory drawing of. In MPEG-4 AVC, nine types of in-plane prediction modes are used.

垂直方向予測モード(予測モード0)では、図37(a)に示すように、4×4画素の対象ブロックの上に隣接する4画素の復号化済み画素を用いて、対象ブロックの予測画素を生成する。水平方向予測モード(予測モード1)では、図37(b)に示すように、対象ブロックの左に隣接する4画素の復号化済み画素を用いて、対象ブロックの予測画素を生成する。DC予測モード(予測モード2)では、図37(c)に示すように、対象ブロックの左、及び上に隣接する8画素の復号化済み画素の平均値を、対象ブロックの予測画素の値にする。   In the vertical direction prediction mode (prediction mode 0), as shown in FIG. 37 (a), the decoded pixels of the target block are set using the four decoded pixels adjacent to the target block of 4 × 4 pixels. Generate. In the horizontal direction prediction mode (prediction mode 1), as shown in FIG. 37 (b), a predicted pixel of the target block is generated using four decoded pixels adjacent to the left of the target block. In the DC prediction mode (prediction mode 2), as shown in FIG. 37C, the average value of the decoded pixels of the 8 pixels adjacent to the left and above the target block is set as the predicted pixel value of the target block. To do.

この他に、図37(d)のような左下方向予測モード(予測モード3)、図37(e)のような右下方向予測モード(予測モード4)、図37(f)のような右下方向予測モード(予測モード5)、図37(g)のような右下方向予測モード(予測モード6)、図37(h)のような左下方向予測モード(予測モード7)、図37(i)のような右上方向予測モード(予測モード8)がある。このように、8方向の予測モードと、DC予測モード、すなわち、合計9種類の面内予測モードが存在する。   In addition, the lower left direction prediction mode (prediction mode 3) as shown in FIG. 37 (d), the lower right direction prediction mode (prediction mode 4) as shown in FIG. 37 (e), and the right as shown in FIG. 37 (f). Downward prediction mode (prediction mode 5), lower right direction prediction mode (prediction mode 6) as shown in FIG. 37 (g), lower left direction prediction mode (prediction mode 7) as shown in FIG. 37 (h), FIG. There is an upper right direction prediction mode (prediction mode 8) such as i). Thus, there are eight prediction modes and a DC prediction mode, that is, a total of nine types of in-plane prediction modes.

図38(a),(b),(c),(d)は、色差信号の8×8画素のブロックに対する面内予測モードの例を示す説明図であって、それぞれ予測モード0、予測モード1、予測モード2、予測モード3についての説明図である。MPEG−4 AVCでは、このような4種類の面内予測モードが用いられる。   FIGS. 38 (a), (b), (c), and (d) are explanatory diagrams showing examples of the in-plane prediction mode for the 8 × 8 pixel block of the color difference signal, and are respectively the prediction mode 0 and the prediction mode. It is explanatory drawing about 1, prediction mode 2, and prediction mode 3. FIG. In MPEG-4 AVC, these four types of in-plane prediction modes are used.

図39は、ブロックの処理順序の例を示す説明図である。図39のブロックは、ブロックB0,B1,B2,…,B15の順で対象ブロックになる。
特開2005−160048号公報
FIG. 39 is an explanatory diagram showing an example of the processing order of blocks. The blocks in FIG. 39 become target blocks in the order of blocks B0, B1, B2,..., B15.
Japanese Patent Laid-Open No. 2005-160048

図14は、対象ブロックの面内予測に必要なブロックの例を示す説明図である。図37(a)〜(i)の全ての予測モードを用いる場合には、対象ブロックXについて面内予測を行うためには、図14のブロックA〜Dの復号化処理が終了していなければならない。このため、ブロックXに対する処理を開始する際に、ブロックA〜Dの面内予測及び復号化処理が終了するのを待たなければならない場合があった。   FIG. 14 is an explanatory diagram illustrating an example of blocks necessary for in-plane prediction of a target block. When all the prediction modes in FIGS. 37A to 37I are used, in order to perform the in-plane prediction for the target block X, the decoding process for the blocks A to D in FIG. 14 is not completed. Don't be. For this reason, when the process for the block X is started, it may be necessary to wait for the in-plane prediction and decoding process of the blocks A to D to end.

また、図37(a)〜(i)のうちの一部の予測モードのみを用いて処理を行うようにすることもできる。この場合、図39のブロックA〜Dの全ての面内予測及び復号化処理が終了するのを待つ必要がないようにすることができる。しかし、ブロックの処理順序によっては、待ち時間が生じ、処理の高速化を図ることができない。   Moreover, it is also possible to perform processing using only some of the prediction modes in FIGS. 37 (a) to (i). In this case, there is no need to wait for the completion of all the in-plane prediction and decoding processes of the blocks A to D in FIG. However, depending on the processing order of the blocks, a waiting time occurs, and the processing speed cannot be increased.

本発明は、面内予測の際の待ち時間を削減し、動画像符号化の高速化を図ることを目的とする。   An object of the present invention is to reduce the waiting time for in-plane prediction and to speed up moving picture coding.

前記課題を解決するため、本発明が講じた手段は、画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置として、サポートされる予測モードに応じて、前記複数のブロックを処理する順序を決定する制御部と、前記制御部で決定された順序に従って、前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて前記予測モードのうちの最適な予測モードで面内予測を行うデータ処理部とを有する。   In order to solve the above-mentioned problem, the means taken by the present invention is an image encoding device that performs in-plane prediction processing on a plurality of blocks constituting an image, and the plurality of blocks according to a supported prediction mode. A control unit that determines the order of processing, and an optimal prediction mode of the prediction modes using pixels adjacent to each block for each of the plurality of blocks according to the order determined by the control unit And a data processing unit for performing in-plane prediction.

これによると、サポートされる予測モードに応じて、複数のブロックを処理する順序を決定するので、面内予測の際の待ち時間を削減し、予測を高速化することができる。   According to this, since the order in which a plurality of blocks are processed is determined according to the supported prediction mode, the waiting time in the in-plane prediction can be reduced and the prediction can be speeded up.

また、本発明に係る他の画像符号化装置は、画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置として、前記複数のブロックのそれぞれの輝度信号及び色差信号に対して、各ブロックに隣接する画素を用いて面内予測を行うデータ処理部と、前記データ処理部における面内予測処理を制御する制御部とを有する。前記データ処理部は、輝度信号に対する処理と色差信号に対する処理とを交互に行う。   In addition, another image coding apparatus according to the present invention is an image coding apparatus that performs in-plane prediction processing on a plurality of blocks constituting an image, with respect to each luminance signal and color difference signal of the plurality of blocks. A data processing unit that performs in-plane prediction using pixels adjacent to each block, and a control unit that controls in-plane prediction processing in the data processing unit. The data processing unit alternately performs processing for luminance signals and processing for color difference signals.

これによると、輝度信号に対する処理と色差信号に対する処理とが交互に行われるので、面内予測の際の待ち時間を削減することができる。   According to this, since the process for the luminance signal and the process for the color difference signal are alternately performed, the waiting time in the in-plane prediction can be reduced.

また、本発明に係る更に他の画像符号化装置は、画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置として、前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて面内予測を行うデータ処理部と、前記データ処理部における面内予測処理を制御する制御部とを有する。前記データ処理部は、異なるマクロブロックに属するブロックに対する処理を交互に行う。   Still another image coding apparatus according to the present invention is an image coding apparatus that performs an intra prediction process on a plurality of blocks constituting an image, and assigns each block to each of the plurality of blocks. A data processing unit that performs in-plane prediction using adjacent pixels; and a control unit that controls in-plane prediction processing in the data processing unit. The data processing unit alternately performs processing on blocks belonging to different macroblocks.

これによると、異なるマクロブロックに属するブロックに対する処理が交互に行われるので、面内予測の際の待ち時間を削減することができる。   According to this, processing for blocks belonging to different macroblocks is performed alternately, so that the waiting time for in-plane prediction can be reduced.

本発明によれば、ブロックの処理順序を適応的に変更するので、面内予測の際の待ち時間を削減することができ、動画像符号化を高速化することができる。   According to the present invention, the processing order of blocks is adaptively changed, so that the waiting time for in-plane prediction can be reduced, and moving picture encoding can be speeded up.

以下、本発明の実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る画像符号化装置の構成を示すブロック図である。図1の画像符号化装置は、制御部1と、データ処理部100とを備えている。データ処理部100は、入力部2と、減算部4と、直交変換・量子化部6と、係数記憶部8と、逆量子化・逆直交変換部10と、再構成画像生成部12と、再構成画像記憶部14と、面内予測部16とを備えている。図2は、図1の画像符号化装置における処理の流れを示すフローチャートである。   FIG. 1 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention. The image encoding apparatus in FIG. 1 includes a control unit 1 and a data processing unit 100. The data processing unit 100 includes an input unit 2, a subtraction unit 4, an orthogonal transform / quantization unit 6, a coefficient storage unit 8, an inverse quantization / inverse orthogonal transform unit 10, a reconstructed image generation unit 12, A reconstructed image storage unit 14 and an in-plane prediction unit 16 are provided. FIG. 2 is a flowchart showing the flow of processing in the image encoding apparatus of FIG.

処理対象の画像(フレーム画像)は複数のマクロブロックを有しており、各マクロブロックは16個のブロックB0〜B15を有している。ブロックB0〜B15は、それぞれ4×4画素を有している。   The image to be processed (frame image) has a plurality of macro blocks, and each macro block has 16 blocks B0 to B15. Each of the blocks B0 to B15 has 4 × 4 pixels.

図3は、対象ブロックの面内予測に必要なブロックの第1の例を示す説明図である。図4は、図3の場合におけるブロックの処理順序を示す説明図である。ここでは、図37(a),(b),(c),(e),(f),(g),(i)の7モードのうち、最適な予測モードを用いて面内予測を行うものとする(すなわち、図1の画像符号化装置は、これらの7モードをサポートしている)。この場合、図3に示されているように、対象ブロックであるブロックXの面内予測を行うためには、その周囲のブロックA,B,及びCの復号化済み画素を用いる必要がある。   FIG. 3 is an explanatory diagram illustrating a first example of blocks necessary for in-plane prediction of the target block. FIG. 4 is an explanatory diagram showing the processing order of blocks in the case of FIG. Here, in-plane prediction is performed using the optimum prediction mode among the seven modes of FIGS. 37 (a), (b), (c), (e), (f), (g), and (i). (That is, the image encoding apparatus in FIG. 1 supports these seven modes). In this case, as shown in FIG. 3, in order to perform in-plane prediction of the target block, block X, it is necessary to use decoded pixels of surrounding blocks A, B, and C.

制御部1は、サポートされる面内予測の予測モードに応じて、ブロックB0〜B15を処理する順序を決定する。図3の場合には、制御部1は、図4の順序でブロックを処理することを決定する。入力部2は、画像PX1を受け取り、制御部1の指示に従って、画像PX1に含まれるブロックB0〜B15を図4の順序で選択し、出力する。再構成画像記憶部14は、既に求められた再構成画像を構成する復号化済み画素を格納している。   The control unit 1 determines the order of processing the blocks B0 to B15 according to the prediction mode of the supported in-plane prediction. In the case of FIG. 3, the control unit 1 determines to process the blocks in the order of FIG. The input unit 2 receives the image PX1, and selects and outputs blocks B0 to B15 included in the image PX1 in the order shown in FIG. 4 in accordance with an instruction from the control unit 1. The reconstructed image storage unit 14 stores decoded pixels that constitute a reconstructed image that has already been obtained.

図2のステップS1において、入力部2は、まず、ブロックB0を選択し、そのデータを減算部4及び面内予測部16に出力する。ステップS2において、面内予測部16は、制御部1の指示に従って、ブロックB0に隣接し、面内予測に必要な隣接画素(ここでは、左隣のマクロブロックにおけるブロックB5の右端の画素、上隣のマクロブロックにおけるブロックB10の下端の画素、及び左上のマクロブロックにおけるブロックB15の右下の画素)を再構成画像記憶部14から読み出す。面内予測部16は、読み出された画素を用いて、サポートされる面内予測の予測モードのうちの最適な予測モード(例えば、誤差が最も少ない予測モード)を決定し、その予測モードで面内予測を行い、予測画像を生成する。   In step S <b> 1 of FIG. 2, the input unit 2 first selects the block B <b> 0 and outputs the data to the subtraction unit 4 and the in-plane prediction unit 16. In step S2, the in-plane prediction unit 16 is adjacent to the block B0 and is necessary for in-plane prediction according to the instruction of the control unit 1 (here, the rightmost pixel of the block B5 in the left macroblock, the upper The lower end pixel of the block B10 in the adjacent macroblock and the lower right pixel of the block B15 in the upper left macroblock) are read out from the reconstructed image storage unit 14. The in-plane prediction unit 16 uses the read pixels to determine an optimum prediction mode (for example, the prediction mode with the least error) among the supported prediction modes of the in-plane prediction, and the prediction mode In-plane prediction is performed to generate a predicted image.

ステップS3において、減算部4は、入力部2から出力されたブロックと面内予測部16で生成された予測画像との差分を求める。ステップS4において、直交変換・量子化部6は、減算部4で求められた差分に対して直交変換及び量子化を行い、得られた量子化データを出力する。   In step S <b> 3, the subtraction unit 4 obtains a difference between the block output from the input unit 2 and the predicted image generated by the in-plane prediction unit 16. In step S4, the orthogonal transform / quantization unit 6 performs orthogonal transform and quantization on the difference obtained by the subtraction unit 4, and outputs the obtained quantized data.

ステップS5において、係数記憶部8は、量子化データを格納する。ステップS6において、逆量子化・逆直交変換部10は、係数記憶部8から量子化データを読み出し、読み出されたデータに逆量子化及び逆直交変換を行う。また、係数記憶部8は、量子化データを図1の画像符号化装置の外部に出力する。   In step S5, the coefficient storage unit 8 stores the quantized data. In step S6, the inverse quantization / inverse orthogonal transform unit 10 reads the quantized data from the coefficient storage unit 8, and performs inverse quantization and inverse orthogonal transform on the read data. In addition, the coefficient storage unit 8 outputs the quantized data to the outside of the image encoding device in FIG.

ステップS7において、再構成画像生成部12は、逆量子化及び逆直交変換の結果と、面内予測部16で求められた予測画像とを加算し、再構成画像を求める。ステップS8において、再構成画像記憶部14は、求められた再構成画像を格納する。ステップS9において、制御部1は、全てのブロックについての処理が終了したか否かを判定する。終了している場合には図2の処理を終了し、終了していない場合にはステップ1に戻り、新たに出力される次のブロックの処理を行う。   In step S <b> 7, the reconstructed image generation unit 12 adds the result of inverse quantization and inverse orthogonal transform and the predicted image obtained by the in-plane prediction unit 16 to obtain a reconstructed image. In step S8, the reconstructed image storage unit 14 stores the obtained reconstructed image. In step S9, the control unit 1 determines whether or not the processing for all the blocks has been completed. If completed, the process of FIG. 2 is terminated. If not completed, the process returns to step 1 to process the next block to be newly output.

図5は、図4の場合に、図1の画像符号化装置において各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。図2のステップS1及びS2をステージST1、ステップS3〜S5をステージST2、ステップS6〜S8をステージST3と称することにする。   FIG. 5 is a timing chart showing the timing of processing performed on each block in the image encoding apparatus of FIG. 1 in the case of FIG. Steps S1 and S2 in FIG. 2 are referred to as a stage ST1, steps S3 to S5 are referred to as a stage ST2, and steps S6 to S8 are referred to as a stage ST3.

図3のように、ブロックXの処理は、その周囲のブロックA,B,CのステージST3が終了していれば開始できる。例えば、ブロックB1を処理するには、ブロックB0の逆量子化及び逆直交変換が終了している必要がある。ブロックB2の処理は、ブロックB0の処理が終了した時点で開始可能である。このため、ブロックB1のステージST1が終了すると、ブロックB2のステージST1を開始することができる。その後、図5に示されているように、ステージST1〜ST3の処理を平行して行うことができる。   As shown in FIG. 3, the processing of the block X can be started if the stages ST3 of the surrounding blocks A, B, and C are completed. For example, in order to process the block B1, it is necessary that the inverse quantization and inverse orthogonal transform of the block B0 have been completed. The process of block B2 can be started when the process of block B0 is completed. For this reason, when stage ST1 of block B1 ends, stage ST1 of block B2 can be started. Thereafter, as shown in FIG. 5, the processes of stages ST1 to ST3 can be performed in parallel.

図6は、対象ブロックの面内予測に必要なブロックの第2の例を示す説明図である。図7は、図6の場合におけるブロックの処理順序を示す説明図である。ここでは、図37(b),(i)の2モードのうち、最適な予測モードを用いて面内予測を行うものとする。この場合、図6に示されているように、対象ブロックであるブロックXの面内予測を行うためには、その周囲のブロックAの復号化済み画素を用いる必要がある。また、この場合、制御部1は、図7の順序でブロックを処理することを決定する。入力部2は、制御部1の指示に従って、図7の順序でブロックB0〜B15のデータを出力する。   FIG. 6 is an explanatory diagram illustrating a second example of blocks necessary for in-plane prediction of the target block. FIG. 7 is an explanatory diagram showing the processing order of blocks in the case of FIG. Here, it is assumed that in-plane prediction is performed using an optimal prediction mode among the two modes of FIGS. 37 (b) and (i). In this case, as shown in FIG. 6, in order to perform the in-plane prediction of the block X that is the target block, it is necessary to use the decoded pixels of the surrounding block A. In this case, the control unit 1 determines to process the blocks in the order shown in FIG. The input unit 2 outputs the data of the blocks B0 to B15 in the order of FIG. 7 according to the instruction of the control unit 1.

図8は、図7の場合に、各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。図6のように、ブロックXの処理は、その左のブロックAのステージST3が終了していれば開始できるので、図8に示されているように、ステージST1〜ST3の処理を平行して行うことができる。   FIG. 8 is a timing chart showing the timing of processing performed on each block in the case of FIG. As shown in FIG. 6, the processing of the block X can be started if the stage ST3 of the left block A has been completed, so that the processing of the stages ST1 to ST3 is performed in parallel as shown in FIG. It can be carried out.

図9は、対象ブロックの面内予測に必要なブロックの第3の例を示す説明図である。図10は、図9の場合におけるブロックの処理順序を示す説明図である。ここでは、図37(a)の予測モードを用いて面内予測を行うものとする。この場合、図9に示されているように、対象ブロックであるブロックXの面内予測を行うためには、その周囲のブロックBの復号化済み画素を用いる必要がある。また、この場合、制御部1は、図10の順序でブロックを処理することを決定する。入力部2は、制御部1の指示に従って、図10の順序でブロックB0〜B15のデータを出力する。   FIG. 9 is an explanatory diagram illustrating a third example of blocks necessary for in-plane prediction of the target block. FIG. 10 is an explanatory diagram showing the processing order of blocks in the case of FIG. Here, it is assumed that in-plane prediction is performed using the prediction mode of FIG. In this case, as shown in FIG. 9, in order to perform the in-plane prediction of the target block, block X, it is necessary to use the decoded pixels of the surrounding block B. In this case, the control unit 1 determines to process the blocks in the order shown in FIG. The input unit 2 outputs the data of the blocks B0 to B15 in the order of FIG. 10 according to the instruction of the control unit 1.

図11は、図10の場合に、各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。図9のように、ブロックXの処理は、その上のブロックBのステージST3が終了していれば開始できるので、図11に示されているように、ステージST1〜ST3の処理を平行して行うことができる。   FIG. 11 is a timing chart showing the timing of processing performed on each block in the case of FIG. As shown in FIG. 9, the process of the block X can be started if the stage ST3 of the block B above is completed. Therefore, the processes of the stages ST1 to ST3 are performed in parallel as shown in FIG. It can be carried out.

図12は、対象ブロックの面内予測に必要なブロックの第4の例を示す説明図である。ここでは、図37(a),(b),(c),(i)の4モードのうち、最適な予測モードを用いて面内予測を行うものとする。この場合、図12に示されているように、対象ブロックであるブロックXの面内予測を行うためには、その周囲のブロックA及びBの復号化済み画素を用いる必要がある。また、この場合、制御部1は、図4の順序でブロックを処理することを決定する。入力部2は、制御部1の指示に従って、図4の順序でブロックB0〜B15のデータを出力する。この場合に、各ブロックに対して行われる処理のタイミングは、図5のタイミングチャートで示される。   FIG. 12 is an explanatory diagram illustrating a fourth example of blocks necessary for in-plane prediction of the target block. Here, it is assumed that in-plane prediction is performed using an optimal prediction mode among the four modes of FIGS. 37 (a), (b), (c), and (i). In this case, as shown in FIG. 12, in order to perform the in-plane prediction of the target block X, it is necessary to use the decoded pixels of the surrounding blocks A and B. In this case, the control unit 1 determines to process the blocks in the order shown in FIG. The input unit 2 outputs the data of the blocks B0 to B15 in the order of FIG. 4 according to the instruction of the control unit 1. In this case, the timing of processing performed on each block is shown in the timing chart of FIG.

図13は、対象ブロックの面内予測に必要なブロックの第5の例を示す説明図である。ここでは、図37(a),(d),(h)の3モードのうち、最適な予測モードを用いて面内予測を行うものとする。この場合、図13に示されているように、対象ブロックであるブロックXの面内予測を行うためには、その周囲のブロックB及びブロックDの復号化済み画素を用いる必要がある。また、この場合、制御部1は、図10の順序でブロックを処理することを決定する。入力部2は、制御部1の指示に従って、図10の順序でブロックB0〜B15のデータを出力する。この場合に、各ブロックに対して行われる処理のタイミングは、図11のタイミングチャートで示される。   FIG. 13 is an explanatory diagram illustrating a fifth example of blocks necessary for in-plane prediction of the target block. Here, it is assumed that in-plane prediction is performed using an optimum prediction mode among the three modes of FIGS. 37 (a), (d), and (h). In this case, as shown in FIG. 13, in order to perform in-plane prediction of the target block, block X, it is necessary to use the decoded pixels of block B and block D around it. In this case, the control unit 1 determines to process the blocks in the order shown in FIG. The input unit 2 outputs the data of the blocks B0 to B15 in the order of FIG. 10 according to the instruction of the control unit 1. In this case, the timing of processing performed on each block is shown in the timing chart of FIG.

図14は、対象ブロックの面内予測に必要なブロックの第6の例を示す説明図である。図15は、図14の場合におけるブロックの処理順序を示す説明図である。ここでは、図37(a)〜(i)の9モードのうち、最適な予測モードを用いて面内予測を行うものとする。この場合、図14に示されているように、対象ブロックであるブロックXの面内予測を行うためには、その周囲のブロックA,B,C,及びDの復号化済み画素を用いる必要がある。また、この場合、制御部1は、図15の順序でブロックを処理することを決定する。入力部2は、制御部1の指示に従って、図15の順序でブロックB0〜B15のデータを出力する。   FIG. 14 is an explanatory diagram illustrating a sixth example of blocks necessary for in-plane prediction of the target block. FIG. 15 is an explanatory diagram showing the processing order of blocks in the case of FIG. Here, in-plane prediction is performed using an optimal prediction mode among the nine modes of FIGS. In this case, as shown in FIG. 14, in order to perform in-plane prediction of the target block, block X, it is necessary to use the decoded pixels of the surrounding blocks A, B, C, and D. is there. In this case, the control unit 1 determines to process the blocks in the order shown in FIG. The input unit 2 outputs the data of the blocks B0 to B15 in the order of FIG. 15 according to the instruction of the control unit 1.

図16は、図15の場合に、各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。図14のように、ブロックXの処理は、その周囲のブロックA,B,C,DのステージST3が終了していれば開始できるので、図16に示されているように、ステージST1〜ST3の処理を平行して行うことができる。   FIG. 16 is a timing chart showing the timing of processing performed on each block in the case of FIG. As shown in FIG. 14, the processing of the block X can be started if the stages ST3 of the surrounding blocks A, B, C, and D have been completed, so that the stages ST1 to ST3 are shown in FIG. These processes can be performed in parallel.

このように、図1の画像符号化装置によると、サポートされる予測モード数に応じた順序でブロックを処理するので、面内予測とそれ以外の処理とを並列で行うことが可能となる。その結果、符号化処理に要する時間を短縮することができる。   As described above, according to the image encoding apparatus of FIG. 1, since the blocks are processed in the order corresponding to the number of supported prediction modes, it is possible to perform in-plane prediction and other processing in parallel. As a result, the time required for the encoding process can be shortened.

図17は、図1の画像符号化装置の第1の変形例を示すブロック図である。図17の画像符号化装置は、制御部1と、データ処理部200とを備えている。データ処理部200は、図1のデータ処理部100において、直交変換・量子化部6及び逆量子化・逆直交変換部10に代えて、順/逆直交変換・順/逆量子化部7を備えている。その他の構成要素については、図1を参照して説明したものと同様であるので、同一の参照番号を付してその説明を省略する。順/逆直交変換・順/逆量子化部7は、直交変換・量子化部6及び逆量子化・逆直交変換部10の機能を備えている。   FIG. 17 is a block diagram illustrating a first modification of the image encoding device in FIG. 1. The image encoding device in FIG. 17 includes a control unit 1 and a data processing unit 200. The data processing unit 200 includes a forward / inverse orthogonal transform / forward / inverse quantization unit 7 in place of the orthogonal transform / quantization unit 6 and the inverse quantization / inverse orthogonal transform unit 10 in the data processing unit 100 of FIG. I have. The other components are the same as those described with reference to FIG. 1, and thus the same reference numerals are assigned and description thereof is omitted. The forward / inverse orthogonal transform / forward / inverse quantization unit 7 includes functions of an orthogonal transform / quantization unit 6 and an inverse quantization / inverse orthogonal transform unit 10.

図18は、図17の画像符号化装置において各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。図2におけるステージST2とステージST3とを、合わせてステージST4と称することとする。図17の画像符号化装置では、図1の画像符号化装置よりも処理にやや多くの時間を要している。しかし、直交変換・量子化処理を行う回路と、逆量子化・逆直交変換処理を行う回路とでは、一部の回路を共用することができるので、図17の画像符号化装置によると、図1の画像符号化装置よりも回路規模を抑えることができる。   FIG. 18 is a timing chart showing the timing of processing performed on each block in the image encoding device of FIG. Stage ST2 and stage ST3 in FIG. 2 are collectively referred to as stage ST4. The image encoding device in FIG. 17 requires slightly more time for processing than the image encoding device in FIG. However, since a circuit that performs orthogonal transform / quantization processing and a circuit that performs inverse quantization / inverse orthogonal transform processing can share a part of the circuit, according to the image encoding device of FIG. The circuit scale can be reduced as compared with the first image encoding apparatus.

図19は、図1の画像符号化装置の第2の変形例を示すブロック図である。図19の画像符号化装置は、制御部1と、データ処理部300とを備えている。データ処理部300は、図17のデータ処理部200において、隣接画素記憶部18を更に備えるようにしたものである。   FIG. 19 is a block diagram showing a second modification of the image encoding device in FIG. The image encoding device in FIG. 19 includes a control unit 1 and a data processing unit 300. The data processing unit 300 is the data processing unit 200 of FIG. 17 further including an adjacent pixel storage unit 18.

再構成画像記憶部14は、次フレームの動き補償のため、少なくとも1フレームのデータを保持する必要がある。このため、再構成画像記憶部14は、外部DRAM(dynamic random-access memory)で構成されることが多く、アクセスに時間がかかる。そこで図19の画像符号化装置では、隣接画素記憶部18を備えるようにした。隣接画素記憶部18は、面内予測部16による面内予測に必要な隣接画素(ブロックの最下段又は最右列の画素)のみを格納する。面内予測部16は、再構成画像記憶部14ではなく、隣接画素記憶部18から再構成画像を構成する復号化済み画素を読み出して用いる。   The reconstructed image storage unit 14 needs to hold at least one frame of data for motion compensation of the next frame. For this reason, the reconstructed image storage unit 14 is often composed of an external DRAM (dynamic random-access memory) and takes time to access. Therefore, the image coding apparatus shown in FIG. 19 includes the adjacent pixel storage unit 18. The adjacent pixel storage unit 18 stores only adjacent pixels (lowermost block or rightmost column pixels) necessary for in-plane prediction by the in-plane prediction unit 16. The in-plane prediction unit 16 reads out and uses the decoded pixels constituting the reconstructed image from the adjacent pixel storage unit 18 instead of the reconstructed image storage unit 14.

図20は、図19の隣接画素記憶部18が記憶する画素の例を示す説明図である。隣接画素記憶部18は、例えば、図20のように各ブロックの最下段の画素のみを格納する。隣接画素記憶部18は、必要最小限の画素を記憶するので、容量が小さくてよい。このため、高速なメモリを用いて読み出しの高速化を図ることが容易にできる。   FIG. 20 is an explanatory diagram illustrating an example of pixels stored in the adjacent pixel storage unit 18 of FIG. The adjacent pixel storage unit 18 stores, for example, only the lowermost pixel of each block as shown in FIG. Since the adjacent pixel storage unit 18 stores the minimum necessary pixels, the capacity may be small. For this reason, it is possible to easily increase the reading speed using a high-speed memory.

図21は、図1の画像符号化装置の第3の変形例を示すブロック図である。図21の画像符号化装置は、制御部401と、データ処理部400とを備えている。データ処理部400は、図1のデータ処理部100において、係数記憶部8を複数備えるようにしたものである。   FIG. 21 is a block diagram showing a third modification of the image encoding device in FIG. The image encoding device in FIG. 21 includes a control unit 401 and a data processing unit 400. The data processing unit 400 includes a plurality of coefficient storage units 8 in the data processing unit 100 of FIG.

制御部401には、外部から動作モードMDが入力されている。動作モードMDは、処理される画像の解像度やフレームレート等に対応している。制御部401は、動作モードMDに応じて、図21の画像符号化装置がサポートする予測モードとブロックの処理順序とを決定する。その他の点については、制御部401は、図1の制御部1と同様である。   An operation mode MD is input to the control unit 401 from the outside. The operation mode MD corresponds to the resolution and frame rate of the image to be processed. The control unit 401 determines the prediction mode and the block processing order supported by the image coding apparatus in FIG. 21 according to the operation mode MD. In other respects, the control unit 401 is the same as the control unit 1 of FIG.

図21の画像符号化装置は、それぞれ独立して動作可能な複数の係数記憶部8を備えているので、係数記憶部8のうちの1つへのデータの書き込み(図2のステージST2)と、他の1つからのデータの読み出し(図2のステージST3の処理、又は外部への出力)とを独立して行うことができる。このため、処理の高速化を図ることができる。また、サポートされる予測モードを外部から制御できるので、より高速化が要求される場合に、サポートされる予測モードの数を削減して面内予測処理を高速化することができる。   Since the image encoding apparatus of FIG. 21 includes a plurality of coefficient storage units 8 that can operate independently from each other, data writing to one of the coefficient storage units 8 (stage ST2 of FIG. 2) The reading of data from the other one (the process of stage ST3 in FIG. 2 or the output to the outside) can be performed independently. For this reason, it is possible to increase the processing speed. In addition, since the supported prediction modes can be controlled from the outside, the number of supported prediction modes can be reduced and the in-plane prediction process can be speeded up when higher speed is required.

なお、図21の画像符号化装置において、制御部401に代えて図1の制御部1を備えるようにしてもよい。   Note that the image encoding device in FIG. 21 may include the control unit 1 in FIG. 1 instead of the control unit 401.

図22は、図1の画像符号化装置の第4の変形例を示すブロック図である。図22の画像符号化装置は、制御部501と、データ処理部500とを備えている。データ処理部500は、図17のデータ処理部200において、逆量子化・逆直交変換部210と、クロック制御部32とを更に備えるようにしたものである。   FIG. 22 is a block diagram illustrating a fourth modification of the image encoding device in FIG. 1. The image encoding device in FIG. 22 includes a control unit 501 and a data processing unit 500. The data processing unit 500 is the same as the data processing unit 200 of FIG. 17, further including an inverse quantization / inverse orthogonal transform unit 210 and a clock control unit 32.

クロック制御部32は、クロック信号を逆量子化・逆直交変換部210に出力する。逆量子化・逆直交変換部210は、係数記憶部8から量子化データを読み出し、読み出されたデータに対して逆量子化及び逆直交変換を行う。再構成画像生成部12は、順/逆直交変換・順/逆量子化部7だけではなく、逆量子化・逆直交変換部210で得られた逆量子化及び逆直交変換の結果も、面内予測部16で求められた予測画像と加算し、再構成画像を求める。これによると、逆量子化及び逆直交変換の高速化を図ることができる。   The clock control unit 32 outputs the clock signal to the inverse quantization / inverse orthogonal transform unit 210. The inverse quantization / inverse orthogonal transform unit 210 reads the quantized data from the coefficient storage unit 8 and performs inverse quantization and inverse orthogonal transform on the read data. The reconstructed image generation unit 12 not only uses the forward / inverse orthogonal transform / forward / inverse quantization unit 7 but also the results of inverse quantization and inverse orthogonal transform obtained by the inverse quantization / inverse orthogonal transform unit 210. It adds with the prediction image calculated | required in the inner prediction part 16, and calculates | requires a reconstruction image. According to this, the speed of inverse quantization and inverse orthogonal transform can be increased.

制御部501には、外部から動作モードMDが入力されている。制御部501は、動作モードMDに応じて、逆量子化・逆直交変換部210を動作させるか否かを決定する。逆量子化・逆直交変換部210を動作させない場合には、制御部501は、クロック制御部32に逆量子化・逆直交変換部210へのクロック信号を停止させる。このため、消費電力を抑えることができる。その他の点については、制御部501は、図1の制御部1と同様である。   An operation mode MD is input to the control unit 501 from the outside. The control unit 501 determines whether to operate the inverse quantization / inverse orthogonal transform unit 210 according to the operation mode MD. When the inverse quantization / inverse orthogonal transform unit 210 is not operated, the control unit 501 causes the clock control unit 32 to stop the clock signal to the inverse quantization / inverse orthogonal transform unit 210. For this reason, power consumption can be suppressed. In other respects, the control unit 501 is the same as the control unit 1 of FIG.

図23は、図1の画像符号化装置の第5の変形例を示すブロック図である。図23の画像符号化装置は、制御部1と、データ処理部600とを備えている。データ処理部600は、図1のデータ処理部100において、面内予測部16を複数備えるようにしたものである。制御部1は、サポートされる予測モードの数に応じた数の面内予測部16を動作させる。複数の面内予測部16が動作する場合には、これらの面内予測部16は、面内予測を並行して行う。   FIG. 23 is a block diagram illustrating a fifth modification of the image encoding device in FIG. 1. The image encoding device in FIG. 23 includes a control unit 1 and a data processing unit 600. The data processing unit 600 includes a plurality of in-plane prediction units 16 in the data processing unit 100 of FIG. The control unit 1 operates as many in-plane prediction units 16 as the number of supported prediction modes. When a plurality of in-plane prediction units 16 operate, these in-plane prediction units 16 perform in-plane prediction in parallel.

図23の画像符号化装置によると、サポートされる予測モードが多い場合であっても、複数の面内予測部16が候補となる予測モードで同時に予測し、これらのモードの中から最適な予測モードを選択することが可能となる。このため、画像符号化装置を高速化することが可能となる。   According to the image coding apparatus in FIG. 23, even when there are many supported prediction modes, a plurality of in-plane prediction units 16 predict simultaneously in the candidate prediction modes, and the optimum prediction is selected from these modes. It becomes possible to select a mode. For this reason, it is possible to increase the speed of the image encoding device.

図24は、図1の画像符号化装置の第6の変形例を示すブロック図である。図24の画像符号化装置は、制御部1と、データ処理部700とを備えている。データ処理部700は、図1のデータ処理部100において、複数の直交変換・量子化部6と、複数の係数記憶部8と、複数の逆量子化・逆直交変換部10とを備えるようにしたものである。複数の直交変換・量子化部6は、複数の予測モードについての直交変換及び量子化処理を並行して行い、複数の逆量子化・逆直交変換部10は、複数の予測モードについての逆量子化及び逆直交変換処理を並行して行う。   FIG. 24 is a block diagram illustrating a sixth modification of the image encoding device in FIG. 1. The image encoding apparatus in FIG. 24 includes a control unit 1 and a data processing unit 700. In the data processing unit 100 of FIG. 1, the data processing unit 700 includes a plurality of orthogonal transform / quantization units 6, a plurality of coefficient storage units 8, and a plurality of inverse quantization / inverse orthogonal transform units 10. It is a thing. The plurality of orthogonal transform / quantization units 6 perform orthogonal transform and quantization processing for a plurality of prediction modes in parallel, and the plurality of inverse quantization / inverse orthogonal transform units 10 perform inverse quanta for a plurality of prediction modes. And inverse orthogonal transform processing are performed in parallel.

図24の画像符号化装置によると、サポートされる予測モードが少ない場合等、面内予測16の処理が比較的早く終了するような場合において、画像符号化装置全体の処理速度が低下しないようにすることができる。   According to the image encoding device in FIG. 24, the processing speed of the entire image encoding device is not reduced when the processing of the in-plane prediction 16 is completed relatively early, such as when the supported prediction modes are few. can do.

図25は、図1の画像符号化装置の第7の変形例を示すブロック図である。図25の画像符号化装置は、制御部801と、データ処理部800とを備えている。データ処理部800は、図23のデータ処理部600において、複数の係数記憶部8を備えるようにし、直交変換・量子化部6及び逆量子化・逆直交変換部10に代えて、制御部801から制御可能な複数の直交変換・量子化部206及び複数の逆量子化・逆直交変換部210を備えるようにしたものである。   FIG. 25 is a block diagram illustrating a seventh modification of the image encoding device in FIG. 1. The image encoding apparatus in FIG. 25 includes a control unit 801 and a data processing unit 800. The data processing unit 800 includes a plurality of coefficient storage units 8 in the data processing unit 600 of FIG. 23, and replaces the orthogonal transform / quantization unit 6 and the inverse quantization / inverse orthogonal transform unit 10 with a control unit 801. Are provided with a plurality of orthogonal transform / quantization units 206 and a plurality of inverse quantization / inverse orthogonal transform units 210 that can be controlled.

制御部801には、外部から動作モードMDが入力されている。制御部801は、動作モードMDに応じて、図25の画像符号化装置がサポートする予測モードとブロックの処理順序とを決定する。更に、制御部801は、面内予測部16、直交変換・量子化部206、及び逆量子化・逆直交変換部210のうち、処理のパフォーマンスに影響を与えるもの(処理に時間を要するもの)については、サポートされる予測モード数に応じた数だけ動作させる。その他の点については、制御部801は、図1の制御部1と同様である。   An operation mode MD is input to the control unit 801 from the outside. The control unit 801 determines a prediction mode and a block processing order supported by the image encoding device in FIG. 25 according to the operation mode MD. Further, the control unit 801 affects the processing performance among the in-plane prediction unit 16, the orthogonal transform / quantization unit 206, and the inverse quantization / inverse orthogonal transform unit 210 (thing that requires time for processing). Is operated by the number corresponding to the number of prediction modes supported. In other respects, the control unit 801 is the same as the control unit 1 of FIG.

複数の直交変換・量子化部206及び複数の逆量子化・逆直交変換部210が動作する場合には、これらの直交変換・量子化部206は、サポートされる予測モード数に応じた数の直交変換及び量子化処理を並行して行い、これらの逆量子化・逆直交変換部210は、サポートされる予測モード数に応じた数の逆量子化及び逆直交変換処理を並行して行う。図25の画像符号化装置によると、画像符号化装置全体の処理速度が低下しないようにすることができる。   When a plurality of orthogonal transform / quantization units 206 and a plurality of inverse quantization / inverse orthogonal transform units 210 operate, these orthogonal transform / quantization units 206 have a number corresponding to the number of supported prediction modes. Orthogonal transformation and quantization processing are performed in parallel, and the inverse quantization / inverse orthogonal transformation unit 210 performs the number of inverse quantization and inverse orthogonal transformation processing in parallel according to the number of supported prediction modes. According to the image encoding device in FIG. 25, the processing speed of the entire image encoding device can be prevented from decreasing.

図26は、輝度信号と色差信号とを交互に処理する場合において、各ブロックに対する処理のタイミングの例を示すタイミングチャートである。このように、以上の各画像符号化装置において、輝度信号と色差信号とを交互に処理するようにしてもよい。   FIG. 26 is a timing chart showing an example of processing timing for each block when the luminance signal and the color difference signal are alternately processed. As described above, in each of the above image encoding devices, the luminance signal and the color difference signal may be alternately processed.

例えば図1の画像符号化装置において、図4の順序でブロックの処理を行う場合、制御部1は、ブロックB0の輝度信号Y0、ブロックB0の色差信号Cb0,Cr0、ブロックB1の輝度信号Y1、ブロックB1の色差信号Cb1,Cr1、…というように、図26のような順序で、入力部2にブロックのデータを出力させるようにしてもよい。データ処理部100は、図26のように、輝度信号に対する処理と色差信号に対する処理とを交互に行う。このようにすると、処理の待ち時間が減るので、図5の場合と比べて処理を早く終えることができる。   For example, in the image encoding apparatus of FIG. 1, when the blocks are processed in the order of FIG. 4, the control unit 1 includes the luminance signal Y0 of the block B0, the color difference signals Cb0 and Cr0 of the block B0, The color difference signals Cb1, Cr1,... Of the block B1 may be output to the input unit 2 in the order shown in FIG. As shown in FIG. 26, the data processing unit 100 alternately performs processing on the luminance signal and processing on the color difference signal. In this way, the processing waiting time is reduced, so that the processing can be completed earlier than in the case of FIG.

図27は、処理対象のフレーム画像におけるマクロブロックの処理順序の例を示す説明図である。例えば、マクロブロックMB1の次にマクロブロックMB4が処理される。図28は、異なるマクロブロックを交互に処理する場合において、各ブロックに対する処理のタイミングの例を示すタイミングチャートである。このように、以上の各画像符号化装置において、異なるマクロブロックを交互に処理するようにしてもよい。   FIG. 27 is an explanatory diagram illustrating an example of a processing order of macroblocks in a processing target frame image. For example, the macro block MB4 is processed next to the macro block MB1. FIG. 28 is a timing chart showing an example of processing timing for each block when different macroblocks are alternately processed. In this manner, different macroblocks may be alternately processed in each of the above image encoding devices.

例えば図1の画像符号化装置において、図4の順序でブロックの処理を行う場合、制御部1は、マクロブロックMB1のブロックB0(MB1−B0)、マクロブロックMB4のブロックB0(MB4−B0)、マクロブロックMB1のブロックB1(MB1−B1)、マクロブロックMB4のブロックB1(MB4−B1)、…というように、図28のような順序で、入力部2にブロックのデータを出力させるようにしてもよい。データ処理部100は、図28のように、異なるマクロブロックに属するブロックに対する処理を交互に行う。このようにすると、処理の待ち時間が減るので、図5の場合と比べて処理を早く終えることができる。   For example, in the image encoding apparatus of FIG. 1, when the blocks are processed in the order of FIG. 4, the control unit 1 performs block B0 (MB1-B0) of macroblock MB1 and block B0 (MB4-B0) of macroblock MB4. .., Block B1 (MB1-B1) of macro block MB1, block B1 (MB4-B1) of macro block MB4,... May be. As shown in FIG. 28, the data processing unit 100 alternately performs processing on blocks belonging to different macroblocks. In this way, the processing waiting time is reduced, so that the processing can be completed earlier than in the case of FIG.

図29は、図1の画像符号化装置の第8の変形例を示すブロック図である。図29の画像符号化装置は、制御部901と、データ処理部900とを備えている。データ処理部900は、図21のデータ処理部400において、入力部3と、選択部34とを更に備えるようにしたものである。   FIG. 29 is a block diagram illustrating an eighth modification of the image encoding device in FIG. 1. The image encoding apparatus in FIG. 29 includes a control unit 901 and a data processing unit 900. The data processing unit 900 is the same as the data processing unit 400 of FIG. 21, further including an input unit 3 and a selection unit 34.

入力部3は、画像PX2を受け取り、画像PX2に含まれるブロックのデータを制御部901で決定された順序で出力する。制御部901には、外部から画像指定信号PSが入力されている。制御部901は、画像指定信号PSに従って、選択部34を以下のように制御する点の他は、図1の制御部1と同様である。選択部34は、制御部901の指示に従って、入力部2の出力(画像PX1)及び入力部3の出力(画像PX2)のうち、画像指定信号PSで指定されたものを選択、又は1つずつ交互に選択し、選択された出力を減算部4及び面内予測部16に出力する。   The input unit 3 receives the image PX2 and outputs the data of the blocks included in the image PX2 in the order determined by the control unit 901. The control unit 901 receives an image designation signal PS from the outside. The control unit 901 is the same as the control unit 1 of FIG. 1 except that the selection unit 34 is controlled as follows according to the image designation signal PS. The selection unit 34 selects, in accordance with an instruction from the control unit 901, one designated by the image designation signal PS from the output from the input unit 2 (image PX1) and the output from the input unit 3 (image PX2), or one by one. The selection is alternately performed, and the selected output is output to the subtraction unit 4 and the in-plane prediction unit 16.

図29の画像符号化装置によると、2つの画像を並行して処理することが可能となる。一方の画像の処理の空き時間に他方の画像の処理が可能であるので、効率よく処理を行うことができる。また、2つの画像のうちの一方のみを処理するか、又は両方を処理するかを選択することが可能となる。なお、それぞれに異なる画像が入力された3つ以上の入力部を備えるようにし、それらの出力のうち、選択部34が、画像指定信号PSで指定されたものを選択、又は1つずつ順次選択するようにしてもよい。   According to the image encoding device in FIG. 29, two images can be processed in parallel. Since the other image can be processed in the idle time of the processing of one image, the processing can be performed efficiently. It is also possible to select whether to process only one of the two images or both. It should be noted that three or more input units to which different images are input are provided, and among those outputs, the selection unit 34 selects one designated by the image designation signal PS or sequentially selects one by one. You may make it do.

図30は、図1の画像符号化装置の第9の変形例を示すブロック図である。図30の画像符号化装置は、図1の画像符号化装置において、直交変換・量子化部6及び逆量子化・逆直交変換部10に代えて、直交変換部42と、順/逆量子化部44と、逆直交変換部46とを備えている。図30では、これらの構成要素及び係数記憶部8以外の構成要素については、記載を省略している。   FIG. 30 is a block diagram showing a ninth modification of the image encoding device in FIG. The image encoding device in FIG. 30 is different from the image encoding device in FIG. 1 in that an orthogonal transform unit 42 and forward / inverse quantization are used instead of the orthogonal transform / quantization unit 6 and the inverse quantization / inverse orthogonal transform unit 10. Unit 44 and an inverse orthogonal transform unit 46. In FIG. 30, the components other than these components and the coefficient storage unit 8 are not shown.

言い換えると、図30の画像符号化装置は、直交変換・量子化部として直交変換部42と量子化部とを備え、逆量子化・逆直交変換部として逆量子化部と逆直交変換部46とを備えている。量子化部と逆量子化部とは、乗算回路を共有しており、順/逆量子化部44に対応している。   In other words, the image encoding device in FIG. 30 includes an orthogonal transform unit 42 and a quantization unit as orthogonal transform / quantization units, and an inverse quantization unit and an inverse orthogonal transform unit 46 as inverse quantization / inverse orthogonal transform units. And. The quantization unit and the inverse quantization unit share a multiplication circuit and correspond to the forward / inverse quantization unit 44.

直交変換部42は、減算部4で求められた差分に対して直交変換を行い、その結果を順/逆量子化部44に出力する。順/逆量子化部44は、量子化部として、直交変換の結果に対して量子化を行い、得られた量子化データを係数記憶部8に出力する。また、順/逆量子化部44は、逆量子化部として、係数記憶部8から量子化データを読み出し、読み出されたデータに逆量子化を行い、その結果を逆直交変換部46に出力する。逆直交変換部46は、逆量子化の結果に対して逆直交変換を行い、その結果を再構成画像生成部12に出力する。   The orthogonal transformation unit 42 performs orthogonal transformation on the difference obtained by the subtraction unit 4 and outputs the result to the forward / inverse quantization unit 44. The forward / inverse quantization unit 44 quantizes the orthogonal transformation result as a quantization unit, and outputs the obtained quantized data to the coefficient storage unit 8. Further, the forward / inverse quantization unit 44, as an inverse quantization unit, reads the quantized data from the coefficient storage unit 8, performs inverse quantization on the read data, and outputs the result to the inverse orthogonal transform unit 46. To do. The inverse orthogonal transform unit 46 performs inverse orthogonal transform on the result of the inverse quantization, and outputs the result to the reconstructed image generation unit 12.

図31は、図2の量子化処理及び逆量子化処理についてのタイミングチャートである。図31のように、ステップS4では、1次直交変換、2次直交変換、量子化の順で処理が開始され、ステップS6では、逆量子化、1次逆直交変換、2次逆直交変換の順で処理が開始される。ステップS4の量子化処理が開始される前に、ステップS6の逆量子化処理が終了しているので、量子化処理を行う回路と逆量子化処理を行う回路とを共用化することができる。このため、量子化処理又は逆量子化処理を行う乗算回路を削減することができ、低コスト化を図ることができる。   FIG. 31 is a timing chart for the quantization process and the inverse quantization process of FIG. As shown in FIG. 31, in step S4, processing is started in the order of primary orthogonal transformation, secondary orthogonal transformation, and quantization. In step S6, inverse quantization, primary inverse orthogonal transformation, and secondary inverse orthogonal transformation are performed. Processing is started in order. Since the inverse quantization process in step S6 is completed before the quantization process in step S4 is started, the circuit that performs the quantization process and the circuit that performs the inverse quantization process can be shared. For this reason, it is possible to reduce the number of multiplication circuits that perform quantization processing or inverse quantization processing, and to reduce costs.

図32は、図1の画像符号化装置の第10の変形例を示すブロック図である。図32の画像符号化装置は、制御部1と、データ処理部1000とを備えている。データ処理部1000は、図21のデータ処理部400において、入力部2及び面内予測部16に代えて、入力部302及び面内予測部316を備え、可変長符号化部52と、符号量計算部54とを更に備えるようにしたものである。図33は、図32の画像符号化装置における処理の流れを示すフローチャートである。図33は、図32のフローチャートにおいて、ステップS2に代えてステップS12を備え、ステップS22,S24を更に備えるようにしたものである。   FIG. 32 is a block diagram illustrating a tenth modification of the image encoding device in FIG. 1. The image encoding device in FIG. 32 includes a control unit 1 and a data processing unit 1000. The data processing unit 1000 includes an input unit 302 and an in-plane prediction unit 316 instead of the input unit 2 and the in-plane prediction unit 16 in the data processing unit 400 of FIG. A calculation unit 54 is further provided. FIG. 33 is a flowchart showing the flow of processing in the image encoding device of FIG. FIG. 33 includes step S12 instead of step S2 in the flowchart of FIG. 32, and further includes steps S22 and S24.

図33のステップS22において、可変長符号化部52は、係数記憶部8から出力されたデータに対して可変長符号化を行い、得られた符号を出力する。ステップS24において、符号量計算部54は、可変長符号化部52で生成された符号の量を求める。ステップS12では、面内予測部316は、目標とする符号量の条件が満たされている場合には、再構成画像に代えて符号化対象画像を用いて、面内予測を行う。このステップでは、その他の点についてはステップS2と同様の処理が行われる。   In step S22 of FIG. 33, the variable length coding unit 52 performs variable length coding on the data output from the coefficient storage unit 8, and outputs the obtained code. In step S <b> 24, the code amount calculation unit 54 obtains the amount of code generated by the variable length encoding unit 52. In step S12, when the target code amount condition is satisfied, the in-plane prediction unit 316 performs in-plane prediction using the encoding target image instead of the reconstructed image. In this step, processing similar to that in step S2 is performed for other points.

図34は、図32の画像符号化装置において各ブロックに対して行われる処理のタイミングの例を示すタイミングチャートである。ここでは、図4の順序でブロックの処理を行う場合について示している。図5を参照して説明したように、図1の画像符号化装置では、例えばブロックB1を処理するには、ブロックB0の再構成画像が必要である。これに対し、図32の画像符号化装置では、目標とする符号量の条件が満たされている場合には、ブロックB1の処理の際にはブロックB0の再構成画像は必要ない。このため、ブロックB0の再構成画像が生成されるのを待たずに予測モードを決定することが可能である(図34のAを参照)。   FIG. 34 is a timing chart illustrating an example of the timing of processing performed on each block in the image encoding device in FIG. 32. Here, the case of performing the block processing in the order of FIG. 4 is shown. As described with reference to FIG. 5, in the image encoding device in FIG. 1, for example, in order to process block B <b> 1, a reconstructed image of block B <b> 0 is necessary. On the other hand, in the image encoding device of FIG. 32, when the target code amount condition is satisfied, the reconstructed image of the block B0 is not necessary for the processing of the block B1. Therefore, it is possible to determine the prediction mode without waiting for the reconstructed image of the block B0 to be generated (see A in FIG. 34).

また、可変長符号化部52で符号量が求められた後、面内予測部316が、求められた符号の量に応じて、サポートされる予測モードの種類を決定するようにしてもよい。この場合、入力部302は、サポートされる予測モードに対応した順序で、各ブロックを選択して出力する。例えば、目標とする符号量の条件が満たされている場合に、サポートされる予測モードの種類を少なくすると、面内予測を高速化することができる。   In addition, after the code amount is obtained by the variable length coding unit 52, the in-plane prediction unit 316 may determine the type of supported prediction mode according to the obtained code amount. In this case, the input unit 302 selects and outputs each block in the order corresponding to the supported prediction mode. For example, when the target code amount condition is satisfied, the number of types of supported prediction modes is reduced, so that the in-plane prediction can be speeded up.

図35は、図32の画像符号化装置における処理の流れの他の例を示すフローチャートである。図35は、図33のフローチャートにおいて、ステップS26を更に備えるようにしたものである。ステップS26では、面内予測部316は、符号量計算部54で求められた符号量に基づいて、用いられた予測モードが妥当であったか否かを判断し、妥当ではなかったと判断した場合には、予測モードの決定を再度行い、用いられた予測モードとは異なる予測モードで面内予測を行う。これによると、より適切な予測モードによる予測を行い、符号量を減少させることができる。   FIG. 35 is a flowchart illustrating another example of the processing flow in the image encoding device in FIG. 32. FIG. 35 further includes step S26 in the flowchart of FIG. In step S26, the in-plane prediction unit 316 determines whether or not the used prediction mode is appropriate based on the code amount obtained by the code amount calculation unit 54, and if it is determined that the prediction mode is not appropriate. Then, the prediction mode is determined again and in-plane prediction is performed in a prediction mode different from the used prediction mode. According to this, it is possible to perform prediction in a more appropriate prediction mode and reduce the code amount.

図36は、本実施形態に係る画像符号化装置を有する撮像システムの構成例を示すブロック図である。図36の撮像システムは、例えばデジタルスチルカメラであって、光学系112と、イメージセンサ114と、アナログ/デジタル変換器116と、画像処理回路118と、記録転送回路122と、再生回路124と、システム制御回路126と、タイミング制御回路128とを備えている。   FIG. 36 is a block diagram illustrating a configuration example of an imaging system having an image encoding device according to the present embodiment. The imaging system in FIG. 36 is, for example, a digital still camera, and includes an optical system 112, an image sensor 114, an analog / digital converter 116, an image processing circuit 118, a recording / transferring circuit 122, a reproduction circuit 124, A system control circuit 126 and a timing control circuit 128 are provided.

光学系112は、入射光をイメージセンサ114上で結像させる。イメージセンサ114は、タイミング制御回路128によって駆動されており、結像された入射光(画像)を蓄積し、電気信号への光電変換を行うことにより、入射光に応じた画像信号を出力する。アナログ/デジタル変換器116は、イメージセンサ114から出力された画像信号をデジタル信号に変換し、画像処理回路118に出力する。   The optical system 112 forms an image of incident light on the image sensor 114. The image sensor 114 is driven by the timing control circuit 128, accumulates the formed incident light (image), performs photoelectric conversion into an electric signal, and outputs an image signal corresponding to the incident light. The analog / digital converter 116 converts the image signal output from the image sensor 114 into a digital signal and outputs the digital signal to the image processing circuit 118.

画像処理回路118は、以上で説明した本実施形態に係る画像符号化装置のいずれかを有している。画像処理回路118は、Y/C処理、エッジ処理、画像の拡大縮小、及び画像圧縮伸張処理(例えば本実施形態で説明したような画像符号化処理)等の画像処理を行う。記録転送回路122は、画像処理された信号に対して、メディアへの記録又は転送を行う。再生回路124は、記録又は転送された信号を受け取り、再生する。システム制御回路126は、図36の撮像システムの全体を制御している。   The image processing circuit 118 includes any of the image encoding devices according to the present embodiment described above. The image processing circuit 118 performs image processing such as Y / C processing, edge processing, image enlargement / reduction, and image compression / decompression processing (for example, image encoding processing as described in the present embodiment). The recording / transferring circuit 122 records or transfers the image-processed signal to a medium. The reproduction circuit 124 receives and reproduces the recorded or transferred signal. The system control circuit 126 controls the entire imaging system of FIG.

なお、アナログ/デジタル変換器116又は画像処理回路118が、画像信号を外部から受け取るようにし、画像処理回路118がこの画像信号に対する処理を行うようにしてもよい。   Note that the analog / digital converter 116 or the image processing circuit 118 may receive an image signal from the outside, and the image processing circuit 118 may perform processing on the image signal.

以上説明したように、本発明は、面内予測を伴う動画像符号化を高速化することができるので、画像符号化装置等について有用であり、例えば、カメラ付き携帯電話やデジタルスチルカメラ等に有用である。   As described above, the present invention can speed up moving picture encoding with in-plane prediction, and is therefore useful for an image encoding apparatus and the like. For example, in a mobile phone with a camera, a digital still camera, and the like. Useful.

本発明の実施の形態に係る画像符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image coding apparatus which concerns on embodiment of this invention. 図1の画像符号化装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the image coding apparatus of FIG. 対象ブロックの面内予測に必要なブロックの第1の例を示す説明図である。It is explanatory drawing which shows the 1st example of a block required for in-plane prediction of an object block. 図3の場合におけるブロックの処理順序を示す説明図である。It is explanatory drawing which shows the process order of the block in the case of FIG. 図4の場合に、図1の画像符号化装置において各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。5 is a timing chart showing the timing of processing performed on each block in the image encoding device of FIG. 1 in the case of FIG. 対象ブロックの面内予測に必要なブロックの第2の例を示す説明図である。It is explanatory drawing which shows the 2nd example of a block required for the in-plane prediction of an object block. 図6の場合におけるブロックの処理順序を示す説明図である。It is explanatory drawing which shows the process order of the block in the case of FIG. 図7の場合に、各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。8 is a timing chart showing the timing of processing performed on each block in the case of FIG. 対象ブロックの面内予測に必要なブロックの第3の例を示す説明図である。It is explanatory drawing which shows the 3rd example of a block required for the in-plane prediction of an object block. 図9の場合におけるブロックの処理順序を示す説明図である。It is explanatory drawing which shows the process order of the block in the case of FIG. 図10の場合に、各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。11 is a timing chart showing the timing of processing performed on each block in the case of FIG. 10. 対象ブロックの面内予測に必要なブロックの第4の例を示す説明図である。It is explanatory drawing which shows the 4th example of a block required for the in-plane prediction of an object block. 対象ブロックの面内予測に必要なブロックの第5の例を示す説明図である。It is explanatory drawing which shows the 5th example of a block required for the in-plane prediction of an object block. 対象ブロックの面内予測に必要なブロックの第6の例を示す説明図である。It is explanatory drawing which shows the 6th example of a block required for the in-plane prediction of an object block. 図14の場合におけるブロックの処理順序を示す説明図である。It is explanatory drawing which shows the process order of the block in the case of FIG. 図15の場合に、各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。16 is a timing chart showing the timing of processing performed on each block in the case of FIG. 図1の画像符号化装置の第1の変形例を示すブロック図である。It is a block diagram which shows the 1st modification of the image coding apparatus of FIG. 図17の画像符号化装置において各ブロックに対して行われる処理のタイミングを示すタイミングチャートである。It is a timing chart which shows the timing of the process performed with respect to each block in the image coding apparatus of FIG. 図1の画像符号化装置の第2の変形例を示すブロック図である。It is a block diagram which shows the 2nd modification of the image coding apparatus of FIG. 図19の隣接画素記憶部が記憶する画素の例を示す説明図である。It is explanatory drawing which shows the example of the pixel which the adjacent pixel memory | storage part of FIG. 19 memorize | stores. 図1の画像符号化装置の第3の変形例を示すブロック図である。It is a block diagram which shows the 3rd modification of the image coding apparatus of FIG. 図1の画像符号化装置の第4の変形例を示すブロック図である。It is a block diagram which shows the 4th modification of the image coding apparatus of FIG. 図1の画像符号化装置の第5の変形例を示すブロック図である。It is a block diagram which shows the 5th modification of the image coding apparatus of FIG. 図1の画像符号化装置の第6の変形例を示すブロック図である。It is a block diagram which shows the 6th modification of the image coding apparatus of FIG. 図1の画像符号化装置の第7の変形例を示すブロック図である。It is a block diagram which shows the 7th modification of the image coding apparatus of FIG. 輝度信号と色差信号とを交互に処理する場合において、各ブロックに対する処理のタイミングの例を示すタイミングチャートである。10 is a timing chart showing an example of processing timing for each block when processing luminance signals and color difference signals alternately. 処理対象のフレーム画像におけるマクロブロックの処理順序の例を示す説明図である。It is explanatory drawing which shows the example of the process order of the macroblock in the frame image to be processed. 異なるマクロブロックを交互に処理する場合において、各ブロックに対する処理のタイミングの例を示すタイミングチャートである。It is a timing chart which shows the example of the timing of the process with respect to each block in the case of processing a different macroblock alternately. 図1の画像符号化装置の第8の変形例を示すブロック図である。It is a block diagram which shows the 8th modification of the image coding apparatus of FIG. 図1の画像符号化装置の第9の変形例を示すブロック図である。It is a block diagram which shows the 9th modification of the image coding apparatus of FIG. 図2の量子化処理及び逆量子化処理についてのタイミングチャートである。It is a timing chart about the quantization process and inverse quantization process of FIG. 図1の画像符号化装置の第10の変形例を示すブロック図である。It is a block diagram which shows the 10th modification of the image coding apparatus of FIG. 図32の画像符号化装置における処理の流れを示すフローチャートである。Fig. 33 is a flowchart showing a flow of processing in the image encoding device in Fig. 32. 図32の画像符号化装置において各ブロックに対して行われる処理のタイミングの例を示すタイミングチャートである。FIG. 33 is a timing chart illustrating an example of timing of processing performed on each block in the image encoding device in FIG. 32. 図32の画像符号化装置における処理の流れの他の例を示すフローチャートである。FIG. 33 is a flowchart illustrating another example of a process flow in the image encoding device of FIG. 32. FIG. 本実施形態に係る画像符号化装置を有する撮像システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the imaging system which has an image coding apparatus which concerns on this embodiment. (a),(b),(c),(d),(e),(f),(g),(h),(i)は、輝度信号の4×4画素のブロックに対する面内予測モードの例を示す説明図であって、それぞれ予測モード0、予測モード1、予測モード2、予測モード3、予測モード4、予測モード5、予測モード6、予測モード7、予測モード8についての説明図である。(A), (b), (c), (d), (e), (f), (g), (h), (i) are the in-plane predictions for a 4 × 4 pixel block of the luminance signal. It is explanatory drawing which shows the example of a mode, Comprising: Explanation about prediction mode 0, prediction mode 1, prediction mode 2, prediction mode 3, prediction mode 4, prediction mode 5, prediction mode 6, prediction mode 7, and prediction mode 8, respectively. FIG. (a),(b),(c),(d)は、色差信号の8×8画素のブロックに対する面内予測モードの例を示す説明図であって、それぞれ予測モード0、予測モード1、予測モード2、予測モード3についての説明図である。(A), (b), (c), (d) is explanatory drawing which shows the example of the in-plane prediction mode with respect to the block of 8x8 pixels of a color difference signal, Comprising: Prediction mode 0, Prediction mode 1, respectively It is explanatory drawing about the prediction mode 2 and the prediction mode 3. FIG. ブロックの処理順序の例を示す説明図である。It is explanatory drawing which shows the example of the process order of a block.

符号の説明Explanation of symbols

1,401,501,801,901 制御部
2,3,302 入力部
4 減算部
6,206 直交変換・量子化部
7 順/逆直交変換・順/逆量子化部
8 係数記憶部
10,210 逆量子化・逆直交変換部
12 再構成画像生成部
14 再構成画像記憶部
16,316 面内予測部
18 隣接画素記憶部
32 クロック制御部
34 選択部
42 直交変換部
44 順/逆量子化部
46 逆直交変換部
52 可変長符号化部
54 符号量計算部
100,200,300,400,500,600,700,800,900,1000 データ処理部
1,401,501,801,901 Control unit 2,3,302 Input unit 4 Subtraction unit 6,206 Orthogonal transformation / quantization unit 7 Forward / inverse orthogonal transformation / forward / inverse quantization unit 8 Coefficient storage units 10, 210 Inverse quantization / inverse orthogonal transformation unit 12 Reconstructed image generation unit 14 Reconstructed image storage unit 16,316 In-plane prediction unit 18 Adjacent pixel storage unit 32 Clock control unit 34 Selection unit 42 Orthogonal transformation unit 44 Forward / inverse quantization unit 46 Inverse orthogonal transform unit 52 Variable length coding unit 54 Code amount calculation unit 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 Data processing unit

Claims (37)

画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置であって、
サポートされる予測モードに応じて、前記複数のブロックを処理する順序を決定する制御部と、
前記制御部で決定された順序に従って、前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて前記予測モードのうちの最適な予測モードで面内予測を行うデータ処理部とを備える
ことを特徴とする画像符号化装置。
An image encoding device that performs in-plane prediction processing on a plurality of blocks constituting an image,
A control unit that determines an order of processing the plurality of blocks according to a supported prediction mode;
A data processing unit that performs in-plane prediction in an optimal prediction mode of the prediction modes using pixels adjacent to each block for each of the plurality of blocks according to the order determined by the control unit. An image encoding apparatus comprising:
請求項1に記載の画像符号化装置において、
前記データ処理部は、
前記複数のブロックを、前記制御部で決定された順序に従って出力する入力部と、
前記入力部から出力されたブロックと予測画像との差分を求める減算部と、
前記差分に対して直交変換及び量子化を行う直交変換・量子化部と、
前記直交変換・量子化部で求められた結果を格納する係数記憶部と、
前記直交変換・量子化部で求められた結果を前記係数記憶部から読み出し、読み出されたデータに対して逆量子化及び逆直交変換を行う逆量子化・逆直交変換部と、
前記逆量子化・逆直交変換部で求められた結果と前記予測画像とを加算して再構成画像を求める再構成画像生成部と、
前記再構成画像を格納する再構成画像記憶部と、
前記再構成画像と前記入力部から新たに出力されたブロックとに基づいて、前記サポートされる予測モードのうちの最適な予測モードで面内予測を行い、その結果を前記予測画像として出力する面内予測部とを備える
ことを特徴とする画像符号化装置。
The image encoding device according to claim 1,
The data processing unit
An input unit that outputs the plurality of blocks according to an order determined by the control unit;
A subtraction unit for obtaining a difference between the block output from the input unit and the predicted image;
An orthogonal transform / quantization unit that performs orthogonal transform and quantization on the difference;
A coefficient storage unit for storing the results obtained by the orthogonal transform / quantization unit;
A result obtained by the orthogonal transform / quantization unit is read from the coefficient storage unit, and an inverse quantization / inverse orthogonal transform unit that performs inverse quantization and inverse orthogonal transform on the read data;
A reconstructed image generating unit that obtains a reconstructed image by adding the prediction image and the result obtained by the inverse quantization / inverse orthogonal transform unit;
A reconstructed image storage unit for storing the reconstructed image;
A surface that performs in-plane prediction in an optimal prediction mode among the supported prediction modes based on the reconstructed image and a block newly output from the input unit, and outputs the result as the prediction image An image coding apparatus comprising: an inner prediction unit.
請求項2に記載の画像符号化装置において、
前記データ処理部は、
前記再構成画像のうち、面内予測の際に必要となる画素のみを格納する隣接画素記憶部を更に備え、
前記面内予測部は、
前記隣接画素記憶部に格納された画素を前記再構成画像として用いる
ことを特徴とする画像符号化装置。
The image encoding device according to claim 2,
The data processing unit
Of the reconstructed image, further comprising an adjacent pixel storage unit that stores only pixels necessary for in-plane prediction,
The in-plane prediction unit
An image encoding apparatus using a pixel stored in the adjacent pixel storage unit as the reconstructed image.
請求項2に記載の画像符号化装置において、
前記データ処理部は、
前記係数記憶部を複数備え、
前記係数記憶部は、それぞれ独立して動作可能である
ことを特徴とする画像符号化装置。
The image encoding device according to claim 2,
The data processing unit
A plurality of the coefficient storage units;
The image coding apparatus, wherein each of the coefficient storage units can operate independently.
請求項4に記載の画像符号化装置において、
前記データ処理部は、
前記面内予測部を複数備え、
前記制御部は、
前記サポートされる予測モードの数に応じた数の前記面内予測部を動作させる
ことを特徴とする画像符号化装置。
The image encoding device according to claim 4, wherein
The data processing unit
A plurality of the in-plane prediction units;
The controller is
An image coding apparatus that operates a number of the in-plane prediction units according to the number of supported prediction modes.
請求項2に記載の画像符号化装置において、
前記データ処理部は、
前記直交変換・量子化部及び前記逆量子化・逆直交変換部をいずれも複数備える
ことを特徴とする画像符号化装置。
The image encoding device according to claim 2,
The data processing unit
An image coding apparatus comprising a plurality of the orthogonal transform / quantization unit and the inverse quantization / inverse orthogonal transform unit.
請求項6に記載の画像符号化装置において、
前記制御部は、
入力された動作モードに応じた数の前記直交変換・量子化部、及び前記入力された動作モードに応じた数の前記逆量子化・逆直交変換部を動作させる
ことを特徴とする画像符号化装置。
The image encoding device according to claim 6, wherein
The controller is
Image coding characterized by operating the number of orthogonal transform / quantization units according to an input operation mode and the number of inverse quantization / inverse orthogonal transform units according to the input operation mode apparatus.
請求項2に記載の画像符号化装置において、
前記データ処理部は、
前記入力部を複数備え、かつ、
前記複数の入力部の出力から選択を行い、選択された出力を前記減算部及び前記面内予測部に出力する選択部を更に備える
ことを特徴とする画像符号化装置。
The image encoding device according to claim 2,
The data processing unit
A plurality of the input units, and
An image encoding apparatus, further comprising: a selection unit that selects from outputs of the plurality of input units and outputs the selected output to the subtraction unit and the in-plane prediction unit.
請求項8に記載の画像符号化装置において、
前記選択部は、
前記複数の入力部の出力から1つずつ順次選択する
ことを特徴とする画像符号化装置。
The image encoding device according to claim 8, wherein
The selection unit includes:
An image encoding apparatus that sequentially selects one by one from outputs of the plurality of input units.
請求項8に記載の画像符号化装置において、
前記選択部は、
入力された画像指定信号に従って、前記複数の入力部の出力から1つずつ順次選択すること、又は指定された入力部の出力を選択することを行う
ことを特徴とする画像符号化装置。
The image encoding device according to claim 8, wherein
The selection unit includes:
An image encoding apparatus that sequentially selects one by one from the outputs of the plurality of input units or selects an output of the designated input unit in accordance with an input image designation signal.
請求項2に記載の画像符号化装置において、
前記直交変換・量子化部は、
前記差分に対して直交変換を行う直交変換部と、
前記直交変換の結果に対して量子化を行う量子化部とを備え、
前記逆量子化・逆直交変換部は、
前記係数記憶部から読み出されたデータに対して逆量子化を行う逆量子化部と、
前記逆量子化の結果に対して逆直交変換を行う逆直交変換部とを備え、
前記量子化部と前記逆量子化部とは、乗算回路を共有している
ことを特徴とする画像符号化装置。
The image encoding device according to claim 2,
The orthogonal transform / quantization unit
An orthogonal transform unit that performs orthogonal transform on the difference;
A quantization unit that performs quantization on the result of the orthogonal transform,
The inverse quantization / inverse orthogonal transform unit includes:
An inverse quantization unit that performs inverse quantization on the data read from the coefficient storage unit;
An inverse orthogonal transform unit that performs inverse orthogonal transform on the result of the inverse quantization,
The image coding apparatus, wherein the quantization unit and the inverse quantization unit share a multiplication circuit.
請求項2に記載の画像符号化装置において、
前記データ処理部は、
前記係数記憶部から読み出されたデータに対して可変長符号化を行う可変長符号化部と、
前記可変長符号化部で生成された符号の量を求める符号量計算部とを更に備え、
前記面内予測部は、
前記符号量計算部で求められた符号の量が、目標とする符号量の条件を満たしている場合には、前記再構成画像に代えて、前記入力部から出力された画像を用いる
ことを特徴とする画像符号化装置。
The image encoding device according to claim 2,
The data processing unit
A variable length coding unit that performs variable length coding on the data read from the coefficient storage unit;
A code amount calculation unit for obtaining the amount of code generated by the variable length encoding unit,
The in-plane prediction unit
When the code amount obtained by the code amount calculation unit satisfies a target code amount condition, the image output from the input unit is used instead of the reconstructed image. An image encoding device.
請求項12に記載の画像符号化装置において、
前記面内予測部は、
前記符号量計算部で求められた符号の量に応じて、前記サポートされる予測モードの種類を決定する
ことを特徴とする画像符号化装置。
The image encoding device according to claim 12, wherein
The in-plane prediction unit
An image encoding apparatus that determines the type of the supported prediction mode according to the amount of code obtained by the code amount calculation unit.
請求項12に記載の画像符号化装置において、
前記面内予測部は、
前記符号量計算部で求められた符号の量に基づいて、用いられた予測モードが妥当であったか否かを判断し、前記用いられた予測モードが妥当ではなかったと判断した場合には、前記用いられた予測モードとは異なる予測モードで面内予測を行う
ことを特徴とする画像符号化装置。
The image encoding device according to claim 12, wherein
The in-plane prediction unit
Based on the amount of code obtained by the code amount calculation unit, it is determined whether or not the used prediction mode is valid, and if it is determined that the used prediction mode is not valid, An image coding apparatus that performs in-plane prediction in a prediction mode different from the predicted mode.
請求項1に記載の画像符号化装置において、
前記制御部は、
入力された動作モードに応じて、前記サポートされる予測モードを決定する
ことを特徴とする画像符号化装置。
The image encoding device according to claim 1,
The controller is
An image encoding apparatus, wherein the supported prediction mode is determined according to an input operation mode.
請求項1に記載の画像符号化装置において、
前記データ処理部は、
前記複数のブロックを、前記制御部で決定された順序に従って出力する入力部と、
前記入力部から出力されたブロックと予測画像との差分を求める減算部と、
前記差分に対して直交変換及び量子化を行い、その結果に対して逆量子化及び逆直交変換を行う順/逆直交変換・順/逆量子化部と、
前記順/逆直交変換・順/逆量子化部で直交変換及び量子化された結果を格納し、前記順/逆直交変換・順/逆量子化部に出力する係数記憶部と、
前記逆量子化及び逆直交変換された結果と前記予測画像とを加算して再構成画像を求める再構成画像生成部と、
前記再構成画像を格納する再構成画像記憶部と、
前記再構成画像と前記入力部から新たに出力されたブロックとに基づいて、前記サポートされる予測モードのうちの最適な予測モードで面内予測を行い、その結果を前記予測画像として出力する面内予測部とを備える
ことを特徴とする画像符号化装置。
The image encoding device according to claim 1,
The data processing unit
An input unit that outputs the plurality of blocks according to an order determined by the control unit;
A subtraction unit for obtaining a difference between the block output from the input unit and the predicted image;
A forward / inverse orthogonal transform / forward / inverse quantization unit that performs orthogonal transform and quantization on the difference and performs inverse quantization and inverse orthogonal transform on the result;
A coefficient storage unit that stores a result of orthogonal transform and quantization performed by the forward / inverse orthogonal transform / forward / inverse quantization unit, and outputs the result to the forward / inverse orthogonal transform / forward / inverse quantization unit;
A reconstructed image generating unit that obtains a reconstructed image by adding the result of the inverse quantization and inverse orthogonal transform and the predicted image;
A reconstructed image storage unit for storing the reconstructed image;
A surface that performs in-plane prediction in an optimal prediction mode among the supported prediction modes based on the reconstructed image and a block newly output from the input unit, and outputs the result as the prediction image An image coding apparatus comprising: an inner prediction unit.
請求項16に記載の画像符号化装置において、
前記データ処理部は、
前記直交変換・量子化部で直交変換及び量子化された結果を前記係数記憶部から読み出し、読み出されたデータに対して逆量子化及び逆直交変換を行う逆量子化・逆直交変換部を更に備え、
前記制御部は、
入力された動作モードに応じて、前記逆量子化・逆直交変換部を動作させるか否かを決定する
ことを特徴とする画像符号化装置。
The image encoding device according to claim 16, wherein
The data processing unit
An inverse quantization / inverse orthogonal transform unit that reads out the result of the orthogonal transform and quantization in the orthogonal transform / quantization unit from the coefficient storage unit, and performs inverse quantization and inverse orthogonal transform on the read data; In addition,
The controller is
An image coding apparatus that determines whether to operate the inverse quantization / inverse orthogonal transform unit according to an input operation mode.
画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置であって、
前記複数のブロックのそれぞれの輝度信号及び色差信号に対して、各ブロックに隣接する画素を用いて面内予測を行うデータ処理部と、
前記データ処理部における面内予測処理を制御する制御部とを備え、
前記データ処理部は、
輝度信号に対する処理と色差信号に対する処理とを交互に行う
ことを特徴とする画像符号化装置。
An image encoding device that performs in-plane prediction processing on a plurality of blocks constituting an image,
A data processing unit that performs in-plane prediction using pixels adjacent to each block for the luminance signal and color difference signal of each of the plurality of blocks;
A control unit that controls in-plane prediction processing in the data processing unit,
The data processing unit
An image encoding apparatus characterized by alternately performing a process on a luminance signal and a process on a color difference signal.
画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置であって、
前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて面内予測を行うデータ処理部と、
前記データ処理部における面内予測処理を制御する制御部とを備え、
前記データ処理部は、
異なるマクロブロックに属するブロックに対する処理を交互に行う
ことを特徴とする画像符号化装置。
An image encoding device that performs in-plane prediction processing on a plurality of blocks constituting an image,
For each of the plurality of blocks, a data processing unit that performs in-plane prediction using pixels adjacent to each block;
A control unit that controls in-plane prediction processing in the data processing unit,
The data processing unit
An image encoding apparatus characterized by alternately performing processing on blocks belonging to different macroblocks.
画像を構成する複数のブロックに対して面内予測処理を行う画像符号化方法であって、
サポートされる予測モードに応じて、前記複数のブロックを処理する順序を決定する制御ステップと、
前記制御ステップで決定された順序に従って、前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて前記予測モードのうちの最適な予測モードで面内予測を行うデータ処理ステップとを備える
ことを特徴とする画像符号化方法。
An image encoding method for performing in-plane prediction processing on a plurality of blocks constituting an image,
A control step for determining an order of processing the plurality of blocks according to a supported prediction mode;
A data processing step of performing in-plane prediction in an optimal prediction mode of the prediction modes using pixels adjacent to each block for each of the plurality of blocks according to the order determined in the control step. An image encoding method comprising:
請求項20に記載の画像符号化方法において、
前記データ処理ステップは、
前記複数のブロックを、前記制御ステップで決定された順序に従って選択する入力ステップと、
前記入力ステップで選択されたブロックと予測画像との差分を求める減算ステップと、
前記差分に対して直交変換及び量子化を行う直交変換・量子化ステップと、
前記直交変換・量子化ステップで求められた結果を格納する係数記憶ステップと、
前記係数記憶ステップで格納された、前記直交変換・量子化ステップで求められた結果を読み出し、読み出されたデータに対して逆量子化及び逆直交変換を行う逆量子化・逆直交変換ステップと、
前記逆量子化・逆直交変換ステップで求められた結果と前記予測画像とを加算して再構成画像を求める再構成画像生成ステップと、
前記再構成画像を格納する再構成画像記憶ステップと、
前記再構成画像と前記入力ステップで新たに選択されたブロックとに基づいて、前記サポートされる予測モードのうちの最適な予測モードで面内予測を行い、その結果を前記予測画像として求める面内予測ステップとを備える
ことを特徴とする画像符号化方法。
The image encoding method according to claim 20, wherein
The data processing step includes
An input step of selecting the plurality of blocks according to the order determined in the control step;
A subtraction step for obtaining a difference between the block selected in the input step and the predicted image;
Orthogonal transform and quantization step for performing orthogonal transform and quantization on the difference; and
A coefficient storage step for storing the result obtained in the orthogonal transform / quantization step;
An inverse quantization / inverse orthogonal transform step for reading the result obtained in the orthogonal transform / quantization step stored in the coefficient storage step and performing inverse quantization and inverse orthogonal transform on the read data; ,
A reconstructed image generating step of obtaining a reconstructed image by adding the result obtained in the inverse quantization / inverse orthogonal transform step and the predicted image;
A reconstructed image storing step for storing the reconstructed image;
Based on the reconstructed image and the block newly selected in the input step, in-plane prediction is performed in an optimal prediction mode among the supported prediction modes, and the result is obtained as the prediction image. An image encoding method comprising: a prediction step.
請求項21に記載の画像符号化方法において、
前記データ処理ステップは、
前記再構成画像のうち、面内予測の際に必要となる画素のみを格納する隣接画素記憶ステップを更に備え、
前記面内予測ステップは、
前記隣接画素記憶ステップで格納された画素を前記再構成画像として用いる
ことを特徴とする画像符号化方法。
The image encoding method according to claim 21, wherein
The data processing step includes
The reconstructed image further comprises an adjacent pixel storing step for storing only pixels necessary for in-plane prediction,
The in-plane prediction step includes:
An image encoding method, wherein the pixel stored in the adjacent pixel storing step is used as the reconstructed image.
請求項21に記載の画像符号化方法において、
前記面内予測ステップは、
前記サポートされる予測モードの数に応じた数の面内予測処理を並行して行う
ことを特徴とする画像符号化方法。
The image encoding method according to claim 21, wherein
The in-plane prediction step includes:
An image encoding method, wherein a number of in-plane prediction processes corresponding to the number of supported prediction modes are performed in parallel.
請求項21に記載の画像符号化方法において、
前記直交変換・量子化ステップは、
複数の予測モードについての直交変換及び量子化処理を並行して行い、
前記逆量子化・逆直交変換ステップは、
前記複数の予測モードについての逆量子化及び逆直交変換処理を並行して行う
ことを特徴とする画像符号化方法。
The image encoding method according to claim 21, wherein
The orthogonal transform / quantization step includes:
Perform orthogonal transformation and quantization processing for multiple prediction modes in parallel,
The inverse quantization / inverse orthogonal transform step includes:
An image encoding method, wherein inverse quantization and inverse orthogonal transform processing for the plurality of prediction modes are performed in parallel.
請求項24に記載の画像符号化方法において、
前記直交変換・量子化ステップは、
入力された動作モードに応じた数の直交変換及び量子化処理を並行して行い、
前記逆量子化・逆直交変換ステップは、
前記入力された動作モードに応じた数の逆量子化及び逆直交変換処理を並行して行う
ことを特徴とする画像符号化方法。
The image encoding method according to claim 24, wherein
The orthogonal transform / quantization step includes:
The number of orthogonal transformations and quantization processes corresponding to the input operation mode are performed in parallel,
The inverse quantization / inverse orthogonal transform step includes:
An image encoding method, wherein a number of inverse quantization and inverse orthogonal transform processes corresponding to the input operation mode are performed in parallel.
請求項21に記載の画像符号化方法において、
前記データ処理ステップは、
選択ステップを更に備え、
前記入力ステップは、
複数の画像についての処理を行うものであり、
前記選択ステップは、
前記複数の画像から選択を行うものであり、
前記減算ステップ及び前記面内予測ステップは、
前記選択ステップで選択された画像について処理を行うものである
ことを特徴とする画像符号化方法。
The image encoding method according to claim 21, wherein
The data processing step includes
And further comprising a selection step,
The input step includes
It processes multiple images,
The selection step includes
Selecting from the plurality of images,
The subtraction step and the in-plane prediction step include:
An image encoding method, wherein the image selected in the selection step is processed.
請求項26に記載の画像符号化方法において、
前記選択ステップは、
前記複数の画像から1つずつ順次選択する
ことを特徴とする画像符号化方法。
The image encoding method according to claim 26, wherein
The selection step includes
An image coding method comprising sequentially selecting one by one from the plurality of images.
請求項26に記載の画像符号化方法において、
前記選択ステップは、
入力された画像指定信号に従って、前記複数の画像から1つずつ順次選択すること、又は指定された画像を選択することを行う
ことを特徴とする画像符号化方法。
The image encoding method according to claim 26, wherein
The selection step includes
An image encoding method comprising: sequentially selecting one by one from the plurality of images or selecting a specified image according to an input image specifying signal.
請求項21に記載の画像符号化方法において、
前記データ処理ステップは、
前記係数記憶ステップで格納され、読み出されたデータに対して可変長符号化を行う可変長符号化ステップと、
前記可変長符号化ステップで生成された符号の量を求める符号量計算ステップとを更に備え、
前記面内予測ステップは、
前記符号量計算ステップで求められた符号の量が、目標とする符号量の条件を満たしている場合には、前記再構成画像に代えて、前記入力ステップで選択された画像を用いる
ことを特徴とする画像符号化方法。
The image encoding method according to claim 21, wherein
The data processing step includes
A variable length encoding step for performing variable length encoding on the data stored and read in the coefficient storage step;
A code amount calculating step for obtaining the amount of code generated in the variable length encoding step,
The in-plane prediction step includes:
When the code amount obtained in the code amount calculation step satisfies a target code amount condition, the image selected in the input step is used instead of the reconstructed image. An image encoding method.
請求項29に記載の画像符号化方法において、
前記面内予測ステップは、
前記符号量計算ステップで求められた符号の量に応じて、前記サポートされる予測モードの種類を決定する
ことを特徴とする画像符号化方法。
The image encoding method according to claim 29, wherein
The in-plane prediction step includes:
An image encoding method comprising: determining a type of the supported prediction mode in accordance with a code amount obtained in the code amount calculation step.
請求項29に記載の画像符号化方法において、
前記データ処理ステップは、
前記符号量計算ステップで求められた符号の量に基づいて、用いられた予測モードが妥当であったか否かを判断するステップを更に備え、
前記面内予測ステップは、
前記用いられた予測モードが妥当ではなかったと判断された場合には、前記用いられた予測モードとは異なる予測モードで面内予測を行う
ことを特徴とする画像符号化方法。
The image encoding method according to claim 29, wherein
The data processing step includes
Further comprising the step of determining whether the used prediction mode is valid based on the amount of code obtained in the code amount calculation step;
The in-plane prediction step includes:
An image coding method, wherein when it is determined that the used prediction mode is not valid, intra prediction is performed in a prediction mode different from the used prediction mode.
請求項20に記載の画像符号化方法において、
前記制御ステップは、
入力された動作モードに応じて、前記サポートされる予測モードを決定する
ことを特徴とする画像符号化方法。
The image encoding method according to claim 20, wherein
The control step includes
An image encoding method, wherein the supported prediction mode is determined according to an input operation mode.
請求項20に記載の画像符号化方法において、
前記データ処理ステップは、
前記複数のブロックを、前記制御ステップで決定された順序に従って選択する入力ステップと、
前記入力ステップで選択されたブロックと予測画像との差分を求める減算ステップと、
前記差分に対して直交変換及び量子化を行い、その結果に対して逆量子化及び逆直交変換を行う順/逆直交変換・順/逆量子化ステップと、
前記順/逆直交変換・順/逆量子化ステップで直交変換及び量子化された結果を格納し、前記順/逆直交変換・順/逆量子化ステップで用いられるようにする係数記憶ステップと、
前記逆量子化及び逆直交変換された結果と前記予測画像とを加算して再構成画像を求める再構成画像生成ステップと、
前記再構成画像を格納する再構成画像記憶ステップと、
前記再構成画像と前記入力ステップで新たに選択されたブロックとに基づいて、前記サポートされる予測モードのうちの最適な予測モードで面内予測を行い、その結果を前記予測画像として求める面内予測ステップとを備える
ことを特徴とする画像符号化方法。
The image encoding method according to claim 20, wherein
The data processing step includes
An input step of selecting the plurality of blocks according to the order determined in the control step;
A subtraction step for obtaining a difference between the block selected in the input step and the predicted image;
A forward / inverse orthogonal transform / forward / inverse quantization step of performing orthogonal transformation and quantization on the difference and performing inverse quantization and inverse orthogonal transformation on the result;
A coefficient storage step for storing the result of orthogonal transform and quantization in the forward / inverse orthogonal transform / forward / inverse quantization step, and for use in the forward / inverse orthogonal transform / forward / inverse quantization step;
A reconstructed image generation step of obtaining a reconstructed image by adding the result of the inverse quantization and inverse orthogonal transform and the predicted image; and
A reconstructed image storing step for storing the reconstructed image;
Based on the reconstructed image and the block newly selected in the input step, in-plane prediction is performed in an optimal prediction mode among the supported prediction modes, and the result is obtained as the prediction image. An image encoding method comprising: a prediction step.
画像を構成する複数のブロックに対して面内予測処理を行う画像符号化方法であって、
前記複数のブロックのそれぞれの輝度信号及び色差信号に対して、各ブロックに隣接する画素を用いて面内予測を行うデータ処理ステップと、
前記データ処理ステップにおける面内予測処理を制御する制御ステップとを備え、
前記データ処理ステップは、
輝度信号に対する処理と色差信号に対する処理とを交互に行う
ことを特徴とする画像符号化方法。
An image encoding method for performing in-plane prediction processing on a plurality of blocks constituting an image,
A data processing step of performing in-plane prediction using pixels adjacent to each block for each of the luminance signal and color difference signal of the plurality of blocks;
A control step for controlling in-plane prediction processing in the data processing step,
The data processing step includes
An image encoding method, wherein processing for a luminance signal and processing for a color difference signal are alternately performed.
画像を構成する複数のブロックに対して面内予測処理を行う画像符号化方法であって、
前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて面内予測を行うデータ処理ステップと、
前記データ処理ステップにおける面内予測処理を制御する制御ステップとを備え、
前記データ処理ステップは、
異なるマクロブロックに属するブロックに対する処理を交互に行う
ことを特徴とする画像符号化方法。
An image encoding method for performing in-plane prediction processing on a plurality of blocks constituting an image,
For each of the plurality of blocks, a data processing step of performing in-plane prediction using pixels adjacent to each block;
A control step for controlling in-plane prediction processing in the data processing step,
The data processing step includes
An image coding method characterized by alternately performing processing on blocks belonging to different macroblocks.
入射光を結像させる光学系と、
前記光学系によって結像した入射光に応じた画像信号を出力するセンサと、
前記画像信号が表す画像に対する画像処理を行う画像処理回路とを備え、
前記画像処理回路は、
前記画像を構成する複数のブロックに対して面内予測処理を行う画像符号化装置を有し、
前記画像符号化装置は、
サポートされる予測モードに応じて、前記複数のブロックを処理する順序を決定する制御部と、
前記制御部で決定された順序に従って、前記複数のブロックのそれぞれに対して、各ブロックに隣接する画素を用いて前記予測モードのうちの最適な予測モードで面内予測を行うデータ処理部とを備える
ことを特徴とする撮像システム。
An optical system for imaging incident light;
A sensor that outputs an image signal corresponding to incident light imaged by the optical system;
An image processing circuit for performing image processing on an image represented by the image signal,
The image processing circuit includes:
An image encoding device that performs in-plane prediction processing on a plurality of blocks constituting the image;
The image encoding device includes:
A control unit that determines an order of processing the plurality of blocks according to a supported prediction mode;
A data processing unit that performs in-plane prediction in an optimal prediction mode of the prediction modes using pixels adjacent to each block for each of the plurality of blocks according to the order determined by the control unit. An imaging system comprising:
請求項36に記載の撮像システムにおいて、
前記画像信号をデジタル信号に変換して前記画像処理回路に出力するアナログ/デジタル変換器を更に備える
ことを特徴とする撮像システム。
The imaging system according to claim 36,
An imaging system, further comprising an analog / digital converter that converts the image signal into a digital signal and outputs the digital signal to the image processing circuit.
JP2007014846A 2007-01-25 2007-01-25 Image encoding apparatus and method, and imaging system Pending JP2008182527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007014846A JP2008182527A (en) 2007-01-25 2007-01-25 Image encoding apparatus and method, and imaging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007014846A JP2008182527A (en) 2007-01-25 2007-01-25 Image encoding apparatus and method, and imaging system

Publications (1)

Publication Number Publication Date
JP2008182527A true JP2008182527A (en) 2008-08-07

Family

ID=39726084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007014846A Pending JP2008182527A (en) 2007-01-25 2007-01-25 Image encoding apparatus and method, and imaging system

Country Status (1)

Country Link
JP (1) JP2008182527A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008271127A (en) * 2007-04-19 2008-11-06 Nec Electronics Corp Coding apparatus
JP2008283612A (en) * 2007-05-14 2008-11-20 Sony Corp Data processing apparatus, decoding apparatus, encoding apparatus, data processing method, decoding method, encoding method, and program
WO2011018965A1 (en) * 2009-08-12 2011-02-17 ソニー株式会社 Image processing device and method
US20130301712A1 (en) * 2012-05-14 2013-11-14 Qualcomm Incorporated Interleave block processing ordering for video data coding
CN104394419A (en) * 2014-12-11 2015-03-04 上海兆芯集成电路有限公司 High-order video encoding and decoding chip and high-order video encoding and decoding method
JP2015185897A (en) * 2014-03-20 2015-10-22 パナソニックIpマネジメント株式会社 Image encoding method and image encoding apparatus
JPWO2016157924A1 (en) * 2015-03-27 2018-01-18 ソニー株式会社 Image processing apparatus, image processing method, program, and recording medium
WO2020255688A1 (en) * 2019-06-20 2020-12-24 キヤノン株式会社 Image encoding device, image decoding device and method, and program

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008271127A (en) * 2007-04-19 2008-11-06 Nec Electronics Corp Coding apparatus
JP2008283612A (en) * 2007-05-14 2008-11-20 Sony Corp Data processing apparatus, decoding apparatus, encoding apparatus, data processing method, decoding method, encoding method, and program
WO2011018965A1 (en) * 2009-08-12 2011-02-17 ソニー株式会社 Image processing device and method
JP2011041037A (en) * 2009-08-12 2011-02-24 Sony Corp Image processing apparatus and method
CN102648630A (en) * 2009-08-12 2012-08-22 索尼公司 Image processing device and method
US9503724B2 (en) 2012-05-14 2016-11-22 Qualcomm Incorporated Interleave block processing ordering for video data coding
US20130301712A1 (en) * 2012-05-14 2013-11-14 Qualcomm Incorporated Interleave block processing ordering for video data coding
CN104322066A (en) * 2012-05-14 2015-01-28 高通股份有限公司 Interleaved Block Processing Ordering for Video Data Decoding
CN104322066B (en) * 2012-05-14 2017-09-29 高通股份有限公司 Interleaved Block Processing Ordering for Video Data Decoding
WO2013172991A1 (en) * 2012-05-14 2013-11-21 Qualcomm Incorporated Interleave block processing ordering for video data coding
JP2015185897A (en) * 2014-03-20 2015-10-22 パナソニックIpマネジメント株式会社 Image encoding method and image encoding apparatus
TWI558172B (en) * 2014-12-11 2016-11-11 上海兆芯集成電路有限公司 Advanced video coding and decoding chip and advanced video coding and decoding method
EP3032832A1 (en) * 2014-12-11 2016-06-15 VIA Alliance Semiconductor Co., Ltd. Advanced video coding and decoding chip and advanced video coding and decoding method
US9686553B2 (en) 2014-12-11 2017-06-20 Via Alliance Semiconductor Co., Ltd. Advanced video coding and decoding chip and advanced video coding and decoding method
CN104394419A (en) * 2014-12-11 2015-03-04 上海兆芯集成电路有限公司 High-order video encoding and decoding chip and high-order video encoding and decoding method
CN104394419B (en) * 2014-12-11 2018-01-05 上海兆芯集成电路有限公司 High-order coding and decoding video chip and high-order video coding-decoding method
JPWO2016157924A1 (en) * 2015-03-27 2018-01-18 ソニー株式会社 Image processing apparatus, image processing method, program, and recording medium
WO2020255688A1 (en) * 2019-06-20 2020-12-24 キヤノン株式会社 Image encoding device, image decoding device and method, and program
JP2021002722A (en) * 2019-06-20 2021-01-07 キヤノン株式会社 Image encoding device, image decoding device, method, and program

Similar Documents

Publication Publication Date Title
JP4495580B2 (en) In-plane prediction apparatus and in-plane prediction method
US9900594B2 (en) Image encoding and decoding method with predicted and representative motion information
JP2008182527A (en) Image encoding apparatus and method, and imaging system
JP2009267689A (en) Moving image coding device, and moving image coding method
JP2011151430A (en) Image processing apparatus, and imaging device with the same
CN101707716B (en) Video coder and coding method
WO2014010224A1 (en) Video compression device, video decoding device, image compression device, image decoding device, imaging device, and program
JP4875008B2 (en) Moving picture encoding method, moving picture decoding method, moving picture encoding apparatus, and moving picture decoding apparatus
JP4495034B2 (en) Variable length coding method and variable length coding apparatus
US7844123B2 (en) Orthogonal transformation apparatus and imaging system
JP3990392B2 (en) Variable length decoding apparatus, variable length decoding method, and imaging system
JPWO2010050089A1 (en) Encoding processing method and encoding processing apparatus in moving image compression encoding
JP5972687B2 (en) Moving picture predictive coding apparatus, moving picture predictive coding method, moving picture predictive coding program, moving picture predictive decoding apparatus, moving picture predictive decoding method, and moving picture predictive decoding program
JP2009218965A (en) Image processor, imaging device mounted with the same and image reproduction device
JP2010035025A (en) Encoding device and method therefor
JP5974691B2 (en) MOVING IMAGE COMPRESSION DEVICE, IMAGING DEVICE, AND PROGRAM
JP2008289105A (en) Image processing device and imaging apparatus equipped therewith
JP2007267123A (en) Moving image encoding apparatus
JP2005244666A (en) Data processing apparatus, encoding apparatus, and data processing method
JP2009278473A (en) Image processing device, imaging apparatus mounting the same, and image reproducing device
JP2009021786A (en) Image coding apparatus and image coding method
JP6646125B2 (en) Video prediction decoding method and video prediction decoding device
JP5289284B2 (en) Image decoding device
JP5974692B2 (en) Moving picture decoding apparatus and program
KR100928272B1 (en) Motion estimation method and apparatus for video coding