JP4900470B2 - Moving picture coding apparatus and moving picture coding method - Google Patents
Moving picture coding apparatus and moving picture coding method Download PDFInfo
- Publication number
- JP4900470B2 JP4900470B2 JP2009500041A JP2009500041A JP4900470B2 JP 4900470 B2 JP4900470 B2 JP 4900470B2 JP 2009500041 A JP2009500041 A JP 2009500041A JP 2009500041 A JP2009500041 A JP 2009500041A JP 4900470 B2 JP4900470 B2 JP 4900470B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- encoding
- setting unit
- partial
- unit
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
- H04N19/423—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/156—Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、MPEG−1、MPEG−2、MPEG−4、H.264/AVCやWMVなどの動画像符号化標準規格に準拠する動画像符号化装置および動画像符号化方法に関する。 The present invention relates to MPEG-1, MPEG-2, MPEG-4, H.264. The present invention relates to a moving image encoding apparatus and a moving image encoding method compliant with a moving image encoding standard such as H.264 / AVC and WMV.
近時、動画像再生システムにおいては、ハイビジョンなどの高品質な動画像の再生(高解像度、低ノイズ、高フレームレートなど)が求められている。高解像度の動画像を再生する場合には、低解像度の動画像を再生する場合よりも大量のデータを処理する必要があるため、多くのメモリ容量およびメモリアクセスが必要となる。高解像度の動画像復号化処理においては、動画像符号化技術の要素技術の1つである動き補償を用いた符号化処理により生成された符号化データを復号化する場合、参照画像をロードする処理が大量に実施される。参照画像を外部メモリから読み出す処理は、フレームレートの低下や動画像復号化装置(プロセッサ)の消費電力の増大に繋がる。この問題を回避するための方法として、動画像復号化装置にキャッシュメモリを設ける方法がある。 Recently, moving image reproduction systems are demanding reproduction of high-quality moving images such as high-definition (high resolution, low noise, high frame rate, etc.). When reproducing a high-resolution moving image, it is necessary to process a larger amount of data than when reproducing a low-resolution moving image, so that a large memory capacity and memory access are required. In high-resolution video decoding processing, when decoding encoded data generated by encoding processing using motion compensation, which is one of the elemental technologies of video encoding technology, a reference image is loaded. A large amount of processing is performed. The process of reading the reference image from the external memory leads to a decrease in the frame rate and an increase in power consumption of the video decoding device (processor). As a method for avoiding this problem, there is a method of providing a cache memory in the moving picture decoding apparatus.
なお、動画像符号化技術(動き補償など)の詳細については、「RecommendationITU−T H.262」などの標準規格書や「ポイント図解式 最新MPEG教科書」(藤原洋監修、アスキー出版局)などの一般書籍に記載されているため、ここでの詳細な説明は省略する。また、キャッシュメモリの詳細については、「コンピュータの構成と設計第3版」(デイビッド・A.パターソン、ジョン・L.ヘネシー著、日経BP社)などの一般書籍に記載されているため、ここでの詳細な説明は省略する。 For details of video coding technology (motion compensation, etc.), please refer to standards such as “Recommendation ITU-T H.262” and “Point Graphical Newest MPEG Textbook” (supervised by Hiroshi Fujiwara, ASCII Publishing Bureau). Since it is described in general books, a detailed description thereof is omitted here. The details of the cache memory are described in general books such as “Computer Configuration and Design 3rd Edition” (by David A. Patterson, John L. Hennessy, Nikkei Business Publications). The detailed description of is omitted.
図15は、従来技術における符号化データを復号化する際の復号化処理順序およびキャッシュメモリの状況を示している。従来技術における符号化データを復号化する際には、まず、参照画像Pの第1行(図15(1))について先頭列(左端)のマクロブロックMBから順番に復号化される。そして、参照画像Pの第1行における最終列(右端)のマクロブロックMBの復号化が完了すると、参照画像Pの第2行(図15(2))について先頭列のマクロブロックMBから順番に復号化される。以降、同様に、参照画像Pの第3行(図15(3))、第4行(図15(4))、・・・、第n行(図15(n))におけるマクロブロックMBが順番に復号化される。 FIG. 15 shows the decoding processing order and the cache memory status when decoding the encoded data in the prior art. When decoding the encoded data in the prior art, first, the first row (FIG. 15 (1)) of the reference image P is decoded in order from the macroblock MB in the first column (left end). Then, when the decoding of the macroblock MB in the last column (right end) in the first row of the reference image P is completed, the macroblock MB in the first column in order from the macroblock MB in the first column in the second row of the reference image P (FIG. 15 (2)). Decrypted. Thereafter, similarly, the macroblock MB in the third row (FIG. 15 (3)), the fourth row (FIG. 15 (4)),..., The nth row (FIG. 15 (n)) of the reference image P Decrypted in order.
参照画像Pの第1行におけるマクロブロックMBの復号化が完了して参照画像Pの第2行におけるマクロブロックMBの復号化に移行した際に、キャッシュメモリの容量が小さく、キャッシュメモリに存在している参照画像データが図15の網掛け部分に対応するデータのみであるものと仮定すると、参照画像Pの第2行におけるマクロブロックMBの近傍の参照画像データがキャッシュメモリに存在していないため、ロードキャッシュミスが発生してしまう。 When the decoding of the macroblock MB in the first row of the reference image P is completed and the process proceeds to the decoding of the macroblock MB in the second row of the reference image P, the capacity of the cache memory is small and exists in the cache memory. Assuming that the reference image data is only the data corresponding to the shaded portion in FIG. 15, the reference image data in the vicinity of the macro block MB in the second row of the reference image P does not exist in the cache memory. A load cache miss occurs.
キャッシュメモリの容量を動画像の解像度(画像サイズ)に対して十分に大きくすればロードキャッシュミスは発生しないが、キャッシュメモリの容量を大きくすると、ロードレイテンシの増加や動画像復号化装置(プロセッサ)の消費電力およびチップ面積の増加などのデメリットが生じてしまう。また、動画像の解像度が高いほど、ロードキャッシュミスの発生を抑制すべくキャッシュメモリの容量を大きくする必要がある。例えば、動画像の解像度がHDサイズ(縦方向1920画素×横方向1080画素)である場合、90Kbyte程度の容量のキャッシュメモリが必要になる。 A load cache miss does not occur if the capacity of the cache memory is sufficiently increased with respect to the resolution (image size) of the moving picture. However, if the capacity of the cache memory is increased, an increase in load latency and a moving picture decoding apparatus (processor). Disadvantages such as increased power consumption and increased chip area. Also, the higher the resolution of the moving image, the larger the capacity of the cache memory is to suppress the occurrence of load cache misses. For example, when the resolution of the moving image is HD size (vertical 1920 pixels × horizontal 1080 pixels), a cache memory having a capacity of about 90 Kbytes is required.
また、特許文献1には、合成開口レーダ(SAR:Synthetic Aperture Radar)画像のコーナーターン処理(縦横転置処理)などを含む静止画像再生処理に関して、キャッシュメモリへのアクセスに伴うオーバーヘッド時間を低減する技術が開示されている。
前述のように、動画像復号化装置において、ロードキャッシュミスの発生を抑制するためにキャッシュメモリの容量を大きくすると、ロードレイテンシの増加や動画像復号化装置(プロセッサ)の消費電力およびチップ面積の増加などのデメリットが生じてしまうという問題があった。 As described above, in the video decoding device, when the capacity of the cache memory is increased in order to suppress the occurrence of a load cache miss, the load latency increases, the power consumption of the video decoding device (processor) and the chip area are reduced. There was a problem that disadvantages such as an increase occurred.
本発明の目的は、動画像の解像度が高い場合でも、キャッシュメモリの容量を増大させることなく符号化データを復号化する際のロードキャッシュミスの発生を抑制することにある。 An object of the present invention is to suppress the occurrence of a load cache miss when decoding encoded data without increasing the capacity of the cache memory even when the resolution of the moving image is high.
本発明の一態様では、動画像符号化装置は、画像分割数を設定する画像分割数設定部と、動画像を構成する符号化対象画像を画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する符号化部とを備える。画像分割数設定部は、符号化対象画像の画像サイズ、輝度色差フォーマット、マクロブロックサイズ、または参照画像枚数を設定する画像情報設定部と、符号化部の符号化結果を復号化する際に用いられるキャッシュメモリの容量、またはキャッシュ方式を設定するキャッシュ情報設定部と、画像情報設定部およびキャッシュ情報設定部により設定される情報に基づいて画像分割数を算出する画像分割数算出部とを備える。
本発明に関連する技術において、動画像符号化装置は、画像分割数設定部および符号化部を備えて構成される。画像分割数設定部は、画像分割数を設定する(画像分割数設定工程)。符号化部は、動画像を構成する符号化対象画像を画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する(符号化工程)。
In one aspect of the present invention, a moving image encoding apparatus divides an image division number setting unit for setting the number of image divisions, an encoding target image constituting the moving image into partial images having the same number as the number of image divisions, And an encoding unit that performs an encoding process using motion compensation for each image. The image division number setting unit is used for decoding the encoding result of the image information setting unit that sets the image size, luminance color difference format, macroblock size, or number of reference images of the encoding target image, and the encoding unit. A cache information setting unit that sets a capacity of a cache memory or a cache method, and an image division number calculation unit that calculates an image division number based on information set by the image information setting unit and the cache information setting unit.
In the technology related to the present invention , the moving image encoding apparatus includes an image division number setting unit and an encoding unit. The image division number setting unit sets the image division number (image division number setting step). An encoding part divides | segments the encoding object image which comprises a moving image into the partial image of the same number as an image division | segmentation number, and implements the encoding process using motion compensation for every partial image (encoding process).
例えば、部分画像は、第1部分画像と第2部分画像とを含む。符号化処理により生成される符号化データは、第1部分画像の符号化データに第2部分画像の符号化データが続く構造である。符号化部は、第1部分画像の符号化処理を実施した後に、第2部分画像の符号化処理を実施する。 For example, the partial image includes a first partial image and a second partial image. The encoded data generated by the encoding process has a structure in which the encoded data of the first partial image is followed by the encoded data of the second partial image. The encoding unit performs the encoding process of the second partial image after performing the encoding process of the first partial image.
好ましくは、画像分割数設定部は、符号化部の符号化結果を復号化する際に用いられるプロセッサの数を画像分割数に設定する。 Preferably, the image division number setting unit sets the number of processors used when decoding the encoding result of the encoding unit as the image division number.
あるいは、画像分割数設定部は、画像情報設定部、キャッシュ情報設定部および画像分割数算出部を備えて構成される。画像情報設定部は、符号化対象画像に関する情報を設定する(画像情報設定工程)。キャッシュ情報設定部は、符号化部の符号化結果を復号化する際に用いられるキャッシュメモリに関する情報を設定する(キャッシュ情報設定工程)。画像分割数算出部は、画像情報設定部およびキャッシュ情報設定部により設定される情報に基づいて画像分割数を算出する(画像分割数算出工程)。 Alternatively, the image division number setting unit includes an image information setting unit, a cache information setting unit, and an image division number calculation unit. The image information setting unit sets information related to the encoding target image (image information setting step). The cache information setting unit sets information related to the cache memory used when decoding the encoding result of the encoding unit (cache information setting step). The image division number calculation unit calculates the image division number based on information set by the image information setting unit and the cache information setting unit (image division number calculation step).
あるいは、画像分割数設定部は、プロセッサ数設定部、画像情報設定部、キャッシュ情報設定部および画像分割数算出部を備えて構成される。プロセッサ数設定部は、符号化部の符号化結果を復号化する際に用いられるプロセッサの数を設定する(プロセッサ数設定工程)。画像情報設定部は、符号化対象画像に関する情報を設定する(画像情報設定工程)。キャッシュ情報設定部は、符号化部の符号化結果を復号化する際に用いられるキャッシュメモリに関する情報を設定する(キャッシュ情報設定工程)。画像分割数算出部は、プロセッサ数設定部、画像情報設定部およびキャッシュ情報設定部により設定される情報に基づいて画像分割数を算出する(画像分割数算出工程)。 Alternatively, the image division number setting unit includes a processor number setting unit, an image information setting unit, a cache information setting unit, and an image division number calculating unit. The processor number setting unit sets the number of processors used when decoding the encoding result of the encoding unit (processor number setting step). The image information setting unit sets information related to the encoding target image (image information setting step). The cache information setting unit sets information related to the cache memory used when decoding the encoding result of the encoding unit (cache information setting step). The image division number calculation unit calculates the image division number based on information set by the processor number setting unit, the image information setting unit, and the cache information setting unit (image division number calculation step).
以上のような動画像符号化装置では、画像分割数設定部により設定される画像分割数に応じて符号化部の符号化処理順序を変更できるため、符号化部の符号化結果の復号化に用いられるキャッシュメモリの容量が動画像の解像度に対して十分に大きくない場合でも、ロードキャッシュミスの発生を抑制できる。 In the moving image encoding apparatus as described above, the encoding processing order of the encoding unit can be changed according to the number of image divisions set by the image division number setting unit, so that the encoding result of the encoding unit can be decoded. Even when the capacity of the cache memory used is not sufficiently large with respect to the resolution of the moving image, the occurrence of a load cache miss can be suppressed.
本発明によれば、動画像の解像度が高い場合でも、キャッシュメモリの容量を増大させることなく符号化データを復号化する際のロードキャッシュミスの発生を抑制することができる。 According to the present invention, even when the resolution of a moving image is high, it is possible to suppress occurrence of a load cache miss when decoding encoded data without increasing the capacity of the cache memory.
以下、図面を用いて本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の第1実施形態を示している。第1実施形態の動画像符号化装置10は、画像分割数設定部11および符号化部12を備えて構成されている。例えば、動画像符号化装置10は、半導体装置により具現されている。画像分割数設定部11は、画像分割数を設定する。符号化部12は、画像分割数設定部11により保持されている画像分割数を取得して入力データ(動画像)を構成する符号化対象画像を画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施して符号化データを生成する。
FIG. 1 shows a first embodiment of the present invention. A moving
図2は、第1実施形態における動画像符号化装置の動作を示している。前述のような構成の動画像符号化装置10では、動画像符号化装置10による入力データの受信に伴って、符号化部12は、画像分割数設定部11により保持されている画像分割数を取得する(ステップS11)。そして、符号化部12は、符号化対象画像を画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する(ステップS12)。
FIG. 2 shows the operation of the video encoding apparatus in the first embodiment. In the
図3は、第1実施形態における符号化処理順序および符号化データの構造(画像分割数が2である場合)を示している。図3<A>に示すように、符号化部12による符号化処理では、画像分割数が2である場合、符号化対象画像Pが部分画像P1、P2に分割される。まず、処理対象部分画像として部分画像P1が選択され、部分画像P1の第1行(図3(1))について先頭列(左端)のマクロブロックMBから順番に符号化される。そして、部分画像P1の第1行における最終列(右端)のマクロブロックMBの符号化が完了すると、部分画像P1の第2行(図3(2))について先頭列のマクロブロックMBから順番に符号化される。以降、同様に、部分画像P1の第3行(図3(3))、第4行(図3(4))、・・・、第n行(図3(n))におけるマクロブロックMBが順番に符号化される。
FIG. 3 shows an encoding processing order and encoded data structure (when the number of image divisions is 2) in the first embodiment. As shown in FIG. 3 <A>, in the encoding process by the
部分画像P1の第n行における最終列のマクロブロックMBの符号化が完了すると、処理対象部分画像として部分画像P2が選択され、部分画像P2の第1行(図3(n+1))について先頭列のマクロブロックMBから順番に符号化される。そして、部分画像P2の第1行における最終列のマクロブロックMBの符号化が完了すると、部分画像P2の第2行(図3(n+2))について先頭列のマクロブロックMBから順番に符号化される。以降、同様に、部分画像P2の第3行(図3(n+3))、第4行(図3(n+4))、・・・、第n行(図3(n+n))におけるマクロブロックMBが順番に符号化される。このような処理順序の符号化処理により生成される符号化データは、図3<B>に示すような構造になる。なお、従来技術における符号化データは、図3<C>に示すような構造になる。 When the encoding of the macroblock MB of the last column in the nth row of the partial image P1 is completed, the partial image P2 is selected as the processing target partial image, and the first column of the first row (FIG. 3 (n + 1)) of the partial image P2 is selected. Are encoded sequentially from the macroblock MB. When the encoding of the macroblock MB in the last column in the first row of the partial image P2 is completed, the second row (FIG. 3 (n + 2)) in the partial image P2 is encoded in order from the macroblock MB in the first column. The Thereafter, similarly, the macroblock MB in the third row (FIG. 3 (n + 3)), the fourth row (FIG. 3 (n + 4)),..., The n-th row (FIG. 3 (n + n)) of the partial image P2 Encoded in order. The encoded data generated by the encoding process in such a processing order has a structure as shown in FIG. Note that the encoded data in the prior art has a structure as shown in FIG.
図4は、第1実施形態における符号化処理順序および符号化データの構造(画像分割数が3である場合)を示している。図4(A)に示すように、符号化部12による符号化処理では、画像分割数が3である場合、符号化対象画像Pが部分画像P1、P2、P3に分割される。まず、処理対象部分画像として部分画像P1が選択され、部分画像P1の第1行(図4(1))について先頭列のマクロブロックMBから順番に符号化される。そして、部分画像P1の第1行における最終列のマクロブロックMBの符号化が完了すると、部分画像P1の第2行(図4(2))について先頭列のマクロブロックMBから順番に符号化される。以降、同様に、部分画像P1の第3行(図4(3))、第4行(図4(4))、・・・、第n行(図4(n))におけるマクロブロックMBが順番に符号化される。
FIG. 4 shows the encoding processing order and the structure of encoded data (when the number of image divisions is 3) in the first embodiment. As shown in FIG. 4A, in the encoding process by the
部分画像P1の第n行における最終列のマクロブロックMBの符号化が完了すると、処理対象部分画像として部分画像P2が選択され、部分画像P2の第1行(図4(n+1))について先頭列のマクロブロックMBから順番に符号化される。そして、部分画像P2の第1行における最終列のマクロブロックMBの符号化が完了すると、部分画像P2の第2行(図4(n+2))について先頭列のマクロブロックMBから順番に符号化される。以降、同様に、部分画像P2の第3行(図4(n+3))、第4行(図4(n+4))、・・・、第n行(図4(n+n))におけるマクロブロックMBが順番に符号化される。 When the encoding of the macroblock MB in the last column in the nth row of the partial image P1 is completed, the partial image P2 is selected as the processing target partial image, and the first column in the first row (FIG. 4 (n + 1)) of the partial image P2 Are encoded sequentially from the macroblock MB. When the encoding of the macroblock MB of the last column in the first row of the partial image P2 is completed, the second row (FIG. 4 (n + 2)) of the partial image P2 is encoded sequentially from the macroblock MB of the first column. The Thereafter, similarly, the macroblock MB in the third row (FIG. 4 (n + 3)), the fourth row (FIG. 4 (n + 4)),..., The n-th row (FIG. 4 (n + n)) of the partial image P2 Encoded in order.
部分画像P2の第n行における最終列のマクロブロックMBの符号化が完了すると、処理対象部分画像として部分画像P3が選択され、部分画像P3の第1行(図4(2n+1))について先頭列のマクロブロックMBから順番に符号化される。そして、部分画像P3の第1行における最終列のマクロブロックMBの符号化が完了すると、部分画像P3の第2行(図4(2n+2))について先頭列のマクロブロックMBから順番に符号化される。以降、同様に、部分画像P3の第3行(図4(2n+3))、第4行(図4(2n+4))、・・・、第n行(図4(2n+n))におけるマクロブロックMBが順番に符号化される。このような処理順序の符号化処理により生成される符号化データは、図4<B>に示すような構造になる。なお、従来技術における符号化データは、図4<C>に示すような構造になる。 When the encoding of the macroblock MB in the last column in the nth row of the partial image P2 is completed, the partial image P3 is selected as the processing target partial image, and the first column in the first row (FIG. 4 (2n + 1)) of the partial image P3. Are encoded sequentially from the macroblock MB. When the encoding of the last row of macroblocks MB in the first row of the partial image P3 is completed, the second row of the partial image P3 (FIG. 4 (2n + 2)) is sequentially encoded from the macroblock MB of the first row. The Thereafter, similarly, the macroblock MB in the third row (FIG. 4 (2n + 3)), the fourth row (FIG. 4 (2n + 4)),..., The n-th row (FIG. 4 (2n + n)) of the partial image P3. Encoded in order. The encoded data generated by the encoding process of such processing order has a structure as shown in FIG. 4 <B>. Note that the encoded data in the prior art has a structure as shown in FIG.
図5は、第1実施形態における符号化処理の一例を示している。図5のステップS101〜S108は、図2のステップS12において実施される。 FIG. 5 shows an example of the encoding process in the first embodiment. Steps S101 to S108 in FIG. 5 are performed in step S12 in FIG.
ステップS101において、符号化部12は、各種ヘッダを作成する。この後、符号化処理はステップS102に移行する。
In step S101, the
ステップS102において、符号化部12は、スライスヘッダを作成する。この後、符号化処理はステップS103に移行する。
In step S102, the
ステップS103において、符号化部12は、処理対象部分画像の処理対象行における処理対象マクロブロックの符号化を実施する。この後、符号化処理はステップS104に移行する。
In step S103, the
ステップS104において、符号化部12は、処理対象マクロブロックが処理対象部分画像における最終列のマクロブロックであるか否かを判定する。処理対象マクロブロックが処理対象部分画像における最終列のマクロブロックではない場合、処理対象部分画像の処理対象行における次の列のマクロブロックを符号化するために、符号化処理はステップS103に再度移行する。一方、処理対象マクロブロックが処理対象部分画像における最終列のマクロブロックである場合、符号化処理はステップS105に移行する。
In step S <b> 104, the
ステップS105において、符号化部12は、処理対象マクロブロックが処理対象部分画像における最終行のマクロブロックであるか否かを判定する。処理対象マクロブロックが処理対象部分画像における最終行のマクロブロックではない場合、符号化処理はステップS106に移行する。一方、処理対象マクロブロックが処理対象部分画像における最終行のマクロブロックである場合、符号化処理はステップS107に移行する。
In step S <b> 105, the
ステップS106において、符号化部12は、処理対象行を処理対象部分画像における次の行に変更する。この後、符号化処理はステップS102に再度移行する。
In step S106, the
ステップS107において、符号化部12は、入力データを一時的に格納するための受信バッファから読み出されていない入力データの有無を判定する。受信バッファから読み出されていない入力データが存在する場合、符号化処理はステップS108に移行する。一方、受信バッファから読み出されていない入力データが存在しない場合、符号化処理は完了する。
In step S107, the
ステップS108において、符号化部12は、処理対象部分画像を次の部分画像に変更する。この後、符号化処理はステップS102に再度移行する。
In step S108, the
図6は、第1実施形態における符号化処理の別例を示している。図6のステップS101〜S108は、図5のステップS101〜S108と同様に、図2のステップS12において実施される。図6に示す符号化処理の例は、符号化処理がステップS106の実施後にステップS102ではなくステップS103に移行する点を除いて、図5に示す符号化処理の例と同一である。図6に示す符号化処理の例では、処理対象部分画像が変更される度にスライスヘッダが作成されるため、処理対象行が変更される度にスライスヘッダが作成される場合(図5に示す符号化処理の例)に比べて、符号化データのデータ量が削減される。 FIG. 6 shows another example of the encoding process in the first embodiment. Steps S101 to S108 in FIG. 6 are performed in step S12 in FIG. 2 in the same manner as steps S101 to S108 in FIG. The example of the encoding process illustrated in FIG. 6 is the same as the example of the encoding process illustrated in FIG. 5 except that the encoding process shifts to step S103 instead of step S102 after the execution of step S106. In the example of the encoding process shown in FIG. 6, a slice header is created every time the partial image to be processed is changed. Therefore, a slice header is created every time the target row is changed (shown in FIG. 5). Compared to the example of encoding processing, the amount of encoded data is reduced.
図7は、第1実施形態における符号化データを復号化する際の復号化処理順序およびキャッシュメモリの状況(画像分割数が2である場合)を示している。第1実施形態における符号化データ(画像分割数が2である場合)を復号化する際には、まず、参照画像Pの部分画像P1における第1行(図7(1))について先頭列のマクロブロックMBから順番に復号化される。そして、部分画像P1の第1行における最終列のマクロブロックMBの復号化が完了すると、部分画像P1の第2行(図7(2))について先頭列のマクロブロックMBから順番に復号化される。以降、同様に、部分画像P1の第3行(図7(3))、第4行(図7(4))、・・・、第n行(図7(n))におけるマクロブロックMBが順番に復号化される。 FIG. 7 shows the decoding processing order and the cache memory status (when the number of image divisions is 2) when decoding the encoded data in the first embodiment. When decoding the encoded data (when the number of image divisions is 2) in the first embodiment, first, the first row of the first row (FIG. 7 (1)) in the partial image P1 of the reference image P Decoding is performed sequentially from the macroblock MB. When the decoding of the macroblock MB of the last column in the first row of the partial image P1 is completed, the second row (FIG. 7 (2)) of the partial image P1 is sequentially decoded from the macroblock MB of the first column. The Thereafter, similarly, the macroblock MB in the third row (FIG. 7 (3)), the fourth row (FIG. 7 (4)),..., The nth row (FIG. 7 (n)) of the partial image P1. Decrypted in order.
部分画像P1の第n行におけるマクロブロックMBの復号化が完了すると、参照画像Pの部分画像P2の第1行(図7(n+1))におけるマクロブロックMBが順番に復号化される。そして、部分画像P2の第1行における最終列のマクロブロックMBの復号化が完了すると、部分画像P2の第2行(図7(n+2))について先頭列のマクロブロックMBから順番に復号化される。以降、同様に、部分画像P2の第3行(図7(n+3))、第4行(図7(n+4))、・・・、第n行(図7(n+n))におけるマクロブロックMBが順番に復号化される。 When the decoding of the macroblock MB in the n-th row of the partial image P1 is completed, the macroblock MB in the first row (FIG. 7 (n + 1)) of the partial image P2 of the reference image P is sequentially decoded. When the decoding of the macroblock MB of the last column in the first row of the partial image P2 is completed, the second row of the partial image P2 (FIG. 7 (n + 2)) is sequentially decoded from the macroblock MB of the first column. The Thereafter, similarly, the macroblock MB in the third row (FIG. 7 (n + 3)), the fourth row (FIG. 7 (n + 4)),..., The n-th row (FIG. 7 (n + n)) of the partial image P2 Decrypted in order.
符号化データを復号化するための動画像復号化装置(プロセッサ)のキャッシュメモリの容量が参照画像Pの横サイズの1/2であると仮定すると、部分画像P1の第1行におけるマクロブロックMBの復号化が完了して部分画像P1における第2行におけるマクロブロックMBの復号化に移行した際に、部分画像P1の第2行におけるマクロブロックMBの近傍の参照画像データ(図7の網掛け部分に対応するデータ)がキャッシュメモリに存在しているため、ロードキャッシュミスの発生回数が低減される。 Assuming that the capacity of the cache memory of the video decoding device (processor) for decoding the encoded data is ½ of the horizontal size of the reference image P, the macroblock MB in the first row of the partial image P1 When the decoding of the macroblock MB in the second row in the partial image P1 is completed and the reference image data in the vicinity of the macroblock MB in the second row of the partial image P1 (shading in FIG. 7) is completed. Since the data corresponding to the portion is present in the cache memory, the number of occurrences of load cache misses is reduced.
図8は、第1実施形態における符号化データを復号化する際の復号化処理順序およびキャッシュメモリの状況(画像分割数が3である場合)を示している。第1実施形態における符号化データ(画像分割数が3である場合)を復号化する際には、まず、参照画像Pの部分画像P1における第1行(図8(1))について先頭列のマクロブロックMBから順番に復号化される。そして、部分画像P1の第1行における最終列のマクロブロックMBの復号化が完了すると、部分画像P1の第2行(図8(2))について先頭列のマクロブロックMBから順番に復号化される。以降、同様に、部分画像P1の第3行(図8(3))、第4行(図8(4))、・・・、第n行(図8(n))におけるマクロブロックMBが順番に復号化される。 FIG. 8 shows the decoding processing order and the cache memory status (when the number of image divisions is 3) when decoding the encoded data in the first embodiment. When decoding the encoded data (when the number of image divisions is 3) in the first embodiment, first, the first row of the first row (FIG. 8 (1)) in the partial image P1 of the reference image P is displayed. Decoding is performed sequentially from the macroblock MB. When the decoding of the macroblock MB in the last column in the first row of the partial image P1 is completed, the second row (FIG. 8 (2)) in the partial image P1 is sequentially decoded from the macroblock MB in the first column. The Thereafter, similarly, the macroblock MB in the third row (FIG. 8 (3)), the fourth row (FIG. 8 (4)),..., The nth row (FIG. 8 (n)) of the partial image P1. Decrypted in order.
部分画像P1の第n行におけるマクロブロックMBの復号化が完了すると、参照画像Pの部分画像P2の第1行(図8(n+1))におけるマクロブロックMBが順番に復号化される。そして、部分画像P2の第1行における最終列のマクロブロックMBの復号化が完了すると、部分画像P2の第2行(図8(n+2))について先頭列のマクロブロックMBから順番に復号化される。以降、同様に、部分画像P2の第3行(図8(n+3))、第4行(図8(n+4))、・・・、第n行(図8(n+n))におけるマクロブロックMBが順番に復号化される。 When the decoding of the macroblock MB in the nth row of the partial image P1 is completed, the macroblock MB in the first row (FIG. 8 (n + 1)) of the partial image P2 of the reference image P is sequentially decoded. When the decoding of the macroblock MB of the last column in the first row of the partial image P2 is completed, the second row of the partial image P2 (FIG. 8 (n + 2)) is sequentially decoded from the macroblock MB of the first column. The Thereafter, similarly, the macroblock MB in the third row (FIG. 8 (n + 3)), the fourth row (FIG. 8 (n + 4)),..., The n-th row (FIG. 8 (n + n)) of the partial image P2 Decrypted in order.
部分画像P2の第n行におけるマクロブロックMBの復号化が完了すると、参照画像Pの部分画像P3の第1行(図8(2n+1))におけるマクロブロックMBが順番に復号化される。そして、部分画像P3の第1行における最終列のマクロブロックMBの復号化が完了すると、部分画像P3の第2行(図8(2n+2))について先頭列のマクロブロックMBから順番に復号化される。以降、同様に、部分画像P3の第3行(図8(2n+3))、第4行(図8(2n+4))、・・・、第n行(図8(2n+n))におけるマクロブロックMBが順番に復号化される。 When the decoding of the macroblock MB in the nth row of the partial image P2 is completed, the macroblock MB in the first row (FIG. 8 (2n + 1)) of the partial image P3 of the reference image P is sequentially decoded. When the decoding of the macroblock MB of the last column in the first row of the partial image P3 is completed, the second row (FIG. 8 (2n + 2)) of the partial image P3 is sequentially decoded from the macroblock MB of the first column. The Thereafter, similarly, the macroblock MB in the third row (FIG. 8 (2n + 3)), the fourth row (FIG. 8 (2n + 4)),..., The nth row (FIG. 8 (2n + n)) of the partial image P3. Decrypted in order.
動画像復号化装置(プロセッサ)のキャッシュメモリの容量が参照画像Pの横サイズの1/3であると仮定すると、部分画像P1の第1行におけるマクロブロックMBの復号化が完了して部分画像P1における第2行におけるマクロブロックMBの復号化に移行した際に、部分画像P1の第2行におけるマクロブロックMBの近傍の参照画像データ(図8の網掛け部分に対応するデータ)がキャッシュメモリに存在しているため、ロードキャッシュミスの発生回数が低減される。 Assuming that the capacity of the cache memory of the video decoding device (processor) is 1/3 of the horizontal size of the reference image P, the decoding of the macroblock MB in the first row of the partial image P1 is completed and the partial image When shifting to the decoding of the macroblock MB in the second row in P1, the reference image data (data corresponding to the shaded portion in FIG. 8) in the vicinity of the macroblock MB in the second row of the partial image P1 is cache memory. Therefore, the number of load cache miss occurrences is reduced.
このように、第1実施形態では、画像分割数設定部11により設定される画像分割数に応じて符号化部12の符号化処理順序を変更できるため、符号化データ(符号化部12の符号化結果)の復号化に用いられるキャッシュメモリの容量が動画像の解像度に対して十分に大きくない場合でもロードキャッシュミスの発生を抑制できる。
As described above, in the first embodiment, since the encoding processing order of the
図9は、本発明の第2実施形態を示している。なお、第2実施形態を説明するにあたって、第1実施形態で説明した要素と同一の要素については、第1実施形態で使用した符号と同一の符号を使用し、詳細な説明を省略する。 FIG. 9 shows a second embodiment of the present invention. In the description of the second embodiment, the same reference numerals as those used in the first embodiment are used for the same elements as those described in the first embodiment, and detailed description thereof is omitted.
第2実施形態の動画像符号化装置20は、第1実施形態(図1)の動画像符号化装置10において画像分割数設定部11を画像分割数設定部21に置き換えて構成されている。画像分割数設定部21は、プロセッサ数設定部21aを備えて構成されている。プロセッサ数設定部21aは、動画像符号化装置20(符号化部12)により生成される符号化データを復号化するための動画像復号化装置(図示せず)を構成するプロセッサの数を設定する。
A
図10は、第2実施形態における動画像符号化装置の動作を示している。前述のような構成の動画像符号化装置20では、動画像符号化装置20による入力データの受信に伴って、符号化部12は、画像分割数設定部21のプロセッサ数設定部21aにより保持されているプロセッサ数を画像分割数として取得する(ステップS21)。そして、第1実施形態と同様に、符号化部12は、符号化対象画像を画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する(ステップS22)。このような第2実施形態でも、第1実施形態と同様の効果が得られる。
FIG. 10 shows the operation of the video encoding apparatus in the second embodiment. In the
図11は、本発明の第3実施形態を示している。なお、第3実施形態を説明するにあたって、第1実施形態で説明した要素と同一の要素については、第1実施形態で使用した符号と同一の符号を使用し、詳細な説明を省略する。 FIG. 11 shows a third embodiment of the present invention. In the description of the third embodiment, the same reference numerals as those used in the first embodiment are used for the same elements as those described in the first embodiment, and detailed description thereof is omitted.
第3実施形態の動画像符号化装置30は、第1実施形態(図1)の動画像符号化装置10において画像分割数設定部11を画像分割数設定部31に置き換えて構成されている。画像分割数設定部31は、画像情報設定部31a、キャッシュ情報設定部31bおよび画像分割数算出部31cを備えて構成されている。画像情報設定部31aは、符号化対象画像に関する情報(画像サイズ、輝度色差フォーマット、マクロブロックサイズ、参照画像枚数など)を設定する。キャッシュ情報設定部31bは、動画像符号化装置30(符号化部12)により生成される符号化データを復号化するための動画像復号化装置(図示せず)を構成するプロセッサのキャッシュメモリに関する情報(容量、方式など)を設定する。
The moving
画像分割数算出部31cは、画像情報設定部31aおよびキャッシュ情報設定部31bにより保持されている情報を取得し、画像情報設定部31aおよびキャッシュ情報設定部31bから取得した情報に基づいて画像分割数を算出する。例えば、画像分割数算出部31cにより算出される画像分割数divnumは、輝度色差フォーマットが4:2:0フォーマットである場合、切り上げ関数ceiling()、画像横サイズhsize、マクロブロック縦サイズmbvsize、参照画像枚数refnumおよびキャッシュサイズ(キャッシュメモリの容量)csizeを用いて式(1)で表される。
divnum=ceiling((1.5×mbvsize×refnum×hsize)/csize) …(1)
図12は、第3実施形態における動画像符号化装置の動作を示している。前述のような構成の動画像符号化装置30では、動画像符号化装置30による入力データの受信に伴って、画像分割数算出部31cは、画像情報設定部31aにより保持されている情報およびキャッシュ情報設定部31bにより保持されている情報を順次取得する(ステップS31、S32)。次に、画像分割数算出部31cは、画像情報設定部31aおよびキャッシュ情報設定部31bから取得した情報に基づいて画像分割数を算出する(ステップS33)。そして、符号化部12は、画像分割数設定部31の画像分割数算出部31cにより算出された画像分割数を取得する(ステップS34)。この後、第1実施形態と同様に、符号化部12は、符号化対象画像を画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する(ステップS35)。このような第3実施形態でも、第1実施形態と同様の効果が得られる。
Image dividing
divnum = ceiling ((1.5 x mbvsize x refnum x hsize) / csize) (1)
FIG. 12 shows the operation of the video encoding apparatus in the third embodiment. In the
図13は、本発明の第4実施形態を示している。なお、第4実施形態を説明するにあたって、第1〜第3実施形態で説明した要素と同一の要素については、第1〜第3実施形態で使用した符号と同一の符号を使用し、詳細な説明を省略する。 FIG. 13 shows a fourth embodiment of the present invention. In describing the fourth embodiment, the same elements as those described in the first to third embodiments are denoted by the same reference numerals as those used in the first to third embodiments. Description is omitted.
第4実施形態の動画像符号化装置40は、第1実施形態(図1)の動画像符号化装置10において画像分割数設定部11を画像分割数設定部41に置き換えて構成されている。画像分割数設定部41は、プロセッサ数設定部21a(第2実施形態(図9))と、画像情報設定部31aおよびキャッシュ情報設定部31b(第3実施形態(図11))と、画像分割数算出部41aとを備えて構成されている。
The moving
画像分割数算出部41aは、プロセッサ数設定部21a、画像情報設定部31aおよびキャッシュ情報設定部31bにより保持されている情報を取得し、プロセッサ数設定部21a、画像情報設定部31aおよびキャッシュ情報設定部31bから取得した情報に基づいて画像分割数を算出する。例えば、画像分割数算出部41aにより算出される画像分割数divnumは、輝度色差フォーマットが4:2:0フォーマットである場合、切り上げ関数ceiling()、画像横サイズhsize、マクロブロック縦サイズmbvsize、参照画像枚数refnum、キャッシュサイズcsizeおよびプロセッサ数pnumを用いて式(2)で表される。
divnum=ceiling((1.5×mbvsize×refnum×hsize/pnum)/csize)×pnum …(2)
図14は、第4実施形態における動画像符号化装置の動作を示している。前述のような構成の動画像符号化装置40では、動画像符号化装置40による入力データの受信に伴って、画像分割数算出部41aは、プロセッサ数設定部21aにより保持されている情報、画像情報設定部31aにより保持されている情報およびキャッシュ情報設定部31bにより保持されている情報を順次取得する(ステップS41、S42、S43)。次に、画像分割数算出部41aは、プロセッサ数設定部21a、画像情報設定部31aおよびキャッシュ情報設定部31bから取得した情報に基づいて画像分割数を算出する(ステップS44)。そして、符号化部12は、画像分割数設定部41の画像分割数算出部41aにより算出された画像分割数を取得する(ステップS45)。この後、第1実施形態と同様に、符号化部12は、符号化対象画像を画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する(ステップS46)。このような第4実施形態でも、第1実施形態と同様の効果が得られる。
The image division
divnum = ceiling ((1.5 × mbvsize × refnum × hsize / pnum) / csize) × pnum (2)
FIG. 14 shows the operation of the video encoding apparatus in the fourth embodiment. In the moving
なお、第3実施形態(図12)では、画像分割数算出部31cが画像情報設定部31aから情報を取得した後にキャッシュ情報設定部31bから情報を取得する例について述べたが、本発明はかかる実施形態に限定されるものではなく、画像分割数算出部31cがキャッシュ情報設定部31bから情報を取得した後に画像情報設定部31aから情報を取得するようにしてもよいことは言うまでもない。
In the third embodiment (FIG. 12), an example in which the image division
同様に、第4実施形態(図14)では、画像分割数算出部41aが、プロセッサ数設定部21aから情報を取得した後に画像情報設定部31aから情報を取得し、画像情報設定部31aから情報を取得した後にキャッシュ情報設定部31bから情報を取得する例について述べたが、本発明はかかる実施形態に限定されるものではなく、画像分割数算出部41aがプロセッサ数設定部21a、画像情報設定部31aおよびキャッシュ情報設定部31bから情報を取得する順序を変更してもよいことは言うまでもない。
Similarly, in the fourth embodiment (FIG. 14), the image division
以上の実施形態に関して、更に以下の付記を開示する。
(付記1)
画像分割数を設定する画像分割数設定部と、
動画像を構成する符号化対象画像を前記画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する符号化部とを備えることを特徴とする動画像符号化装置。
(付記2)
付記1に記載の動画像符号化装置において、
前記画像分割数設定部は、前記符号化部の符号化結果を復号化する際に用いられるプロセッサの数を前記画像分割数に設定することを特徴とする動画像符号化装置。
(付記3)
付記1に記載の動画像符号化装置において、
前記画像分割数設定部は、
前記符号化対象画像に関する情報を設定する画像情報設定部と、
前記符号化部の符号化結果を復号化する際に用いられるキャッシュメモリに関する情報を設定するキャッシュ情報設定部と、
前記画像情報設定部および前記キャッシュ情報設定部により設定される情報に基づいて前記画像分割数を算出する画像分割数算出部とを備えることを特徴とする動画像符号化装置。
(付記4)
付記1に記載の動画像符号化装置において、
前記画像分割数設定部は、
前記符号化部の符号化結果を復号化する際に用いられるプロセッサの数を設定するプロセッサ数設定部と、
前記符号化対象画像に関する情報を設定する画像情報設定部と、
前記符号化部の符号化結果を復号化する際に用いられるキャッシュメモリに関する情報を設定するキャッシュ情報設定部と、
前記プロセッサ数設定部、前記画像情報設定部および前記キャッシュ情報設定部により設定される情報に基づいて前記画像分割数を算出する画像分割数算出部とを備えることを特徴とする動画像符号化装置。
(付記5)
付記1に記載の動画像符号化装置において、
前記部分画像は、第1部分画像と第2部分画像とを含み、
前記符号化処理により生成される符号化データは、前記第1部分画像の符号化データに前記第2部分画像の符号化データが続く構造であることを特徴とする動画像符号化装置。
(付記6)
付記1に記載の動画像符号化装置において、
前記部分画像は、第1部分画像と第2部分画像とを含み、
前記符号化部は、前記第1部分画像の符号化処理を実施した後に、前記第2部分画像の符号化処理を実施することを特徴とする動画像符号化装置。
(付記7)
画像分割数を設定する画像分割数設定工程と、
動画像を構成する符号化対象画像を前記画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する符号化工程とを含むことを特徴とする動画像符号化方法。
(付記8)
付記7に記載の動画像符号化方法において、
前記画像分割数設定工程では、前記符号化工程の符号化結果を復号化する際に用いられるプロセッサの数が前記画像分割数に設定されることを特徴とする動画像符号化方法。
(付記9)
付記7に記載の動画像符号化方法において、
前記画像分割数設定工程は、
前記符号化対象画像に関する情報を設定する画像情報設定工程と、
前記符号化工程の符号化結果を復号化する際に用いられるキャッシュメモリに関する情報を設定するキャッシュ情報設定工程と、
前記画像情報設定工程および前記キャッシュ情報設定工程により設定される情報に基づいて前記画像分割数を算出する画像分割数算出工程とを含むことを特徴とする動画像符号化方法。
(付記10)
付記7に記載の動画像符号化方法において、
前記画像分割数設定工程は、
前記符号化工程の符号化結果を復号化する際に用いられるプロセッサの数を設定するプロセッサ数設定工程と、
前記符号化対象画像に関する情報を設定する画像情報設定工程と、
前記符号化工程の符号化結果を復号化する際に用いられるキャッシュメモリに関する情報を設定するキャッシュ情報設定工程と、
前記プロセッサ数設定工程、前記画像情報設定工程および前記キャッシュ情報設定工程により設定される情報に基づいて前記画像分割数を算出する画像分割数算出工程とを含むことを特徴とする動画像符号化方法。
(付記11)
付記7に記載の動画像符号化方法において、
前記部分画像は、第1部分画像と第2部分画像とを含み、
前記符号化処理により生成される符号化データは、前記第1部分画像の符号化データに前記第2部分画像の符号化データが続く構造であることを特徴とする動画像符号化方法。
(付記12)
付記7に記載の動画像符号化方法において、
前記部分画像は、第1部分画像と第2部分画像とを含み、
前記符号化工程では、前記第1部分画像の符号化処理が実施された後に、前記第2部分画像の符号化処理が実施されることを特徴とする動画像符号化方法。
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
An image division number setting unit for setting the number of image divisions;
A moving image comprising: an encoding unit that divides an encoding target image constituting a moving image into the same number of partial images as the number of image divisions, and performs an encoding process using motion compensation for each partial image. Image encoding device.
(Appendix 2)
In the moving image encoding device according to
The moving picture encoding apparatus, wherein the image division number setting unit sets the number of processors used when decoding the encoding result of the encoding unit to the image division number.
(Appendix 3)
In the moving image encoding device according to
The image division number setting unit includes:
An image information setting unit for setting information on the encoding target image;
A cache information setting unit that sets information about a cache memory used when decoding the encoding result of the encoding unit;
A moving picture encoding apparatus comprising: an image division number calculating unit that calculates the image division number based on information set by the image information setting unit and the cache information setting unit.
(Appendix 4)
In the moving image encoding device according to
The image division number setting unit includes:
A processor number setting unit for setting the number of processors used when decoding the encoding result of the encoding unit;
An image information setting unit for setting information on the encoding target image;
A cache information setting unit that sets information about a cache memory used when decoding the encoding result of the encoding unit;
A moving picture coding apparatus comprising: an image division number calculation unit that calculates the image division number based on information set by the processor number setting unit, the image information setting unit, and the cache information setting unit .
(Appendix 5)
In the moving image encoding device according to
The partial image includes a first partial image and a second partial image,
The encoded data generated by the encoding process has a structure in which encoded data of the first partial image is followed by encoded data of the second partial image.
(Appendix 6)
In the moving image encoding device according to
The partial image includes a first partial image and a second partial image,
The moving image encoding apparatus, wherein the encoding unit performs the encoding process of the second partial image after performing the encoding process of the first partial image.
(Appendix 7)
An image division number setting step for setting the image division number;
A moving image comprising: an encoding step of dividing an encoding target image constituting a moving image into the same number of partial images as the number of image divisions, and performing an encoding process using motion compensation for each partial image. Image coding method.
(Appendix 8)
In the moving image encoding method according to attachment 7,
In the image division number setting step, the number of processors used when decoding the encoding result of the encoding step is set to the image division number.
(Appendix 9)
In the moving image encoding method according to attachment 7,
The image division number setting step includes:
An image information setting step for setting information on the encoding target image;
A cache information setting step for setting information relating to the cache memory used when decoding the encoding result of the encoding step;
A moving picture encoding method comprising: an image division number calculating step of calculating the image division number based on information set by the image information setting step and the cache information setting step.
(Appendix 10)
In the moving image encoding method according to attachment 7,
The image division number setting step includes:
A processor number setting step of setting the number of processors used when decoding the encoding result of the encoding step;
An image information setting step for setting information on the encoding target image;
A cache information setting step for setting information relating to the cache memory used when decoding the encoding result of the encoding step;
A moving picture encoding method comprising: an image division number calculating step for calculating the image division number based on information set by the processor number setting step, the image information setting step, and the cache information setting step. .
(Appendix 11)
In the moving image encoding method according to attachment 7,
The partial image includes a first partial image and a second partial image,
The encoded image data generated by the encoding process has a structure in which encoded data of the first partial image is followed by encoded data of the second partial image.
(Appendix 12)
In the moving image encoding method according to attachment 7,
The partial image includes a first partial image and a second partial image,
In the encoding step, the encoding process for the second partial image is performed after the encoding process for the first partial image is performed.
以上、本発明について詳細に説明してきたが、前述の実施形態およびその変形例は発明の一例に過ぎず、本発明はこれらに限定されるものではない。本発明を逸脱しない範囲で変形可能であることは明らかである。 As mentioned above, although this invention was demonstrated in detail, the above-mentioned embodiment and its modification are only examples of this invention, and this invention is not limited to these. Obviously, modifications can be made without departing from the scope of the present invention.
本発明は、動き補償を用いた符号化処理を実施する動画像符号化装置に適用して有用なものである。 The present invention is useful when applied to a moving picture coding apparatus that performs coding processing using motion compensation.
10、20、30、40‥動画像符号化装置;11、21、31、41‥画像分割数設定部;12‥符号化部;21a‥プロセッサ数設定部;31a‥画像情報設定部;31b‥キャッシュ情報設定部;31c、41a‥画像分割数算出部 10, 20, 30, 40... Video encoding device; 11, 21, 31, 41... Image division number setting unit; 12 .. encoding unit; 21a .. processor number setting unit; Cache information setting unit; 31c, 41a... Image division number calculating unit
Claims (6)
動画像を構成する符号化対象画像を前記画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する符号化部とを備え、
前記画像分割数設定部は、
前記符号化対象画像の画像サイズ、輝度色差フォーマット、マクロブロックサイズ、または参照画像枚数を設定する画像情報設定部と、
前記符号化部の符号化結果を復号化する際に用いられるキャッシュメモリの容量、またはキャッシュ方式を設定するキャッシュ情報設定部と、
前記画像情報設定部および前記キャッシュ情報設定部により設定される情報に基づいて前記画像分割数を算出する画像分割数算出部とを備えることを特徴とする動画像符号化装置。An image division number setting unit for setting the number of image divisions;
An encoding unit that divides an encoding target image constituting a moving image into the same number of partial images as the number of image divisions, and performs an encoding process using motion compensation for each partial image ;
The image division number setting unit includes:
An image information setting unit for setting the image size, luminance color difference format, macroblock size, or reference image number of the encoding target image;
A cache information setting unit for setting a capacity of a cache memory used when decoding an encoding result of the encoding unit, or a cache method;
A moving picture encoding apparatus comprising: an image division number calculating unit that calculates the image division number based on information set by the image information setting unit and the cache information setting unit .
前記画像分割数設定部は、前記符号化部の符号化結果を復号化する際に用いられるプロセッサの数を設定するプロセッサ数設定部を更に備え、
前記画像分割数算出部は、前記プロセッサ数設定部、前記画像情報設定部および前記キャッシュ情報設定部により設定される情報に基づいて前記画像分割数を算出することを特徴とする動画像符号化装置。The moving image encoding device according to claim 1,
The image division number setting unit further includes a processor number setting unit that sets the number of processors used when decoding the encoding result of the encoding unit,
The image division number calculating unit calculates the image division number based on information set by the processor number setting unit, the image information setting unit, and the cache information setting unit. .
前記部分画像は、第1部分画像と第2部分画像とを含み、
前記符号化処理により生成される符号化データは、前記第1部分画像の符号化データに前記第2部分画像の符号化データが続く構造であることを特徴とする動画像符号化装置。The moving image encoding device according to claim 1,
The partial image includes a first partial image and a second partial image,
The encoded data generated by the encoding process has a structure in which encoded data of the first partial image is followed by encoded data of the second partial image .
前記部分画像は、第1部分画像と第2部分画像とを含み、
前記符号化部は、前記第1部分画像の符号化処理を実施した後に、前記第2部分画像の符号化処理を実施することを特徴とする動画像符号化装置。The moving image encoding device according to claim 1,
The partial image includes a first partial image and a second partial image,
The moving image encoding apparatus , wherein the encoding unit performs the encoding process of the second partial image after performing the encoding process of the first partial image .
動画像を構成する符号化対象画像を前記画像分割数と同数の部分画像に分割し、部分画像毎に動き補償を用いた符号化処理を実施する符号化工程とを含み、
前記画像分割数設定工程は、
前記符号化対象画像の画像サイズ、輝度色差フォーマット、マクロブロックサイズ、または参照画像枚数を設定する画像情報設定工程と、
前記符号化工程の符号化結果を復号化する際に用いられるキャッシュメモリの容量、またはキャッシュ方式を設定するキャッシュ情報設定工程と、
前記画像情報設定工程および前記キャッシュ情報設定工程により設定される情報に基づいて前記画像分割数を算出する画像分割数算出工程とを含むことを特徴とする動画像符号化方法。 An image division number setting step for setting the image division number;
An encoding step of dividing an encoding target image constituting a moving image into the same number of partial images as the number of image divisions, and performing an encoding process using motion compensation for each partial image,
The image division number setting step includes:
An image information setting step for setting the image size, luminance color difference format, macroblock size, or reference image number of the encoding target image;
A cache information setting step for setting a cache memory capacity or a cache method used when decoding the encoding result of the encoding step;
A moving picture encoding method comprising: an image division number calculating step of calculating the image division number based on information set by the image information setting step and the cache information setting step .
前記画像分割数設定工程は、前記符号化工程の符号化結果を復号化する際に用いられるプロセッサの数を設定するプロセッサ数設定工程を更に含み、
前記画像分割数算出工程は、前記プロセッサ数設定工程、前記画像情報設定工程および前記キャッシュ情報設定工程により設定される情報に基づいて前記画像分割数を算出することを特徴とする動画像符号化方法。 In the moving image encoding method according to claim 5 ,
The image division number setting step further includes a processor number setting step for setting the number of processors used when decoding the encoding result of the encoding step,
Wherein the image dividing number calculating process, the processor number setting process, the image information setting step and the moving picture coding method and calculating the dividing number of image based on the information set by the cache information setting step .
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2007/053262 WO2008102446A1 (en) | 2007-02-22 | 2007-02-22 | Dynamic image coding device and dynamic image coding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2008102446A1 JPWO2008102446A1 (en) | 2010-05-27 |
| JP4900470B2 true JP4900470B2 (en) | 2012-03-21 |
Family
ID=39709732
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009500041A Expired - Fee Related JP4900470B2 (en) | 2007-02-22 | 2007-02-22 | Moving picture coding apparatus and moving picture coding method |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20090310683A1 (en) |
| JP (1) | JP4900470B2 (en) |
| WO (1) | WO2008102446A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2903284A1 (en) * | 2013-06-05 | 2015-08-05 | Axis AB | Method for encoding digital video data |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0837662A (en) * | 1994-07-22 | 1996-02-06 | Hitachi Ltd | Image encoding / decoding device |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04139986A (en) * | 1990-09-29 | 1992-05-13 | Victor Co Of Japan Ltd | Coding/decoding device for movement compensation prediction of picture signal |
| JPH06303590A (en) * | 1993-04-13 | 1994-10-28 | Matsushita Electric Ind Co Ltd | Encoding method and decoding method for parallel processing picture |
| GB2283876B (en) * | 1993-11-09 | 1998-06-24 | Matsushita Electric Industrial Co Ltd | Encoding and decoding code sequences and frames |
| JPH104548A (en) * | 1996-06-13 | 1998-01-06 | Matsushita Electric Ind Co Ltd | Image signal encoding device |
| JP3123496B2 (en) * | 1998-01-28 | 2001-01-09 | 日本電気株式会社 | Motion compensation processing method and system, and recording medium recording the processing program |
| WO2000062550A1 (en) * | 1999-04-13 | 2000-10-19 | Sony Corporation | Video processing device and method, and medium |
| JP3850599B2 (en) * | 1999-10-12 | 2006-11-29 | 三菱電機株式会社 | Parallel image processing apparatus and parallel image processing method |
| WO2002065785A2 (en) * | 2001-02-13 | 2002-08-22 | Quvis, Inc. | Scalable motion image system |
| JPWO2004017640A1 (en) * | 2002-08-13 | 2005-12-08 | 株式会社ルネサステクノロジ | Signal processing apparatus and system |
| JP4180547B2 (en) * | 2004-07-27 | 2008-11-12 | 富士通株式会社 | Moving picture data decoding apparatus and decoding program |
| JP4534910B2 (en) * | 2005-08-26 | 2010-09-01 | ソニー株式会社 | Image processing apparatus, image processing method, recording medium, and program |
-
2007
- 2007-02-22 JP JP2009500041A patent/JP4900470B2/en not_active Expired - Fee Related
- 2007-02-22 WO PCT/JP2007/053262 patent/WO2008102446A1/en not_active Ceased
-
2009
- 2009-08-19 US US12/461,651 patent/US20090310683A1/en not_active Abandoned
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0837662A (en) * | 1994-07-22 | 1996-02-06 | Hitachi Ltd | Image encoding / decoding device |
Also Published As
| Publication number | Publication date |
|---|---|
| US20090310683A1 (en) | 2009-12-17 |
| JPWO2008102446A1 (en) | 2010-05-27 |
| WO2008102446A1 (en) | 2008-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8068545B2 (en) | Method and apparatus for processing image data | |
| JP5717815B2 (en) | Pixel buffering | |
| US20070195882A1 (en) | Video decoder with scalable compression and buffer for storing and retrieving reference frame data | |
| JP5396711B2 (en) | Moving picture decoding apparatus, moving picture decoding method, and program | |
| JP4973886B2 (en) | Moving picture decoding apparatus, decoded picture recording apparatus, method and program thereof | |
| CN120358353A (en) | Image component prediction method, encoder, decoder, and storage medium | |
| WO2013031071A1 (en) | Moving image decoding apparatus, moving image decoding method, and integrated circuit | |
| US20110268192A1 (en) | Moving image decoding device, moving image decoding method, and program | |
| US6909750B2 (en) | Detection and proper interpolation of interlaced moving areas for MPEG decoding with embedded resizing | |
| JP2010098352A (en) | Image information encoder | |
| JP4774315B2 (en) | Image decoding apparatus and image decoding method | |
| JP4476065B2 (en) | Image processing system | |
| JPH10215457A (en) | Moving image decoding method and moving image decoding device | |
| JP4900470B2 (en) | Moving picture coding apparatus and moving picture coding method | |
| US20100027685A1 (en) | Method of processing boundary strength by deblocking filter and coding apparatus | |
| CN101193300A (en) | TV signal processing circuit | |
| JP2011015262A (en) | Image decoder | |
| US8325813B2 (en) | Moving image coding apparatus | |
| WO2012165428A1 (en) | Video encoding device | |
| US20120183071A1 (en) | Video decoder with adaptive outputs | |
| WO2010021153A1 (en) | Motion detection device | |
| JP2006246277A (en) | Re-encoding apparatus, re-encoding method, and re-encoding program | |
| US7616820B2 (en) | System and method for reducing discontinuity of gray level in an image buffer memory | |
| JP2010050860A (en) | Image display apparatus, recorded image reproducing apparatus and image processing method | |
| JP2008053848A (en) | Image processor and image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110524 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110713 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111206 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111219 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150113 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |