[go: up one dir, main page]

JP2008263549A - Moving picture coding apparatus and moving picture coding method - Google Patents

Moving picture coding apparatus and moving picture coding method Download PDF

Info

Publication number
JP2008263549A
JP2008263549A JP2007106396A JP2007106396A JP2008263549A JP 2008263549 A JP2008263549 A JP 2008263549A JP 2007106396 A JP2007106396 A JP 2007106396A JP 2007106396 A JP2007106396 A JP 2007106396A JP 2008263549 A JP2008263549 A JP 2008263549A
Authority
JP
Japan
Prior art keywords
prediction mode
image block
encoding
mode determination
cost
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
JP2007106396A
Other languages
Japanese (ja)
Inventor
Takeshi Tateno
剛 舘野
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2007106396A priority Critical patent/JP2008263549A/en
Publication of JP2008263549A publication Critical patent/JP2008263549A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

【課題】画質低下を抑えつつ、予測モード判定に要する処理量の低減することが可能な動画像符号化装置を実現する。
【解決手段】先頭のマクロブロックMB1に対しては、全ての予測モードそれぞれが評価される。そして、最もコストの小さい予測モードがMB1に対する予測モードとして決定される。マクロブロックMB2のモード判定には、その直前のMB1のモード判定結果が利用される。この場合、MB1に対して決定された予測モードが初期予測モードに選定され、その初期予測モードでMB2を符号化した場合のコストが最初に算出される。算出されたコストがMB1のコスト以下である場合、初期予測モードがMB2の予測モードとなり、他の予測モードに対する評価は省略される。マクロブロックMB3のモード判定には、その直前のMB2のモード判定結果が利用される。
【選択図】 図3
A moving image encoding apparatus capable of reducing a processing amount required for prediction mode determination while suppressing deterioration in image quality is realized.
All prediction modes are evaluated for the first macroblock MB1. Then, the prediction mode with the lowest cost is determined as the prediction mode for MB1. For the mode determination of the macro block MB2, the mode determination result of the MB1 immediately before is used. In this case, the prediction mode determined for MB1 is selected as the initial prediction mode, and the cost when MB2 is encoded in the initial prediction mode is calculated first. When the calculated cost is equal to or less than the cost of MB1, the initial prediction mode is the prediction mode of MB2, and evaluation for other prediction modes is omitted. For the mode determination of the macroblock MB3, the mode determination result of the immediately preceding MB2 is used.
[Selection] Figure 3

Description

本発明は、複数の予測モードを選択的に使用して動画像信号を符号化する動画像符号化装置および動画像符号化方法に関する。   The present invention relates to a moving image encoding apparatus and a moving image encoding method for encoding a moving image signal selectively using a plurality of prediction modes.

近年、動画像をソフトウェアによって符号化するソフトウェアエンコーダを搭載するパーソナルコンピュータが普及し始めている。また、最近では、次世代の動画像圧縮符号化技術として、H.264/AVC(Advanced Video Coding)規格が注目されている。このH.264/AVC規格は、MPEG2やMPEG4のような従来の圧縮符号化技術よりも高能率の圧縮符号化技術である。   In recent years, personal computers equipped with software encoders that encode moving images by software have begun to spread. Recently, as a next-generation video compression encoding technology, H.264 has been introduced. The H.264 / AVC (Advanced Video Coding) standard is drawing attention. This H. The H.264 / AVC standard is a compression encoding technique that is more efficient than conventional compression encoding techniques such as MPEG2 and MPEG4.

H.264/AVC規格のフレーム間予測符号化においては、16画素×16画素、16画素×8画素、8画素×16画素、8画素×8画素といった予測ブロック形状の異なる複数の予測モードを利用することができ、また予測ブロック形状が8画素×8画素以上の場合には、直交変換も4画素×4画素、8画素×8画素のブロック形状を選択的に利用することができる。また、H.264/AVC規格のフレー内符号化においては、4画素×4画素、8画素×8画素といった予測ブロック形状に対しては9通りの予測方向を選択することができ、また16画素×16画素の予測ブロック形状に対しても4通りの予測方向を選択することができる。   H. In the H.264 / AVC standard inter-frame prediction encoding, a plurality of prediction modes having different prediction block shapes such as 16 pixels × 16 pixels, 16 pixels × 8 pixels, 8 pixels × 16 pixels, and 8 pixels × 8 pixels should be used. In addition, when the predicted block shape is 8 pixels × 8 pixels or more, the orthogonal transform can selectively use the block shape of 4 pixels × 4 pixels and 8 pixels × 8 pixels. H. In intra-frame coding according to the H.264 / AVC standard, nine prediction directions can be selected for prediction block shapes such as 4 pixels × 4 pixels and 8 pixels × 8 pixels, and 16 pixels × 16 pixels can be selected. Four prediction directions can be selected for the prediction block shape.

このように、H.264/AVC規格においては、利用可能な予測モードの数を増やすことにより、予測効率の向上を実現している。   In this way, H.C. In the H.264 / AVC standard, the prediction efficiency is improved by increasing the number of available prediction modes.

しかし、その反面、H.264/AVC規格に対応するエンコード処理においては、MPEG2やMPEG4のような従来の圧縮符号化技術よりも多くの処理量が必要とされる。特に、画像ブロック毎に複数の予測モードの中から最適な予測モードを決定するための予測モード判定処理には多くの処理量が必要とされる。   However, on the other hand, H.C. In the encoding process corresponding to the H.264 / AVC standard, a larger amount of processing is required than in the conventional compression encoding technique such as MPEG2 or MPEG4. In particular, a large amount of processing is required for a prediction mode determination process for determining an optimal prediction mode from a plurality of prediction modes for each image block.

このようなことから、これまでも、動画像のエンコード処理量を低減するための提案がなされている。   For these reasons, there have been proposals for reducing the amount of moving image encoding processing.

例えば、特許文献1には、符号化済みの近傍ブロックの予測モードの頻度情報、重み係数を用いて、フレーム内符号化のための複数の予測モードの中から、選択可能な予測モード候補を特定の予測モードに限定する技術が開示されている。
特開2006−148419号公報
For example, Patent Document 1 specifies a selectable prediction mode candidate from a plurality of prediction modes for intra-frame coding using frequency information and weighting factors of prediction modes of encoded neighboring blocks. A technique for limiting to the prediction mode is disclosed.
JP 2006-148419 A

しかし、上述したように、H.264/AVC規格においては、フレーム内符号化のための予測モードのみならず、フレーム間符号化のための予測モードも複数存在している。このため、H.264/AVC規格のエンコード処理の処理量を低減するためには、フレーム間予測符号化のための予測モード群とフレーム内予測符号化のための予測モード群とを含む複数の予測モードの中から適用すべき1つの予測モードを効率よく決定できるようにすることが必要である。   However, as mentioned above, H.P. In the H.264 / AVC standard, there are a plurality of prediction modes for inter-frame coding as well as prediction modes for intra-frame coding. For this reason, H.C. In order to reduce the amount of encoding processing according to the H.264 / AVC standard, a plurality of prediction modes including a prediction mode group for interframe prediction encoding and a prediction mode group for intraframe prediction encoding are selected. It is necessary to be able to efficiently determine one prediction mode to be applied.

本発明はこのような事情を考慮してなされたものであり、画質低下を抑えつつ、予測モード判定に要する処理量を低減することが可能な動画像符号化装置および動画像符号化方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and provides a moving picture coding apparatus and a moving picture coding method capable of reducing the amount of processing required for prediction mode determination while suppressing deterioration in image quality. The purpose is to do.

上述の課題を解決するため、本発明は、動画像信号を複数の画像ブロックに分割し、画像ブロック毎に、フレーム間予測符号化のための予測モード群とフレーム内予測符号化のための予測モード群とを含む複数の予測モードの中から1つの予測モードを選択し、当該選択された予測モードで前記画像ブロックを符号化する動画像符号化装置であって、符号化対象の先頭の画像ブロックを前記複数の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記先頭の画像ブロックの予測モードに決定する第1の予測モード判定処理を実行する第1の予測モード判定手段と、前記第1の予測モード判定手段によって決定された予測モードに対応する前記先頭の画像ブロックの符号化コストが所定の基準値以下である場合、前記先頭の画像ブロックに後続する符号化対象の画像ブロックそれぞれに対して、符号化対象の画像ブロックを符号化するための予測モードを前記符号化対象の画像ブロックの直前の画像ブロックに対する予測モード判定結果に基づいて決定する第2の予測モード判定処理を実行する第2の予測モード判定手段とを具備し、前記第2の予測モード判定手段は、前記符号化対象の画像ブロックの直前の画像ブロックに対して決定された予測モードを前記符号化対象の画像ブロックの初期予測モードに設定し、前記初期予測モードで前記符号化対象の画像ブロックを符号化した場合の符号化コストを算出する手段と、前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コスト以下である場合、前記初期予測モードを前記符号化対象の画像ブロックを符号化するための予測モードに決定する手段と、前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コストよりも大きい場合、前記符号化対象の画像ブロックを前記初期予測モード以外の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記符号化対象の画像ブロックの予測モードに決定する手段とを含むことを特徴とする。   In order to solve the above-described problem, the present invention divides a moving image signal into a plurality of image blocks, and for each image block, a prediction mode group for inter-frame prediction encoding and prediction for intra-frame prediction encoding. A moving picture encoding apparatus that selects one prediction mode from a plurality of prediction modes including a mode group and encodes the image block in the selected prediction mode, the first image to be encoded First prediction mode determination processing for calculating a coding cost when a block is coded in each of the plurality of prediction modes, and determining a prediction mode with the smallest coding cost as the prediction mode of the first image block And a coding cost of the leading image block corresponding to the prediction mode determined by the first prediction mode determination unit. When it is equal to or less than a predetermined reference value, a prediction mode for encoding the image block to be encoded is set for each image block to be encoded subsequent to the head image block. Second prediction mode determination means for executing a second prediction mode determination process that is determined based on the prediction mode determination result for the immediately preceding image block, wherein the second prediction mode determination means includes the encoding When the prediction mode determined for the image block immediately before the target image block is set as the initial prediction mode of the encoding target image block, and the encoding target image block is encoded in the initial prediction mode Means for calculating the encoding cost of the image block, and the encoding cost of the calculated image block to be encoded is the code of the immediately preceding image block. Means for determining the initial prediction mode as a prediction mode for encoding the image block to be encoded, and the calculated encoding cost of the image block to be encoded is the immediately preceding When the coding cost of the image block is larger than the coding cost, the coding cost is calculated when the coding target image block is coded in a prediction mode other than the initial prediction mode, and the coding cost is minimized. Means for determining a prediction mode as a prediction mode of the image block to be encoded.

本発明によれば、画質低下を抑えつつ、予測モード判定に要する処理量を低減することが可能となる。   According to the present invention, it is possible to reduce the amount of processing required for prediction mode determination while suppressing deterioration in image quality.

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

図1には、本発明の一実施形態に係る動画像符号化装置の構成例が示されている。この動画像符号化装置は、例えば、パーソナルコンピュータのようなコンピュータによって実現されている。   FIG. 1 shows a configuration example of a video encoding apparatus according to an embodiment of the present invention. This moving image encoding apparatus is realized by a computer such as a personal computer, for example.

図1に示すように、このコンピュータは、CPU11、ノースブリッジ12、主メモリ13、グラフィックスコントローラ14、VRAM14A、LCD15、サウスブリッジ16、BIOS−ROM17、HDD18、HD DVD19、サウンドコントローラ20、スピーカ21、エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)22、キーボード23、タッチパッド24、電源回路25、バッテリ26およびネットワークコントローラ27等を備えている。   As shown in FIG. 1, this computer includes a CPU 11, a north bridge 12, a main memory 13, a graphics controller 14, a VRAM 14A, an LCD 15, a south bridge 16, a BIOS-ROM 17, an HDD 18, an HD DVD 19, a sound controller 20, a speaker 21, An embedded controller / keyboard controller IC (EC / KBC) 22, a keyboard 23, a touch pad 24, a power supply circuit 25, a battery 26, a network controller 27, and the like are provided.

CPU11は、本コンピュータ内の各部の動作を制御するプロセッサである。CPU11は、HDD18から主メモリ13にロードされるオペレーティングシステム(OS)100や、このOS100の制御下で動作する、ユーティリティを含む各種アプリケーションプログラムを実行する。この各種アプリケーションプログラムの中には、ビデオエンコーダアプリケーション200が含まれている。ビデオエンコーダアプリケーション200は、動画像を符号化するためのソフトウェアであり、H.264/AVC規格に対応するソフトウェアエンコーダとして動作する。また、CPU11は、BIOS−ROM17に格納されたBIOSも実行する。   The CPU 11 is a processor that controls the operation of each unit in the computer. The CPU 11 executes an operating system (OS) 100 loaded from the HDD 18 to the main memory 13 and various application programs including utilities that operate under the control of the OS 100. In these various application programs, a video encoder application 200 is included. The video encoder application 200 is software for encoding moving images. It operates as a software encoder corresponding to the H.264 / AVC standard. The CPU 11 also executes the BIOS stored in the BIOS-ROM 17.

ノースブリッジ12は、CPU11のローカルバスとサウスブリッジ16との間を接続するブリッジデバイスである。ノースブリッジ12は、バスを介してグラフィックスコントローラ14との通信を実行する機能を有しており、また、主メモリ13をアクセス制御するメモリコントローラも内蔵されている。グラフィックスコントローラ14は、本コンピュータのディスプレイモニタとして使用されるLCD15を制御する表示コントローラである。グラフィックスコントローラ14は、VRAM14Aに書き込まれた画像データからLCD15に送出すべき表示信号を生成する。   The north bridge 12 is a bridge device that connects the local bus of the CPU 11 and the south bridge 16. The north bridge 12 has a function of executing communication with the graphics controller 14 via a bus, and also includes a memory controller that controls access to the main memory 13. The graphics controller 14 is a display controller that controls the LCD 15 used as a display monitor of the computer. The graphics controller 14 generates a display signal to be sent to the LCD 15 from the image data written in the VRAM 14A.

サウスブリッジ16は、PCIバスおよびLPCバス上の各種デバイスを制御するコントローラである。また、このサウスブリッジ16には、BIOS−ROM17、HDD18、HD DVD19およびサウンドコントローラ20が直接的に接続され、これらを制御する機能も有している。サウンドコントローラ20は、スピーカ21を制御する音源コントローラである。   The south bridge 16 is a controller that controls various devices on the PCI bus and the LPC bus. The south bridge 16 is directly connected to the BIOS-ROM 17, the HDD 18, the HD DVD 19, and the sound controller 20, and has a function of controlling them. The sound controller 20 is a sound source controller that controls the speaker 21.

EC/KBC22は、電力管理のためのエンベデッドコントローラと、キーボード23およびタッチパッド24を制御するためのキーボードコントローラとが集積された1チップマイクロコンピュータである。EC/KBC22は、電源回路25と協働して、バッテリ26または外部AC電源からの電力を各部に供給制御する。そして、ネットワークコントローラ27は、例えばインターネットなどの外部ネットワークとの通信を実行する通信装置である。   The EC / KBC 22 is a one-chip microcomputer in which an embedded controller for power management and a keyboard controller for controlling the keyboard 23 and the touch pad 24 are integrated. The EC / KBC 22 cooperates with the power supply circuit 25 to control supply of power from the battery 26 or the external AC power supply to each unit. The network controller 27 is a communication device that executes communication with an external network such as the Internet.

次に、図2を参照して、このようなハードウェア構成の本コンピュータ上で動作するビデオエンコーダアプリケーション200によって実現されるソフトウェアエンコーダの機能構成を説明する。   Next, the functional configuration of the software encoder realized by the video encoder application 200 operating on the computer having such a hardware configuration will be described with reference to FIG.

ビデオエンコーダアプリケーション200によるエンコード処理は、H.264/AVC規格に対応しており、図示のように、ビデオエンコーダアプリケーション200は、入力部201、DCT・量子化部202、エントロピー符号化部203、逆量子化・逆DCT部204部、フレーム内(イントラ)予測部205、デブロッキングフィルタ206、フレームメモリ207、動き検出部208、フレーム間(インター)予測部209、符号化制御部210、スイッチ212、減算部213、加算部214、予測モード判定部301、レート制御部302等を備えている。   The encoding process by the video encoder application 200 is H.264. As shown in the figure, the video encoder application 200 includes an input unit 201, a DCT / quantization unit 202, an entropy coding unit 203, an inverse quantization / inverse DCT unit 204, an intra-frame (Intra) prediction unit 205, deblocking filter 206, frame memory 207, motion detection unit 208, inter-frame (inter) prediction unit 209, encoding control unit 210, switch 212, subtraction unit 213, addition unit 214, prediction mode determination Unit 301, rate control unit 302, and the like.

ビデオエンコーダアプリケーション200は、入力部201から入力される動画像信号の各画面(ピクチャ)を例えば16×16画素のマクロブロックのような複数の画像ブロックに分割し、ピクチャの符号化を、画像ブロック単位で実行する。予測モード判定部301は、DCT・量子化部202、逆量子化・逆DCT部204部、フレーム内(イントラ)予測部205、動き検出部208、およびフレーム間(インター)予測部209等を制御して、マクロブロックのような画像ブロック毎に、フレーム内予測符号化(イントラ予測符号化)のための予測モード群と動き補償フレーム間予測符号化(インター予測符号化)のための予測モード群とを含む複数の予測モードの中から一つの予測モードを決定する。各マクロブロックは、予測モード判定部301によって決定された予測モードで符号化(イントラ予測符号化またはインター予測符号化)される。   The video encoder application 200 divides each screen (picture) of the moving image signal input from the input unit 201 into a plurality of image blocks such as a macro block of 16 × 16 pixels, for example. Run in units. The prediction mode determination unit 301 controls the DCT / quantization unit 202, the inverse quantization / inverse DCT unit 204, the intra-frame (intra) prediction unit 205, the motion detection unit 208, the inter-frame (inter) prediction unit 209, and the like. For each image block such as a macroblock, a prediction mode group for intra-frame prediction coding (intra prediction coding) and a prediction mode group for motion compensation inter-frame prediction coding (inter prediction coding) One prediction mode is determined from a plurality of prediction modes including. Each macroblock is encoded in the prediction mode determined by the prediction mode determination unit 301 (intra prediction encoding or inter prediction encoding).

図3は、この予測モード判定部301の機能ブロックを示している。   FIG. 3 shows functional blocks of the prediction mode determination unit 301.

図3に示すように、予測モード判定部301は、第1の予測モード判定部401と第2の予測モード判定部402とを備えている。第1の予測モード判定部401は、通常の予測モード判定処理を行うものであり、符号化対象の画像ブロック(マクロブロック)を複数の予測モードそれぞれで符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを当該符号化対象の画像ブロックを符号化するための予測モードとして決定する、という第1の予測モード判定処理を実行する。   As illustrated in FIG. 3, the prediction mode determination unit 301 includes a first prediction mode determination unit 401 and a second prediction mode determination unit 402. The first prediction mode determination unit 401 performs normal prediction mode determination processing, and calculates each encoding cost when an image block (macroblock) to be encoded is encoded in each of a plurality of prediction modes. Then, a first prediction mode determination process is executed in which the prediction mode that minimizes the encoding cost is determined as the prediction mode for encoding the encoding target image block.

ここでは、符号化コストは符号化効率を示す値であり、例えば、発生符号量(例えば、動きベクトル量を含む符号化係数データ量と、予測画像と原画像との差分データの量との合計値、等)によって表すことができる。   Here, the encoding cost is a value indicating the encoding efficiency. For example, the total of the generated code amount (for example, the amount of encoded coefficient data including the motion vector amount and the amount of difference data between the predicted image and the original image) Value, etc.).

通常は、第1の予測モード判定部401による第1の予測モード判定処理が全てのマクロブロックそれぞれに対して実行されるが、本実施形態では、予測モード判定処理の処理量を低減するために、第1の予測モード判定部401による第1の予測モード判定処理は、符号化対象ピクチャの先頭マクロブロックに対しては少なくとも実行されるものの、第1の予測モード判定処理で決定された予測モードに対応する先頭マクロブロックの符号化コストが所定の基準値以下である場合には、次のマクロブロックからは、第2の予測モード判定部402によるによる予測モード判定処理が用いられる。   Normally, the first prediction mode determination process by the first prediction mode determination unit 401 is executed for each of all macroblocks. In this embodiment, in order to reduce the processing amount of the prediction mode determination process. The first prediction mode determination process performed by the first prediction mode determination unit 401 is executed at least for the first macroblock of the current picture, but the prediction mode determined by the first prediction mode determination process. When the coding cost of the first macroblock corresponding to is less than or equal to a predetermined reference value, the prediction mode determination process by the second prediction mode determination unit 402 is used from the next macroblock.

この第2の予測モード判定部402は、予測モードが既に決定されたマクロブロックに後続する符号化対象のマクロブロック毎に、当該符号化対象のマクロブロックの直前のマクロブロックの予測モード判定結果(決定された予測モード、その予測モードに対応する直前のマクロブロックの符号化コスト)に基づいて、当該符号化対象のマクロブロックを符号化するための予測モードを決定するという第2の予測モード判定処理を実行する。   The second prediction mode determination unit 402 performs, for each encoding target macroblock subsequent to the macroblock for which the prediction mode has already been determined, the prediction mode determination result of the macroblock immediately before the encoding target macroblock ( Second prediction mode determination of determining a prediction mode for encoding the macroblock to be encoded based on the determined prediction mode and the encoding cost of the immediately preceding macroblock corresponding to the prediction mode) Execute the process.

すなわち、第2の予測モード判定部402は、まず、予測モード判定済みの直前のマクロブロックの予測モードを次の符号化対象のマクロブロックに対する初期予測モードとして設定し、初期予測モードで符号化対象のマクロブロックを符号化した場合の符号化コストを算出する。そして、第2の予測モード判定部402は、算出された符号化対象のマクロブロックの符号化コストと直前のマクロブロックの符号化コスト(直前のマクロブロックに対して決定された予測モードで直前のマクロブロックを符号化した場合の符号化コスト)とを比較する。   That is, the second prediction mode determination unit 402 first sets the prediction mode of the immediately preceding macroblock for which the prediction mode has been determined as the initial prediction mode for the next encoding target macroblock, and performs the encoding target in the initial prediction mode. The encoding cost when the macroblock is encoded is calculated. Then, the second prediction mode determination unit 402 calculates the encoding cost of the calculated macroblock to be encoded and the encoding cost of the immediately preceding macroblock (the prediction mode determined for the immediately preceding macroblock in the immediately preceding prediction mode). And the encoding cost when the macroblock is encoded).

もし、算出された符号化対象のマクロブロックの符号化コストが直前のマクロブロックの符号化コスト以下であるならば、第2の予測モード判定部402は、初期予測モードを符号化対象のマクロブロックを符号化するための予測モードに決定し、残りの予測モードそれぞれに対する符号化コストの算出処理を省略する。一方、算出された符号化対象のマクロブロックの符号化コストが直前のマクロブロックの符号化コストよりも大きいならば、第2の予測モード判定部402は、初期予測モード以外の残りの予測モードでそれぞれ符号化対象のマクロブロックを符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを符号化対象のマクロブロックを符号化するための予測モードに決定する。   If the calculated encoding cost of the encoding target macroblock is equal to or less than the encoding cost of the immediately preceding macroblock, the second prediction mode determination unit 402 sets the initial prediction mode to the encoding target macroblock. Is determined as a prediction mode for encoding, and the encoding cost calculation process for each of the remaining prediction modes is omitted. On the other hand, if the encoding cost of the calculated macroblock to be encoded is higher than the encoding cost of the immediately preceding macroblock, the second prediction mode determination unit 402 uses the remaining prediction modes other than the initial prediction mode. The encoding cost when each encoding target macroblock is encoded is calculated, and the prediction mode that minimizes the encoding cost is determined as the prediction mode for encoding the encoding target macroblock.

符号化順で連続するマクロブロック同士の多くは空間的な相関が強いので、直前のマクロブロックの予測モード判定結果を次のマクロブロックの予測モード判定に使用することにより、予測モード判定処理に要する処理量を効率良く低減することができる。今、図4に示すように、4つのマクロブロックMB1〜MB4を順に符号化する場合を想定する。マクロブロックMB1はあるピクチャ内の先頭のマクロブロックであり、マクロブロックMB2〜MB4は符号化順でマクロブロックMB1に後続するマクロブロック群である。マクロブロックMB1に対しては、第1の予測モード判定処理が適用され、全ての予測モードそれぞれについて評価される。そして、最も符号化コストの小さい予測モードがマクロブロックMB1に対する予測モードとして決定される。   Many of the macroblocks that are consecutive in the coding order have a strong spatial correlation. Therefore, the prediction mode determination process is required by using the prediction mode determination result of the immediately preceding macroblock for the prediction mode determination of the next macroblock. The amount of processing can be reduced efficiently. Assume that four macroblocks MB1 to MB4 are sequentially encoded as shown in FIG. The macroblock MB1 is the first macroblock in a certain picture, and the macroblocks MB2 to MB4 are macroblock groups that follow the macroblock MB1 in the coding order. The first prediction mode determination process is applied to the macroblock MB1, and each prediction mode is evaluated. Then, the prediction mode with the lowest coding cost is determined as the prediction mode for the macroblock MB1.

マクロブロックMB2のモード判定には、第2のモード判定処理が適用され、マクロブロックMB2の直前のマクロブロックMB1のモード判定結果が利用される。なお、マクロブロックMB2への第2のモード判定処理の適用は先頭マクロブロックMB1の符号化コストが所定の基準値以下であることを条件に行われ、先頭マクロブロックMB1の符号化コストが基準値よりも大きい場合には、マクロブロックMB2のモード判定には第1のモード判定処理が引き続き適用される。   The second mode determination process is applied to the mode determination of the macroblock MB2, and the mode determination result of the macroblock MB1 immediately before the macroblock MB2 is used. The application of the second mode determination process to the macroblock MB2 is performed on the condition that the encoding cost of the leading macroblock MB1 is equal to or lower than a predetermined reference value, and the encoding cost of the leading macroblock MB1 is the reference value. Is larger than the first mode determination process, the first mode determination process is continuously applied to the mode determination of the macroblock MB2.

これにより、第1のモード判定処理によって決定された予測モードの結果が良好なマクロブロックの次のマクロブロックから第2のモード判定処理の適用を開始することが可能となり、直前のモード判定結果を利用した第2のモード判定処理を精度良く実行することが可能となる。   As a result, it becomes possible to start application of the second mode determination process from the macroblock next to the macroblock having a good prediction mode result determined by the first mode determination process, and the previous mode determination result is obtained. It is possible to execute the utilized second mode determination process with high accuracy.

先頭マクロブロックMB1の符号化コストが所定の基準値以下である場合には、まず、マクロブロックMB1に対して決定された予測モードがマクロブロックMB2の初期予測モードとして選定され、その初期予測モードでマクロブロックMB2を符号化した場合の符号化コストが最初に算出される。算出されたマクロブロックMB2の符号化コストがマクロブロックMB1の符号化コスト以下である場合、その時点で、初期予測モードがマクロブロックMB2の予測モードとして決定され、初期予測モード以外の他の予測モードに対する評価は省略される。一方、算出されたマクロブロックMB2の符号化コストがマクロブロックMB1の符号化コストよりも大きい場合には、初期予測モード以外の残りの予測モードでそれぞれマクロブロックMB2を符号化した場合の符号化コストがそれぞれ算出され、符号化コストが最小となる予測モードがマクロブロックMB2の符号化モードとして決定される。   When the coding cost of the first macroblock MB1 is equal to or lower than a predetermined reference value, first, the prediction mode determined for the macroblock MB1 is selected as the initial prediction mode of the macroblock MB2, and the initial prediction mode is The encoding cost when the macroblock MB2 is encoded is first calculated. When the calculated encoding cost of the macroblock MB2 is equal to or less than the encoding cost of the macroblock MB1, the initial prediction mode is determined as the prediction mode of the macroblock MB2 at that time, and other prediction modes other than the initial prediction mode Evaluation of is omitted. On the other hand, when the calculated encoding cost of the macroblock MB2 is larger than the encoding cost of the macroblock MB1, the encoding cost when the macroblock MB2 is encoded in the remaining prediction modes other than the initial prediction mode, respectively. Are calculated, and the prediction mode that minimizes the coding cost is determined as the coding mode of the macroblock MB2.

マクロブロックMB3のモード判定にも、第2のモード判定処理が適用され、直前のマクロブロックMB2のモード判定結果が利用される。この場合、マクロブロックMB2に対して決定された予測モードが初期予測モードに選定され、その初期予測モードでマクロブロックMB3を符号化した場合の符号化コストが最初に算出される。算出されたマクロブロックMB3の符号化コストがマクロブロックMB2の符号化コスト以下である場合、初期予測モードがマクロブロックMB3の符号化モードとなる。算出されたマクロブロックMB3の符号化コストがマクロブロックMB2の符号化コストよりも大きい場合には、初期予測モード以外の残りの予測モードでそれぞれマクロブロックMB3を符号化した場合の符号化コストがそれぞれ評価され、符号化コストが最小となる予測モードがマクロブロックMB3の符号化モードとなる。   The second mode determination process is also applied to the mode determination of the macroblock MB3, and the mode determination result of the immediately preceding macroblock MB2 is used. In this case, the prediction mode determined for the macroblock MB2 is selected as the initial prediction mode, and the encoding cost when the macroblock MB3 is encoded in the initial prediction mode is calculated first. When the calculated encoding cost of the macroblock MB3 is equal to or less than the encoding cost of the macroblock MB2, the initial prediction mode becomes the encoding mode of the macroblock MB3. When the calculated encoding cost of the macroblock MB3 is larger than the encoding cost of the macroblock MB2, the encoding costs when the macroblock MB3 is encoded in each of the remaining prediction modes other than the initial prediction mode are respectively The prediction mode that is evaluated and minimizes the coding cost is the coding mode of the macroblock MB3.

同様にして、マクロブロックMB4のモード判定にも第2のモード判定処理が適用され、マクロブロックMB4のモード判定はマクロブロックMB3のモード判定結果を利用して実行される。   Similarly, the second mode determination process is applied to the mode determination of the macroblock MB4, and the mode determination of the macroblock MB4 is executed using the mode determination result of the macroblock MB3.

このように、本実施形態では、初期予測モードで符号化対象のマクロブロックを符号化した場合の符号化コストが直前のマクロブロックの符号化コスト以下になることを条件に、直前のマクロブロックに対して決定された予測モードが次のマクロブロックの予測モードに決定され、残りの他の予測モードそれぞれに対する評価が打ち切られる。残りの予測モードの中には、初期予測モードよりも符号化コストが小さくなる予測モードが含まれている可能性もあるが、上述の打ち切り条件の採用により、単純に、選択可能な予測モードの数を限定する場合に比し、画質低下を防止しつつ、予測モード判定処理に要する処理量を低減することが可能となる。   As described above, in the present embodiment, the previous macroblock is recorded on the condition that the encoding cost when the encoding target macroblock is encoded in the initial prediction mode is equal to or less than the encoding cost of the immediately preceding macroblock. The prediction mode determined for the next macroblock is determined as the prediction mode, and evaluation for each of the remaining other prediction modes is terminated. The remaining prediction modes may include a prediction mode that has a lower coding cost than the initial prediction mode, but by adopting the above-mentioned truncation conditions, simply selectable prediction modes. Compared with the case where the number is limited, it is possible to reduce the processing amount required for the prediction mode determination process while preventing the image quality from being deteriorated.

ところで、H.264/AVC規格のハイプロファイルでは、インター予測において、予測モードのブロックサイズが8画素×8画素以上の場合、4画素×4画素のブロックサイズのDCT、8画素×8画素のブロックサイズのDCTのいずれかから最適な方を選択可能となっている。従って、仮に、ある規格において、m種類の予測モードが存在し、かつ、n種類のDCTが選択可能である場合、インター予測だけでm×n個の予測モード候補が実質的に存在することとなる。このような状況において、何らの工夫も凝らさずに、すべての予測モード候補について評価を行い最適な予測モード候補を選択するとしたならば、当該インター予測の予測モード判定に要する処理量が膨大となってしまう。したがって、本実施形態の予測モード判定処理は極めて有効である。また、イントラ予測においても、4画素×4画素、8画素×8画素の予測ブロック形状毎に9通りの予測モード(予測方向)があり、16画素×16画素の予測ブロック形状に対しても4通りの予測モード(予測方向)があるので、イントラ予測のための予測モードの数も極めて多い。   H. In the high profile of the H.264 / AVC standard, in the inter prediction, when the block size of the prediction mode is 8 pixels × 8 pixels or more, a DCT having a block size of 4 × 4 pixels and a DCT having a block size of 8 × 8 pixels are used. The most suitable one can be selected. Accordingly, if m types of prediction modes exist and n types of DCTs can be selected in a certain standard, m × n prediction mode candidates substantially exist only by inter prediction. Become. In such a situation, if all the prediction mode candidates are evaluated and the optimum prediction mode candidate is selected without any ingenuity, the processing amount required for the prediction mode determination of the inter prediction becomes enormous. End up. Therefore, the prediction mode determination process of this embodiment is extremely effective. Also, in intra prediction, there are nine prediction modes (prediction directions) for each prediction block shape of 4 pixels × 4 pixels and 8 pixels × 8 pixels, and there are 4 prediction modes for 16 pixels × 16 pixels. Since there are street prediction modes (prediction directions), the number of prediction modes for intra prediction is extremely large.

本実施形態では、最小一回の判定処理で予測モードを決定できるので、予測モード判定処理の処理量を大幅に低減することができる。   In the present embodiment, since the prediction mode can be determined by a determination process at least once, the processing amount of the prediction mode determination process can be greatly reduced.

なお、図2に機能構成が示されるソフトウェアエンコーダにおいては、イントラ予測部205は、予測モード判定処理部301の制御の下に、イントラ符号化のための複数の予測モードそれぞれに対応する予測処理を選択的に実行する。イントラ予測符号化モード時においては、予測モード判定処理部301はスイッチ212によってイントラ予測部205を選択する。イントラ予測部205は、予測モード判定処理部301によって決定された予測モードに従って、符号化対象画面(ピクチャ)内の幾つかの符号済みブロックから符号化対象ブロックの予測信号を生成する。減算部213では、符号化対象画面(ピクチャ)からこの予測信号を引いた予測誤差信号が得られる。この予測誤差信号は、DCT・量子化部202によって直交変換および量子化される。量子化された直交変換係数は、イントラ予測モード情報などと共にエントロピー符号化部203によってエントロピー符号化される。   In the software encoder whose functional configuration is shown in FIG. 2, the intra prediction unit 205 performs prediction processing corresponding to each of a plurality of prediction modes for intra coding under the control of the prediction mode determination processing unit 301. Run selectively. In the intra prediction encoding mode, the prediction mode determination processing unit 301 uses the switch 212 to select the intra prediction unit 205. The intra prediction unit 205 generates a prediction signal of the encoding target block from several encoded blocks in the encoding target screen (picture) according to the prediction mode determined by the prediction mode determination processing unit 301. The subtraction unit 213 obtains a prediction error signal obtained by subtracting this prediction signal from the encoding target screen (picture). This prediction error signal is orthogonally transformed and quantized by the DCT / quantization unit 202. The quantized orthogonal transform coefficient is entropy encoded by the entropy encoding unit 203 together with intra prediction mode information and the like.

一方、インター予測符号化モード時においては、まず、動き検出部208が、フレームメモリ207に格納された既に符号化された画面(ピクチャ)からの動きを推定し、続いて、インター予測部209が、符号化対象画面に対応する動き補償フレーム間予測信号を定められた形状単位で生成する。そして、符号化対象画面(ピクチャ)から動き補償フレーム間予測信号を引いた予測誤差信号を、DCT・量子化部202が、直交変換(DCT)および量子化し、エントロピー符号化部203が、インター予測モード情報、および量子化された直交変換係数に対しエントロピー符号化を行うことによって符号化する。   On the other hand, in the inter prediction encoding mode, first, the motion detection unit 208 estimates the motion from the already encoded screen (picture) stored in the frame memory 207, and then the inter prediction unit 209 Then, a motion compensated inter-frame prediction signal corresponding to the encoding target screen is generated in a predetermined shape unit. Then, the DCT / quantization unit 202 performs orthogonal transform (DCT) and quantization on the prediction error signal obtained by subtracting the motion compensation inter-frame prediction signal from the encoding target screen (picture), and the entropy encoding unit 203 performs inter prediction. Encoding is performed by performing entropy encoding on the mode information and the quantized orthogonal transform coefficient.

また、逆量子化・逆DCT部204は、直交変換および量子化された画像(ピクチャ)の量子化係数を逆量子化および逆直交変換するものであり、デブロッキングフィルタ206は、ブロックノイズを低減するためのデブロッキングフィルタ処理を行うものである。   The inverse quantization / inverse DCT unit 204 performs inverse quantization and inverse orthogonal transform on the quantization coefficient of the orthogonally transformed and quantized image (picture), and the deblocking filter 206 reduces block noise. The deblocking filter process for performing is performed.

レート制御部302は、エントロピー符号化部203から出力される符号化ストリームのレート(発生符号量)を調整するために、量子化パラメータの設定等を行う。   The rate control unit 302 sets a quantization parameter and the like in order to adjust the rate (generated code amount) of the encoded stream output from the entropy encoding unit 203.

図5は、ピクチャ内のマクロブロックの符号化順序を示している。   FIG. 5 shows the encoding order of macroblocks in a picture.

ピクチャは複数のマクロブロックに分割され、図5の(A)に示す順序または図5の(B)に示す順序で符号化される。各マクロブロックの符号化に際しては、最初に予測モード判定が実行される。   A picture is divided into a plurality of macroblocks and encoded in the order shown in FIG. 5A or the order shown in FIG. When encoding each macroblock, prediction mode determination is first performed.

図6は、図5の(A)に示す順序で符号化が行われる場合の予測モード判定処理の様子を示している。   FIG. 6 shows the state of the prediction mode determination process when encoding is performed in the order shown in FIG.

まず、先頭のマクロブロックMB1の予測モードが決定される。この場合、全ての予測モードでマクロブロックMB1をそれぞれ符号化した場合の符号化コストが算出され、符号化コストが最小となる予測モードがマクロブロックMB1の予測モードとして決定される。次に、マクロブロックMB2の予測モードが決定される。隣接したマクロブロックの場合、空間的相関が大きいため、同一の予測モードが選択される確率も高い。そこで、マクロブロックMB2の予測モード決定に際しては、直前のマクロブロックMB1の予測モード判定結果を使用する。   First, the prediction mode of the first macroblock MB1 is determined. In this case, the encoding cost when the macroblock MB1 is encoded in all prediction modes is calculated, and the prediction mode that minimizes the encoding cost is determined as the prediction mode of the macroblock MB1. Next, the prediction mode of the macroblock MB2 is determined. In the case of adjacent macroblocks, since the spatial correlation is large, the probability that the same prediction mode is selected is high. Therefore, when determining the prediction mode of the macroblock MB2, the prediction mode determination result of the immediately preceding macroblock MB1 is used.

なお、本実施形態では、全ての予測モードについて評価するという第1の予測モード判定処理を先頭のマクロブロックのみに対して実行するのではなく、決定された予測モードに対応する符号化コストが所定の基準値(モード判定閾値)以下となるマクロブロックが検出されるまで、第1の予測モード判定処理が、符号化対象の先頭のマクロブロックから順に実行される。このようなモード判定閾値を設けることにより、上述したように、決定された予測モードの結果が良好な場合つまり符号化コストが低い場合にのみ、直前のマクロブロックのモード判定結果を利用した第2のモード判定処理(簡略モード判定処理)を実行することが可能となり、画質劣化を抑制することができる。   In the present embodiment, the first prediction mode determination process for evaluating all prediction modes is not performed only on the first macroblock, but the encoding cost corresponding to the determined prediction mode is predetermined. The first prediction mode determination process is executed in order from the first macroblock to be encoded until a macroblock having a reference value (mode determination threshold) or less is detected. By providing such a mode determination threshold, as described above, the second mode using the mode determination result of the immediately preceding macroblock only when the determined prediction mode result is good, that is, when the coding cost is low. Mode determination processing (simple mode determination processing) can be executed, and image quality deterioration can be suppressed.

さらに、簡略モード判定処理が開始されてからもモード判定閾値を利用し、簡略モード判定処理によってあるマクロブロックに対して算出された符号化コストの最小値がモード判定閾値よりも大きい場合には、次のマクロブロックからモード判定方法を第1の予測モード判定処理に再び切り替えるようにしてもよい。   Furthermore, even when the simple mode determination process is started, the mode determination threshold is used, and when the minimum encoding cost calculated for a certain macroblock by the simple mode determination process is larger than the mode determination threshold, The mode determination method may be switched to the first prediction mode determination process again from the next macroblock.

この場合、予測モード判定部301は、簡略モード判定処理によって予測モードが決定されたマクロブロック毎に当該画像ブロックの符号化コストがモード判定閾値よりも大きいか否かを判別し、大きい場合には、第1の予測モード判定処理で決定された予測モードに対応する符号化コストがモード判定閾値以下となるマクロブロックが検出されるまで、簡略モード判定処理によって符号化コストがモード判定閾値よりも大きいマクロブロックであることが判別されたマクロブロックの直後の符号化対象のマクロブロックから順に、第1の予測モード判定処理を実行する。   In this case, the prediction mode determination unit 301 determines whether or not the coding cost of the image block is larger than the mode determination threshold for each macroblock for which the prediction mode is determined by the simple mode determination process. Until the macroblock whose coding cost corresponding to the prediction mode determined in the first prediction mode determination process is equal to or less than the mode determination threshold is detected, the encoding cost is higher than the mode determination threshold by the simple mode determination process. The first prediction mode determination process is executed in order from the macro block to be encoded immediately after the macro block determined to be a macro block.

次に、図7を参照して、各ピクチャに対して実行される本実施形態の予測モード判定処理の具体的な手順の例について説明する。   Next, with reference to FIG. 7, an example of a specific procedure of the prediction mode determination process of the present embodiment executed for each picture will be described.

まず、予測モード判定部301は、上述のモード判定閾値EXE_thrを設定する(ステップS11)。モード判定閾値EXE_thrの値は、例えば、符号化ビットレートを調整するための量子化パラメータQPに応じて決定される。予測モード判定部301は、符号化対象ピクチャの先頭マクロブロックに対して予測モード判定処理を行う。この場合、予測モード判定部301は、先頭マクロブロックに適用すべき予測モードを全ての予測モードそれぞれについて評価するために、全ての予測モードそれそれで先頭マクロブロックを符号化した場合の符号化コストCOSTをそれぞれ算出する(ステップS12)。そして、符号化コストCOSTが最小となった予測モードを先頭マクロブロックの予測モードに決定する(ステップS13)。   First, the prediction mode determination unit 301 sets the above-described mode determination threshold value EXE_thr (step S11). The value of the mode determination threshold EXE_thr is determined according to, for example, a quantization parameter QP for adjusting the encoding bit rate. The prediction mode determination unit 301 performs prediction mode determination processing on the first macroblock of the encoding target picture. In this case, the prediction mode determination unit 301 evaluates the prediction mode to be applied to the head macroblock for each of all the prediction modes, so that the encoding cost COST when all the prediction modes and the head macroblock are encoded with each prediction mode is evaluated. Are calculated respectively (step S12). Then, the prediction mode in which the coding cost COST is minimized is determined as the prediction mode of the first macroblock (step S13).

そして、予測モード判定部301は、決定された予測モードに対応する先頭マクロブロックの符号化コストCOSTとモード判定閾値EXE_thrとを比較し、先頭マクロブロックの符号化コストCOSTがモード判定閾値EXE_thr以下であるかどうかを判定する(ステップS14)。   Then, the prediction mode determination unit 301 compares the encoding cost COST of the first macroblock corresponding to the determined prediction mode with the mode determination threshold EXE_thr, and the encoding cost COST of the first macroblock is equal to or less than the mode determination threshold EXE_thr. It is determined whether or not there is (step S14).

先頭マクロブロックの符号化コストCOSTがモード判定閾値EXE_thrよりも大きいならば(ステップS14のNO)、予測モード判定部301は、符号化対象のマクロブロックを順次変更しながら、符号化コストCOSTがモード判定閾値EXE_thr以下となるマクロブロックが検出されるまでステップS12,S13の処理を繰り返す(ステップS15)。   If the encoding cost COST of the first macroblock is larger than the mode determination threshold value EXE_thr (NO in step S14), the prediction mode determination unit 301 changes the encoding target macroblock sequentially, and the encoding cost COST is the mode. The processes in steps S12 and S13 are repeated until a macroblock that is equal to or less than the determination threshold EXE_thr is detected (step S15).

符号化コストCOSTがモード判定閾値EXE_thr以下となる予測判定済みのマクロブロックが検出されると(ステップS14のYES)、予測モード判定部301は、当該予測判定済みのマクロブロックに対して決定した予測モードを、次の符号化対象のマクロブロックの初期評価モードMODE_initとして設定すると共に、決定した予測モードに対応する当該予測判定済みのマクロブロックの符号化コストを評価コスト閾値COST_thrとして設定する(ステップS16)。   When a prediction-determined macroblock whose coding cost COST is equal to or less than the mode determination threshold EXE_thr is detected (YES in step S14), the prediction mode determination unit 301 determines the prediction determined for the prediction-determined macroblock. The mode is set as the initial evaluation mode MODE_init of the next macroblock to be encoded, and the encoding cost of the prediction-determined macroblock corresponding to the determined prediction mode is set as the evaluation cost threshold COST_thr (step S16). ).

この後、予測モード判定部301は、符号化対象の現在のマクロブロックに対して簡略モード判定処理を開始する。初めに、予測モード判定部301は、初期評価モードMODE_initで示される直前のマクロブロックに適用された予測モードで符号化対象の現在のマクロブロックを符号化した場合の符号化コスト(評価コスト)COST_initを算出する(ステップS18)。次いで、予測モード判定部301は、符号化コストCOST_initと評価コスト閾値COST_thrとを比較し、符号化コストCOST_initが評価コスト閾値COST_thr以下であるかどうかを判定する(ステップS19)。   Thereafter, the prediction mode determination unit 301 starts the simple mode determination process for the current macroblock to be encoded. First, the prediction mode determination unit 301 encodes the current macroblock to be encoded (evaluation cost) COST_init when encoding the current macroblock to be encoded in the prediction mode applied to the immediately preceding macroblock indicated by the initial evaluation mode MODE_init. Is calculated (step S18). Next, the prediction mode determination unit 301 compares the encoding cost COST_init with the evaluation cost threshold value COST_thr, and determines whether the encoding cost COST_init is equal to or less than the evaluation cost threshold value COST_thr (step S19).

もし符号化コストCOST_initが評価コスト閾値COST_thr以下であるならば(ステップS19のYES)、予測モード判定部301は、初期評価モードMODE_initを現在のマクロブロックを符号化するための予測モードに決定すると共に、評価コスト閾値COST_thrを更新して、評価コスト閾値COST_thrの値を、ステップS18で求めた現在のマクロブロックの符号化コストCOST_initに変更する(ステップS20)。未判定のマクロブロックが存在するならば(ステップS21のNO)、次のマクロブロックに対してステップS17からの処理が実行される。   If the encoding cost COST_init is equal to or less than the evaluation cost threshold COST_thr (YES in step S19), the prediction mode determination unit 301 determines the initial evaluation mode MODE_init as a prediction mode for encoding the current macroblock. Then, the evaluation cost threshold value COST_thr is updated, and the value of the evaluation cost threshold value COST_thr is changed to the coding cost COST_init of the current macroblock obtained in step S18 (step S20). If there is an undetermined macroblock (NO in step S21), the processing from step S17 is executed for the next macroblock.

一方、もし符号化コストCOST_initが評価コスト閾値COST_thrよりも大きいならば(ステップS19のNO)、予測モード判定部301は、初期評価モードMODE_init以外の他の予測モードそれぞれで現在のマクロブロックをそれぞれ符号化した場合の符号化コストをそれぞれ算出する(ステップS22)。そして、全ての予測モードの中で符号化コストが最小となる予測モードを現在のマクロブロックの予測モードに決定する(ステップS23)。この後、予測モード判定部301は、ステップS14に進み、決定した予測モードに対応する当該判定済みのマクロブロックの符号化コストCOSTとモード判定閾値EXE_thrとを比較し、当該判定済みのマクロブロックの符号化コストCOSTがモード判定閾値EXE_thrよりも大きいかどうかを判定する。   On the other hand, if the coding cost COST_init is larger than the evaluation cost threshold COST_thr (NO in step S19), the prediction mode determination unit 301 codes the current macroblock in each of the other prediction modes other than the initial evaluation mode MODE_init. The encoding cost in the case of conversion is calculated (step S22). Then, the prediction mode that minimizes the coding cost among all prediction modes is determined as the prediction mode of the current macroblock (step S23). Thereafter, the prediction mode determination unit 301 proceeds to step S14, compares the coding cost COST of the determined macroblock corresponding to the determined prediction mode with the mode determination threshold EXE_thr, and determines the determined macroblock. It is determined whether or not the coding cost COST is larger than the mode determination threshold EXE_thr.

当該判定済みのマクロブロックの符号化コストCOSTがモード判定閾値EXE_thr以下である場合には、当該判定済みのマクロブロックの予測モード判定結果を次のマクロブロックの予測モード判定に使用するために、予測モード判定部301は、当該判定済みのマクロブロックに対して決定された予測モードを次の符号化対象のマクロブロックの初期評価モードMODE_initとして設定すると共に、決定した予測モードに対応する当該判定済みのマクロブロックの符号化コストを評価コスト閾値COST_thrとして設定する(ステップS16)。   When the coding cost COST of the determined macroblock is equal to or less than the mode determination threshold EXE_thr, the prediction mode determination result of the determined macroblock is used for the prediction mode determination of the next macroblock. The mode determination unit 301 sets the prediction mode determined for the determined macroblock as the initial evaluation mode MODE_init of the next macroblock to be encoded, and the determined mode corresponding to the determined prediction mode The encoding cost of the macroblock is set as the evaluation cost threshold value COST_thr (step S16).

一方、当該判定済みのマクロブロックの符号化コストCOSTがモード判定閾値EXE_thrよりも大きいならば、簡略モード判定処理は一時的に終了され、次の符号化対象のマクロブロックから、再びステップS12からの処理が開始される。そして、符号化コストCOSTがモード判定閾値EXE_thr以下となるマクロブロックが検出されると、ステップS16で初期評価モードMODE_initおよび評価コスト閾値COST_thrが設定された後に、ステップS17の簡略モード判定処理が開始される。   On the other hand, if the coding cost COST of the determined macroblock is larger than the mode determination threshold value EXE_thr, the simplified mode determination process is temporarily terminated, and from the next macroblock to be encoded again from step S12. Processing begins. When a macroblock whose coding cost COST is equal to or less than the mode determination threshold value EXE_thr is detected, the initial evaluation mode MODE_init and the evaluation cost threshold value COST_thr are set in step S16, and then the simple mode determination process in step S17 is started. The

なお、予測モード判定処理ではエントロピー符号化を除く他の符号化処理のほとんどが実行されるので、適用すべき予測モード判定が決定された時点でエントロピー符号化等の残りの処理を行うことにより、効率よく符号化を行うことができる。   In addition, since most of the encoding processes other than entropy encoding are executed in the prediction mode determination process, by performing the remaining processes such as entropy encoding when the prediction mode determination to be applied is determined, Encoding can be performed efficiently.

以上のように、本実施形態によれば、画質低下を抑えつつ、少ない処理量で予測モードを効率よく決定することができるので、動画像信号をリアルタイムに符号化することが可能となる。   As described above, according to the present embodiment, it is possible to efficiently determine the prediction mode with a small amount of processing while suppressing deterioration in image quality, and thus it is possible to encode a moving image signal in real time.

なお、予測モード判定処理を含む符号化の処理は全てビデオエンコーダアプリケーション200によって実行することができるので、このプログラムをコンピュータ読み取り可能な記憶媒体を通じて通常のコンピュータにインストールするだけで、本実施形態と同様の効果を容易に実現することができる。   Since all the encoding processes including the prediction mode determination process can be executed by the video encoder application 200, it is the same as the present embodiment only by installing this program on a normal computer through a computer-readable storage medium. The effect of can be easily realized.

また、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Further, the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

本発明の一実施形態に係る動画像符号化装置の構成例を示すブロック図。The block diagram which shows the structural example of the moving image encoder which concerns on one Embodiment of this invention. 同実施形態の動画像符号化装置で用いられるビデオエンコーダアプリケーションによって実現されるソフトウェアエンコーダの機能構成を示すブロック図。FIG. 3 is an exemplary block diagram illustrating a functional configuration of a software encoder realized by a video encoder application used in the moving image encoding apparatus according to the embodiment. 同実施形態の動画像符号化装置に設けられた予測モード判定部の機能を説明するための図。The figure for demonstrating the function of the prediction mode determination part provided in the moving image encoder of the embodiment. 同実施形態の動画像符号化装置によって実行される予測モード判定処理の基本原理を説明するための図。The figure for demonstrating the basic principle of the prediction mode determination process performed by the moving image encoder of the embodiment. 同実施形態の動画像符号化装置におけるマクロブロックの符号化順序の例を示す図。The figure which shows the example of the encoding order of the macroblock in the moving image encoder of the embodiment. 同実施形態の動画像符号化装置によって実行される予測モード判定処理の様子を示す図。The figure which shows the mode of the prediction mode determination process performed by the moving image encoder of the embodiment. 同実施形態の動画像符号化装置によって実行される予測モード判定処理の具体的な手順の例を示すフローチャート。The flowchart which shows the example of the specific procedure of the prediction mode determination process performed by the moving image encoder of the embodiment.

符号の説明Explanation of symbols

11…CPU、200…ビデオエンコーダアプリケーション、201…入力部、202…DCT・量子化部、203…エントロピー符号化部、204…逆量子化・逆DCT部、205…イントラ予測部、208…動き検出部、209…インター予測部、301…予測モード判定部、401…第1の予測モード判定部、402…第2の予測モード判定部。   DESCRIPTION OF SYMBOLS 11 ... CPU, 200 ... Video encoder application, 201 ... Input part, 202 ... DCT / quantization part, 203 ... Entropy encoding part, 204 ... Dequantization / inverse DCT part, 205 ... Intra prediction part, 208 ... Motion detection 209 ... inter prediction unit, 301 ... prediction mode determination unit, 401 ... first prediction mode determination unit, 402 ... second prediction mode determination unit.

Claims (7)

動画像信号を複数の画像ブロックに分割し、画像ブロック毎に、フレーム間予測符号化のための予測モード群とフレーム内予測符号化のための予測モード群とを含む複数の予測モードの中から1つの予測モードを選択し、当該選択された予測モードで前記画像ブロックを符号化する動画像符号化装置であって、
符号化対象の先頭の画像ブロックを前記複数の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記先頭の画像ブロックの予測モードに決定する第1の予測モード判定処理を実行する第1の予測モード判定手段と、
前記第1の予測モード判定手段によって決定された予測モードに対応する前記先頭の画像ブロックの符号化コストが所定の基準値以下である場合、前記先頭の画像ブロックに後続する符号化対象の画像ブロックそれぞれに対して、符号化対象の画像ブロックを符号化するための予測モードを前記符号化対象の画像ブロックの直前の画像ブロックに対する予測モード判定結果に基づいて決定する第2の予測モード判定処理を実行する第2の予測モード判定手段とを具備し、
前記第2の予測モード判定手段は、
前記符号化対象の画像ブロックの直前の画像ブロックに対して決定された予測モードを前記符号化対象の画像ブロックの初期予測モードに設定し、前記初期予測モードで前記符号化対象の画像ブロックを符号化した場合の符号化コストを算出する手段と、
前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コスト以下である場合、前記初期予測モードを前記符号化対象の画像ブロックを符号化するための予測モードに決定する手段と、
前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コストよりも大きい場合、前記符号化対象の画像ブロックを前記初期予測モード以外の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記符号化対象の画像ブロックの予測モードに決定する手段とを含むことを特徴とする動画像符号化装置。
A video signal is divided into a plurality of image blocks, and each image block is selected from a plurality of prediction modes including a prediction mode group for inter-frame prediction encoding and a prediction mode group for intra-frame prediction encoding. A video encoding device that selects one prediction mode and encodes the image block in the selected prediction mode,
Coding costs are calculated when the first image block to be encoded is encoded in the plurality of prediction modes, and the prediction mode that minimizes the encoding cost is determined as the prediction mode of the first image block. First prediction mode determination means for executing a first prediction mode determination process;
When the encoding cost of the head image block corresponding to the prediction mode determined by the first prediction mode determination unit is equal to or lower than a predetermined reference value, the image block to be encoded following the head image block Second prediction mode determination processing for determining a prediction mode for encoding an image block to be encoded based on a prediction mode determination result for an image block immediately before the image block to be encoded for each of them Second prediction mode determination means to execute,
The second prediction mode determination means includes
The prediction mode determined for the image block immediately before the encoding target image block is set as the initial prediction mode of the encoding target image block, and the encoding target image block is encoded in the initial prediction mode. Means for calculating the encoding cost when
When the calculated encoding cost of the encoding target image block is equal to or less than the encoding cost of the immediately preceding image block, the initial prediction mode is used to encode the encoding target image block. Means to determine
When the encoding cost of the calculated image block to be encoded is larger than the encoding cost of the immediately preceding image block, the encoding target image block is encoded in a prediction mode other than the initial prediction mode, respectively. And a means for calculating a coding mode in which the coding cost is minimized and determining a prediction mode that minimizes the coding cost as the prediction mode of the image block to be coded.
前記第1の予測モード判定手段は、前記第1の予測モード判定処理で決定された予測モードに対応する符号化コストが前記基準値以下となる画像ブロックが検出されるまで、前記第1の予測モード判定処理を、前記符号化対象の先頭の画像ブロックから順に実行する手段を含み、
前記第2の予測モード判定手段は、前記検出された画像ブロックに後続する符号化対象の画像ブロックそれぞれに対して前記第2の予測モード判定処理を実行することを特徴とする請求項1記載の動画像符号化装置。
The first prediction mode determination unit is configured to detect the first prediction until an image block whose coding cost corresponding to the prediction mode determined in the first prediction mode determination process is equal to or less than the reference value is detected. Means for executing mode determination processing in order from the first image block to be encoded;
The said 2nd prediction mode determination means performs the said 2nd prediction mode determination process with respect to each image block of the encoding target subsequent to the said detected image block. Video encoding device.
前記第2の予測モード判定処理によって予測モードが決定された画像ブロック毎に当該画像ブロックの符号化コストが前記基準値よりも大きいか否かを判別する手段をさらに具備し、
符号化コストが前記基準値よりも大きいことが判別された場合、前記第1の予測モード判定手段は、前記符号化コストが前記基準値よりも大きいことが判別された画像ブロックに後続する符号化対象の画像ブロックそれぞれに対し、前記第1の予測モード判定処理で決定された予測モードに対応する符号化コストが前記基準値以下となる画像ブロックが検出されるまで、前記第1の予測モード判定処理を実行することを特徴とする請求項2記載の動画像符号化装置。
Means for determining whether or not the encoding cost of the image block is greater than the reference value for each image block for which the prediction mode is determined by the second prediction mode determination process;
When it is determined that the encoding cost is greater than the reference value, the first prediction mode determination unit performs encoding subsequent to the image block for which the encoding cost is determined to be higher than the reference value. For each target image block, the first prediction mode determination is performed until an image block whose coding cost corresponding to the prediction mode determined in the first prediction mode determination process is equal to or less than the reference value is detected. The moving image encoding apparatus according to claim 2, wherein the process is executed.
動画像信号を複数の画像ブロックに分割し、画像ブロック毎に、フレーム間予測符号化のための予測モード群とフレーム内予測符号化のための予測モード群とを含む複数の予測モードの中から1つの予測モードを選択し、当該選択された予測モードで前記画像ブロックを符号化する動画像符号化方法であって、
符号化対象の先頭の画像ブロックを前記複数の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記先頭の画像ブロックの予測モードに決定する第1の予測モード判定処理を実行する第1の予測モード判定ステップと、
前記第1の予測モード判定処理によって決定された予測モードに対応する前記先頭の画像ブロックの符号化コストが所定の基準値以下である場合、前記先頭の画像ブロックに後続する符号化対象の画像ブロックそれぞれに対して、符号化対象の画像ブロックを符号化するための予測モードを前記符号化対象の画像ブロックの直前の画像ブロックに対する予測モード判定結果に基づいて決定する第2の予測モード判定処理を実行する第2の予測モード判定ステップとを具備し、
前記第2の予測モード判定ステップは、
前記符号化対象の画像ブロックの直前の画像ブロックに対して決定された予測モードを前記符号化対象の画像ブロックの初期予測モードに設定し、前記初期予測モードで前記符号化対象の画像ブロックを符号化した場合の符号化コストを算出するステップと、
前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コスト以下である場合、前記初期予測モードを前記符号化対象の画像ブロックを符号化するための予測モードに決定するステップと、
前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コストよりも大きい場合、前記符号化対象の画像ブロックを前記初期予測モード以外の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記符号化対象の画像ブロックの予測モードに決定するステップとを含むことを特徴とする動画像符号化方法。
A video signal is divided into a plurality of image blocks, and each image block is selected from a plurality of prediction modes including a prediction mode group for inter-frame prediction encoding and a prediction mode group for intra-frame prediction encoding. A video encoding method for selecting one prediction mode and encoding the image block in the selected prediction mode,
Coding costs are calculated when the first image block to be encoded is encoded in the plurality of prediction modes, and the prediction mode that minimizes the encoding cost is determined as the prediction mode of the first image block. A first prediction mode determination step for executing a first prediction mode determination process;
When the encoding cost of the head image block corresponding to the prediction mode determined by the first prediction mode determination process is equal to or less than a predetermined reference value, the image block to be encoded following the head image block Second prediction mode determination processing for determining a prediction mode for encoding an image block to be encoded based on a prediction mode determination result for an image block immediately before the image block to be encoded for each of them A second prediction mode determination step to be executed,
The second prediction mode determination step includes
The prediction mode determined for the image block immediately before the encoding target image block is set as the initial prediction mode of the encoding target image block, and the encoding target image block is encoded in the initial prediction mode. A step of calculating a coding cost when
When the calculated encoding cost of the encoding target image block is equal to or less than the encoding cost of the immediately preceding image block, the initial prediction mode is used to encode the encoding target image block. Steps to determine
When the encoding cost of the calculated image block to be encoded is larger than the encoding cost of the immediately preceding image block, the encoding target image block is encoded in a prediction mode other than the initial prediction mode, respectively. And a step of calculating a coding cost in each case and determining a prediction mode that minimizes the coding cost as a prediction mode of the image block to be coded.
前記第1の予測モード判定ステップは、前記第1の予測モード判定処理で決定された予測モードに対応する符号化コストが前記基準値以下となる画像ブロックが検出されるまで、前記第1の予測モード判定処理を、前記符号化対象の先頭の画像ブロックから順に実行し、
前記第2の予測モード判定ステップは、前記検出された画像ブロックに後続する符号化対象の画像ブロックそれぞれに対して前記第2の予測モード判定処理を実行することを特徴とする請求項4記載の動画像符号化方法。
In the first prediction mode determination step, the first prediction mode is detected until an image block whose coding cost corresponding to the prediction mode determined in the first prediction mode determination process is equal to or less than the reference value is detected. The mode determination process is executed in order from the first image block to be encoded,
The said 2nd prediction mode determination step performs the said 2nd prediction mode determination process with respect to each image block of the encoding target subsequent to the said detected image block, The said 2nd prediction mode determination step is characterized by the above-mentioned. Video encoding method.
前記第2の予測モード判定処理によって予測モードが決定された画像ブロック毎に当該画像ブロックの符号化コストが前記基準値よりも大きいか否かを判別するステップと、
符号化コストが前記基準値よりも大きいことが判別された場合、前記符号化コストが前記基準値よりも大きいことが判別された画像ブロックに後続する符号化対象の画像ブロックそれぞれに対し、前記第1の予測モード判定処理で決定された予測モードに対応する符号化コストが前記基準値以下となる画像ブロックが検出されるまで、前記第1の予測モード判定処理を実行するステップとをさらに具備することを特徴とする請求項5記載の動画像符号化方法。
Determining whether the coding cost of the image block is larger than the reference value for each image block for which the prediction mode is determined by the second prediction mode determination process;
When it is determined that the encoding cost is higher than the reference value, the first encoding block for each of the encoding target image blocks subsequent to the image block for which the encoding cost is determined to be higher than the reference value. And a step of executing the first prediction mode determination process until an image block is detected in which the coding cost corresponding to the prediction mode determined in one prediction mode determination process is equal to or less than the reference value. The moving picture encoding method according to claim 5, wherein:
動画像信号を複数の画像ブロックに分割し、画像ブロック毎に、フレーム間予測符号化のための予測モード群とフレーム内予測符号化のための予測モード群とを含む複数の予測モードの中から1つの予測モードを選択し、当該選択された予測モードで前記画像ブロックを符号化する処理を、コンピュータに実行させるプログラムであって、
符号化対象の先頭の画像ブロックを前記複数の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記先頭の画像ブロックの予測モードに決定する第1の予測モード判定処理を実行する第1の予測モード判定手順と、
前記第1の予測モード判定処理によって決定された予測モードに対応する前記先頭の画像ブロックの符号化コストが所定の基準値以下である場合、前記先頭の画像ブロックに後続する符号化対象の画像ブロックそれぞれに対して、符号化対象の画像ブロックを符号化するための予測モードを前記符号化対象の画像ブロックの直前の画像ブロックに対する予測モード判定結果に基づいて決定する第2の予測モード判定処理を実行する第2の予測モード判定手順であって、前記符号化対象の画像ブロックの直前の画像ブロックに対して決定された予測モードを前記符号化対象の画像ブロックの初期予測モードに設定し、前記初期予測モードで前記符号化対象の画像ブロックを符号化した場合の符号化コストを算出する手順と、前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コスト以下である場合、前記初期予測モードを前記符号化対象の画像ブロックを符号化するための予測モードに決定する手順と、前記算出された前記符号化対象の画像ブロックの符号化コストが前記直前の画像ブロックの符号化コストよりも大きい場合、前記符号化対象の画像ブロックを前記初期予測モード以外の予測モードでそれぞれ符号化した場合の符号化コストをそれぞれ算出し、符号化コストが最小となる予測モードを前記符号化対象の画像ブロックの予測モードに決定する手順とを含む第2の予測モード判定手順とを、前記コンピュータに実行させることを特徴とするプログラム。
A video signal is divided into a plurality of image blocks, and each image block is selected from a plurality of prediction modes including a prediction mode group for inter-frame prediction encoding and a prediction mode group for intra-frame prediction encoding. A program that selects one prediction mode and causes a computer to execute a process of encoding the image block in the selected prediction mode,
Coding costs are calculated when the first image block to be encoded is encoded in the plurality of prediction modes, and the prediction mode that minimizes the encoding cost is determined as the prediction mode of the first image block. A first prediction mode determination procedure for executing a first prediction mode determination process;
When the encoding cost of the head image block corresponding to the prediction mode determined by the first prediction mode determination process is equal to or less than a predetermined reference value, the image block to be encoded following the head image block Second prediction mode determination processing for determining a prediction mode for encoding an image block to be encoded based on a prediction mode determination result for an image block immediately before the image block to be encoded for each of them A second prediction mode determination procedure to be executed, wherein the prediction mode determined for the image block immediately before the encoding target image block is set as an initial prediction mode of the encoding target image block; A procedure for calculating an encoding cost when the image block to be encoded is encoded in an initial prediction mode, and the calculated A procedure for determining the initial prediction mode as a prediction mode for encoding the encoding target image block when the encoding cost of the encoding target image block is equal to or less than the encoding cost of the immediately preceding image block; When the encoding cost of the calculated image block to be encoded is larger than the encoding cost of the immediately preceding image block, the encoding target image block is encoded in a prediction mode other than the initial prediction mode, respectively. A second prediction mode determination procedure including a step of calculating a coding cost in the case of encoding, and determining a prediction mode that minimizes the coding cost as the prediction mode of the image block to be encoded, A program characterized by being executed by a computer.
JP2007106396A 2007-04-13 2007-04-13 Moving picture coding apparatus and moving picture coding method Pending JP2008263549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007106396A JP2008263549A (en) 2007-04-13 2007-04-13 Moving picture coding apparatus and moving picture coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007106396A JP2008263549A (en) 2007-04-13 2007-04-13 Moving picture coding apparatus and moving picture coding method

Publications (1)

Publication Number Publication Date
JP2008263549A true JP2008263549A (en) 2008-10-30

Family

ID=39985683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007106396A Pending JP2008263549A (en) 2007-04-13 2007-04-13 Moving picture coding apparatus and moving picture coding method

Country Status (1)

Country Link
JP (1) JP2008263549A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012253662A (en) * 2011-06-06 2012-12-20 Fujitsu Ltd Moving image encoding method and moving image encoder
JPWO2011104993A1 (en) * 2010-02-24 2013-06-17 シャープ株式会社 Image encoding apparatus and image decoding apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2011104993A1 (en) * 2010-02-24 2013-06-17 シャープ株式会社 Image encoding apparatus and image decoding apparatus
JP2012253662A (en) * 2011-06-06 2012-12-20 Fujitsu Ltd Moving image encoding method and moving image encoder

Similar Documents

Publication Publication Date Title
JP4635016B2 (en) Information processing apparatus and inter prediction mode determination method
JP2009055542A (en) Moving picture coding apparatus and moving picture coding method
JP4843482B2 (en) Information processing apparatus and program
JP4898467B2 (en) Coding mode determination method and apparatus for variable block size motion prediction
JP4519933B2 (en) Moving picture coding apparatus and moving picture coding method
US20110200107A1 (en) Apparatus and method for motion estimation and image processing apparatus
JP4501631B2 (en) Image coding apparatus and method, computer program for image coding apparatus, and portable terminal
KR101396754B1 (en) Method and apparatus for compressing video using template matching and motion prediction
KR20090042235A (en) Image processing apparatus and method and program
JP4922101B2 (en) Information processing apparatus and inter prediction mode determination method
JP5004180B2 (en) Video encoding apparatus and decoding apparatus
TWI511531B (en) Video coding apparatus, video coding method, and video coding program
JP2008263549A (en) Moving picture coding apparatus and moving picture coding method
JP2008017305A (en) Image processing apparatus and image processing method
JP2005348008A (en) Moving picture coding method, moving picture coding apparatus, moving picture coding program, and computer-readable recording medium recording the program
JP5174062B2 (en) Intra prediction apparatus, encoder, decoder, and program
JPWO2006100946A1 (en) Image signal re-encoding device and image signal re-encoding method
JP2009182891A (en) Information processing apparatus and program
JP4429996B2 (en) Moving picture coding program, moving picture coding method, and moving picture coding apparatus
JP4906458B2 (en) Image coding apparatus and image coding method
JP4222046B2 (en) Signal processing apparatus and method, recording medium, and program
JP6101067B2 (en) Image processing apparatus and image processing program
JP4590306B2 (en) Image processing device
JP2007208802A (en) Image encoding apparatus and image encoding method
JP2007288473A (en) Encoding device, image processing device