JP2007142637A - Image information encoder - Google Patents

Image information encoder Download PDF

Info

Publication number
JP2007142637A
JP2007142637A JP2005331537A JP2005331537A JP2007142637A JP 2007142637 A JP2007142637 A JP 2007142637A JP 2005331537 A JP2005331537 A JP 2005331537A JP 2005331537 A JP2005331537 A JP 2005331537A JP 2007142637 A JP2007142637 A JP 2007142637A
Authority
JP
Japan
Prior art keywords
data
value
code amount
rewriting
image
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
JP2005331537A
Other languages
Japanese (ja)
Inventor
Hiroshi Tasaka
啓 田坂
Tatsuro Shigesato
達郎 重里
Kazuo Saigo
賀津雄 西郷
Takashi Masuno
貴司 増野
Hiroaki Shimazaki
浩昭 島崎
Kenjiro Tsuda
賢治郎 津田
Takuma Chiba
琢麻 千葉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005331537A priority Critical patent/JP2007142637A/en
Publication of JP2007142637A publication Critical patent/JP2007142637A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image information encoder in which the amount of codes generated by CABAC (Context-Adaptive Binary Arithmetic Coding) can be prevented from exceeding a maximum amount of codes with less computational complexity without requiring an extra variable length encoding module. <P>SOLUTION: The variable length encoding section 100 comprises a section for quantizing data about moving picture and then arithmetically encoding binarized data, a section 106 for calculating the amount of generated codes by counting the number of bits having a determined value and the digit places where the value is not determined in the arithmetically encoded data from the arithmetically encoding section 105, and predicting whether a predetermined upper limit of the amount of generated codes is exceeded or not when the image of 1MB is arithmetically encoded from the amount of generated codes calculated for image data of predetermined unit, and a section 103 for rewriting the binarized data to a value having an amount of bits smaller than an original value when it is predicted that the upper limit is exceeded. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、動画像の画像情報を符号化する画像情報符号化装置に関し、特に量子化されたDCT係数などを可変長符号化して出力する画像情報符号化装置に関する。   The present invention relates to an image information encoding device that encodes image information of a moving image, and more particularly to an image information encoding device that outputs a quantized DCT coefficient or the like after variable length encoding.

動画像の符号化技術において、符号化効率の向上が図られている。これにより、携帯電話機で滑らかな動きのテレビ電話を実現したり、高画質な動画像を撮影したりすることも可能になりつつある。このような符号化技術の進展において、最新の動画像圧縮符号化技術の国際基準であるH.264/MPEG-4 AVCでは、DCT係数や動きベクトルなど、シンタックスで伝送することが定められているシンタックス要素のエントロピー符号化方式として、単純な表による変換に代わってさらに符号化効率の高い符号化方式が用意されている。すなわち、CAVLC(Context-Adaptive Variable Length Coding)と呼ばれる可変長符号化方式や、CABAC(Context-Adaptive Binary Arithmetic Coding)と呼ばれる算術符号化方式である。これらのうち、CABACのような算術符号化方式は、定常的な信号を理論上、限界まで圧縮することが可能であるといわれている。図9は、CABACによる発生符号量が規格最大符号量を超えた場合の従来の対応処理の一例を示す図である。CABACは、上記のように符号化効率のよさがメリットであるが、処理が終わるまで発生符号量がわからないという欠点がある。H.264/AVCでは、1マクロブロック(以下、MB)あたりの発生符号量が3200bitという上限が設けられているのであるが、CABACでは処理が終わるまで発生符号量がわからないので、発生符号量が規格最大符号量を満たすか否かを事前に判定することができない。そのため、発生符号量が最大符号量を越えた際には、図9(a)に示すように、量子化などの符号化条件を変えて、再度CABAC処理をやり直さなければならない。   In the moving picture coding technique, the coding efficiency is improved. As a result, it is becoming possible to realize a smooth-moving videophone or to shoot a high-quality moving image on a mobile phone. With the progress of such coding technology, H.264 / MPEG-4 AVC, which is the international standard for the latest video compression coding technology, specifies that DCT coefficients and motion vectors are transmitted in syntax. As an entropy coding method for syntax elements, a coding method with higher coding efficiency is prepared instead of conversion by a simple table. That is, a variable-length coding method called CAVLC (Context-Adaptive Variable Length Coding) and an arithmetic coding method called CABAC (Context-Adaptive Binary Arithmetic Coding). Of these, arithmetic coding methods such as CABAC are said to be able to theoretically compress stationary signals to the limit. FIG. 9 is a diagram illustrating an example of conventional response processing when the generated code amount by CABAC exceeds the standard maximum code amount. CABAC has the advantage of good coding efficiency as described above, but has the disadvantage that the amount of generated code is not known until the processing is completed. In H.264 / AVC, there is an upper limit of 3200 bits for the amount of generated code per macroblock (hereinafter referred to as MB). However, in CABAC, the amount of generated code is unknown until the processing is completed. Whether or not the standard maximum code amount is satisfied cannot be determined in advance. For this reason, when the generated code amount exceeds the maximum code amount, the CABAC process must be performed again while changing the encoding condition such as quantization as shown in FIG. 9A.

これに対し、CAVLCでは、発生する符号量が入力される2値化データの量に応じて、予測可能であるため、CABACとCAVLCとを並列的に備えておき、CABACの発生符号量が最大符号量を満たさない場合には、CAVLCによる可変長符号化に切り替えて符号列を出力するという従来技術が開示されている(特許文献1参照。)。
特開2004−135251号公報
On the other hand, in CAVLC, since the amount of generated code can be predicted according to the amount of input binary data, CABAC and CAVLC are provided in parallel, and the generated amount of CABAC is maximum. In the case where the code amount is not satisfied, a conventional technique is disclosed in which a code string is output after switching to variable length coding by CAVLC (see Patent Document 1).
JP 2004-135251 A

しかしながら、CABACを量子化の段階からやり直すには、時系列で符号の発生確率を計算しながらテーブルを更新しているcontext計算部の状態変移を元に戻すという複雑な作業が伴い、やり直しの都度、多大な計算量を必要とするという課題がある。   However, starting CABAC from the quantization stage involves a complicated process of restoring the state transition of the context calculation unit that updates the table while calculating the occurrence probability of the code in time series. There is a problem of requiring a large amount of calculation.

また、CABACとCAVLCとを並列的に備えておくというのは、めったに生じない発生符号量の超過に備えて、通常時には不要であるような回路を常時備えておくことになる。これにより、画像情報符号化装置の高コスト化や大型化を招くという課題がある。   In addition, providing CABAC and CAVLC in parallel always provides a circuit that is normally unnecessary in preparation for exceeding the amount of generated code that rarely occurs. As a result, there is a problem in that the cost and size of the image information encoding device are increased.

上記課題に鑑みて、本発明の目的は、余分な可変長符号化モジュールを備えることなく、より少ない計算量でCABACによる発生符号量が最大符号量を超えないようにすることができる画像情報符号化装置を提供することである。   In view of the above problems, an object of the present invention is to provide an image information code that can reduce the amount of code generated by CABAC from exceeding the maximum amount of code with a smaller amount of calculation without providing an extra variable length coding module. It is to provide a device.

上記課題を解決するために、本発明の画像情報符号化装置は、2値化データを算術符号化して符号列を出力する画像情報符号化装置であって、動画像に関するデータを量子化後、2値化されたデータを算術符号化する算術符号化手段と、前記算術符号化手段による算術符号化データ中で、値が確定したビット数と、値が確定しない桁位置とを計数することにより、発生符号量を算出する発生符号量算出手段と、所定単位の画像データに対して算出された発生符号量から、一定の画像を算術符号化したとき、その画像に対してあらかじめ定められた発生符号量の上限値を超えるか否かを予測する符号量予測手段と、前記上限値を超えると予測される場合、前記2値化データを、元の値よりビット量の少ない値に書き替える書き替え手段とを備える。   In order to solve the above problems, an image information encoding device of the present invention is an image information encoding device that arithmetically encodes binarized data and outputs a code string, and after quantizing data relating to a moving image, By calculating the arithmetic encoding means for arithmetically encoding the binarized data, and the number of bits in which the value is determined and the digit position where the value is not determined in the arithmetically encoded data by the arithmetic encoding means When a certain image is arithmetically encoded from the generated code amount calculation means for calculating the generated code amount and the generated code amount calculated for a predetermined unit of image data, a predetermined generation for the image is generated. Code amount prediction means for predicting whether or not the upper limit value of the code amount is exceeded, and writing that rewrites the binarized data to a value having a smaller bit amount than the original value when predicted to exceed the upper limit value With replacement means .

なお、本発明は、このような画像情報符号化装置として実現することができるだけでなく、このような画像情報符号化装置に備えられる,コンテキスト適応型2値算術符号化装置として実現したり、このような画像情報符号化装置が備える特徴的な手段をステップとする画像情報符号化方法として実現したり、それらのステップをコンピュータに実行させるプログラムとして実現したりすることもできる。そして、そのようなプログラムは、CD−ROM等の記録媒体やインターネット等の伝送媒体を介して配信することができるのは言うまでもない。   The present invention can be realized not only as such an image information encoding device, but also as a context adaptive binary arithmetic encoding device provided in such an image information encoding device. Such image information encoding apparatus can be realized as an image information encoding method having steps as characteristic means, or can be realized as a program for causing a computer to execute these steps. Needless to say, such a program can be distributed via a recording medium such as a CD-ROM or a transmission medium such as the Internet.

以上のように本発明によれば、CABAC処理をやり直さずに規格で定められた最大符号量以内に発生符号量を抑制することができる。   As described above, according to the present invention, the generated code amount can be suppressed within the maximum code amount determined by the standard without performing the CABAC process again.

(実施の形態)
図1は、本実施の形態の可変長符号化部100の構成を示すブロック図である。可変長符号化部100は、MBごとのCABAC処理中に1MB分の発生符号量を予測し、H.264規格で1MBに定められた最大符号量3200bitを超えそうになった場合、2値化データの値を、よりbit量の少ない値に書き替える可変長符号化部であって、2値化処理部101、2値バッファ102、2値化データ書き替え部103、コンテキスト計算部104、算術符号化部105、符号量予測部106、2値化データ書き替え制御部107及びバッファ108を備える。2値化処理部101は、例えば、10進数などの多値で表された量子化データを2値数に変換し、発生した2値データをコンテキスト計算部104及び2値バッファ102に出力する。2値バッファ102は、2値化処理部101によって2値化されたデータを蓄積する。2値化データ書き替え部103は、後述の2値化データ書き替え制御部107の指示により、2値バッファ102から2値化データを読み出して、よりbit数の少なくなる値に書き替える。書き替えたデータは、コンテキスト計算部104及び算術符号化部105に出力する。コンテキスト計算部104では、2値化データ書き替え部103から入力された2値データの符号の発生確率を計算しなおし、確率テーブルを更新する。算術符号化部105は、2値化データ書き替え部103から入力された2値データを、コンテキスト計算部104によって更新された確率テーブルを参照して算術符号化し、確定した符号をバッファ108に出力する。符号量予測部106は、算術符号化部105からの符号化結果を監視して、MBの符号量が最大符号量を超えるか否かを判定する。2値化データ書き替え制御部107は、符号量予測部106による予測結果に応じて、2値化データから削減するべき図示しないビット量のリストなどを保持しており、符号量予測部106による予測結果により、1MBの最大符号量を超えると判断された場合には、2値化データをよりbit量の少なくなる値に書き替えるよう、2値化データ書き替え部103を制御する。
(Embodiment)
FIG. 1 is a block diagram showing a configuration of variable length coding section 100 of the present embodiment. The variable-length encoding unit 100 predicts the generated code amount for 1 MB during CABAC processing for each MB, and binarizes when it is about to exceed the maximum code amount of 3200 bits defined for 1 MB in the H.264 standard. A variable-length encoding unit that rewrites a data value to a value with a smaller bit amount, including a binarization processing unit 101, a binary buffer 102, a binary data rewriting unit 103, a context calculation unit 104, an arithmetic An encoding unit 105, a code amount prediction unit 106, a binary data rewrite control unit 107, and a buffer 108 are provided. The binarization processing unit 101 converts, for example, quantized data represented by multiple values such as a decimal number into a binary number, and outputs the generated binary data to the context calculation unit 104 and the binary buffer 102. The binary buffer 102 accumulates data binarized by the binarization processing unit 101. The binarized data rewriting unit 103 reads the binarized data from the binarized buffer 102 in accordance with an instruction from the binarized data rewriting control unit 107 described later, and rewrites it to a value with a smaller number of bits. The rewritten data is output to the context calculation unit 104 and the arithmetic coding unit 105. The context calculation unit 104 recalculates the occurrence probability of the code of the binary data input from the binarized data rewriting unit 103, and updates the probability table. The arithmetic encoding unit 105 arithmetically encodes the binary data input from the binary data rewriting unit 103 with reference to the probability table updated by the context calculation unit 104, and outputs the determined code to the buffer 108 To do. The code amount prediction unit 106 monitors the encoding result from the arithmetic encoding unit 105 and determines whether or not the MB code amount exceeds the maximum code amount. The binarized data rewrite control unit 107 holds a list of bit amounts (not shown) to be reduced from the binarized data according to the prediction result by the code amount prediction unit 106, and the code amount prediction unit 106 If it is determined from the prediction result that the maximum code amount of 1 MB is exceeded, the binarized data rewriting unit 103 is controlled to rewrite the binarized data to a value with a smaller bit amount.

以下、発生符号量の予測について、さらに詳細に説明する。以下では、算術符号化中の符号量を監視し、そのbit量から処理中のMBの符号量を予測する方法について説明する。このとき符号値が決まらない状態が続くことがあるので、Bits_Outstandingと呼ばれるカウンタ値を参照することで、符号量を知ることができる。図2は、図1に破線で囲んで示したコンテキスト計算部104及び算術符号化部105の詳細な構成であるCABAC(Encode Decision)200を示すブロック図である。CABACを行なうCABAC(Encode Decision)200は、区間/確率テーブル更新部207と区間再正規化(Renormalization)部201と符号値出力処理部206とを備える。区間/確率テーブル更新部207は、コンテキストインデックスctxidx、と発生確率の比率と発生確率の高いほうのシンボル(0または1)とを対応付けたコンテキスト変数テーブルを格納しており、外部から入力されるコンテキストインデックスctxidxに基づいて、その桁の1と0との発生確率をコンテキスト変数テーブルから読み出す。さらに、下限の座標が0以上で、かつ、上限の座標値が1以下の幅をもつ区間で、入力される2値データについてすでに求められた区間の上限の座標値を表すcodeIRangeと、区間の下限の座標値を表すcodeILowとをRange情報として区間再正規化(Renormalization)部201に出力する。区間再正規化(Renormalization)部201は、Range判定モジュール202、符号値=0を出力するモジュール203、符号値=1を出力するモジュール204及びどの桁の符号値が確定していないのかをカウントするカウンタBits_Outstanding205を備える。Range判定モジュール202には、区間/確率テーブル更新部207を介して、0と1との並びである2値データの符号化対象の桁が入力される。さらに、区間の上限の座標値を表すcodeIRangeと、区間の下限の座標値を表すcodeILowとが入力される。Range判定モジュール202は、コンテキスト計算部104(すなわち、区間/確率テーブル更新部207)から与えられる各桁の(0,1)の発生確率のうち実際に発生した方の発生確率を区間の幅に乗算して、乗算結果を下限の座標値に加算又は上限の座標値から減算し、区間の幅を縮めていく。これにより、区間の幅の中で取り得る2進数の値が決定される。すなわち、Range判定モジュール202は、実際に発生したビットが0であれば、その桁の0の発生確率を区間の幅(codeIRange - codeILow)に乗算する。この乗算結果を区間の下限codeILowに加算して得られる値を、その区間の新たな上限codeIRangeとする。この場合、下限の座標値codeILowは、そのままとする。逆に、Range判定モジュール202は、実際に発生したビットが1であれば、その桁の1の発生確率を区間の幅(codeIRange - codeILow)に乗算して、乗算結果をそのときのcodeIRangeから減算する。この減算結果として得られる値を、区間の新たな下限の座標値codeILowとする。この場合、上限の座標値codeIRangeはそのままとする。このようにして、Range判定モジュール202は、入力される2値データの一桁ずつ、すでに発生した0と1との並びに対して与えられる0から1までの実数値の範囲を算出する。この実数値の範囲がある程度以下の幅になると、小数点以下でとりうる2進数の値が0か1か確定する。例えば、区間の下限の座標値codeILowが0.5以上になると、小数点第1位の値が1になることが確定する。Range判定モジュール202は、確定した符号値が0であれば、符号値=0を出力するモジュール203を選択し、確定した符号値が1であれば、符号値=1を出力するモジュール204を選択する。符号値が確定しないときには、Bits_Outstanding205を選択する。確定した符号値は符号値出力処理部を介して符号値として出力される。符号値=0を出力するモジュール203、符号値=1を出力するモジュール204、Bits_Outstanding205は、それぞれの信号を出力した後、次のビットの符号値を算出するためにRangeを更新するようRange判定モジュール202に信号を出力する。そこで、符号量予測部106は、図2に示すデータ量の監視位置で監視すれば、符号値(0,1)の確定を待つことなくCABAC後の符号量を知ることができる。   Hereinafter, prediction of the generated code amount will be described in more detail. Hereinafter, a method for monitoring the code amount during arithmetic coding and predicting the code amount of the MB being processed from the bit amount will be described. At this time, since the code value may not be determined, the code amount can be known by referring to a counter value called Bits_Outstanding. FIG. 2 is a block diagram showing a CABAC (Encode Decision) 200 that is a detailed configuration of the context calculation unit 104 and the arithmetic coding unit 105 shown in FIG. A CABAC (Encode Decision) 200 that performs CABAC includes an interval / probability table update unit 207, an interval renormalization unit 201, and a code value output processing unit 206. The section / probability table update unit 207 stores a context variable table in which a context index ctxidx, a ratio of occurrence probability, and a symbol (0 or 1) having a higher occurrence probability are associated with each other, and is input from the outside. Based on the context index ctxidx, the occurrence probability of 1 and 0 of the digit is read from the context variable table. Furthermore, in a section where the lower limit coordinate is 0 or more and the upper limit coordinate value is 1 or less, codeIRange representing the upper limit coordinate value of the section already obtained for the input binary data, The codeILow representing the lower limit coordinate value is output as Range information to the interval renormalization unit 201. The interval renormalization unit 201 counts a range determination module 202, a module 203 that outputs a code value = 0, a module 204 that outputs a code value = 1, and which digit code value is not fixed. A counter Bits_Outstanding205 is provided. The range determination module 202 is input with the digit to be encoded of binary data that is an array of 0 and 1 via the section / probability table update unit 207. Further, codeIRange representing the upper limit coordinate value of the section and codeILow representing the lower limit coordinate value of the section are input. The range determination module 202 uses the occurrence probability of the occurrence of (0, 1) of each digit given from the context calculation unit 104 (that is, the interval / probability table update unit 207) as the width of the interval. Multiplication is performed, and the multiplication result is added to the lower limit coordinate value or subtracted from the upper limit coordinate value, thereby reducing the width of the section. Thereby, a binary value that can be taken within the width of the section is determined. In other words, if the actually generated bit is 0, the Range determination module 202 multiplies the interval width (codeIRange-codeILow) by the occurrence probability of 0 in that digit. A value obtained by adding this multiplication result to the lower limit codeILow of the section is set as a new upper limit codeIRange of the section. In this case, the lower limit coordinate value codeILow is left as it is. Conversely, if the actually generated bit is 1, the Range determination module 202 multiplies the occurrence probability of 1 in that digit by the width of the section (codeIRange-codeILow), and subtracts the multiplication result from the codeIRange at that time To do. A value obtained as a result of the subtraction is set as a new lower limit coordinate value codeILow of the section. In this case, the upper limit coordinate value codeIRange is left as it is. In this way, the Range determination module 202 calculates a real value range from 0 to 1 given to the already generated sequence of 0 and 1 for each digit of the input binary data. When the range of this real value is less than a certain range, it is determined whether the binary value that can be taken after the decimal point is 0 or 1. For example, when the lower limit coordinate value codeILow of the section is 0.5 or more, it is determined that the first decimal place value is 1. Range determination module 202 selects module 203 that outputs code value = 0 if the determined code value is 0, and selects module 204 that outputs code value = 1 if the determined code value is 1. To do. When the code value is not fixed, Bits_Outstanding205 is selected. The confirmed code value is output as a code value via the code value output processing unit. The module 203 for outputting the code value = 0, the module 204 for outputting the code value = 1, and the Bits_Outstanding 205, after outputting each signal, the Range determination module to update the Range in order to calculate the code value of the next bit. A signal is output to 202. Therefore, the code amount prediction unit 106 can know the code amount after CABAC without waiting for the determination of the code value (0, 1) by monitoring at the data amount monitoring position shown in FIG.

本実施の形態では、CABAC中の符号量の監視において、符号値として確定したものをカウントするのではなく、未確定段階であるBits_Outstanding205を監視することでCABAC符号量を監視する。CABACは、確率テーブルにより符号値が決定されるが、確立テーブルの状態により符号値が確定せずにBits_Outstanding205にカウントされる。そのため、符号量を知るためには符号値確定を待つ必要はなく、これを監視することで正確な符号量監視が行える。   In the present embodiment, in monitoring the code amount in CABAC, the CABAC code amount is monitored by monitoring Bits_Outstanding 205 which is an indeterminate stage, instead of counting those determined as code values. In CABAC, the code value is determined by the probability table, but the code value is not determined by the state of the establishment table and is counted in Bits_Outstanding205. Therefore, in order to know the code amount, there is no need to wait for the code value to be determined. By monitoring this, the code amount can be accurately monitored.

2値化データ書き替え制御部107は、符号量1MBの最大符号量を超えそうなときには、算術符号化の入力データである2値データを変更し、それ以降の算術符号化後の符号量を抑制する。算術符号化後の符号量は、入力時点で未知であるが入力データのbit量が少なければ、出力データのbit量も少なくなる。   The binary data rewrite control unit 107 changes binary data that is input data for arithmetic coding when the maximum code amount of 1 MB of code is likely to be exceeded, and changes the code amount after arithmetic coding thereafter. Suppress. The code amount after arithmetic coding is unknown at the time of input, but if the bit amount of input data is small, the bit amount of output data is also small.

図3は、図1の可変長符号化部100の前段にある図示しない量子化処理まで処理をさかのぼって値を変更する場合の構成例を示す図である。同図に示すように、量子化・2値化処理タイミング制御モジュール301は、図2に示したCABAC処理の区間再正規化(Renormalization)部201におけるRange判定モジュール202の判定結果から、それまでの発生符号量を算出し、1MBの符号量が最大符号量3200bitを超えそうになった場合、2値化処理モジュール303で2値化された2値化データを、より小さい値に変更する。また、このとき2値化処理の入力である量子化データまでさかのぼって変更することで算術符号化後の発生符号量を抑制する。このとき、まだ2値化されていないすべての量子化係数または、一部の量子化係数を強制的に小さくすることで、符号量を抑制できる。ここでは、再度、量子化または、再度、2値化をおこなうのではなく、量子化係数に対して直接切り捨て、丸めなどを行う。また、量子化係数もあらかじめ定められた値に書き替えてしまうとしてもよい。   FIG. 3 is a diagram illustrating a configuration example in the case of changing the value by going back to the quantization process (not shown) in the previous stage of the variable length coding unit 100 in FIG. As shown in the figure, the quantization / binarization processing timing control module 301 is configured so that the determination result of the range determination module 202 in the interval renormalization unit 201 of the CABAC processing shown in FIG. The generated code amount is calculated, and when the 1 MB code amount is likely to exceed the maximum code amount 3200 bits, the binarized data binarized by the binarization processing module 303 is changed to a smaller value. At this time, the amount of generated code after arithmetic coding is suppressed by retroactively changing to the quantized data that is the input of the binarization processing. At this time, the code amount can be suppressed by forcibly reducing all the quantized coefficients that have not yet been binarized or a part of the quantized coefficients. Here, quantization or binarization is not performed again, but the quantization coefficient is directly rounded down or rounded. Also, the quantization coefficient may be rewritten to a predetermined value.

また、一定のシンタックスを入力した時点での符号量を計測し、計測された符号量が一定値以上のときに以降の量子化データまたは2値データの変更を行うことも可能である。図4は、一定のシンタックスを入力した時点で、1MB中の2値データの出力済みデータの割合Bと、1MB分の最大符号量に占める発生符号量の割合Aとを比較して2値化データの変更を判定する一例を示す図である。例えば、同図左側に示すように、2値データバッファから一定のシンタックスsyntaxを先頭として、輝度DC、輝度ACが出力されたとする。この出力データの割合Bが1MB分の2値化データのbit量の50%であり、1MB分の最大符号量に対してそれらの算術符号化で発生した符号量の割合Aが75%であったとする。このとき、2値化データ書き替え制御部107は、(A−B)を計算し、(A−B)の値が所定の閾値を超える場合には、色差DC以降の2値化データを変更するよう判定するとしてもよい。また、2値化データ書き替え制御部107は、前述のように、一定数のシンタックス要素を入力した時点で、1MB分の発生符号量が最大符号量を超えると判断したとき、以降の2値化を行わず、既定値に置き換えることで2値化処理を省略するとしてもよい。その際、図3に示したように、量子化と2値化のタイミングを制御することで、不要な量子化および2値化をせずに書き替えを行うことができる。   It is also possible to measure the amount of code at the time when a certain syntax is input, and to change subsequent quantized data or binary data when the measured amount of code is equal to or greater than a certain value. Fig. 4 shows binary data by comparing the ratio B of the output data of binary data in 1MB with the ratio A of the generated code quantity in the maximum code quantity for 1MB when a certain syntax is input. It is a figure which shows an example which determines the change of digitization data. For example, as shown on the left side of the figure, it is assumed that luminance DC and luminance AC are output from the binary data buffer with a certain syntax syntax as the head. The ratio B of this output data is 50% of the bit amount of the binarized data for 1 MB, and the ratio A of the code amount generated by the arithmetic coding is 75% with respect to the maximum code amount for 1 MB. Suppose. At this time, the binarized data rewrite control unit 107 calculates (A−B), and changes the binarized data after the color difference DC when the value of (A−B) exceeds a predetermined threshold. It may be determined to do so. Further, as described above, when the binarized data rewrite control unit 107 determines that the generated code amount for 1 MB exceeds the maximum code amount when a certain number of syntax elements are input, the following 2 The binarization process may be omitted by replacing with a default value without performing the binarization. At that time, as shown in FIG. 3, by controlling the timing of quantization and binarization, rewriting can be performed without unnecessary quantization and binarization.

2値データのシンタックス要素には、MBタイプ、動きベクトル、量子化ステップ、画素情報などがある。ここで述べる画素情報とは、符号化処理における予測画像と原画像の差分情報を指す。この画素情報は、輝度DC、輝度AC、色差DC及び色差ACからなる。算術符号化後の符号量は、画素情報及び動きベクトルが支配的である。そのため、画素情報及び動きベクトルを変更することで、算術符号化後の符号量を抑制することができる。なお、2値化データ書き替え部103及び量子化・2値化処理タイミング制御モジュール301は、算術符号化のBypassと呼ばれる圧縮を行わない処理の対象である2値データを変更しないとしてもよい。係数のsuffixは指数ゴロム符号化され、CABACされない。これをbypassという。もちろん、場合に応じて、算術符号化のbypassと呼ばれる2値データを変更してもよいことは言うまでもない。場合に応じてとは、例えば、大幅な符号量削減が必要であり、ある係数をprefixもsuffixも両方とも0にしてしまうような場合である。   The binary data syntax elements include MB type, motion vector, quantization step, pixel information, and the like. The pixel information described here indicates difference information between the predicted image and the original image in the encoding process. This pixel information includes luminance DC, luminance AC, color difference DC, and color difference AC. Pixel information and motion vectors are dominant in the amount of code after arithmetic coding. Therefore, the code amount after arithmetic coding can be suppressed by changing the pixel information and the motion vector. Note that the binarized data rewriting unit 103 and the quantization / binarization processing timing control module 301 may not change the binary data that is the target of processing that does not perform compression called “Bypass” of arithmetic coding. The coefficient suffix is exponential Golomb encoded and not CABAC. This is called bypass. Of course, it goes without saying that binary data called bypass of arithmetic coding may be changed according to circumstances. Depending on the case, for example, a large amount of code needs to be reduced, and a certain coefficient is set to 0 for both prefix and suffix.

また、上記のようにして画素情報を変更すると画質劣化を引き起こすので、その影響を最小限に抑えるために、画素情報の変更対象に優先順位を設ける。図5(a)及び(b)は、図4に示した2値データバッファから算術符号化モジュールに入力される画像情報のシンタックス要素の順と、各シンタックス要素に対する2値化データの変更の優先順位を示す図である。図5(a)に示すように、各MBのシンタックス要素は、まず、(1)輝度DCの2値データ、(2)輝度ACの2値データ、(3)色差DCの2値データ及び(4)色差ACの2値データの順に算術符号化モジュールに入力される。これに対し、図5(b)に示すように、画素情報の2値化データの変更対象に、(1)色差のAC成分、(2)輝度のAC成分、(3)色差のDC成分、(4)輝度のDC成分の順に優先順位をつけ変更する。すなわち、DCの2値データはなるべく保護するようにする。そして、優先順位の低い画素情報、例えば、(1)色差成分のAC成分などでは、切り捨てなど大きく値を変更し、優先順位の高い画素情報、例えば、(4)輝度のDC成分などでは、値を変更しないかまたは変更幅を小さくして値を変更する。上記の成分ごとの優先順位と値の変更幅とを組み合わせて変更することで、画質劣化をより目立たなくすることができる。ここでは、画像符号化情報の特徴量などから、変更する周波数成分を選択し変更することも可能である。   In addition, changing the pixel information as described above causes image quality degradation. Therefore, in order to minimize the influence, priority is provided to the pixel information change target. 5A and 5B show the order of the syntax elements of the image information input from the binary data buffer shown in FIG. 4 to the arithmetic coding module, and the change of the binary data for each syntax element. It is a figure which shows the priority. As shown in FIG. 5A, the syntax elements of each MB are (1) binary data of luminance DC, (2) binary data of luminance AC, (3) binary data of color difference DC, and (4) Binary data of color difference AC is input to the arithmetic coding module in order. On the other hand, as shown in FIG. 5 (b), the change target of the binarized data of the pixel information includes (1) an AC component of color difference, (2) an AC component of luminance, (3) a DC component of color difference, (4) Prioritize and change the order of luminance DC components. That is, DC binary data is protected as much as possible. For pixel information with a low priority, for example, (1) AC component of the color difference component or the like, the value is greatly changed such as truncation, and for pixel information with a high priority, for example, (4) a luminance DC component, etc. Do not change the value or change the value by reducing the change width. By changing the priority order and the value change range for each component in combination, image quality deterioration can be made less noticeable. Here, it is also possible to select and change the frequency component to be changed from the feature amount of the image coding information.

優先度の一例としては、優先度の高いものを画素情報の低域成分、優先度の低いものを画素情報の高域成分とする。   As an example of the priority, a high priority component is a low frequency component of pixel information, and a low priority component is a high frequency component of pixel information.

同様に、量子化係数の値の変更も、このようにシンタックス要素ごとに優先順位を設けて行うことができる。   Similarly, the value of the quantization coefficient can also be changed in this manner by setting priorities for each syntax element.

上記の優先順位に加えて、2値化データ書き替え制御部107は、MB内のブロックの位置に応じて2値データの変更に対する優先順位をつける。   In addition to the above priorities, the binarized data rewrite control unit 107 assigns priorities to binary data changes according to the positions of blocks in the MB.

図6は、面内予測の場合で、MB内で2値化データの書き替えからなるべく保護されるべき4×4画素のブロックの位置を輝度ACと色差ACとについて示す図である。面内予測では、16×16画素からなるMBを4×4画素からなる16個の小ブロックまたは、8×8画素からなる4個の小ブロックに分割して予測処理をしている。   FIG. 6 is a diagram showing the position of a 4 × 4 pixel block to be protected as much as possible from rewriting binary data in the MB in the case of in-plane prediction, with respect to luminance AC and color difference AC. In the in-plane prediction, MB is made up of 16 × 16 pixels and divided into 16 small blocks of 4 × 4 pixels or 4 small blocks of 8 × 8 pixels for prediction processing.

変更対象のMBは、隣接する他のMBから参照される可能性がある。他のMB は、H.264の復号時に、現在、変更対象となっているMBの画素情報を参照するため、参照部分の画素情報の2値データが変更されていると、他のMBの復号時に画質劣化が伝播する可能性がある。すなわち、変更対象のMBの右端の1行と最下段の1列の画素情報が参照されるため、その画素を含むブロックの画素情報の変更はAC成分であっても可能な限り行わない。   The MB to be changed may be referenced from other adjacent MBs. Since other MBs refer to the pixel information of the MB currently being changed when decoding H.264, if the binary data of the pixel information in the reference portion is changed, the other MBs are decoded. Sometimes image quality degradation can propagate. That is, since the pixel information of the rightmost row and the lowest column of the MB to be changed is referred to, the pixel information of the block including the pixel is not changed as much as possible even for the AC component.

具体的には、インター予測、イントラ4×4予測では、図6に示すように、輝度ACのブロック番号5,7,10,11,13,14,15の位置の画素情報を極力変更しない。また、色差ACのブロック番号1,2,3の位置の画素情報を極力変更しないようにする。同様に、イントラ8×8、イントラ16×16においてもMBの右端の1行と最下段の1列を含む小ブロックの画素情報を変更しない。   Specifically, in inter prediction and intra 4 × 4 prediction, as shown in FIG. 6, the pixel information at the positions of block numbers 5, 7, 10, 11, 13, 14, and 15 of luminance AC is not changed as much as possible. Further, the pixel information at the positions of the block numbers 1, 2, and 3 of the color difference AC is not changed as much as possible. Similarly, in the intra 8 × 8 and the intra 16 × 16, the pixel information of the small block including one row at the right end of the MB and one column at the bottom is not changed.

ただし、あらかじめDCT前にどこが参照されるかの情報を取得し保持しておき、ブロック番号5、7、13、15が参照されない場合は、係数変更候補に加える。同様にブロック番号10,11,14,15も参照されない場合は、係数変更候補に加える。色差ACの4x4のブロックでも同様に係数変更候補を変更する。   However, information on where to be referred to is acquired and held in advance before DCT, and if block numbers 5, 7, 13, and 15 are not referenced, they are added to the coefficient change candidates. Similarly, when block numbers 10, 11, 14, and 15 are not referred to, they are added to the coefficient change candidates. The coefficient change candidate is similarly changed in the 4 × 4 block of the color difference AC.

なお、図4で示した例では、2値化データ書き替え制御部107は2値データバッファから出力された2値データの割合Bと、出力された2値データを算術符号化して発生した符号量の1MB最大符号量に対する割合Aとを比較して、AとBとの差分が、あらかじめ定めた閾値を超えた場合に2値化データを変更すると判断した。しかし、本発明は、これに限定されず、他の方法に従って2値化データの変更を判断してもよい。例えば、CABACによる発生符号量の時間変化と、それに対応する2値化データの変更幅とを示したモデル曲線をあらかじめ算出しておき、一定量の2値化データに対する発生符号量の時間変化から2値化データの変更の要否及び変更の程度を判定するようにしてもよい。   In the example shown in FIG. 4, the binarized data rewrite control unit 107 generates a ratio B of binary data output from the binary data buffer and a code generated by arithmetically encoding the output binary data. The ratio A of the amount to the 1 MB maximum code amount is compared, and it is determined that the binarized data is changed when the difference between A and B exceeds a predetermined threshold. However, the present invention is not limited to this, and the change of the binarized data may be determined according to another method. For example, a model curve indicating the time change of the generated code amount by CABAC and the change width of the corresponding binarized data is calculated in advance, and from the time change of the generated code amount for a certain amount of binarized data. The necessity of changing the binarized data and the degree of change may be determined.

図7は、算術符号化対象のMBにおいて、算術符号化済みの符号量からその後の符号量の増加をモデル化された増加曲線を用いて予測する方法を示す図である。図7に示すモデル曲線(1)〜(4)は、実データより計測した符号量の増加曲線からモデル化された増加曲線とする。この予測により、規格最大符号量を超えることが判明した場合に前記手法により2値データを変更する。   FIG. 7 is a diagram illustrating a method of predicting an increase in the subsequent code amount from a code amount that has been arithmetically encoded using a modeled increase curve in the MB that is the target of arithmetic encoding. The model curves (1) to (4) shown in FIG. 7 are assumed to be an increase curve modeled from an increase curve of the code amount measured from actual data. If it is determined by this prediction that the standard maximum code amount is exceeded, the binary data is changed by the above method.

すなわち、一定シンタックス要素の算術符号化が終了した時点で、その時点の発生符号量を図7に示すようなモデル曲線と比較する。具体的には、syntaxと輝度DCまたは、syntaxと輝度DCと輝度ACの先頭の1〜3サブブロックに対する算術符号化結果から予測する。これにより、発生符号量の増加率が最も近似するモデル曲線に応じて、2値化データのデータ変更量を決める。例えば、モデル曲線(1)の場合、輝度DCの算術符号化を開始した直後から急激に発生符号量が増加し、符号量危険域に達している。従って、このMBでは、1MBの規格最大符号量を超える超過符号量が大きいと推測できる。そこで、画素情報の変更量を大きく設定する。一例として、符号量危険域に達した以降の画素情報の係数を0にするなどの変更が可能である。逆にモデル(3)の場合などは、1MBの規格最大符号量を超える超過符号量が小さいと推測できるので、画素情報の変更量を小さく設定する。   That is, when the arithmetic encoding of the constant syntax element is completed, the generated code amount at that time is compared with a model curve as shown in FIG. More specifically, the prediction is made from the arithmetic and coding results for the first 1 to 3 sub-blocks of syntax and luminance DC or syntax, luminance DC and luminance AC. Thereby, the data change amount of the binarized data is determined according to the model curve that most closely approximates the increase rate of the generated code amount. For example, in the case of the model curve (1), the generated code amount suddenly increases immediately after the start of arithmetic coding of the luminance DC, and reaches the code amount dangerous area. Accordingly, in this MB, it can be estimated that the excess code amount exceeding the standard maximum code amount of 1 MB is large. Therefore, a large change amount of pixel information is set. As an example, it is possible to change the coefficient of pixel information after reaching the code amount risk area to 0 or the like. Conversely, in the case of model (3) and the like, it can be estimated that the excess code amount exceeding the standard maximum code amount of 1 MB is small, so the change amount of the pixel information is set small.

通常、符号量制御は、量子化パラメータの変更などにより行われるが、本発明では、量子化実行後の2値データを変更し符号量を制御する。算術符号化時には、量子化パラメータが既知であるので、荒い量子化の際には、2値データの変更をおこなっても画質劣化が目立ち難いことを利用し、量子化パラメータに応じて2値データの変更量を決定することも可能である。   Normally, the code amount control is performed by changing a quantization parameter or the like, but in the present invention, the binary data after execution of quantization is changed to control the code amount. Since the quantization parameter is known at the time of arithmetic coding, the fact that deterioration in image quality is not noticeable even if the binary data is changed is used at the time of rough quantization, and the binary data according to the quantization parameter. It is also possible to determine the amount of change.

2値データを変更する際に、画素情報ではcoeff_abs_level_minus1の値、動きベクトルではmvdの値を変更する。その際に、変更される値がDCT後の係数であるので、符号量制御量に応じて高域成分を優先的に小さくする。なお、2値化データの値を変更する際に、所望の位置のデータを書き替えるために、2値バッファ102にアドレスを割り当てて、アドレスと画素情報の位置とが対応するように格納するようにしてもよい。図8(a)は、2値データの変更対象となるMB内の4×4画素ブロックの画素情報の位置とアドレスとを対応付けて格納する2値バッファ102の状態を示す図である。ここでは、4×4画素ブロックの面間予測の場合を例として、18ビット1ワードのメモリ領域にブロックインデックスごとにsyntaxごとに1ワードを割り当てて格納する。図8(b)は、図示しない読み替えメモリに格納されている4×4画素ブロックの書き替え用2値化データの一例を示す図である。図8(a)に示すように、2値バッファ102の左端の欄にはsyntaxが示されており、下に向かって、block_index, coded_block_flag, last_significant_flag, coeff_abs_level_minus1_0〜coeff_abs_level_minus1_15の順に2値化データが格納されている。block_indexは、MB内のどのブロックの2値化データであるかを示しており、最上段のblock_indexは0で、図6に示したブロック番号0のブロックであることがわかる。このように、block_indexをデータに付与することで、以下に格納されている2値化データがどのブロックの係数位置であるかを管理することができる。coded_block_flagは、符号化ブロックフラグであり、 last_significant_flagは、最終有意係数フラグである。そして、以下のcoeff_abs_level_minus1は、H.264規格のマクロブロックに関する変数の1要素であり、mvdと同様に2値データを変更することができる。coeff_abs_level_minus1は、量子化後の予測誤差の絶対値から1を引いた値を意味する。coeff_abs_level_minus1では、0-14までの値のときprefixのみとなり、coeff_abs_level_minus1が15以上の値となるとき0-14までがprefixで15以上がsuffixとなる点がmvdと異なる。例えば、coeff_abs_level_minus1=20のとき、prefix=14, suffix= 20 - 14= 6と表され、prefix=14はCABACされる。この場合も、prefix とsuffix との両方を変更する。coeff_abs_level_minus1_0〜coeff_abs_level_minus1_15には当該ブロックの各画素の係数情報である2値化データが格納される。図8(a)に示すように2値化データを2値バッファ102に格納することで、係数書き替えが起きたときに、該当アドレスの代わりに読み替えアドレスより読み出すことにより、所望のデータ位置の書き替えを効率的におこなうことが可能となる。   When changing binary data, the value of coeff_abs_level_minus1 is changed for pixel information, and the value of mvd is changed for a motion vector. At this time, since the value to be changed is a coefficient after DCT, the high frequency component is preferentially reduced according to the code amount control amount. When changing the value of the binarized data, in order to rewrite the data at a desired position, an address is assigned to the binary buffer 102 and stored so that the address corresponds to the position of the pixel information. It may be. FIG. 8A is a diagram illustrating a state of the binary buffer 102 that stores the position and address of the pixel information of the 4 × 4 pixel block in the MB to be changed of the binary data in association with each other. Here, taking the case of inter-plane prediction of 4 × 4 pixel blocks as an example, one word is allocated and stored for each block index in a memory area of 18 bits and 1 word. FIG. 8B is a diagram showing an example of binarized data for rewriting of a 4 × 4 pixel block stored in a rewriting memory (not shown). As shown in FIG. 8A, syntax is shown in the leftmost column of the binary buffer 102, and binary data is stored in the order of block_index, coded_block_flag, last_significant_flag, coeff_abs_level_minus1_0 to coeff_abs_level_minus1_15. ing. block_index indicates which block in the MB is the binarized data, and the uppermost block_index is 0, which indicates that the block is block number 0 shown in FIG. In this way, by assigning block_index to data, it is possible to manage which block's coefficient position is the binarized data stored below. coded_block_flag is a coded block flag, and last_significant_flag is a final significant coefficient flag. The following coeff_abs_level_minus1 is one element of a variable related to a macroblock of the H.264 standard, and binary data can be changed in the same manner as mvd. coeff_abs_level_minus1 means a value obtained by subtracting 1 from the absolute value of the prediction error after quantization. coeff_abs_level_minus1 is different from mvd in that it is only a prefix when the value is 0-14, and when coeff_abs_level_minus1 is a value greater than 15, the prefix is 0-14 and the suffix is 15 or greater. For example, when coeff_abs_level_minus1 = 20, prefix = 14, suffix = 20−14 = 6, and prefix = 14 is CABAC. Again, both prefix and suffix are changed. Coeff_abs_level_minus1_0 to coeff_abs_level_minus1_15 store binarized data that is coefficient information of each pixel of the block. As shown in FIG. 8A, by storing the binarized data in the binary buffer 102, when coefficient rewriting occurs, by reading from the rewriting address instead of the corresponding address, the desired data position can be obtained. Rewriting can be performed efficiently.

図8(b)は、図8(a)に示された2値化データを、算術符号化による発生符号量を低減するために、4×4画素のブロックごと、係数を変更するようあらかじめ定められた2値化データの係数列を示している。同図に示すように、読み替えメモリにはcoeff_abs_level_minus1_0〜coeff_abs_level_minus1_15に対して、係数0は格納されていない。係数を0とするとlast_significant_coeff_flagの変更が必要となるのでceff_abs_level_minus1を1以上に変更し、last_significant_coeff_flagの変更を生じないようにする。このようにすることで、変更処理にかかるオーバーヘッドを軽減できるという効果がある。   In FIG. 8B, the binarized data shown in FIG. 8A is determined in advance to change the coefficient for each block of 4 × 4 pixels in order to reduce the amount of generated code by arithmetic coding. The coefficient sequence of the binarized data obtained is shown. As shown in the figure, the coefficient 0 is not stored for coeff_abs_level_minus1_0 to coeff_abs_level_minus1_15 in the replacement memory. If the coefficient is 0, it is necessary to change the last_significant_coeff_flag, so ceff_abs_level_minus1 is changed to 1 or more so that the last_significant_coeff_flag does not change. By doing in this way, there is an effect that the overhead concerning change processing can be reduced.

また、mvdはH.264規格のMBに関する変数の1要素を示している。これは、隣接MBの動きベクトル(MV)の中央値であるpmvと符号化対象MBのMVとの差を表す。すなわち、mvd(x, y) = MV(x, y) − pmv(x, y)となる。   Further, mvd indicates one element of a variable related to the MB of the H.264 standard. This represents the difference between pmv, which is the median of motion vectors (MV) of adjacent MBs, and the MV of the encoding target MB. That is, mvd (x, y) = MV (x, y) −pmv (x, y).

このmvdを算術符号化する前処理として、まず、mvdを2値化する。算術符号化対象であるprefix部と算術符号化対象でないsuffix部とでは2値化の方法が異なる。すなわち、suffix部は圧縮されないことになっている。このため、本実施の形態では、このsuffix部を削除することにより、MVの符号量を削減することが可能となる。例えば、MVの値が9までのときprefixとし、それ以降をsuffixとする。このとき、
(例1)mvd=8のときprefixを8として符号化する。
(例2)mvd=17のときprefixを9、suffixを17-9=8として符号化する。
As pre-processing for arithmetic coding of mvd, first, mvd is binarized. The binarization method is different between the prefix part which is the object of arithmetic coding and the suffix part which is not the object of arithmetic coding. That is, the suffix part is not compressed. For this reason, in this embodiment, it is possible to reduce the MV code amount by deleting the suffix part. For example, when the value of MV is up to 9, the prefix is set, and after that the suffix is set. At this time,
(Example 1) When mvd = 8, encoding is performed with a prefix of 8.
(Example 2) When mvd = 17, encoding is performed with a prefix of 9 and a suffix of 17-9 = 8.

上記のように、例1はmvdが圧縮されるが、例2ではsuffix部である8に関しては圧縮されない。従って、このsuffix部を削除することにより、算術符号化後の符号量を削減することができる。例2の場合には、suffix部である8を7に変更するとしてもよい。また、例1の場合でも、大幅に符号量を削減する必要がある場合にはprefixを0に変更するとしてもよい。   As described above, in Example 1, mvd is compressed, but in Example 2, the suffix part 8 is not compressed. Therefore, by deleting this suffix part, the amount of code after arithmetic coding can be reduced. In the case of Example 2, the suffix part 8 may be changed to 7. Even in the case of Example 1, the prefix may be changed to 0 when it is necessary to greatly reduce the code amount.

なお、上記実施の形態では、画素情報を表す2値化データの変更に対して(1)色差のAC成分、(2)輝度のAC成分、(3)色差のDC成分、(4)輝度のDC成分の順に優先順位つけるとしたが、本発明はこの方法に限定されず、まず、色差を表す2値化データを変更し、次に、輝度を表す2値化データを変更するような優先順位を設定してもよい。例えば、(1)色差のAC成分、(2)色差のDC成分、(3)輝度のAC成分、(4)輝度のDC成分の順となるようにしてもよい。   In the above-described embodiment, (1) the color difference AC component, (2) the luminance AC component, (3) the color difference DC component, and (4) the luminance change for the binarized data representing the pixel information. Although priority is given in the order of DC components, the present invention is not limited to this method. First, the binarized data representing the color difference is changed, and then the binarized data representing the luminance is changed. A ranking may be set. For example, (1) color difference AC component, (2) color difference DC component, (3) luminance AC component, and (4) luminance DC component may be arranged in this order.

なお、ブロック図(図1、2、3など)の各機能ブロックは典型的には集積回路であるLSIとして実現される。これらは個別に1チップ化されても良いし、一部又は全てを含むように1チップ化されても良い。(例えばメモリ以外の機能ブロックが1チップ化されていても良い。)   Each functional block in the block diagrams (FIGS. 1, 2, 3, etc.) is typically realized as an LSI that is an integrated circuit. These may be individually made into one chip, or may be made into one chip so as to include a part or all of them. (For example, the functional blocks other than the memory may be integrated into one chip.)

ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。   The name used here is LSI, but it may also be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.

また、集積回路化の手法はLSIに限るものではなく、専用回路又は汎用プロセサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサー を利用しても良い。   Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. An FPGA (Field Programmable Gate Array) that can be programmed after manufacturing the LSI or a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.

さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適応等が可能性としてありえる。   Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.

また、各機能ブロックのうち、符号化または復号化の対象となるデータを格納する手段だけ1チップ化せずに別構成としても良い。   In addition, among the functional blocks, only the means for storing the data to be encoded or decoded may be configured separately instead of being integrated into one chip.

本発明に係る画像情報符号化装置は、通信機能を備えるパーソナルコンピュータ、PDA、ディジタル放送の放送局および携帯電話機などに備えられる画像情報符号化装置として有用である。   The image information encoding apparatus according to the present invention is useful as an image information encoding apparatus provided in a personal computer, a PDA, a digital broadcast station, a mobile phone, and the like having a communication function.

本実施の形態の可変長符号化部の構成を示すブロック図である。It is a block diagram which shows the structure of the variable length encoding part of this Embodiment. 図1に破線で囲んで示したコンテキスト計算部及び算術符号化部の詳細な構成である算術符号化モジュールを示すブロック図である。It is a block diagram which shows the arithmetic coding module which is a detailed structure of the context calculation part enclosed with the broken line in FIG. 1, and the arithmetic coding part. 図1の可変長符号化部の前段にある図示しない量子化処理まで処理をさかのぼって値を変更する場合の構成例を示す図である。It is a figure which shows the structural example in the case of changing a value retroactively to the quantization process which is not shown in the front | former stage of the variable length encoding part of FIG. 一定のシンタックスを入力した時点で、1MB中の2値データの出力済みデータの割合Bと、1MB分の最大符号量に占める発生符号量の割合Aとを比較して2値化データの変更を判定する一例を示す図である。When a certain syntax is input, change the binarized data by comparing the ratio B of output data of binary data in 1MB with the ratio A of the generated code amount in the maximum code amount for 1MB. It is a figure which shows an example which determines. (a)及び(b)は、図4に示した2値データバッファから算術符号化モジュールに入力される画像情報のシンタックス要素の順と、各シンタックス要素に対する2値化データの変更の優先順位を示す図である。(A) and (b) are the order of the syntax elements of the image information inputted from the binary data buffer shown in FIG. 4 to the arithmetic coding module, and the priority of the change of the binary data for each syntax element. It is a figure which shows a ranking. 面内予測の場合で、MB内で2値化データの書き替えからなるべく保護されるべき4×4画素のブロックの位置を輝度ACと色差ACとについて示す図である。In the case of in-plane prediction, it is a figure which shows the position of the block of 4x4 pixel which should be protected as much as possible from rewriting of binarized data in MB regarding luminance AC and color difference AC. 算術符号化対象のMBにおいて、算術符号化済みの符号量からその後の符号量の増加をモデル化された増加曲線を用いて予測する方法を示す図である。It is a figure which shows the method of predicting the increase of the subsequent code amount from the code amount already arithmetically encoded using the modeled increase curve in the MB to be arithmetically encoded. (a)は、2値データの変更対象となるMB内の4×4画素ブロックの画素情報の位置とアドレスとを対応付けて格納する2値バッファの状態を示す図である。(b)は、図示しない読み替えメモリに格納されている4×4画素ブロックの書き替え用2値化データの一例を示す図である。(A) is a figure which shows the state of the binary buffer which matches and memorize | stores the position and address of the pixel information of 4x4 pixel block in MB which becomes the change object of binary data. (B) is a figure which shows an example of the binarization data for rewriting of the 4x4 pixel block stored in the rewriting memory which is not shown in figure. CABACによる発生符号量が規格最大符号量を超えた場合の従来の対応処理の一例を示す図である。It is a figure which shows an example of the conventional response processing when the generated code amount by CABAC exceeds the standard maximum code amount.

符号の説明Explanation of symbols

100 可変長符号化部
101 2値化処理部
102 2値バッファ
103 2値化データ書き替え部
104 コンテキスト計算部
105 算術符号化部
106 符号量予測部
107 2値化データ書き替え制御部
108 バッファ
200 CABAC(Encode Decision)
201 区間再正規化(Renormalization)部
202 Range判定モジュール
203 符号値=0を出力するモジュール
204 符号値=1を出力するモジュール
205 Bits_Outstanding
206 符号値出力処理部
207 区間/確率テーブル更新部
301 量子化・2値化処理タイミング制御モジュール
302 量子化モジュール
303 2値化処理モジュール
DESCRIPTION OF SYMBOLS 100 Variable length coding part 101 Binary processing part 102 Binary buffer 103 Binary data rewriting part 104 Context calculation part 105 Arithmetic coding part 106 Code amount prediction part 107 Binary data rewriting control part 108 Buffer 200 CABAC (Encode Decision)
201 Section Renormalization Unit 202 Range Determination Module 203 Module that Outputs Code Value = 0 204 Module that Outputs Code Value = 1 205 Bits_Outstanding
206 Code value output processing unit 207 Interval / probability table update unit 301 Quantization / binarization processing timing control module 302 Quantization module 303 Binary processing module

Claims (14)

2値化データを算術符号化して符号列を出力する画像情報符号化装置であって、
動画像に関するデータを量子化後、2値化されたデータを算術符号化する算術符号化手段と、
前記算術符号化手段による算術符号化データ中で、値が確定したビット数と、値が確定しない桁位置とを計数することにより、発生符号量を算出する発生符号量算出手段と、
所定単位の画像データに対して算出された発生符号量から、一定の画像を算術符号化したとき、その画像に対してあらかじめ定められた発生符号量の上限値を超えるか否かを予測する符号量予測手段と、
前記上限値を超えると予測される場合、前記2値化データを、元の値よりビット量の少ない値に書き替える書き替え手段と
を備える画像情報符号化装置。
An image information encoding apparatus that arithmetically encodes binary data and outputs a code string,
Arithmetic encoding means for arithmetically encoding binarized data after quantizing the data relating to the moving image;
In the arithmetic encoded data by the arithmetic encoding means, the generated code amount calculating means for calculating the generated code amount by counting the number of bits whose value is determined and the digit position where the value is not determined;
A code that predicts whether or not a predetermined image upper limit of the generated code amount is exceeded when a certain image is arithmetically encoded from the generated code amount calculated for the predetermined unit of image data Quantity prediction means;
An image information encoding device comprising: rewriting means for rewriting the binarized data to a value having a smaller bit amount than the original value when predicted to exceed the upper limit value.
前記書き替え手段は、前記2値化データに加えてさらに、前記2値化前の量子化データを書き替える
請求項1記載の画像情報符号化装置。
The image information encoding apparatus according to claim 1, wherein the rewriting means further rewrites the quantized data before binarization in addition to the binarized data.
前記書き替え手段は、画素の輝度及び色差を表す画素情報の2値化データを変更する
請求項1記載の画像情報符号化装置。
The image information encoding apparatus according to claim 1, wherein the rewriting unit changes binarized data of pixel information representing luminance and color difference of a pixel.
前記書き替え手段は、画素の輝度及び色差を表す画素情報の2値化データに加えてさらに、前記画素情報の前記2値化前の量子化データを書き替える
請求項1記載の画像情報符号化装置。
The image information encoding according to claim 1, wherein the rewriting means rewrites the quantized data before the binarization of the pixel information in addition to the binarized data of the pixel information representing the luminance and color difference of the pixel. apparatus.
前記書き替え手段は、画素の輝度及び色差を表す画素情報を書き替える際に、色差のAC、輝度のAC、色差のDC、輝度のDCの順に2値化データを書き替える
請求項1記載の画像情報符号化装置。
The rewriting unit rewrites the binarized data in the order of color difference AC, luminance AC, color difference DC, and luminance DC when rewriting the pixel information representing the luminance and color difference of the pixel. Image information encoding device.
前記書き替え手段は、面内符号化が行なわれた一定の画像中の画素について、他のブロックから参照される画素の画素情報を書き替えない
請求項3〜5のいずれか1項に記載の画像情報符号化装置。
The rewriting unit does not rewrite pixel information of a pixel referred to from another block for a pixel in a certain image that has been subjected to in-plane encoding. Image information encoding device.
前記算術符号化手段はCABACであって、
前記発生符号量算出手段は、CABAC中の確定した符号値を出力するモジュールと、符号値が確定しない桁のビット数をカウントするBITS OUTSTANDINGとの出力ビット数から現在の発生符号量を算出し、
前記符号量予測手段は、算出された出力ビット数に基づいて、CABACの対象であるマクロブロックについて発生する全符号量が前記上限値を超えるか否かを予測し、
前記書き替え手段は、CABACの入力である2値化データを書き替える
請求項1記載の画素画像情報符号化装置。
The arithmetic coding means is CABAC,
The generated code amount calculation means calculates the current generated code amount from the number of output bits of the module that outputs the determined code value in CABAC and the BITS OUTSTANDING that counts the number of bits of the digit for which the code value is not fixed,
The code amount prediction means predicts whether or not the total code amount generated for a macroblock that is a target of CABAC exceeds the upper limit value based on the calculated number of output bits,
The pixel image information encoding apparatus according to claim 1, wherein the rewriting means rewrites binary data that is an input of CABAC.
前記書き替え手段は、CABACの入力である2値化データおよび2値化前の量子化データを書き替える
請求項7記載の画像情報符号化装置。
The image recoding device according to claim 7, wherein the rewriting means rewrites the binarized data that is an input of CABAC and the quantized data before binarization.
前記画像情報符号化装置は、さらに、
シンタックス要素ごとに所定サイズのブロックごとにアドレスが割り当てられており、CABACに入力される2値化データを前記ブロックごとに格納する2値化データバッファと、
シンタックス要素ごとに前記サイズのブロックごとにビット量の少ない2値化データをあらかじめ格納している読み替えメモリとを備え、
前記書き換え手段は、書き替えの対象となっている前記ブロックの2値化データを、前記読み替えメモリに格納されている前記2値化データで前記ブロックごと書き替える
請求項8記載の画像情報符号化装置。
The image information encoding device further includes:
An address is assigned to each block of a predetermined size for each syntax element, and a binarized data buffer that stores binarized data input to CABAC for each block;
A replacement memory storing in advance binary data with a small bit amount for each block of the size for each syntax element;
9. The image information encoding according to claim 8, wherein the rewriting means rewrites the binarized data of the block to be rewritten with the binarized data stored in the reread memory for each block. apparatus.
前記書き替え手段は、前記画素情報以外に、動きベクトルの2値化データを書き替え、書き替えの対象が画素情報であればcoeff_abs_level_minus1の値を書き替え、書き替えの対象が動きベクトルであればmvdの値を書き替える
請求項7記載の画像情報符号化装置。
The rewriting means rewrites the binarized data of the motion vector in addition to the pixel information, and rewrites the value of coeff_abs_level_minus1 if the rewriting target is pixel information, and if the rewriting target is a motion vector The image information encoding device according to claim 7, wherein the value of mvd is rewritten.
前記書き替え手段は、前記画素情報の2値化データを変更する際にcoeff_abs_level_minus1で示される画素情報を、元の値よりビット量の少ない2値データに書き替え、しかも、last_significant_coeff_flagを変更しないようにする
請求項7記載の画像情報符号化装置。
The rewriting means rewrites the pixel information indicated by coeff_abs_level_minus1 to binary data having a smaller bit amount than the original value when changing the binary data of the pixel information, and does not change last_significant_coeff_flag. The image information encoding device according to claim 7.
2値化データを算術符号化して符号列を出力する画像情報符号化装置であって、
動画像に関するデータを量子化後、2値化されたデータを算術符号化しながら、値が確定したビット数と、値が確定しない桁位置とを計数し、前記計数結果に基づいて、一定の画像を算術符号化したときあらかじめ定められた発生符号量の上限値を超えるか否かを予測し、前記上限値を超えると予測される場合、前記2値化データを、元の値よりビット量の少ない値に書き替える
画像情報符号化装置。
An image information encoding apparatus that arithmetically encodes binary data and outputs a code string,
After quantizing the data relating to the moving image, the binary data is arithmetically encoded while counting the number of bits for which the value has been determined and the digit position where the value has not been determined. When the upper limit value of the generated code amount determined in advance is predicted when arithmetic coding is performed, and when it is predicted that the upper limit value is exceeded, the binarized data is converted into the bit amount of the original value. Image information encoding device that rewrites to a smaller value.
2値化データを算術符号化して符号列を出力する画像情報符号化方法であって、
動画像に関するデータを量子化後、2値化されたデータを算術符号化する算術符号化ステップと、
前記算術符号化中のデータのうち、値が確定したビット数と、値が確定しない桁とを計数することにより、発生符号量を算出する発生符号量算出ステップと、
所定単位の画像データに対して算出された発生符号量から、一定の画像を算術符号化したとき、その画像に対してあらかじめ定められた発生符号量の上限値を超えるか否かを予測する符号量予測ステップと、
前記上限値を超えると予測される場合、前記2値化データを、元の値よりビット量の少ない値に書き替える書き替えステップと
を含む画像情報符号化方法。
An image information encoding method for arithmetically encoding binary data and outputting a code string,
An arithmetic encoding step of arithmetically encoding the binarized data after quantizing the data relating to the moving image;
A generated code amount calculating step of calculating a generated code amount by counting the number of bits whose value is determined and the digit whose value is not determined, among the data being arithmetically encoded;
A code that predicts whether or not a predetermined image upper limit of the generated code amount is exceeded when a certain image is arithmetically encoded from the generated code amount calculated for the predetermined unit of image data A quantity prediction step;
A rewriting step of rewriting the binarized data to a value having a smaller bit amount than the original value when it is predicted that the upper limit value will be exceeded.
2値化データを算術符号化して符号列を出力する集積回路であって、
動画像に関するデータを量子化後、2値化されたデータを算術符号化する算術符号化手段と、
前記算術符号化手段による算術符号化データ中で、値が確定したビット数と、値が確定しない桁位置とを計数することにより、発生符号量を算出する発生符号量算出手段と、
所定単位の画像データに対して算出された発生符号量から、一定の画像を算術符号化したとき、その画像に対してあらかじめ定められた発生符号量の上限値を超えるか否かを予測する符号量予測手段と、
前記上限値を超えると予測される場合、前記2値化データを、元の値よりビット量の少ない値に書き替える書き替え手段と
を備える集積回路。
An integrated circuit that arithmetically encodes binary data and outputs a code string,
Arithmetic encoding means for arithmetically encoding binarized data after quantizing the data relating to the moving image;
In the arithmetic encoded data by the arithmetic encoding means, the generated code amount calculating means for calculating the generated code amount by counting the number of bits whose value is determined and the digit position where the value is not determined;
A code that predicts whether or not a predetermined image upper limit of the generated code amount is exceeded when a certain image is arithmetically encoded from the generated code amount calculated for the predetermined unit of image data Quantity prediction means;
An integrated circuit comprising: rewriting means for rewriting the binarized data to a value having a smaller bit amount than the original value when predicted to exceed the upper limit value.
JP2005331537A 2005-11-16 2005-11-16 Image information encoder Pending JP2007142637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005331537A JP2007142637A (en) 2005-11-16 2005-11-16 Image information encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005331537A JP2007142637A (en) 2005-11-16 2005-11-16 Image information encoder

Publications (1)

Publication Number Publication Date
JP2007142637A true JP2007142637A (en) 2007-06-07

Family

ID=38205004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005331537A Pending JP2007142637A (en) 2005-11-16 2005-11-16 Image information encoder

Country Status (1)

Country Link
JP (1) JP2007142637A (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007329551A (en) * 2006-06-06 2007-12-20 Matsushita Electric Ind Co Ltd Image encoder
JP2013093774A (en) * 2011-10-26 2013-05-16 Canon Inc Encoder and control method of the same
WO2013190796A1 (en) * 2012-06-22 2013-12-27 パナソニック株式会社 Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding and decoding device
CN105120277A (en) * 2011-06-24 2015-12-02 杜比国际公司 Method for encoding and decoding images, encoding and decoding device, and corresponding computer programs
US9445120B2 (en) 2011-04-12 2016-09-13 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US9456214B2 (en) 2011-08-03 2016-09-27 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9485518B2 (en) 2011-05-27 2016-11-01 Sun Patent Trust Decoding method and apparatus with candidate motion vectors
TWI561058B (en) * 2012-05-25 2016-12-01 Sun Patent Trust
TWI562613B (en) * 2012-03-26 2016-12-11 Jvc Kenwood Corp
TWI572149B (en) * 2011-01-12 2017-02-21 Sun Patent Trust An image coding method, an image decoding method, an image decoding apparatus, an image decoding apparatus, and an image coding / decoding apparatus
TWI573437B (en) * 2012-06-08 2017-03-01 Sun Patent Trust An image coding method, an image decoding method, an image decoding apparatus, an image decoding apparatus, and an image coding / decoding apparatus
US9609356B2 (en) 2011-05-31 2017-03-28 Sun Patent Trust Moving picture coding method and apparatus with candidate motion vectors
US9615107B2 (en) 2011-05-27 2017-04-04 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US9749623B2 (en) 2012-05-25 2017-08-29 Sun Patent Trust Moving picture coding method, moving picture decoding method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9826249B2 (en) 2011-05-24 2017-11-21 Velos Media, Llc Decoding method and apparatuses with candidate motion vectors
US9860541B2 (en) 2012-06-04 2018-01-02 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, and moving picture decoding apparatus
US9894352B2 (en) 2012-05-25 2018-02-13 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9900613B2 (en) 2011-05-31 2018-02-20 Sun Patent Trust Image coding and decoding system using candidate motion vectors
US10063862B2 (en) 2012-06-27 2018-08-28 Sun Patent Trust Image decoding method and image decoding apparatus for sample adaptive offset information
US10382784B2 (en) 2011-03-07 2019-08-13 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US10887585B2 (en) 2011-06-30 2021-01-05 Sun Patent Trust Image decoding method, image coding method, image decoding apparatus, image coding apparatus, and image coding and decoding apparatus
US11218708B2 (en) 2011-10-19 2022-01-04 Sun Patent Trust Picture decoding method for decoding using a merging candidate selected from a first merging candidate derived using a first derivation process and a second merging candidate derived using a second derivation process
RU2815733C1 (en) * 2012-06-22 2024-03-21 Сан Пэтент Траст Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding and decoding device

Cited By (105)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007329551A (en) * 2006-06-06 2007-12-20 Matsushita Electric Ind Co Ltd Image encoder
JP4555257B2 (en) * 2006-06-06 2010-09-29 パナソニック株式会社 Image encoding device
US8102911B2 (en) 2006-06-06 2012-01-24 Panasonic Corporation Picture coding device
US10638134B2 (en) 2011-01-12 2020-04-28 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US9681137B2 (en) 2011-01-12 2017-06-13 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US11770536B2 (en) 2011-01-12 2023-09-26 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US10015494B2 (en) 2011-01-12 2018-07-03 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US11350096B2 (en) 2011-01-12 2022-05-31 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
TWI572149B (en) * 2011-01-12 2017-02-21 Sun Patent Trust An image coding method, an image decoding method, an image decoding apparatus, an image decoding apparatus, and an image coding / decoding apparatus
US10681376B2 (en) 2011-03-07 2020-06-09 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US11736723B2 (en) 2011-03-07 2023-08-22 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US10382784B2 (en) 2011-03-07 2019-08-13 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US11343535B2 (en) 2011-03-07 2022-05-24 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US11356694B2 (en) 2011-04-12 2022-06-07 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US10178404B2 (en) 2011-04-12 2019-01-08 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US10536712B2 (en) 2011-04-12 2020-01-14 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US10609406B2 (en) 2011-04-12 2020-03-31 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US9445120B2 (en) 2011-04-12 2016-09-13 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US10382774B2 (en) 2011-04-12 2019-08-13 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US9872036B2 (en) 2011-04-12 2018-01-16 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US11012705B2 (en) 2011-04-12 2021-05-18 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US11917186B2 (en) 2011-04-12 2024-02-27 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US9826249B2 (en) 2011-05-24 2017-11-21 Velos Media, Llc Decoding method and apparatuses with candidate motion vectors
US11228784B2 (en) 2011-05-24 2022-01-18 Velos Media, Llc Decoding method and apparatuses with candidate motion vectors
US10484708B2 (en) 2011-05-24 2019-11-19 Velos Media, Llc Decoding method and apparatuses with candidate motion vectors
US10129564B2 (en) 2011-05-24 2018-11-13 Velos Media, LCC Decoding method and apparatuses with candidate motion vectors
US9485518B2 (en) 2011-05-27 2016-11-01 Sun Patent Trust Decoding method and apparatus with candidate motion vectors
US10708598B2 (en) 2011-05-27 2020-07-07 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US9838695B2 (en) 2011-05-27 2017-12-05 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US10721474B2 (en) 2011-05-27 2020-07-21 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US9723322B2 (en) 2011-05-27 2017-08-01 Sun Patent Trust Decoding method and apparatus with candidate motion vectors
US9883199B2 (en) 2011-05-27 2018-01-30 Sun Patent Trust Coding method and apparatus with candidate motion vectors
TWI580257B (en) * 2011-05-27 2017-04-21 Sun Patent Trust A moving picture coding method, a moving picture coding apparatus, a moving picture decoding method, a moving picture decoding apparatus
US9615107B2 (en) 2011-05-27 2017-04-04 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US10595023B2 (en) 2011-05-27 2020-03-17 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US11076170B2 (en) 2011-05-27 2021-07-27 Sun Patent Trust Coding method and apparatus with candidate motion vectors
US11115664B2 (en) 2011-05-27 2021-09-07 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US11570444B2 (en) 2011-05-27 2023-01-31 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US11575930B2 (en) 2011-05-27 2023-02-07 Sun Patent Trust Coding method and apparatus with candidate motion vectors
US10034001B2 (en) 2011-05-27 2018-07-24 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US11895324B2 (en) 2011-05-27 2024-02-06 Sun Patent Trust Coding method and apparatus with candidate motion vectors
US10212450B2 (en) 2011-05-27 2019-02-19 Sun Patent Trust Coding method and apparatus with candidate motion vectors
US11979582B2 (en) 2011-05-27 2024-05-07 Sun Patent Trust Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US10200714B2 (en) 2011-05-27 2019-02-05 Sun Patent Trust Decoding method and apparatus with candidate motion vectors
US10951911B2 (en) 2011-05-31 2021-03-16 Velos Media, Llc Image decoding method and image decoding apparatus using candidate motion vectors
US9900613B2 (en) 2011-05-31 2018-02-20 Sun Patent Trust Image coding and decoding system using candidate motion vectors
US9819961B2 (en) 2011-05-31 2017-11-14 Sun Patent Trust Decoding method and apparatuses with candidate motion vectors
US11057639B2 (en) 2011-05-31 2021-07-06 Sun Patent Trust Derivation method and apparatuses with candidate motion vectors
US10652573B2 (en) 2011-05-31 2020-05-12 Sun Patent Trust Video encoding method, video encoding device, video decoding method, video decoding device, and video encoding/decoding device
US11949903B2 (en) 2011-05-31 2024-04-02 Sun Patent Trust Image decoding method and image decoding apparatus using candidate motion vectors
US9609356B2 (en) 2011-05-31 2017-03-28 Sun Patent Trust Moving picture coding method and apparatus with candidate motion vectors
US11917192B2 (en) 2011-05-31 2024-02-27 Sun Patent Trust Derivation method and apparatuses with candidate motion vectors
US10645413B2 (en) 2011-05-31 2020-05-05 Sun Patent Trust Derivation method and apparatuses with candidate motion vectors
US11368710B2 (en) 2011-05-31 2022-06-21 Velos Media, Llc Image decoding method and image decoding apparatus using candidate motion vectors
US11509928B2 (en) 2011-05-31 2022-11-22 Sun Patent Trust Derivation method and apparatuses with candidate motion vectors
US10412404B2 (en) 2011-05-31 2019-09-10 Velos Media, Llc Image decoding method and image decoding apparatus using candidate motion vectors
US10362311B2 (en) 2011-06-24 2019-07-23 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
CN105120277A (en) * 2011-06-24 2015-12-02 杜比国际公司 Method for encoding and decoding images, encoding and decoding device, and corresponding computer programs
US10694186B2 (en) 2011-06-24 2020-06-23 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US10033999B2 (en) 2011-06-24 2018-07-24 Dolby International Ab Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
US10887585B2 (en) 2011-06-30 2021-01-05 Sun Patent Trust Image decoding method, image coding method, image decoding apparatus, image coding apparatus, and image coding and decoding apparatus
US11553202B2 (en) 2011-08-03 2023-01-10 Sun Patent Trust Video encoding method, video encoding apparatus, video decoding method, video decoding apparatus, and video encoding/decoding apparatus
US9456214B2 (en) 2011-08-03 2016-09-27 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US10284872B2 (en) 2011-08-03 2019-05-07 Sun Patent Trust Video encoding method, video encoding apparatus, video decoding method, video decoding apparatus, and video encoding/decoding apparatus
US11979598B2 (en) 2011-08-03 2024-05-07 Sun Patent Trust Video encoding method, video encoding apparatus, video decoding method, video decoding apparatus, and video encoding/decoding apparatus
US10440387B2 (en) 2011-08-03 2019-10-08 Sun Patent Trust Video encoding method, video encoding apparatus, video decoding method, video decoding apparatus, and video encoding/decoding apparatus
US10129561B2 (en) 2011-08-03 2018-11-13 Sun Patent Trust Video encoding method, video encoding apparatus, video decoding method, video decoding apparatus, and video encoding/decoding apparatus
US11647208B2 (en) 2011-10-19 2023-05-09 Sun Patent Trust Picture coding method, picture coding apparatus, picture decoding method, and picture decoding apparatus
US11218708B2 (en) 2011-10-19 2022-01-04 Sun Patent Trust Picture decoding method for decoding using a merging candidate selected from a first merging candidate derived using a first derivation process and a second merging candidate derived using a second derivation process
JP2013093774A (en) * 2011-10-26 2013-05-16 Canon Inc Encoder and control method of the same
TWI562613B (en) * 2012-03-26 2016-12-11 Jvc Kenwood Corp
US10893282B2 (en) 2012-05-25 2021-01-12 Velos Media, Llc Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US9967560B2 (en) 2012-05-25 2018-05-08 Sun Patent Trust Moving picture coding method, moving picture decoding method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US10567758B2 (en) 2012-05-25 2020-02-18 Sun Patent Trust Moving picture coding method, moving picture decoding method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9894352B2 (en) 2012-05-25 2018-02-13 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and moving picture coding and decoding apparatus
TWI561058B (en) * 2012-05-25 2016-12-01 Sun Patent Trust
US10142624B2 (en) 2012-05-25 2018-11-27 Velos Media, Llc Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US9749623B2 (en) 2012-05-25 2017-08-29 Sun Patent Trust Moving picture coding method, moving picture decoding method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US10298924B2 (en) 2012-05-25 2019-05-21 Sun Patent Trust Moving picture coding method, moving picture decoding method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9860541B2 (en) 2012-06-04 2018-01-02 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, and moving picture decoding apparatus
US10356429B2 (en) 2012-06-04 2019-07-16 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, and moving picture decoding apparatus
US10652557B2 (en) 2012-06-04 2020-05-12 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, and moving picture decoding apparatus
US11849116B2 (en) 2012-06-08 2023-12-19 Sun Patent Trust Arithmetic coding for information related to sample adaptive offset processing
US10812800B2 (en) 2012-06-08 2020-10-20 Sun Patent Trust Arithmetic coding for information related to sample adaptive offset processing
TWI573437B (en) * 2012-06-08 2017-03-01 Sun Patent Trust An image coding method, an image decoding method, an image decoding apparatus, an image decoding apparatus, and an image coding / decoding apparatus
US11375195B2 (en) 2012-06-08 2022-06-28 Sun Patent Trust Arithmetic coding for information related to sample adaptive offset processing
US10212425B2 (en) 2012-06-08 2019-02-19 Sun Patent Trust Arithmetic coding for information related to sample adaptive offset processing
CN107749992B (en) * 2012-06-22 2020-06-09 威勒斯媒体国际有限公司 Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding/decoding device
JP2014225905A (en) * 2012-06-22 2014-12-04 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Image coding method, and image encoder
TWI565297B (en) * 2012-06-22 2017-01-01 太陽專利信託 An image coding method, an image decoding method, an image decoding apparatus, an image decoding apparatus, and an image coding / decoding apparatus
US10687084B2 (en) 2012-06-22 2020-06-16 Velos Media, Llc Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
CN107749992A (en) * 2012-06-22 2018-03-02 威勒斯媒体国际有限公司 Method for encoding images, picture decoding method, picture coding device, picture decoding apparatus and arrangement for encoding
US9924202B2 (en) 2012-06-22 2018-03-20 Velos Media, Llc Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US9264712B2 (en) 2012-06-22 2016-02-16 Panasonic Intellectual Property Corporation Of America Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US9596487B2 (en) 2012-06-22 2017-03-14 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
RU2635895C2 (en) * 2012-06-22 2017-11-16 Вилос Медиа Интернэшнл Лимитед Image encoding method, image decoding method, image encoding device, image decoding device, image encoding program and image decoding program
CN107734344A (en) * 2012-06-22 2018-02-23 威勒斯媒体国际有限公司 Method for encoding images and image encoding apparatus
CN107734344B (en) * 2012-06-22 2021-06-29 威勒斯媒体国际有限公司 Image encoding method and image encoding apparatus
JP5603525B2 (en) * 2012-06-22 2014-10-08 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Image coding method and image coding apparatus
WO2013190796A1 (en) * 2012-06-22 2013-12-27 パナソニック株式会社 Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding and decoding device
JP2017147745A (en) * 2012-06-22 2017-08-24 サン パテント トラスト Image decoding method, and image decoding method
RU2815733C1 (en) * 2012-06-22 2024-03-21 Сан Пэтент Траст Image encoding method, image decoding method, image encoding device, image decoding device, and image encoding and decoding device
RU2680749C2 (en) * 2012-06-22 2019-02-26 Вилос Медиа Интернэшнл Лимитед Image encoding method, image decoding method, image encoding device, image decoding device and image encoding and decoding device
US10542290B2 (en) 2012-06-27 2020-01-21 Sun Patent Trust Image decoding method and image decoding apparatus for sample adaptive offset information
US10063862B2 (en) 2012-06-27 2018-08-28 Sun Patent Trust Image decoding method and image decoding apparatus for sample adaptive offset information

Similar Documents

Publication Publication Date Title
JP2007142637A (en) Image information encoder
RU2689189C2 (en) Method and apparatus for encoding or decoding a pixel unit
US7978103B2 (en) Code amount estimating device, image coding apparatus including the code amount estimating device, and code amount estimating method
JP5208157B2 (en) Decryption system
JP4828925B2 (en) Encoder
CN113382253B (en) Encoding and decoding method, device, equipment and storage medium
CN112075082B (en) Method and apparatus for video encoding and decoding for CABAC-based neural network implementations
JP7088917B2 (en) Encoding method, decoding method, and corresponding device
KR102020101B1 (en) Method and apparatus for syntax element encoding in a video codec
US20120327999A1 (en) Encoding mode values representing prediction modes
EP3723377A1 (en) Video decoder with enhanced cabac decoding
JP2008035134A (en) Image coding device
US7411529B2 (en) Method of decoding bin values using pipeline architecture and decoding device therefor
JP4797009B2 (en) Prediction mode information encoding method, prediction mode information decoding method, these devices, their programs, and computer-readable recording media
CN110419216B (en) Binary arithmetic decoding by parameterized probability estimation finite state machines
JP2007166039A (en) Image coding equipment
KR101983441B1 (en) Acceleration of context adaptive binary arithmetic coding (cabac) in video codecs
WO2013068731A1 (en) Data encoding and decoding
CN111183647A (en) Binary arithmetic decoding with progressive modification of adaptation parameters
US10070127B2 (en) Method and apparatus for arithmetic coding and termination
JP2009021775A (en) Coder and coding method
JP4453398B2 (en) Encoding apparatus, program, and encoding processing method
US11622105B2 (en) Adaptive block update of unavailable reference frames using explicit and implicit signaling
CN110536133B (en) Video data decoding method and device
WO2017074539A1 (en) Parallel arithmetic coding techniques