JP2005277486A - Video coding arithmetic amount control method, video coding arithmetic amount control apparatus, video coding arithmetic amount control program, and recording medium for recording the program - Google Patents

Video coding arithmetic amount control method, video coding arithmetic amount control apparatus, video coding arithmetic amount control program, and recording medium for recording the program Download PDF

Info

Publication number
JP2005277486A
JP2005277486A JP2004083811A JP2004083811A JP2005277486A JP 2005277486 A JP2005277486 A JP 2005277486A JP 2004083811 A JP2004083811 A JP 2004083811A JP 2004083811 A JP2004083811 A JP 2004083811A JP 2005277486 A JP2005277486 A JP 2005277486A
Authority
JP
Japan
Prior art keywords
amount
calculation amount
calculation
control
generated code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004083811A
Other languages
Japanese (ja)
Other versions
JP4343745B2 (en
Inventor
Atsushi Shimizu
淳 清水
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2004083811A priority Critical patent/JP4343745B2/en
Publication of JP2005277486A publication Critical patent/JP2005277486A/en
Application granted granted Critical
Publication of JP4343745B2 publication Critical patent/JP4343745B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an arithmetic amount control capable of preventing occurrence of a defect of the code amount control by the arithmetic amount control and deterioration in the image quality by taking into account characteristics of an arithmetic amount variable element in the case of controlling the arithmetic amount in video coding processing. <P>SOLUTION: The arithmetic amount variable element in the video coding processing is classified into two types: a generated code amount increasing type and a generated code amount decreasing type. A flowchart for explaining the arithmetic amount control includes: a step S2 of acquiring code amount control information when the reduction in the arithmetic amount is required (S1); a step S3 of checking which of the increase and decrease in the generated code amount the code amount control algorithm controls; a step S4 of utilizing the arithmetic amount variable element of the generated code amount increase time in the case of the algorithm in the increase tendency to carry out the arithmetic amount control; a step S7 of carrying out the arithmetic amount control by utilizing the arithmetic amount variable element of the generated code decrease time in the case of the algorithm in the decrease tendency to carry out the arithmetic amount control; and steps S6, S9 of utilizing also arithmetic amount variable elements of different types to carry out the arithmetic amount control when the arithmetic amount reduction amount is insufficient only with the respective arithmetic amount variable element types (S5, S8). <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は,映像の符号化処理において,処理時間やシステム負荷等により符号化処理の演算量を制御する技術に関するものである。   The present invention relates to a technique for controlling the amount of calculation of encoding processing according to processing time, system load, and the like in video encoding processing.

現在,映像信号などをディジタル信号に変換し,符号化してデータサイズを圧縮する符号化方式が多く利用されている。特に,近年,パーソナルコンピュータ等を利用したソフトウェアによる符号化処理を行うことが多くなっている。しかし,十分な符号化効率を得ようとすると,現在のCPUパワーでは,符号化処理の演算時間は,符号化対象映像時間の数十倍以上といった時間を要する。そこで,ある程度現実的な時間で符号化処理を行うため,演算量を制御する必要がある。特に,ライブ中継やテレビ電話などの実時間処理を要求されるアプリケーションでは,重要な課題である。   Currently, an encoding method is often used in which a video signal is converted into a digital signal and encoded to compress the data size. In particular, in recent years, encoding processing by software using a personal computer or the like is frequently performed. However, in order to obtain sufficient encoding efficiency, with the current CPU power, the calculation processing time of the encoding process requires a time that is several tens of times longer than the encoding target video time. Therefore, in order to perform the encoding process in a somewhat realistic time, it is necessary to control the calculation amount. This is especially important for applications that require real-time processing such as live broadcasts and videophones.

符号化処理の演算量制御では,主に,演算量の制御対象(以下,演算量可変要素という)に対して,処理の制限や打ち切り,処理アルゴリズムの切り替えなどを行う。例えば,動きベクトル探索処理では,その探索範囲を拡大・縮小したり,検出精度を変化させることにより,演算量を制御することができる。また,DCTや量子化処理では,高次係数の処理を打ち切る方法を用いることにより,演算量を制御することができる。演算量の削減が必要な場合には,このような演算量可変要素を用いて,演算量を制御する。   In the calculation amount control of the encoding process, processing restriction, truncation, processing algorithm switching, and the like are mainly performed on a calculation amount control target (hereinafter referred to as a calculation amount variable element). For example, in the motion vector search process, the amount of calculation can be controlled by enlarging / reducing the search range or changing the detection accuracy. In addition, in DCT and quantization processing, the amount of calculation can be controlled by using a method that terminates processing of higher-order coefficients. When it is necessary to reduce the amount of calculation, the amount of calculation is controlled using such a variable amount of calculation.

符号化演算量の制御方法としては,[1]CPU負荷を用いた制御方法(例えば,特許文献1「ソフトウェアによる画像符号化方法」参照),[2]映像信号をバッファメモリに蓄えておき,その占有量で演算量を制御する方法(例えば,特許文献2「画像符号化および復号方法」参照)などがある。また,[3]過去の処理時間から目標時間内に処理を完了できるように演算量を決定する方法(例えば,特許文献3「処理時間適応画像符号化方法およびそのプログラムの記録媒体」参照)もある。   As a method of controlling the amount of encoding calculation, [1] a control method using a CPU load (for example, refer to Patent Document 1 “Image encoding method by software”), [2] a video signal is stored in a buffer memory, There is a method (for example, refer to “Patent Document 2“ Image Encoding and Decoding Method ”) for controlling the amount of calculation with the occupied amount. [3] A method for determining the amount of calculation so that the processing can be completed within the target time from the past processing time (see, for example, Patent Document 3 “Processing Time Adaptive Image Coding Method and Program Recording Medium”). is there.

[1]CPUの負荷に応じた演算量制御方法では,CPUの負荷が大きくなると,演算量可変要素に対して演算量を軽減するように制御を行う。逆に,CPUの負荷が軽い場合には,演算量を増加させるように制御を行う。   [1] In the calculation amount control method according to the CPU load, when the CPU load increases, control is performed so as to reduce the calculation amount for the calculation amount variable element. Conversely, when the load on the CPU is light, control is performed to increase the amount of computation.

図5は,従来の映像符号化装置の構成例を示す図である。映像符号化装置は,演算量制御部50,フレームメモリ(FM)51,動き検出部52,動き補償部53,減算器54,DCT部55,量子化部56,逆量子化部57,IDCT部58,加算器59,クリッピング部60,符号化部61,符号量制御部62から構成される。   FIG. 5 is a diagram illustrating a configuration example of a conventional video encoding device. The video encoding apparatus includes a calculation amount control unit 50, a frame memory (FM) 51, a motion detection unit 52, a motion compensation unit 53, a subtractor 54, a DCT unit 55, a quantization unit 56, an inverse quantization unit 57, and an IDCT unit. 58, an adder 59, a clipping unit 60, an encoding unit 61, and a code amount control unit 62.

動き検出部52は,入力映像信号の画像(符号化ブロック)とフレームメモリ51に蓄積された参照画像との間で動きベクトルを探索し,動き補償部53は,検出された動きベクトルで動き補償を行うことにより,参照画像から予測画像を作成する。減算器54は,入力映像信号の画像と予測画像との差分から予測誤差を算出し,DCT部55は,その予測誤差に対して離散コサイン変換を行う。量子化部56は,離散コサイン変換の変換係数を符号量制御部62が決定した量子化ステップサイズに従って量子化し,符号化部61は,その量子化された変換係数を符号化する。また,符号化部61は,動き検出部52で検出された動きベクトルを符号化する。   The motion detection unit 52 searches for a motion vector between the image (encoded block) of the input video signal and the reference image stored in the frame memory 51, and the motion compensation unit 53 performs motion compensation using the detected motion vector. To create a predicted image from the reference image. The subtractor 54 calculates a prediction error from the difference between the image of the input video signal and the prediction image, and the DCT unit 55 performs a discrete cosine transform on the prediction error. The quantization unit 56 quantizes the transform coefficient of the discrete cosine transform according to the quantization step size determined by the code amount control unit 62, and the encoding unit 61 encodes the quantized transform coefficient. The encoding unit 61 encodes the motion vector detected by the motion detection unit 52.

逆量子化部57は,量子化部56で量子化された変換係数を逆量子化し,IDCT部58は,逆量子化された変換係数に対して逆DCT変換を行う。加算器59は,予測画像と逆DCT変換された結果の予測誤差とを加算して局部復号画像を生成し,クリッピング部60は,復号画像の値が所定の範囲に収まるようにクリッピングし,参照画像としてフレームメモリ51に蓄積する。符号量制御部62は,目標符号量と符号化部61により符号化した実際の符号量とから量子化ステップサイズを決定し,この量子化ステップサイズを変更することにより符号量を制御する。演算量制御部50は,CPU負荷情報等をもとに,演算量可変要素に対する演算量の制御を行う。   The inverse quantization unit 57 inversely quantizes the transform coefficient quantized by the quantization unit 56, and the IDCT unit 58 performs inverse DCT transform on the inversely quantized transform coefficient. The adder 59 adds the predicted image and the prediction error resulting from the inverse DCT transformation to generate a local decoded image, and the clipping unit 60 performs clipping so that the value of the decoded image falls within a predetermined range. The image is stored in the frame memory 51 as an image. The code amount control unit 62 determines the quantization step size from the target code amount and the actual code amount encoded by the encoding unit 61, and controls the code amount by changing the quantization step size. The calculation amount control unit 50 controls the calculation amount for the calculation amount variable element based on the CPU load information and the like.

図5の例では,実時間での符号化処理を目的とし,演算量可変要素として,動き探索のON/OFF,DCT係数の高次係数の演算打ち切りを利用している。演算量制御部50では,CPU負荷に応じて2つの演算量可変要素の動作を切り替えることで,演算量制御を実現する。CPU負荷に余裕がある場合には,どちらの演算量可変要素も,本来の動作,すなわち演算量を制限せずに符号化効率が最も高くなるような動作を行う。しかし,CPU負荷が高く,実時間処理が困難な場合には,その負荷の高さに応じて演算量を削減すべく演算量可変要素の動作を切り替える。   In the example of FIG. 5, for the purpose of encoding processing in real time, ON / OFF of motion search and arithmetic termination of higher-order coefficients of DCT coefficients are used as calculation amount variable elements. The calculation amount control unit 50 realizes calculation amount control by switching the operation of the two calculation amount variable elements according to the CPU load. When there is a margin in the CPU load, both calculation amount variable elements perform the original operation, that is, the operation that maximizes the coding efficiency without limiting the calculation amount. However, when the CPU load is high and real-time processing is difficult, the operation of the calculation amount variable element is switched to reduce the calculation amount according to the load level.

このとき,どの演算量可変要素の動作を切り替えるかは,CPU負荷の高さと,各演算量可変要素の演算量削減量とから決定する。例えば,DCT係数の打ち切り処理だけで実時間処理が可能であれば,動き探索処理はそのままで,DCT係数の打ち切り処理を行う。非常にCPU負荷が高い場合には,動き探索をOFFにし,DCT係数の打ち切り処理も同時に行う。   At this time, which operation amount variable element to switch the operation of is determined from the CPU load height and the amount of operation amount reduction of each operation amount variable element. For example, if real-time processing is possible only by the DCT coefficient truncation process, the DCT coefficient truncation process is performed without changing the motion search process. When the CPU load is very high, the motion search is turned off and the DCT coefficient truncation process is performed simultaneously.

[2]入力バッファ占有量に応じた演算量制御方法では,未符号化映像信号を蓄積するための入力バッファを設け,この入力バッファの占有量により演算量制御を行う。入力バッファの占有量が増加し,入力情報量に対して処理速度が遅いと判断される場合,演算量を削減する。逆に,入力バッファの占有量が低下し,入力信号の情報量に対して処理速度が速い場合には,より演算量を増加させる制御を行う。   [2] In the calculation amount control method corresponding to the input buffer occupation amount, an input buffer for accumulating uncoded video signals is provided, and the calculation amount control is performed based on the input buffer occupation amount. When the occupation amount of the input buffer increases and the processing speed is judged to be slow with respect to the input information amount, the calculation amount is reduced. Conversely, when the input buffer occupancy decreases and the processing speed is high relative to the information amount of the input signal, control is performed to increase the amount of computation.

[3]処理時間予測による演算量制御方法では,過去の符号化処理時間から,次の符号化対象信号で必要とする符号化処理の演算量を推定し,処理内容を決定する。   [3] In the calculation amount control method based on the processing time prediction, the calculation amount of the encoding process required for the next encoding target signal is estimated from the past encoding processing time, and the processing content is determined.

以上説明したような方法により,従来は符号化処理の演算量を制御していた。
特許第3283159号公報 特開平9−46708号公報 特開2002−112274号公報
Conventionally, the calculation amount of the encoding process has been controlled by the method described above.
Japanese Patent No. 3283159 JP-A-9-46708 JP 2002-112274 A

多くの符号化装置では,目標発生符号量が与えられ,符号量制御を行っている。先に述べた演算量制御は,この符号量制御とは独立して動作している。   In many coding apparatuses, a target generated code amount is given and code amount control is performed. The calculation amount control described above operates independently of the code amount control.

演算量制御に用いる演算量可変要素は,次のどちらかのタイプに分類される。   The variable amount of calculation used for calculation control is classified into one of the following types.

・発生符号量増加型
演算量を減少させることにより,発生符号量が増加する。例えば,動きベクトル探索の探索範囲を狭めたり,検出精度を低下させると,演算量は減少するものの動き補償予測の効率低下により予測残差が増加し,発生符号量が増加する。
• Generated code amount increase type Generated code amount increases by reducing the amount of computation. For example, if the search range of motion vector search is narrowed or the detection accuracy is reduced, the amount of code is increased due to a decrease in the efficiency of motion compensated prediction although the amount of computation is reduced.

・発生符号量減少型
演算量を減少させることにより,発生符号量も減少する。例えば,DCT部55や量子化部56で高次係数の演算を省略したり,マクロブロックスキップのように強制的に符号化処理を停止することで,発生符号量が減少する。しかし,符号化対象信号の情報が伝送されないため,画品質は低下する。
• Generated code amount reduction type Generated code amount decreases by reducing the amount of computation. For example, the generated code amount is reduced by omitting the calculation of higher-order coefficients in the DCT unit 55 and the quantization unit 56 or forcibly stopping the encoding process like macro block skipping. However, since the information of the encoding target signal is not transmitted, the image quality is degraded.

図6は,符号化効率と演算量との関係を示す図である。図6(A)は,演算量と発生符号量との関係を示し,図6(B)は,演算量と符号化歪量との関係を示す。どちらの型の演算量可変要素でも,演算量を削減すると符号化効率は低下する。しかし,符号化効率の低下が発生符号量に与える影響は異なる。   FIG. 6 is a diagram illustrating the relationship between the encoding efficiency and the amount of calculation. FIG. 6A shows the relationship between the calculation amount and the generated code amount, and FIG. 6B shows the relationship between the calculation amount and the coding distortion amount. With either type of variable calculation amount, encoding efficiency decreases when the calculation amount is reduced. However, the effect of the decrease in coding efficiency on the amount of generated code is different.

発生符号量増加型では,符号化歪量は大きく変化しないものの,発生符号量が増加する。発生符号量減少型では,発生符号量は減少するものの,必要な情報が符号化されないため,符号化歪量が増加する。   In the generated code amount increasing type, although the coding distortion amount does not change greatly, the generated code amount increases. In the generated code amount reduction type, although the generated code amount is reduced, necessary information is not encoded, so that the encoding distortion amount is increased.

従来の演算量制御方法では,演算量制御部50と符号量制御部62とは独立に動作し,かつ,前述の演算量可変要素の特性は考慮せず,目的の演算量に制御することのみを目的としていた。このため,発生符号量制御において,制御不能に陥る可能性があった。例えば,符号量制御部62が発生符号量を減少させる方向に働き,演算量制御部50が発生符号量を増加させる方向に働いた場合には,符号量制御部62で予測したほど発生符号量が減少しない。この状態が継続すれば,実際の発生符号量が目標発生符号量を超過してしまう可能性がある。   In the conventional calculation amount control method, the calculation amount control unit 50 and the code amount control unit 62 operate independently, and do not take into account the characteristics of the above-described calculation amount variable element, but only control the target calculation amount. Was aimed at. For this reason, in the generated code amount control, there is a possibility that it may become uncontrollable. For example, when the code amount control unit 62 works in a direction to decrease the generated code amount and the calculation amount control unit 50 works in a direction to increase the generated code amount, the generated code amount is predicted as the code amount control unit 62 predicts. Will not decrease. If this state continues, the actual generated code amount may exceed the target generated code amount.

また,目標発生符号量に対して実際の発生符号量が少なく,かつ,演算量に余裕がない場合には,演算量制御要素として発生符号量減少型の要素を用いると,演算量制御の影響による著しい画品質の低下が発生する。   In addition, when the actual generated code amount is small relative to the target generated code amount and there is no allowance for the amount of calculation, using the generated code amount decreasing type element as the amount control element will affect the effect of the amount control. Causes significant image quality degradation.

このように,従来方法では,演算量可変要素の特性を無視し,2つの制御アルゴリズムが独立して動作することによって,発生符号量の制御が機能しない可能性がある。また,演算量制御による画品質の低下も現れる。   As described above, in the conventional method, the control of the generated code amount may not function because the characteristics of the variable amount of calculation are ignored and the two control algorithms operate independently. In addition, degradation of image quality due to calculation amount control also appears.

本発明は,上記の問題点の解決を図り,符号量制御の破綻や画品質の低下を防止することができる効果的な演算量制御を実現することを目的とする。   An object of the present invention is to solve the above-described problems and to realize effective calculation amount control capable of preventing failure of code amount control and deterioration of image quality.

本発明は,上記課題を解決するため,演算量制御を行う際に,符号量制御の結果を考慮し,演算量制御に用いる演算量可変要素のタイプを切り替えることを特徴とする。符号量制御の結果が,発生符号量を減少させる方向であれば,演算量可変要素として発生符号量減少型の演算量可変要素を利用し,発生符号量を増加させる方向であれば,演算量可変要素として発生符号量増加型の演算量可変要素を用いる。   In order to solve the above-described problem, the present invention is characterized in that, when performing computation amount control, the type of computation amount variable element used for computation amount control is switched in consideration of the result of code amount control. If the result of code amount control is to reduce the generated code amount, the amount of generated code amount reduction type variable is used as the variable for the amount of calculation, and if the generated code amount is increased, the amount of calculation As the variable element, a generated code amount increasing type calculation amount variable element is used.

すなわち,本発明は,符号化処理における処理内容を変えることで演算量を削減することができる複数の演算量可変要素を制御することにより,処理時間やシステム負荷等に応じて演算量を制御する映像符号化方式において,符号量制御の制御情報を取得する手段と,符号量制御の制御情報をもとに演算量の削減に使用する演算量可変要素を切り替える手段とを有し,符号量制御と連携して演算量制御を行うことを特徴とする。   That is, the present invention controls the amount of computation according to processing time, system load, etc. by controlling a plurality of computation amount variable elements that can reduce the amount of computation by changing the processing content in the encoding process. In the video coding system, the code amount control includes means for acquiring control information for code amount control, and means for switching a variable amount of calculation used for reducing the amount of calculation based on the control information for code amount control. The calculation amount control is performed in cooperation with the above.

また,本発明は,前記演算量可変要素を発生符号量増加型と発生符号量減少型とに分類し,符号量制御が増加傾向に制御する場合には,発生符号量増加型の演算量可変要素を,符号量制御が減少傾向に制御する場合には,発生符号量減少型の演算量可変要素を優先して演算量の削減に利用することを特徴とする。   Further, according to the present invention, when the amount of calculation variable element is classified into a generated code amount increasing type and a generated code amount decreasing type, and the code amount control is controlled to increase, the generated code amount increasing type of calculation amount variable When the code amount control is controlled so that the code amount control tends to decrease, the generated code amount decrease type operation amount variable element is preferentially used to reduce the operation amount.

また,本発明は,符号量制御情報から使用する演算量可変要素のタイプを決定後,目標演算量削減量と予想される演算量削減量とを比較し,予想される演算量削減量が目標演算量削減量に満たない場合には,異なるタイプの演算量可変要素も利用して演算量削減を行うことを特徴とする。   In addition, the present invention compares the target calculation amount reduction amount with the expected calculation amount reduction amount after determining the type of the calculation amount variable element to be used from the code amount control information, and determines the expected calculation amount reduction amount as the target. In the case where the amount of calculation reduction is not satisfied, the amount of calculation is reduced using different types of calculation amount variable elements.

前記符号量制御の制御情報としては,例えば量子化ステップサイズまたはバッファ占有量の変化量,目標発生符号量と現在の発生符号量との差を用いることができる。   As the control information of the code amount control, for example, the quantization step size or the change amount of the buffer occupation amount, the difference between the target generated code amount and the current generated code amount can be used.

以上の映像符号化における演算量の制御の処理は,コンピュータとソフトウェアプログラムとによって実現することができ,そのプログラムをコンピュータ読み取り可能な記録媒体に記録することも,ネットワークを通して提供することも可能である。   The processing for controlling the amount of computation in the above video encoding can be realized by a computer and a software program, and the program can be recorded on a computer-readable recording medium or provided through a network. .

図1は,本発明による演算量制御を説明するフローチャートである。   FIG. 1 is a flowchart illustrating calculation amount control according to the present invention.

〔ステップS1:演算量制御の要不要判断〕
演算量制御の必要性を確認し,必要であれば,次のステップS2へ進む。不要であれば,以下の処理を行わない。
[Step S1: Determination of necessity of calculation amount control]
The necessity of the calculation amount control is confirmed, and if necessary, the process proceeds to the next step S2. If unnecessary, the following processing is not performed.

〔ステップS2:符号量制御情報の取得〕
符号量制御情報を取得する。
[Step S2: Acquisition of Code Quantity Control Information]
Code amount control information is acquired.

〔ステップS3:発生符号量の傾向確認〕
次に,取得した符号量制御情報から,符号量制御アルゴリズムが増加または減少のどちらに制御しているかを確認する。増加傾向にある場合には,ステップS4へ進む。減少傾向にある場合には,ステップS7へ進む。
[Step S3: Confirmation of Trend of Generated Code Amount]
Next, it is confirmed from the obtained code amount control information whether the code amount control algorithm is controlled to increase or decrease. If there is an increasing trend, the process proceeds to step S4. If it is decreasing, the process proceeds to step S7.

〔ステップS4:発生符号量増加型の演算量可変要素を利用〕
増加傾向の場合には,利用する演算量可変要素タイプを発生符号量増加型に決定する。すなわち,演算量可変要素のタイプを発生符号量増加型に切り替え,発生符号量増加型の演算量可変要素のみを利用して演算量制御を試みる。
[Step S4: Use Generated Code Quantity Increasing Calculation Variable Variable]
In the case of an increasing tendency, the calculation amount variable element type to be used is determined to be the generated code amount increasing type. That is, the type of calculation variable is switched to the generated code amount increasing type, and the calculation amount control is attempted using only the generated code amount increasing type of calculation variable variable.

〔ステップS5:演算量削減量の確認〕
利用した発生符号量増加型の演算量可変要素のみで演算量削減量が十分であるかどうかを判断する。不足する場合には,ステップS6へ進む。
[Step S5: Confirmation of Calculation Amount Reduction]
It is determined whether the amount of calculation amount reduction is sufficient with only the generated code amount increase type calculation amount variable element used. If not enough, the process proceeds to step S6.

〔ステップS6:発生符号量減少型の演算量可変要素も利用〕
演算量削減量が不足する場合には,利用する演算量可変要素タイプを追加し,発生符号量減少型の演算量可変要素も利用して演算量制御を行う。
[Step S6: Use the generated code amount reduction type calculation amount variable element]
When the amount of calculation amount reduction is insufficient, the amount of calculation variable element type to be used is added, and the amount of calculation control is performed using the generation amount variable element of the generated code amount reduction type.

〔ステップS7:発生符号量減少型の演算量可変要素を利用〕
ステップS3において発生符号量の傾向を確認した結果,減少傾向の場合には,利用する演算量可変要素タイプを発生符号量減少型に決定する。すなわち,演算量可変要素のタイプを発生符号量減少型に切り替え,発生符号量減少型の演算量可変要素のみを利用して演算量制御を試みる。
[Step S7: Utilizing Generated Code Amount Decreasing Type Variable of Calculation Amount]
As a result of confirming the tendency of the generated code amount in step S3, if the tendency is a decrease, the calculation amount variable element type to be used is determined to be the generated code amount decreasing type. In other words, the variable of the amount of calculation variable element is switched to the generated code amount reduction type, and the calculation amount control is attempted using only the generation amount variable element of the generated code amount reduction type.

〔ステップS8:演算量削減量の確認〕
利用した発生符号量減少型の演算量可変要素のみで演算量削減量が十分であるかどうかを判断する。不足する場合には,ステップS9へ進む。
[Step S8: Confirmation of Calculation Amount Reduction]
It is determined whether the amount of calculation amount reduction is sufficient with only the generated code amount reduction type calculation amount variable element used. If not enough, the process proceeds to step S9.

〔ステップS9:発生符号量増加型の演算量可変要素も利用〕
演算量削減量が不足する場合には,利用する演算量可変要素タイプを追加し,発生符号量増加型の演算量可変要素も利用して演算量制御を行う。
[Step S9: Use the generated code amount increasing type calculation amount variable element]
When the amount of calculation reduction is insufficient, a calculation amount variable element type to be used is added, and the calculation amount control is performed using the generated code amount increase type calculation amount variable element.

以上のように,基本的には,符号量制御情報により演算量可変要素のタイプを切り替えるが,演算量削減量が不十分な場合には,異なるタイプの演算量可変要素も利用する。ここで,符号量制御情報としては,量子化ステップサイズ,バッファ占有量の変化量,目標発生符号量と実際の発生符号量との差などが利用できる。   As described above, basically, the type of calculation amount variable element is switched according to the code amount control information. However, when the amount of calculation amount reduction is insufficient, a different type of calculation amount variable element is also used. Here, as the code amount control information, a quantization step size, a change amount of the buffer occupation amount, a difference between the target generated code amount and the actual generated code amount, and the like can be used.

符号量制御の結果により演算量可変要素のタイプを切り替えることで,符号量制御に影響を与えることなく演算量制御を行うことができる。   By switching the type of the calculation amount variable element according to the result of the code amount control, the calculation amount control can be performed without affecting the code amount control.

本発明により,符号量制御の結果から演算量可変要素のタイプを切り替えて演算量制御を行うことで,符号量制御の破綻を防止できる。また,発生符号量が少ない場合における演算量制御による画品質の低下も防ぐことができる。   According to the present invention, it is possible to prevent the code amount control from failing by performing the operation amount control by switching the type of the operation amount variable element from the result of the code amount control. Further, it is possible to prevent the image quality from being deteriorated by the calculation amount control when the generated code amount is small.

以下,本発明の実施の形態について,図を用いて説明する。図2は,本実施の形態における映像符号化装置の構成例を示す図である。映像符号化装置は,演算量制御部10,フレームメモリ(FM)11,動き検出部12,動き補償部13,減算器14,DCT部15,量子化部16,逆量子化部17,IDCT部18,加算器19,クリッピング部20,符号化部21,符号量制御部22から構成される。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 2 is a diagram illustrating a configuration example of the video encoding device according to the present embodiment. The video encoding apparatus includes a calculation amount control unit 10, a frame memory (FM) 11, a motion detection unit 12, a motion compensation unit 13, a subtractor 14, a DCT unit 15, a quantization unit 16, an inverse quantization unit 17, and an IDCT unit. 18, an adder 19, a clipping unit 20, an encoding unit 21, and a code amount control unit 22.

本実施の形態では,符号化アルゴリズムとして,動き補償フレーム間予測符号化方式と離散コサイン変換(DCT)とを使用する。動き検出部12は,入力映像信号の画像とフレームメモリ11に蓄積された参照画像との間で動きベクトルを探索し,動き補償部13は,検出された動きベクトルで動き補償を行うことにより,参照画像から予測画像を作成する。減算器14は,入力映像信号の画像と予測画像との差分から予測誤差を算出し,DCT部15は,その予測誤差に対して離散コサイン変換を行う。量子化部16は,離散コサイン変換の変換係数を符号量制御部22が決定した量子化ステップサイズに従って量子化し,符号化部21は,その量子化された変換係数を符号化する。また,符号化部21は,動き検出部12で検出された動きベクトルを符号化する。   In this embodiment, a motion compensated interframe predictive coding method and a discrete cosine transform (DCT) are used as coding algorithms. The motion detection unit 12 searches for a motion vector between the image of the input video signal and the reference image stored in the frame memory 11, and the motion compensation unit 13 performs motion compensation using the detected motion vector, A predicted image is created from the reference image. The subtractor 14 calculates a prediction error from the difference between the image of the input video signal and the predicted image, and the DCT unit 15 performs a discrete cosine transform on the prediction error. The quantization unit 16 quantizes the transform coefficient of the discrete cosine transform according to the quantization step size determined by the code amount control unit 22, and the encoding unit 21 encodes the quantized transform coefficient. The encoding unit 21 encodes the motion vector detected by the motion detection unit 12.

逆量子化部17は,量子化部16で量子化された変換係数を逆量子化し,IDCT部18は,逆量子化された変換係数に対して逆DCT変換を行う。加算器19は,予測画像と逆DCT変換された結果の予測誤差とを加算して局部復号画像を生成し,クリッピング部20は,復号画像の値が所定の範囲に収まるようにクリッピングし,参照画像としてフレームメモリ11に蓄積する。符号量制御部22は,目標符号量と符号化部21により符号化した実際の符号量とから量子化ステップサイズを決定し,この量子化ステップサイズを変更することにより符号量を制御する。演算量制御部10は,符号量制御部22の制御情報をもとに,目標処理時間等から算出した目標演算量削減量に応じて演算量可変要素に対する演算量の制御を行う。   The inverse quantization unit 17 inversely quantizes the transform coefficient quantized by the quantization unit 16, and the IDCT unit 18 performs inverse DCT transform on the inversely quantized transform coefficient. The adder 19 adds the prediction image and the prediction error resulting from the inverse DCT transformation to generate a local decoded image, and the clipping unit 20 performs clipping so that the value of the decoded image falls within a predetermined range. The image is stored in the frame memory 11 as an image. The code amount control unit 22 determines a quantization step size from the target code amount and the actual code amount encoded by the encoding unit 21, and controls the code amount by changing the quantization step size. The calculation amount control unit 10 controls the calculation amount for the calculation amount variable element according to the target calculation amount reduction amount calculated from the target processing time or the like based on the control information of the code amount control unit 22.

本実施の形態で用いた演算量可変要素は2種類であり,発生符号量増加型の演算量可変要素として動き検出部12における動き探索処理を用い,発生符号量減少型の演算量可変要素としてDCT部15等におけるDCT係数打ち切り処理を用いた。符号量制御情報としては,量子化ステップサイズを利用し,直前の量子化ステップサイズと比較することで,増減傾向の判断を行う。演算量制御は,目標処理時間To に対する実際の処理時間Tt の差で行う。 There are two types of calculation amount variable elements used in the present embodiment. As the generated code amount increase type calculation amount variable element, motion search processing in the motion detector 12 is used, and as the generated code amount decrease type calculation amount variable element, A DCT coefficient truncation process in the DCT unit 15 or the like was used. As the code amount control information, the quantization step size is used, and the increase / decrease tendency is determined by comparing with the immediately preceding quantization step size. Calculation amount control is performed by the difference of the actual processing time with respect to the target processing time T o T t.

目標処理時間To は,1フレーム分の目標処理時間をT,1フレームの符号化ブロック数をN,現在までの符号化済みブロック数をMとしたとき,例えば次式により求められる値である。 Target processing time T o is the target processing time for one frame T, one frame of the coded blocks N, when the encoded blocks to the current and M, for example, is a value obtained by the following equation .

o =(M/N)×T
また,処理時間Tt は,現在のフレームの符号化を開始してからMブロック分のデータを符号化するのにかかった現在の時間である。もちろん,目標処理時間To と実際の処理時間Tt とをフレーム単位ではなく,例えば入力映像の符号化開始時点を基準として算出するようにしてもよい。
T o = (M / N) × T
The processing time T t is the current time taken to encode data for M blocks from the start of encoding the current frame. Of course, the target processing time T o and the actual processing time T t may be calculated on the basis of, for example, the encoding start time of the input video instead of the frame unit.

図3は,本実施の形態における演算量制御部の構成例を示す図である。演算量制御部10は,削減演算量算出部101,発生符号量増減判定部102,量子化ステップサイズメモリ103,演算量可変要素制御部104から構成される。   FIG. 3 is a diagram illustrating a configuration example of the calculation amount control unit in the present embodiment. The calculation amount control unit 10 includes a reduction calculation amount calculation unit 101, a generated code amount increase / decrease determination unit 102, a quantization step size memory 103, and a calculation amount variable element control unit 104.

演算量制御部10には,入力として現在の処理時間Tt および量子化ステップサイズQPt を与える。演算量制御部10からの出力は,各演算量可変要素の演算量削減処理のON/OFF情報である。 The calculation amount control unit 10 is supplied with the current processing time T t and the quantization step size QP t as inputs. The output from the calculation amount control unit 10 is ON / OFF information of calculation amount reduction processing for each calculation amount variable element.

削減演算量算出部101は,現在の処理時間Tt から削減する演算量を計算する。この削減演算量は,演算量可変要素制御部104に送られる。発生符号量増減判定部102は,入力された量子化ステップサイズQPt と直前の量子化ステップサイズQPt-1 とを比較し,その大小関係から符号量制御部22の制御傾向を判断する。量子化ステップサイズが小さくなっている場合には発生符号量増加傾向,逆に大きくなっている場合には減少傾向と判断する。入力された量子化ステップサイズQPt は,次の判定のため,量子化ステップサイズメモリ103に蓄積される。 The reduction calculation amount calculation unit 101 calculates the calculation amount to be reduced from the current processing time T t . This reduction calculation amount is sent to the calculation amount variable element control unit 104. The generated code amount increase / decrease determination unit 102 compares the input quantization step size QP t with the immediately preceding quantization step size QP t−1 and determines the control tendency of the code amount control unit 22 from the magnitude relationship. If the quantization step size is small, it is determined that the generated code amount is increasing, and conversely if it is large, it is determined that the code is decreasing. The input quantization step size QP t is stored in the quantization step size memory 103 for the next determination.

演算量可変要素制御部104は,動き探索処理を行うか行わないかの制御およびDCT係数打ち切り処理の制御を行う。演算量可変要素制御信号の出力をONにすることで,演算量削減処理となる。つまり,演算量可変要素制御部104から動き検出部12への出力がONになると,動き検出部12では動き検出を行わずにスキップし(動き探索OFF),また,DCT部15/IDCT部18/量子化部16/逆量子化部17への出力がONになると,DCT部15/IDCT部18/量子化部16/逆量子化部17では高次係数の演算を行わない(DCT係数打ち切り処理)。演算量削減が不要な場合には,発生符号量増減判定部102の結果に関係なく,両方の演算量可変要素への出力をOFFにする。演算量削減が必要な場合には,発生符号量増減判定部102の判定結果に基づき,どちらかの演算量可変要素の制御信号をONにする。加えて,どちらかの演算量可変要素だけでは目標演算量削減量に満たない場合には,両方の演算量可変要素の制御信号をONにする。   The calculation amount variable element control unit 104 controls whether or not to perform motion search processing and DCT coefficient truncation processing. By turning on the output of the calculation amount variable element control signal, the calculation amount reduction processing is performed. That is, when the output from the calculation amount variable element control unit 104 to the motion detection unit 12 is turned ON, the motion detection unit 12 skips without performing motion detection (motion search OFF), and the DCT unit 15 / IDCT unit 18 / When the output to the quantization unit 16 / inverse quantization unit 17 is turned ON, the DCT unit 15 / IDCT unit 18 / quantization unit 16 / inverse quantization unit 17 does not calculate higher-order coefficients (DCT coefficient truncation) processing). When it is not necessary to reduce the calculation amount, the output to both calculation amount variable elements is turned off regardless of the result of the generated code amount increase / decrease determination unit 102. When it is necessary to reduce the amount of calculation, based on the determination result of the generated code amount increase / decrease determination unit 102, the control signal of one of the calculation amount variable elements is turned ON. In addition, when only one of the calculation amount variable elements is less than the target calculation amount reduction amount, the control signals of both calculation amount variable elements are turned ON.

図4は,本実施の形態における演算量制御処理フローチャートである。ここでは,動き探索処理による演算量削減量をTMEとし,DCT係数打ち切り処理による演算量削減量をTDCT とする。これらの演算量削減量TMEおよびTDCT は,あらかじめ標準的な映像信号を利用した実験などにより求めておくことができる。 FIG. 4 is a calculation amount control process flowchart in the present embodiment. Here, the calculation amount reduction amount by the motion search process is TME, and the calculation amount reduction amount by the DCT coefficient truncation processing is TDCT . These calculation amount reduction amounts T ME and T DCT can be obtained in advance by experiments using standard video signals.

まず,演算量制御部10は,削減演算量算出部101よって,現在の処理時間Tt を取得し(ステップS10),必要な削減演算時間Tr (Tr =Tt −To )を算出する(ステップS11)。 First, the calculation amount control unit 10 acquires the current processing time T t by the reduction calculation amount calculation unit 101 (step S10), and calculates the necessary reduction calculation time T r (T r = T t −T o ). (Step S11).

次に,演算量制御部10は,Tr >0であるか否かによって,演算量制御の要不要を判断する(ステップS12)。Tr >0でない場合には,演算量制御が不要なため,演算量の削減を行わないで処理を終了し,通常の符号化処理を続行するようにする。 Next, the calculation amount control unit 10 determines whether or not calculation amount control is necessary depending on whether or not T r > 0 (step S12). If T r > 0 is not satisfied, the amount of calculation control is unnecessary, so the processing is terminated without reducing the amount of calculation, and the normal encoding process is continued.

ステップS12においてTr >0である場合には,発生符号量増減判定部102において,現在の量子化ステップサイズQPt を取得し(ステップS13),現在の量子化ステップサイズQPt と量子化ステップサイズメモリ103に記憶していた過去の量子化ステップサイズQPt-1 とを比較し(ステップS14),発生符号量の増減傾向を確認する。この増減傾向に合わせて,演算量可変要素制御部104は,以下に説明するように演算量可変要素を切り替える。 If T r > 0 in step S12, the generated code amount increase / decrease determination unit 102 acquires the current quantization step size QP t (step S13), and the current quantization step size QP t and the quantization step The past quantization step size QP t−1 stored in the size memory 103 is compared (step S14), and the increasing / decreasing tendency of the generated code amount is confirmed. In accordance with this increase / decrease trend, the calculation amount variable element control unit 104 switches the calculation amount variable element as described below.

ステップS14においてQPt ≦QPt-1 である場合には,動き探索をスキップ(動き探索OFF)する(ステップS15)。削減演算時間Tr と動き探索処理による演算量削減量TMEとを比較し(ステップS16),Tr >TMEである場合には,さらにDCT係数打ち切り処理を行う(ステップS17)。Tr ≦TMEである場合には,演算量削減量が十分であると判断し,処理を終了する。 If QP t ≦ QP t−1 in step S14, motion search is skipped (motion search OFF) (step S15). The reduction calculation time T r is compared with the calculation amount reduction amount T ME by the motion search process (step S16), and if T r > T ME , further DCT coefficient truncation processing is performed (step S17). If T rTME , it is determined that the amount of calculation amount reduction is sufficient, and the process is terminated.

ステップS14においてQPt ≦QPt-1 でない場合には,DCT係数打ち切り処理を行う(ステップS18)。削減演算時間Tr とDCT係数打ち切り処理による演算量削減量TDCT とを比較し(ステップS19),Tr >TDCT である場合には,さらに動き探索をスキップ(動き探索OFF)する(ステップS20)。Tr >TDCT でない場合には,演算量削減量が十分であると判断し,処理を終了する。 If QP t ≦ QP t−1 is not satisfied in step S14, DCT coefficient truncation processing is performed (step S18). The reduction calculation time T r and the calculation amount reduction amount T DCT by the DCT coefficient truncation process are compared (step S19). If T r > T DCT , the motion search is further skipped (motion search OFF) (step S19). S20). If T r > T DCT is not satisfied, it is determined that the amount of calculation reduction is sufficient, and the process is terminated.

このようにして,量子化ステップサイズQPt から符号量制御情報を抽出して演算量可変要素のタイプを切り替えることで,符号量制御に即した演算量削減が可能となる。符号量制御情報として量子化ステップサイズを用いる例を説明したが,バッファ占有量の変化量,目標発生符号量と現在の発生符号量との差などの情報を利用してもよい。 In this way, by extracting the rate control information from the quantization step size QP t switch the type of operation the variable element, it is possible to Computational Complexity Reduction in line with code amount control. Although an example in which the quantization step size is used as the code amount control information has been described, information such as a change amount of the buffer occupancy amount, a difference between the target generated code amount and the current generated code amount may be used.

なお,本実施の形態では演算量可変要素を2つとしたが,それ以上の演算量可変要素を用いることで,より細かい演算量制御が可能となる。例えば,動き検出部12による動き探索をスキップするかしないかの演算量制御を行うのではなく,動き検出部12の動き探索範囲をどの程度まで小さくするか,また検出精度をどの程度まで低くするかなどの段階的な演算量制御を行うこともできる。   In the present embodiment, there are two calculation amount variable elements, but more calculation amount variable elements can be controlled by using more calculation amount variable elements. For example, instead of performing calculation amount control on whether or not to skip the motion search by the motion detection unit 12, to what extent the motion search range of the motion detection unit 12 is reduced, and to what extent the detection accuracy is reduced It is also possible to perform stepwise calculation amount control.

本発明による演算量制御を説明するフローチャートである。It is a flowchart explaining the calculation amount control by this invention. 本実施の形態における映像符号化装置の構成例を示す図である。It is a figure which shows the structural example of the video coding apparatus in this Embodiment. 本実施の形態における演算量制御部の構成例を示す図である。It is a figure which shows the structural example of the calculation amount control part in this Embodiment. 本実施の形態における演算量制御処理フローチャートである。It is a calculation amount control processing flowchart in the present embodiment. 従来の映像符号化装置の構成例を示す図である。It is a figure which shows the structural example of the conventional video coding apparatus. 符号化効率と演算量との関係を示す図である。It is a figure which shows the relationship between encoding efficiency and the amount of calculations.

符号の説明Explanation of symbols

10,50 演算量制御部
11,51 フレームメモリ(FM)
12,52 動き検出部
13,53 動き補償部
14,54 減算器
15,55 DCT部
16,56 量子化部
17,57 逆量子化部
18,58 IDCT部
19,59 加算器
20,60 クリッピング部
21,61 符号化部
22,62 符号量制御部
101 削減演算量算出部
102 発生符号量増減判定部
103 量子化ステップサイズメモリ
104 演算量可変要素制御部
10, 50 Computation amount controller 11, 51 Frame memory (FM)
12, 52 Motion detection unit 13, 53 Motion compensation unit 14, 54 Subtractor 15, 55 DCT unit 16, 56 Quantization unit 17, 57 Inverse quantization unit 18, 58 IDCT unit 19, 59 Adder 20, 60 Clipping unit 21, 61 Encoding unit 22, 62 Code amount control unit 101 Reduction calculation amount calculation unit 102 Generated code amount increase / decrease determination unit 103 Quantization step size memory 104 Calculation amount variable element control unit

Claims (10)

映像符号化処理における処理内容を変えることで演算量を変更可能な複数の演算量可変要素を制御することにより,符号化処理の演算量を制御する演算量制御方法であって,
符号量制御の制御情報を取得する過程と,
前記符号量制御の制御情報をもとに,演算量の制御に利用する演算量可変要素を決定する過程と,
決定した演算量可変要素を制御することにより,符号化処理の演算量を制御する過程とを有する
ことを特徴とする映像符号化演算量制御方法。
An amount-of-computation control method for controlling the amount of computation in encoding processing by controlling a plurality of computation amount variable elements capable of changing the amount of computation by changing processing contents in video encoding processing,
A process of acquiring control information of code amount control;
A process of determining a variable element for calculation amount to be used for control of calculation amount based on the control information of the code amount control;
A video encoding calculation amount control method comprising: controlling a calculation amount of an encoding process by controlling a determined calculation amount variable element.
請求項1に記載の映像符号化演算量制御方法において,
前記複数の演算量可変要素は,演算量を削減すると発生符号量が増加する発生符号量増加型と,演算量を削減すると発生符号量が減少する発生符号量減少型のいずれかのタイプに分類されており,
前記演算量の制御に利用する演算量可変要素を決定する過程では,符号量制御において符号量が増加傾向に制御されているのか減少傾向に制御されているのかを前記符号量制御の制御情報から判別し,増加傾向に制御されている場合には,前記発生符号量増加型の演算量可変要素を優先的に前記演算量の制御に利用する演算量可変要素とし,減少傾向に制御されている場合には,前記発生符号量減少型の演算量可変要素を優先的に前記演算量の制御に利用する演算量可変要素とする
ことを特徴とする映像符号化演算量制御方法。
The video encoding calculation amount control method according to claim 1,
The plurality of calculation amount variable elements are classified into either a generated code amount increasing type in which the generated code amount increases when the calculation amount is reduced, or a generated code amount decreasing type in which the generated code amount decreases when the calculation amount is reduced. Has been
In the process of determining the calculation amount variable element used for the calculation amount control, it is determined from the control information of the code amount control whether the code amount is controlled to increase or decrease in the code amount control. If it is determined and controlled to increase, the generated code amount increasing type calculation amount variable element is preferentially used for control of the calculation amount and is controlled to decrease. In such a case, the video coding calculation amount control method is characterized in that the generated code amount reduction type calculation amount variable element is used as a calculation amount variable element that is preferentially used for controlling the calculation amount.
請求項2に記載の映像符号化演算量制御方法において,
前記演算量の制御に利用する演算量可変要素を決定する過程では,優先的に利用することが決定された演算量可変要素について演算量の制御を行う場合の演算量削減量と,削減が必要な目標演算量削減量とを比較し,演算量削減量が目標演算量削減量に満たない場合には,優先的に利用することが決定された前記発生符号量増加型の演算量可変要素または前記発生符号量減少型の演算量可変要素の一方とは別のタイプの演算量可変要素も演算量の制御に利用する演算量可変要素とする
ことを特徴とする映像符号化演算量制御方法。
The video encoding calculation amount control method according to claim 2,
In the process of determining the variable amount of calculation to be used for controlling the calculation amount, it is necessary to reduce the amount of calculation when the calculation amount is controlled for the variable amount of calculation that has been determined to be used preferentially. If the amount of calculation reduction is less than the target amount of calculation reduction, the generated code amount increase type calculation amount variable element determined to be used preferentially or A video encoding calculation amount control method, characterized in that a calculation amount variable element of a type different from one of the generated code amount reduction type calculation amount variable elements is also used as a calculation amount variable element used to control the calculation amount.
請求項1から請求項3までのいずれかに記載の映像符号化演算量制御方法において,
前記符号量制御の制御情報を取得する過程では,量子化ステップサイズもしくはバッファ占有量の変化量,または目標発生符号量と実際の発生符号量との差の情報を,符号化制御の制御情報として取得する
ことを特徴とする映像符号化演算量制御方法。
In the video coding calculation amount control method according to any one of claims 1 to 3,
In the process of acquiring the control information of the code amount control, the change amount of the quantization step size or the buffer occupancy amount, or the information of the difference between the target generated code amount and the actual generated code amount is used as the control information of the encoding control. A video encoding calculation amount control method characterized by comprising:
映像符号化処理における処理内容を変えることで演算量を変更可能な複数の演算量可変要素を制御することにより,符号化処理の演算量を制御する映像符号化演算量制御装置であって,
符号量制御の制御情報を取得する手段と,
前記符号量制御の制御情報をもとに,演算量の制御に利用する演算量可変要素を決定し,決定した演算量可変要素を制御することにより,符号化処理の演算量を制御する演算量可変要素制御手段とを有する
ことを特徴とする映像符号化演算量制御装置。
A video encoding calculation amount control device that controls the calculation amount of an encoding process by controlling a plurality of calculation amount variable elements that can change the calculation amount by changing the processing content in the video encoding process,
Means for acquiring control information of code amount control;
A calculation amount for controlling the calculation amount of the encoding process by determining a calculation amount variable element to be used for control of the calculation amount based on the control information of the code amount control and controlling the determined calculation amount variable element A video encoding calculation amount control device comprising: variable element control means.
請求項5に記載の映像符号化演算量制御装置において,
前記複数の演算量可変要素は,演算量を削減すると発生符号量が増加する発生符号量増加型と,演算量を削減すると発生符号量が減少する発生符号量減少型のいずれかのタイプに分類されており,
前記演算量可変要素制御手段は,符号量制御において符号量が増加傾向に制御されているのか減少傾向に制御されているのかを前記符号量制御の制御情報から判別し,増加傾向に制御されている場合には,前記発生符号量増加型の演算量可変要素を優先的に前記演算量の制御に利用し,減少傾向に制御されている場合には,前記発生符号量減少型の演算量可変要素を優先的に前記演算量の制御に利用する
ことを特徴とする映像符号化演算量制御装置。
In the video coding calculation amount control device according to claim 5,
The plurality of calculation amount variable elements are classified into either a generated code amount increasing type in which the generated code amount increases when the calculation amount is reduced, or a generated code amount decreasing type in which the generated code amount decreases when the calculation amount is reduced. Has been
The calculation amount variable element control means determines from the control information of the code amount control whether the code amount is controlled to increase or decrease in code amount control, and is controlled to increase. If the generated code amount increasing type variable of the calculation amount is preferentially used for the control of the calculation amount, and if it is controlled to decrease, the generated code amount decreasing type of the calculation amount variable A video encoding calculation amount control device characterized in that an element is preferentially used for controlling the calculation amount.
請求項6に記載の映像符号化演算量制御装置において,
前記演算量可変要素制御手段は,優先的に利用することが決定された演算量可変要素について演算量の制御を行う場合の演算量削減量と,削減が必要な目標演算量削減量とを比較し,演算量削減量が目標演算量削減量に満たない場合には,優先的に利用することが決定された前記発生符号量増加型の演算量可変要素または前記発生符号量減少型の演算量可変要素の一方とは別のタイプの演算量可変要素も演算量の制御に利用する
ことを特徴とする映像符号化演算量制御装置。
In the video coding calculation amount control device according to claim 6,
The calculation amount variable element control means compares the calculation amount reduction amount when the calculation amount control is performed on the calculation amount variable element determined to be used preferentially and the target calculation amount reduction amount that needs to be reduced. However, when the calculation amount reduction amount is less than the target calculation amount reduction amount, the generated code amount increase type calculation amount variable element or the generated code amount decrease type calculation amount that is determined to be preferentially used. A video encoding calculation amount control device characterized in that a calculation amount variable element of a type different from one of the variable elements is also used for control of the calculation amount.
請求項5から請求項7までのいずれかに記載の映像符号化演算量制御装置において,
前記符号量制御の制御情報を取得する手段は,量子化ステップサイズもしくはバッファ占有量の変化量,または目標発生符号量と実際の発生符号量との差の情報を,符号化制御の制御情報として取得する
ことを特徴とする映像符号化演算量制御装置。
In the video coding calculation amount control device according to any one of claims 5 to 7,
The means for acquiring the control information of the code amount control includes, as encoding control information, information on a change in the quantization step size or the buffer occupancy amount, or information on a difference between the target generated code amount and the actual generated code amount. A video encoding calculation amount control device characterized by comprising:
請求項5から請求項7までのいずれかに記載の映像符号化演算量制御装置を実現するために,少なくとも前記符号量制御の制御情報を取得する手段および前記演算量可変要素制御手段として,コンピュータを機能させるための映像符号化演算量制御プログラム。   In order to realize the video encoding calculation amount control device according to any one of claims 5 to 7, at least a means for acquiring control information of the code amount control and a calculation amount variable element control means as a computer Video encoding calculation amount control program for functioning. 請求項5から請求項7までのいずれかに記載の映像符号化演算量制御装置を実現するために,少なくとも前記符号量制御の制御情報を取得する手段および前記演算量可変要素制御手段として,コンピュータを機能させるための映像符号化演算量制御プログラムを,コンピュータ読み取り可能な記録媒体に記録した
ことを特徴とする映像符号化演算量制御プログラム記録媒体。
In order to realize the video encoding calculation amount control device according to any one of claims 5 to 7, at least a means for acquiring control information of the code amount control and a calculation amount variable element control means as a computer A video encoding calculation amount control program recording medium characterized in that a video encoding calculation amount control program for functioning is recorded on a computer-readable recording medium.
JP2004083811A 2004-03-23 2004-03-23 Video encoding calculation amount control method, video encoding calculation amount control device, video encoding calculation amount control program, and program recording medium thereof Expired - Fee Related JP4343745B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004083811A JP4343745B2 (en) 2004-03-23 2004-03-23 Video encoding calculation amount control method, video encoding calculation amount control device, video encoding calculation amount control program, and program recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004083811A JP4343745B2 (en) 2004-03-23 2004-03-23 Video encoding calculation amount control method, video encoding calculation amount control device, video encoding calculation amount control program, and program recording medium thereof

Publications (2)

Publication Number Publication Date
JP2005277486A true JP2005277486A (en) 2005-10-06
JP4343745B2 JP4343745B2 (en) 2009-10-14

Family

ID=35176725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004083811A Expired - Fee Related JP4343745B2 (en) 2004-03-23 2004-03-23 Video encoding calculation amount control method, video encoding calculation amount control device, video encoding calculation amount control program, and program recording medium thereof

Country Status (1)

Country Link
JP (1) JP4343745B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014204208A (en) * 2013-04-02 2014-10-27 日本電信電話株式会社 Prediction mode determination method, dynamic image encoding device, and prediction mode determination program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014204208A (en) * 2013-04-02 2014-10-27 日本電信電話株式会社 Prediction mode determination method, dynamic image encoding device, and prediction mode determination program

Also Published As

Publication number Publication date
JP4343745B2 (en) 2009-10-14

Similar Documents

Publication Publication Date Title
CN101491106B (en) Image processing device, method, and program
JP4901772B2 (en) Moving picture coding method and moving picture coding apparatus
US5418569A (en) Method and apparatus for predictive coding of moving images while adaptively changing the method in accordance with them
US7848579B2 (en) Image coding device, method and computer program with data coding amount prediction
EP1059812A2 (en) Methods and apparatus for context-based inter/intra coding mode selection
TWI386065B (en) Video encoding apparatus and method, video encoding program, and storage medium for storing the program
JP2004297768A (en) Video signal encoding apparatus, and video signal encoding method
JP2008154060A (en) Moving image coding apparatus
JP5100572B2 (en) Encoder
JP4257789B2 (en) Video encoding device
JP3206413B2 (en) Variable frame rate video coding method
JP4357560B2 (en) Moving picture coding apparatus, moving picture coding method, and moving picture coding program
JP2006270851A (en) Image coding device and image decoding device
JP4343745B2 (en) Video encoding calculation amount control method, video encoding calculation amount control device, video encoding calculation amount control program, and program recording medium thereof
JPH07288804A (en) Re-coding device for picture signal
JP2008160402A (en) Encoding device and method, and image encoding device
JP4797999B2 (en) Image encoding / decoding device
JP2003069997A (en) Moving picture encoder
JPS61164390A (en) Adaptive forecast coding device of inter-frame and between frames of animation picture signal
KR100643126B1 (en) Transcoder for determining intra prediction direction based on DCT coefficients and transcoding method of the same
JP2005323315A (en) Prediction information/quantization value control compression coding apparatus, program, and method
KR100316787B1 (en) Method and system for encoding/decoding motion-compensated shape information
JP4847423B2 (en) Moving picture encoding apparatus and computer program
KR100295327B1 (en) Motion Estimation System Using Adaptive Threshold
JP2010050833A (en) Video coding device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060410

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080730

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080730

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: 20090707

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: 20090709

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

Free format text: PAYMENT UNTIL: 20120717

Year of fee payment: 3

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: 20130717

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees