JP2002232894A - Data rate converter - Google Patents

Data rate converter

Info

Publication number
JP2002232894A
JP2002232894A JP2001028929A JP2001028929A JP2002232894A JP 2002232894 A JP2002232894 A JP 2002232894A JP 2001028929 A JP2001028929 A JP 2001028929A JP 2001028929 A JP2001028929 A JP 2001028929A JP 2002232894 A JP2002232894 A JP 2002232894A
Authority
JP
Japan
Prior art keywords
picture
code
data
variable
code amount
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
JP2001028929A
Other languages
Japanese (ja)
Other versions
JP3800965B2 (en
Inventor
Takayuki Sugawara
隆幸 菅原
Mitsuaki Fujiwara
光章 藤原
Kazuhiko Morita
一彦 森田
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2001028929A priority Critical patent/JP3800965B2/en
Publication of JP2002232894A publication Critical patent/JP2002232894A/en
Application granted granted Critical
Publication of JP3800965B2 publication Critical patent/JP3800965B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a data rate converter that can properly prevent leakage deterioration caused by cyclic prediction of a reproduced image even when a data rate is decreased. SOLUTION: An AC code reduction device 21 receives data of a B picture decoded by a VLD(variable length code decoder) 13 via a SW 15. The AC code reduction device 21 reduces a code quantity instructed by a code quantity controller 23, that is, a VLC(variable length coding) code of the AC coefficient so as to obtain an object code quantity per picture. On the other hand, data of an I or P picture decoded by the VLC 13 are decoded via an SW 15 and given to a quantizer 4 via a subtractor circuit 1 and a DCT device 3. The I and P picture use a reference image obtained by locally decoding an output signal of a quantizer 4 whose step width is controlled corresponding to a degree of occupancy of a buffer 25.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータレート変換装
置に係り、特にデータレートを削減しても再生画像の巡
回予測により発生するリーク劣化を好適に防止するデー
タレート変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data rate conversion apparatus, and more particularly to a data rate conversion apparatus that suitably prevents leak deterioration caused by cyclic prediction of a reproduced image even when the data rate is reduced.

【0002】[0002]

【従来の技術】今日、コンピュータ、放送メディア、通
信メディア及び蓄積メディアにおいて、ディジタル技術
が盛んに用いられている。これらの情報インフラにおい
て最も重要な役割を果たすのが、MPEG(Moving Pic
ture Experts Group)であり、これについて簡単に説明
する。MPEGは1988年、ISO/IEC JTC
1/SC2(国際標準化機構/国際電気標準化会合同技
術委員会1/専門部会2、現在のSC29)に設立され
た動画像符号化標準を検討する組織の名称の略称であ
る。
2. Description of the Related Art Today, digital technology is actively used in computers, broadcast media, communication media, and storage media. The most important role in these information infrastructures is MPEG (Moving Pic)
Nature Experts Group), which will be briefly described. MPEG was established in 1988 by the ISO / IEC JTC
1 / SC2 (International Organization for Standardization / International Electrotechnical Commission / Technical Committee 1 / Subcommittee 2, current SC29) This is the abbreviation of the name of the organization that considers the moving picture coding standard.

【0003】MPEGにはMPEG1、MPEG2その
他の規格がある。MPEG1(MPEGフェーズ1)
は、1.5Mbps程度の蓄積メディアを対象とした標
準で、静止画符号化を目的としたJPEGと、サービス
統合ディジタル網(ISDN)のテレビ会議やテレビ電
話の低転送レート用の動画像圧縮を目的としたH.26
1(CCITT SGXV、現在のITU−T SG1
5で標準化)の基本的な技術を受け継ぎ、蓄積メディア
用に新しい技術を導入したものである。これらは199
3年8月、ISO/IEC 11172として成立して
いる。また、MPEG2(MPEGフェーズ2)は通信
や放送などの多様なアプリケーションに対応できるよう
に汎用標準を目的として、1994年11月ISO/I
EC 13818、H.262として成立している。
[0003] MPEG has MPEG1, MPEG2 and other standards. MPEG1 (MPEG phase 1)
Is a standard for storage media of about 1.5 Mbps. It uses JPEG for the purpose of still image coding and video compression for low transfer rates of video conferencing and video telephony of Integrated Services Digital Network (ISDN). The target H. 26
1 (CCITT SGXV, current ITU-T SG1
5 standardized) and introduced a new technology for storage media. These are 199
It was enacted as ISO / IEC 11172 in August 3rd. MPEG2 (MPEG Phase 2) is an ISO / I / O in November 1994, aimed at a general-purpose standard so as to support various applications such as communication and broadcasting.
EC 13818, H.E. 262.

【0004】MPEGの符号化部分は幾つかの技術を組
み合わせて作成されている。図6はMPEGによる画像
圧縮符号化装置の一例のブロック図を示す。同図におい
て、入力画像は動き補償予測器2で復号化され、この動
き補償予測画像と入力画像の差分を減算回路1でとるこ
とで時間冗長部分を削減する。予測の方向は、過去、未
来、両方からの3モード存在する。また、これらは16
画素×16画素のMB(マクロブロック)毎に切り替え
て使用できる。予測方向は入力画像に与えられたピクチ
ャタイプによって決定される。
[0004] The encoding part of MPEG is created by combining several techniques. FIG. 6 is a block diagram showing an example of an image compression / encoding device using MPEG. In the figure, an input image is decoded by a motion compensation predictor 2, and a difference between the motion compensated prediction image and the input image is obtained by a subtraction circuit 1 to reduce a time redundant portion. There are three modes of prediction from the past, the future, and both. These are 16
It can be switched and used for each MB (macroblock) of pixels × 16 pixels. The prediction direction is determined by the picture type given to the input image.

【0005】ピクチャタイプはPピクチャとBピクチャ
とIピクチャがある。過去からの予測と、予測をしない
でそのMBを独立で符号化する2モード存在するのがP
ピクチャである。また、未来からの予測、過去からの予
測、両方からの予測、独立で符号化する4モード存在す
るのがBピクチャである。そして全てのMBが独立で符
号化するのがIピクチャである。
[0005] Picture types include P pictures, B pictures and I pictures. There are two modes in which prediction from the past and two modes in which the MB is independently encoded without performing prediction are P
It is a picture. B-pictures have four modes for prediction from the future, prediction from the past, prediction from both, and independent encoding. It is an I picture that all MBs are independently encoded.

【0006】動き補償(MC:Motion Compensation)
は、動き領域をMB毎にパターンマッチングを行ってハ
ーフペル精度で動きベクトルを検出し、動き分だけシフ
トしてから予測する。動きベクトルは水平方向と垂直方
向が存在し、何処からの予測かを示すMCモードと共
に、MBの付加情報として伝送される。Iピクチャから
次のIピクチャの前のピクチャまでをGOP(Group Of
Picture)といい、蓄積メディアなどで使用される場合
には、一般に約15ピクチャ程度が使用される。
[0006] Motion Compensation (MC)
Predicts a motion vector with half-pel accuracy by performing pattern matching on a motion area for each MB, and shifts the motion vector by an amount corresponding to the motion for prediction. The motion vector has a horizontal direction and a vertical direction, and is transmitted as additional information of the MB together with the MC mode indicating where to predict the motion vector. GOP (Group Of) from the I picture to the picture before the next I picture
Picture), when used in storage media or the like, generally about 15 pictures are used.

【0007】減算回路1より取り出された差分画像信号
は、DCT器3において直交変換が行われる。離散コサ
イン変換(DCT:Discrete Cosine Transform)とは
余弦関数を積分核とした積分変換を有限空間への離散変
換する直交変換である。MPEGではMBを4分割した
8×8のDCTブロックに対して、2次元DCTを行
う。一般にビデオ信号は低域成分が多く高域成分が少な
いため、DCTを行うと係数が低域に集中する。
The difference image signal extracted from the subtraction circuit 1 is subjected to orthogonal transformation in the DCT unit 3. Discrete Cosine Transform (DCT) is an orthogonal transform that discretely transforms an integral transform using a cosine function as an integral kernel into a finite space. In MPEG, two-dimensional DCT is performed on an 8 × 8 DCT block obtained by dividing an MB into four. In general, since a video signal has many low-frequency components and few high-frequency components, when DCT is performed, coefficients concentrate on low frequencies.

【0008】DCTされた画像データ(DCT係数)
は、量子化器4で量子化が行われる。この量子化は量子
化マトリックスという8×8の2次元周波数を視覚特性
で重み付けした値と、その全体をスカラー倍する量子化
スケールという値で乗算した値を量子化値として、DC
T係数をその量子化値で除算する。デコーダで逆量子化
するときは量子化値で乗算することにより、元のDCT
係数に近似している値を得ることになる。
[0008] DCT-processed image data (DCT coefficients)
Are quantized by the quantizer 4. In this quantization, a value obtained by multiplying an 8 × 8 two-dimensional frequency called a quantization matrix by a visual characteristic by a value called a quantization scale for multiplying the whole by a scalar is used as a quantization value.
Divide the T coefficient by its quantized value. When inverse quantization is performed by the decoder, the original DCT is obtained by multiplying by the quantization value.
You will get a value that is close to the coefficient.

【0009】量子化されたデータはVLC器9で可変長
符号化される。量子化された値のうち直流(DC)成分
は予測符号化の一つであるDPCM(Differential Pul
se Code Modulation)を使用する。また交流(AC)成
分は低域から高域にジクザグスキャンを行い、ゼロのラ
ン長および有効係数値を1つの事象とし、出現確率の高
いものから符号長の短い符号を割り当てていくハフマン
符号化が行われる。可変長符号化されたデータは一時バ
ッファ10に蓄えられ、所定の転送レートで符号化デー
タとして出力される。
The quantized data is variable-length coded by a VLC unit 9. A direct current (DC) component of the quantized value is a DPCM (Differential Pull
se Code Modulation). In addition, Huffman coding in which an alternating current (AC) component performs a zigzag scan from a low frequency band to a high frequency band, assigns a run length of zero and an effective coefficient value to one event, and assigns a code having a short code length to a code having a high probability of occurrence. Is performed. The variable-length coded data is stored in a temporary buffer 10 and output as coded data at a predetermined transfer rate.

【0010】また、その出力されるデータのマクロブロ
ック毎の発生符号量は、符号量制御器11に供給され、
目標符号量に対する発生符号量との誤差符号量を量子化
器4にフィードバックして量子化スケールを調整するこ
とで符号量制御される。量子化された画像データは逆量
子化器5にて逆量子化、逆DCT器6にて逆DCTされ
た後、加算器7を通して画像メモリ8に一時蓄えられた
のち、動き補償予測器2において、差分画像を計算する
ためのリファレンスの復号化画像として使用される。動
き補償予測器2の出力信号は減算回路1と加算器7に入
力される。
The generated code amount of the output data for each macroblock is supplied to a code amount controller 11.
The code amount is controlled by feeding back the error code amount between the target code amount and the generated code amount to the quantizer 4 and adjusting the quantization scale. The quantized image data is inversely quantized by an inverse quantizer 5, inversely DCTed by an inverse DCT unit 6, and temporarily stored in an image memory 8 through an adder 7, and then, by a motion compensation predictor 2. , Is used as a reference decoded image for calculating a difference image. The output signal of the motion compensation predictor 2 is input to the subtraction circuit 1 and the adder 7.

【0011】バッファ10より出力される符号化ビット
ストリームは、ビデオの場合1ピクチャ毎に可変長の符
号量をもっている。これはMPEGがDCT、量子化、
ハフマン符号化という情報変換を用いている理由と同時
に、画質向上のためにピクチャ毎に配分する符号量は適
応的に変更する必要性がある。動き補償予測を行ってい
るので、あるときは入力画像そのままを符号化し、ある
ときは予測画像の差分である差分画像を符号化するなど
符号化画像自体のエントロピーも大きく変化するためで
ある。
An encoded bit stream output from the buffer 10 has a variable length code amount for each picture in the case of video. This is because MPEG uses DCT, quantization,
At the same time as using the information conversion called Huffman coding, it is necessary to adaptively change the code amount allocated to each picture in order to improve image quality. This is because since the motion compensation prediction is performed, the entropy of the coded image itself greatly changes, for example, in some cases, the input image is coded as it is, and in some cases, the difference image, which is the difference between the predicted images, is coded.

【0012】この場合、多くはその画像のエントロピー
比率に配分しつつ、バッファの制限を守りながら符号量
制御される。このバッファの制限は、復号装置側のバッ
ファがオーバーフローもアンダーフローも発生しないよ
うに符号化することであり、MPEGでVBV(Video
Buffering Verifier)として規定されている。これにつ
いての詳細は国際標準化機構(ISO)によりISO−
11172−2、ISO13818−2に記述されてい
る。この規定を守っていれば、VBVバッファ内でのレ
ートは局部的に変化しているものの、観測時間を長くと
れば固定の転送レートとなり、MPEGではこのことを
固定転送レートであると定義する。
In this case, in many cases, the code amount is controlled while allocating to the entropy ratio of the image and keeping the buffer limit. The limitation of this buffer is that encoding is performed so that the buffer on the decoding device side does not cause overflow or underflow. VBV (Video)
Buffering Verifier). Details on this are provided by the International Organization for Standardization (ISO).
11172-2 and ISO13818-2. If this rule is adhered to, the rate in the VBV buffer changes locally, but if the observation time is lengthened, the transfer rate becomes fixed, and MPEG defines this as the fixed transfer rate.

【0013】図7はMPEGにより圧縮符号化された符
号化データの復号化装置の一例のブロック図を示す。同
図において、MPEGにより圧縮符号化された符号化デ
ータは、バッファ32を通してVLD器33に入力さ
れ、ここで可変長復号されてから逆量子化器34で量子
化幅と乗算されることにより、元のDCT係数に近似し
た値とされた後、逆DCT器35に供給されて逆DCT
されることにより局部復号化される。
FIG. 7 is a block diagram showing an example of an apparatus for decoding encoded data which has been compression-encoded by MPEG. In the figure, encoded data compressed and encoded by MPEG is input to a VLD unit 33 through a buffer 32, where it is subjected to variable length decoding and then multiplied by a quantization width by an inverse quantizer 34, After having been approximated to the original DCT coefficient, it is supplied to the inverse DCT
Is locally decoded.

【0014】また、VLD器33より取り出された動き
ベクトルと予測モードは、動き補償予測器38に画像メ
モリ37よりの復号化データと共に供給され、これより
動き補償予測化した画像データを出力させる。加算器3
6は逆DCT器35からのデータと動き補償予測器38
よりの動き補償予測化した画像データとを加算すること
により、符号化装置に入力された画像データと等価な画
像データを復号し、復号化データとして画像メモリ37
に供給する一方、外部へ出力する。
The motion vector and the prediction mode extracted from the VLD unit 33 are supplied to the motion compensation predictor 38 together with the decoded data from the image memory 37, and output the motion compensated image data. Adder 3
6 is the data from the inverse DCT unit 35 and the motion compensation predictor 38
By adding the motion-compensated and predicted image data, the image data equivalent to the image data input to the encoding device is decoded, and the decoded image data is stored in the image memory 37 as decoded data.
And output to the outside.

【0015】このようなMPEGシステムでは、例えば
映像ソース(ディジタル放送その他)からの高符号化レ
ートの符号化データを、限られた容量の記録媒体に記録
する場合や、画質を多少劣化させても、番組圧縮データ
の更なる圧縮を希望する場合や、圧縮符号化データを編
集して繋げる場合に、どうしてもVBVバッファ占有値
をビットストリーム上で調節したいような場合、入力時
よりも低符号化レートにレート変換することが行われ
る。
[0015] In such an MPEG system, for example, when coded data of a high coding rate from a video source (digital broadcasting or the like) is recorded on a recording medium having a limited capacity, or even if the image quality is slightly degraded. If the user wants to further compress the program compressed data or edits and connects the compressed and encoded data, and wants to adjust the VBV buffer occupancy value on the bit stream, the encoding rate is lower than at the time of input. Rate conversion is performed.

【0016】従来の符号化や復号化技術を用いて、圧縮
符号化レートを変換するには、一度、元の圧縮符号化デ
ータを復号化して画像メモリを得て画像メモリに展開
し、その画像データを再度、所望のレートで符号化し直
す再圧縮を施すことが考えられる。
In order to convert the compression coding rate using the conventional coding and decoding techniques, the original compression coded data is once decoded to obtain an image memory, which is expanded in the image memory, It is conceivable to re-compress the data again at a desired rate.

【0017】また、従来のデータレート変換装置の中に
は、元の圧縮符号化データを復号化せずに、DCT係数
までの復号を行って、そのDCT係数領域でAC係数の
高域成分を削減する、もしくは量子化スケールを大きく
設定し直してAC係数を変換する装置も知られている
(特開平8−251587号公報)。
Some conventional data rate converters perform decoding up to DCT coefficients without decoding the original compressed and coded data, and remove high-frequency components of AC coefficients in the DCT coefficient area. There is also known an apparatus for converting AC coefficients by reducing or resetting the quantization scale to a large value (Japanese Patent Application Laid-Open No. 8-251587).

【0018】[0018]

【発明が解決しようとする課題】しかるに、上記の再圧
縮を行う従来のデータレート変換装置では、復号化、符
号化が同時に行える処理能力を必要とし、一度復号化し
たデータを画像メモリに展開しなければならないため、
余分なメモリの追加が必要となる。
However, the conventional data rate conversion apparatus for performing the above-mentioned recompression requires a processing capability capable of simultaneously performing decoding and encoding, and expands the data once decoded into an image memory. Must have
Extra memory needs to be added.

【0019】また、特開平8−251587号公報記載
の従来のデータレート変換装置においては、Iピクチャ
やPピクチャにおいてAC係数を削減したり、Q(量子
化)スケールを変更すると、本来、元の符号化ピクチャ
を作成するときに、動き補償の参照ピクチャとして使用
していた過去のIピクチャやPピクチャの画質が変更さ
れていることになり、予測残差成分に誤差が発生する。
その誤差は、MPEG特有のIピクチャから始まり数枚
のPピクチャへの順方向予測で、巡回して予測していく
途中で蓄積され、その誤差蓄積が再生画像に顕著な画質
劣化をもたらすことがある。
In the conventional data rate conversion device described in Japanese Patent Application Laid-Open No. Hei 8-251587, if the AC coefficient is reduced or the Q (quantization) scale is changed in an I picture or a P picture, the original data rate conversion is originally performed. When a coded picture is created, the image quality of the past I picture or P picture used as a reference picture for motion compensation has been changed, and an error occurs in the prediction residual component.
The errors are accumulated in the course of predicting cyclically in the forward prediction from MPEG-specific I-pictures to several P-pictures, and the accumulation of the errors may cause remarkable image quality degradation in a reproduced image. is there.

【0020】本発明は以上の点に鑑みなされたもので、
データレートを削減しても再生画像の巡回予測により発
生するリーク劣化を好適に防止し得るデータレート変換
装置を提供することを目的とする。
The present invention has been made in view of the above points,
It is an object of the present invention to provide a data rate conversion device capable of suitably preventing leak deterioration caused by cyclic prediction of a reproduced image even when the data rate is reduced.

【0021】また、本発明の他の目的は、メモリの追加
をすることなく、データレートを好適に変換し得るデー
タレート変換装置を提供することにある。
It is another object of the present invention to provide a data rate conversion device capable of suitably converting a data rate without adding a memory.

【0022】[0022]

【課題を解決するための手段】本発明は上記の目的を達
成するため、入力符号化データであるMPEGの可変長
符号を復号する可変長復号手段と、入力符号化データの
それぞれのピクチャが、どのピクチャタイプで符号化さ
れているかを検出するピクチャタイプ検出手段と、ピク
チャタイプ検出手段により検出されたピクチャタイプが
IピクチャもしくはPピクチャの場合は第1の端子へ入
力信号を出力し、Bピクチャの場合は第2の端子へ入力
信号を出力する選択動作を行う第1のスイッチ手段と、
ピクチャタイプ検出手段により検出されたピクチャタイ
プがIピクチャもしくはPピクチャの場合は第1の端子
の入力信号を選択して出力し、Bピクチャの場合は第2
の端子の入力信号を選択して出力する第2のスイッチ手
段と、第2のスイッチ手段から取り出された信号を一旦
蓄積して、入力符号化データに対してレート変換された
符号化データとして出力するバッファと、第1のスイッ
チ手段により選択され、可変長復号手段により可変長復
号されたBピクチャが入力信号として入力され、その入
力信号のAC符号を削減する再符号化を行って、第2の
スイッチ手段の第2の端子に入力する再符号化手段と、
第1のスイッチ手段により選択され、可変長復号手段に
より可変長復号されたIピクチャ又はPピクチャが入力
信号として入力され、その入力信号に対してMPEG規
定の復号化動作を行って復号データを得る復号手段と、
量子化器を含み、復号手段から出力された復号データに
対してMPEG規定の符号化を行って符号化データを得
て、第2のスイッチ手段の第1の端子に入力する符号化
手段と、バッファの充足度に応じて、ピクチャあたりの
目標符号量になるように、Bピクチャ検出時は再符号化
手段により入力信号のAC符号の削減量を制御し、Iピ
クチャ又はPピクチャ検出時は符号化手段の量子化器の
量子化幅を制御する符号量制御手段とを有する構成とし
たものである。
According to the present invention, in order to achieve the above object, variable length decoding means for decoding a variable length code of MPEG which is input coded data, and each picture of the input coded data comprises: A picture type detecting means for detecting which picture type is coded, and an input signal is output to a first terminal if the picture type detected by the picture type detecting means is an I picture or a P picture, In the case of a first switch means for performing a selection operation of outputting an input signal to the second terminal,
If the picture type detected by the picture type detection means is an I picture or a P picture, the input signal of the first terminal is selected and output, and if the picture type is a B picture, the second signal is output.
A second switch means for selecting and outputting an input signal from a terminal of the terminal, and temporarily storing a signal taken out from the second switch means and outputting the same as encoded data obtained by rate-converting the input encoded data. And a B picture selected by the first switch means and subjected to variable length decoding by the variable length decoding means is input as an input signal, and re-encoded to reduce the AC code of the input signal. Re-encoding means for inputting to a second terminal of the switch means;
An I-picture or a P-picture selected by the first switch and subjected to variable-length decoding by the variable-length decoding unit is input as an input signal, and the input signal is subjected to an MPEG-specified decoding operation to obtain decoded data. Decryption means;
An encoding unit including a quantizer, encoding the decoded data output from the decoding unit according to the MPEG standard to obtain encoded data, and inputting the encoded data to a first terminal of a second switch unit; According to the buffer sufficiency, the amount of AC code reduction of the input signal is controlled by the re-encoding means at the time of B-picture detection so that the target code amount per picture is obtained. Code amount control means for controlling the quantization width of the quantizer of the quantization means.

【0023】この発明では、入力符号化データのBピク
チャに対しては直接に再符号化手段によりAC符号の削
減を行い、IピクチャとPピクチャに対しては復号した
後、再度符号化するようにしたため、IピクチャやPピ
クチャにおいてAC係数を削減したり、量子化スケール
を変更しても、予測残差成分に誤差が発生することがな
い。また、Iピクチャ又はPピクチャに対しては、MP
EG規定の復号化動作を行って復号データを得た後、そ
の復号データに対してMPEG規定の符号化を行って符
号化データを得るようにしているため、復号化と符号化
を同時に行える処理能力を必要とせず、一度復号化した
データを蓄積するためのメモリを必要としない。
According to the present invention, the AC code is directly reduced by the re-encoding means for the B picture of the input encoded data, and the I and P pictures are decoded and then re-encoded. Therefore, even if the AC coefficient is reduced or the quantization scale is changed in the I picture or the P picture, no error occurs in the prediction residual component. For an I picture or a P picture, MP
Since the decoded data is obtained by performing the decoding operation specified by the EG, and then the decoded data is subjected to the encoding specified by the MPEG to obtain the encoded data, the decoding and the encoding can be performed simultaneously. No capability is required, and no memory is needed to store the data once decrypted.

【0024】ここで、上記の再符号化手段は、上記の第
1のスイッチ手段により選択され、可変長復号手段によ
り可変長復号されたBピクチャに対して、量子化スケー
ルをそのままにしてAC係数のVLCコードを、目標符
号量との概略の比率に応じて一部削除する削減器からな
るか、又は、上記の第1のスイッチ手段により選択さ
れ、可変長復号手段により可変長復号されたBピクチャ
に対して、可変長復号手段の入力符号化データを量子化
した際に用いられている量子化スケール以上の値に変更
された量子化スケールで再量子化を行うことにより、A
C符号を削減する再量子化器からなることを特徴とす
る。
Here, the re-encoding means applies the AC coefficient to the B picture selected by the first switch means and variable-length decoded by the variable-length decoding means while keeping the quantization scale as it is. Of the VLC code according to an approximate ratio with the target code amount, or BLC selected by the first switch means and variable-length decoded by the variable-length decoding means. By performing requantization on the picture using a quantization scale changed to a value equal to or greater than the quantization scale used when quantizing the input coded data of the variable length decoding means, A
It is characterized by comprising a re-quantizer for reducing the C code.

【0025】[0025]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面と共に説明する。図1は本発明になるデータレー
ト変換装置の第1の実施の形態のブロック図を示す。同
図中、図6と同一構成部分には同一符号を付してある。
図1に示す第1の実施の形態では、Bピクチャの符号量
変換をAC符号削減器21で行う点に特徴がある。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a block diagram of a first embodiment of a data rate conversion device according to the present invention. 6, the same components as those in FIG. 6 are denoted by the same reference numerals.
The first embodiment shown in FIG. 1 is characterized in that the code amount conversion of the B picture is performed by the AC code reducer 21.

【0026】入力符号化データは、まずVLD器13に
入力される。VLD器13は可変長符号デコーダ(Vari
able Length Code Decoder)といって、MPEG方式に
より圧縮符号化された可変長符号を復号する部分であ
る。このVLD器13は、入力符号化データ、すなわ
ち、可変長符号を復号するとともに、ピクチャのタイプ
をピクチャタイプ検出器14に供給する。
The input coded data is first input to the VLD unit 13. The VLD unit 13 is a variable length code decoder (Vari
It is a part that decodes a variable-length code that has been compression-encoded by the MPEG method. The VLD device 13 decodes the input coded data, that is, the variable length code, and supplies the picture type to the picture type detector 14.

【0027】ピクチャタイプ検出器14では、入力符号
化データのそれぞれのピクチャがどのピクチャタイプで
符号化されているかを検出し、その検出信号をスイッチ
回路(SW)15及び24へそれぞれ供給し、それらを
スイッチング制御する。すなわち、ピクチャタイプがI
ピクチャもしくはPピクチャの場合、SW15及び24
は図中、IPの方へ切り替えられ、Bピクチャの場合に
は図中、Bの方へ切り替えられる。
The picture type detector 14 detects which picture type of each picture of the input coded data is coded, and supplies the detection signal to the switch circuits (SW) 15 and 24, respectively. For switching control. That is, if the picture type is I
In the case of a picture or a P picture, SW15 and SW24
Is switched to IP in the figure, and is switched to B in the figure for a B picture.

【0028】まず、Bピクチャが検出されて、SW15
及び24がB側に切り替えられたときの動作を説明す
る。この場合、VLD器13で復号されたBピクチャの
データは、SW15を経由してAC符号削減器21に入
力される。AC符号削減器21では、符号量制御器23
によって指示された符号量、すなわち、後述するアルゴ
リズムで求められたピクチャあたりの目標符号量になる
ようAC符号を削減する。
First, a B picture is detected, and SW15
The operation when the switches 24 and 24 are switched to the B side will be described. In this case, the data of the B picture decoded by the VLD unit 13 is input to the AC code reduction unit 21 via the SW 15. In the AC code reducer 21, the code amount controller 23
, The AC code is reduced so as to be the target code amount per picture obtained by an algorithm described later.

【0029】各ピクチャのマクロブロックのAC符号コ
ードは表1に示したMPEGで規定されたハフマン符号
(VLCコード)で符号化されている。なお、表1中、
符号長はAC係数のハフマン符号(VLCコード)の符
号長を示す。
The AC code code of the macro block of each picture is coded by the Huffman code (VLC code) specified in MPEG shown in Table 1. In Table 1,
The code length indicates the code length of the Huffman code (VLC code) of the AC coefficient.

【0030】[0030]

【表1】 MPEGで規定されたマクロブロックの中には、8×8
画素のブロックが、輝度信号4つ、2種類の色差信号各
1つの計6つ分存在する。これらのブロックそれぞれに
AC符号が存在する。これらブロック内のハフマン符号
事象は、図3に示すように、ジグザグにDCT係数を並
べた時、0以外の有効係数が検出されるまでの、0の個
数(0ランレングス)と有効係数という組み合わせの事
象によって表現されている。
[Table 1] Some macroblocks specified by MPEG include 8 × 8
There are a total of six pixel blocks, four for luminance signals and one for each of two types of color difference signals. An AC code exists in each of these blocks. As shown in FIG. 3, when the DCT coefficients are arranged in a zigzag manner, the Huffman code event in these blocks is a combination of the number of 0s (0 run length) and the effective coefficients until an effective coefficient other than 0 is detected. The event is represented by

【0031】すなわち、これらを展開したとすると、図
3のイントラの場合と、図4に示すノンイントラの場合
では、左上にくるDC符号コードの存在、非存在の違い
がある。VLD器13ではこのようにAC係数の”0ラ
ンレングスと有効係数”事象とその符号長を検出して、
図3、図4に示すようなAC係数符号の送られてくる順
番、すなわち、低域の信号から並べたときの、その符号
長の累積符号量と、ジグザグスキャンした場合の係数位
置を示すアドレスを計算して、その情報をVLD情報と
して、符号化データと共にAC符号削減器21に供給す
る。
That is, assuming that these are developed, there is a difference between the case of the intra in FIG. 3 and the case of the non-intra shown in FIG. The VLD unit 13 detects the “0 run length and effective coefficient” event of the AC coefficient and the code length thereof, and
Addresses indicating the order in which the AC coefficient codes are transmitted as shown in FIGS. 3 and 4, that is, the accumulated code amount of the code length when arranged from the low-frequency signal and the coefficient position when zigzag scanning is performed. And supplies the information as VLD information to the AC code reducer 21 together with the encoded data.

【0032】AC符号削減器21ではVLD器13から
の符号化データとVLD情報、符号量制御器23からの
目標符号量TbをもとにAC係数符号を削減する。VL
D情報は、AC係数符号とその符号長を含んでいる。図
5に示すように、AC係数符号の低域の信号から並べ
て、その符号長の累積符号量のトータル符号量278ビ
ットに対し、元の符号化ピクチャデータと目標符号量と
の概略の比率(1−削除率Rc)を乗じた値までを有効
として、それ以降の符号は削除する。削除後のAC符号
にEOB(END OF BLOCK)コードを送信する。
The AC code reducer 21 reduces the AC coefficient code based on the encoded data from the VLD unit 13 and the VLD information, and the target code amount Tb from the code amount controller 23. VL
The D information includes an AC coefficient code and its code length. As shown in FIG. 5, by arranging from the low-frequency signal of the AC coefficient code, the approximate ratio of the original coded picture data to the target code amount (to the total code amount of 278 bits of the cumulative code amount of the code length ( 1-The value multiplied by the deletion rate Rc) is regarded as valid, and the subsequent symbols are deleted. An EOB (END OF BLOCK) code is transmitted as the AC code after the deletion.

【0033】従って、例えば、Rc=0.5の場合、元の
符号化ピクチャデータの累積符号長が、トータル符号量
である278ビットに0.5(=1−0.5)を乗じた
値139ビットに達するまでのAC係数のVLCコード
はそのままとし、それ以降のVLCコードを削除するこ
ととなり、この場合、表1のアドレス14以降のVLC
コードが削除される(値が0とされる)。なお、図5の
数値は、AC係数の値を示す。
Therefore, for example, when Rc = 0.5, the cumulative code length of the original coded picture data is a value obtained by multiplying 278 bits, which is the total code amount, by 0.5 (= 1-0.5). The VLC code of the AC coefficient until it reaches 139 bits is left as it is, and the VLC code after that is deleted.
The code is deleted (value is set to 0). The numerical values in FIG. 5 indicate the values of the AC coefficients.

【0034】このようにして、AC符号削減器21にお
いて、全部のブロックについて処理された符号化データ
は、SW24がB側に切り替えられているときに、SW
24を通して1ピクチャ分バッファ25に供給されて蓄
積される。
In this way, the coded data processed for all blocks in the AC code reducer 21 is switched to the SW side when the SW 24 is switched to the B side.
The data is supplied to the buffer 25 for one picture through the buffer 24 and stored.

【0035】バッファ25は発生符号量を符号量カウン
タ22に供給する。符号量カウンタ22は発生符号量を
1ピクチャ毎にカウントしているので、符号量制御器2
3で制御される削除の割合は、1ピクチャ内のマクロブ
ロックを処理していくにあたって、目標符号量になるよ
うピクチャ内でフィードバックして制御してもよい。
The buffer 25 supplies the generated code amount to the code amount counter 22. Since the code amount counter 22 counts the generated code amount for each picture, the code amount controller 2
The rate of deletion controlled by 3 may be controlled by feeding back within the picture so as to reach the target code amount when processing the macroblock in one picture.

【0036】次に、Iピクチャ又はPビクチャがピクチ
ャタイプ検出器14で検出されて、SW15及び24が
IP側に切り替えられたときの動作を説明する。この場
合、VLD器13で復号されたIピクチャ又はPピクチ
ャのデータは、SW15を経由して逆量子化器17に供
給され、逆量子化が行われる。逆量子化されたデータは
逆DCT器18にて、逆DCTされる。逆DCTにより
得られた差分画像データは、動き補償予測器16からの
一つ前の動き補償後の画像データに加算器19で加算さ
れ、減算回路1へ供給される。
Next, an operation when an I picture or a P picture is detected by the picture type detector 14 and the SWs 15 and 24 are switched to the IP side will be described. In this case, the data of the I picture or the P picture decoded by the VLD unit 13 is supplied to the inverse quantizer 17 via the SW 15 and is subjected to inverse quantization. The inversely quantized data is subjected to inverse DCT by an inverse DCT unit 18. The difference image data obtained by the inverse DCT is added to the previous motion-compensated image data from the motion compensation predictor 16 by the adder 19 and supplied to the subtraction circuit 1.

【0037】また、同時に加算器19により加算された
後の画像データは、画像メモリ20に供給されて蓄積さ
れ、次の動き補償のためのリファレンス画像(参照画
像)として再度、動き補償予測器16に入力される。動
き補償予測器16では、VLDされたマクロブロック毎
の動きベクトルをもとに画像メモリ20に蓄積された画
像データを動き補償して、次の、逆DCTされた差分画
像データに加算器19にて加算される画像を計算する。
The image data added by the adder 19 at the same time is supplied to and stored in the image memory 20, and is again used as a reference image (reference image) for the next motion compensation. Is input to The motion compensation predictor 16 motion-compensates the image data stored in the image memory 20 based on the VLD-based motion vector for each macroblock, and adds the result to the next inverse DCT differential image data to the adder 19. To calculate the image to be added.

【0038】減算回路1ではIピクチャの場合には減算
操作をすることなく、入力画像データをそのままDCT
器3へ供給する。Pピクチャの場合には、VLD器13
からの動きベクトルをもとに動き補償予測器2で動き補
償予測が行われ、減算回路1で予測画像との差分が計算
される。差分画像データはDCT器3においてDCTが
行われてDCT係数とされる。
In the subtraction circuit 1, in the case of an I picture, the input image data is directly subjected to DCT without performing a subtraction operation.
To the vessel 3. In the case of a P picture, the VLD unit 13
The motion compensation prediction is performed by the motion compensation predictor 2 on the basis of the motion vector from, and the difference from the predicted image is calculated by the subtraction circuit 1. The difference image data is subjected to DCT in the DCT unit 3 to obtain DCT coefficients.

【0039】このDCT係数は量子化器4で量子化さ
れ、動きベクトルや符号化モードとともにVLC器9で
可変長符号化(VLC)後、SW24を通してバッファ
25に供給されて一旦、蓄積され、これよりレート変換
されたMPEGビデオストリームとして出力される。
The DCT coefficients are quantized by the quantizer 4, variable-length coded (VLC) by the VLC unit 9 together with the motion vector and the coding mode, supplied to the buffer 25 through the SW 24, and temporarily stored therein. It is output as an MPEG video stream that has been rate-converted.

【0040】このとき、符号量制御器23はバッファ2
5の充足度(蓄積符号量)を符号量カウンタ22の値か
ら監視して、基本的にはバッファ25の充足度が多くな
ると量子化を粗く、少なくなると量子化を細かくするよ
うに、量子化器4の量子化幅を制御する。
At this time, the code amount controller 23
5 is monitored from the value of the code amount counter 22. Basically, the quantization is made coarser when the degree of sufficiency of the buffer 25 is larger, and finer when the degree of sufficiency is smaller. The quantization width of the unit 4 is controlled.

【0041】また、Iピクチャ及びPピクチャは、後で
動き補償予測の参照画面として用いる必要があるため、
量子化器4で量子化された情報は逆量子化器5、逆DC
T器6及び動き補償予測器2により、逆量子化、逆DC
T、動き補償されて、局部復号化が行われ、復号器と同
じ画像が復元されて画像メモリ8に蓄積される。この画
像は次の動き補償予測の参照画面とされる。
Since the I picture and the P picture need to be used later as a reference screen for motion compensation prediction,
The information quantized by the quantizer 4 is supplied to an inverse quantizer 5 and an inverse DC
The inverse quantization and the inverse DC are performed by the T unit 6 and the motion compensation predictor 2.
T, motion compensation is performed, local decoding is performed, and the same image as the decoder is restored and stored in the image memory 8. This image is used as a reference screen for the next motion compensation prediction.

【0042】このように、本実施の形態では、Iピクチ
ャとPピクチャは、バッファ25の充足度(蓄積符号
量)に応じてステップ幅が制御される量子化器4の出力
信号を局部復号して参照画像として用い、一方、Bピク
チャは直接にAC符号を削除することにより、Iピクチ
ャやPピクチャにおいてAC係数を削減したり、量子化
スケールを変更しても、予測残差成分に誤差が発生する
ことなく、巡回して予測していく動作の中で、誤差が蓄
積されて、再生画像にその誤差蓄積が顕著に発生するこ
とを解決できる。
As described above, in the present embodiment, the I-picture and the P-picture are locally decoded from the output signal of the quantizer 4 whose step width is controlled in accordance with the sufficiency of the buffer 25 (accumulated code amount). On the other hand, the B picture directly removes the AC code, so that even if the AC coefficient is reduced in the I picture or P picture or the quantization scale is changed, an error occurs in the prediction residual component. It is possible to solve the problem that errors accumulate in the operation of predicting cyclically without occurrence, and the error accumulation remarkably occurs in a reproduced image.

【0043】また、逆量子化器17から加算器19まで
の回路部でMPEG規定の復号化を行ってから、減算回
路1からVLC器9までの回路部でMPEG規定の符号
化をするようにしているため、復号化と符号化を同時に
行える処理能力を必要とせず、一度復号化したデータを
蓄積するためのメモリを必要としない。
Further, after the decoding from the dequantizer 17 to the adder 19 is performed according to the MPEG specification, the circuit from the subtraction circuit 1 to the VLC unit 9 performs the coding according to the MPEG. Therefore, there is no need for a processing capability capable of performing decoding and encoding at the same time, and there is no need for a memory for storing once-decoded data.

【0044】次に、符号量制御の方法について説明す
る。符号化されたデータは一時バッファ25に蓄えら
れ、所定の転送レートで符号化データとして出力され
る。また、その出力されるデータのマクロブロック毎の
発生符号量は、符号量カウンタ22を通して符号量制御
器23に供給され、目標符号量に対する発生符号量との
差分を量子化器4にフィードバックして符号量制御す
る。例えば、短区間を1GOP(Group of Picture)と
すると以下の様な方法で、画質をある程度保ちながら符
号を制御することができる。
Next, a method of controlling the code amount will be described. The encoded data is stored in the temporary buffer 25 and output as encoded data at a predetermined transfer rate. The generated code amount for each macro block of the output data is supplied to the code amount controller 23 through the code amount counter 22, and the difference between the generated code amount and the target code amount is fed back to the quantizer 4. The code amount is controlled. For example, if the short section is 1 GOP (Group of Picture), the code can be controlled by maintaining the image quality to some extent by the following method.

【0045】(a)ステップS1 まず、各GOPのレート変換後の目標符号量をRとする
と、ステップS1ではGOPの各ピクチャに対する割り
当て符号量を、GOP内でまだ符号化していないピクチ
ャに対してある重みをつけて配分する。 Xi=Si×Qi Xp=Sp×Qp Xb=Sb×Qb ここで、Xはグローバル・コンプレキシティ・メジャー
(global complexity measure)と呼ばれ、一つ前の同
ピクチャタイプの符号化結果のS(発生符号量)とQ
(平均量子化スケール)の積で定義される、画面の複雑
さを示すパラメータである。
(A) Step S1 First, assuming that the target code amount after rate conversion of each GOP is R, in step S1, the code amount allocated to each picture of the GOP is calculated for a picture that has not been coded in the GOP yet. Allocate with a certain weight. Xi = Si × Qi Xp = Sp × Qp Xb = Sb × Qb Here, X is called a global complexity measure, and S (S) of the previous encoding result of the same picture type Generated code amount) and Q
(Average quantization scale) is a parameter indicating the complexity of the screen.

【0046】また、理想的な画質を達成する量子化スケ
ールは、Iピクチャを基準とした場合のPピクチャとの
比率はKp=1.0、Bピクチャとの比率はKb=1.
4と仮定する。ここで、GOP中のIピクチャ、Pピク
チャ及びBピクチャに対する割り当て符号量Ti、Tp
及びTbは次式で表される。 Ti=MAX{R/(1+(NpXp/XiKp)+NbXb/XiKb)}、bit_rate/
(8*picture_rate)} Tp=MAX{R/(Np+(NbKpXb/KbXp))、bit_rate/(8*picture
_rate)} Tb=MAX{R/(Nb+(NpKbXp/KbXb))、bit_rate/(8*picture
_rate)} ただし、上式中、Np、NbはGOP内のPやBの未符
号化ピクチャ枚数である。Rの初期値はそのGOPに与
えられた符号量である。また、bit_rateは目標レートで
ある。
The quantization scale for achieving the ideal image quality is such that the ratio with the P picture is Kp = 1.0 and the ratio with the B picture is Kb = 1.
Assume 4. Here, the code amounts Ti, Tp allocated to the I picture, P picture and B picture in the GOP.
And Tb are represented by the following equations. Ti = MAX {R / (1+ (NpXp / XiKp) + NbXb / XiKb)}, bit_rate /
(8 * picture_rate)} Tp = MAX {R / (Np + (NbKpXb / KbXp)), bit_rate / (8 * picture
_rate)} Tb = MAX {R / (Nb + (NpKbXp / KbXb)), bit_rate / (8 * picture
_rate)} where Np and Nb are the numbers of uncoded pictures of P and B in the GOP. The initial value of R is the code amount given to the GOP. Bit_rate is a target rate.

【0047】このようにして求めた割り当て符号量をも
とにして、各ピクチャを符号化する毎に、GOP内のま
だ符号化されていないピクチャに対して割り当てられる
目標符号量Rは次のように更新される。 R=R−Si,p,b
Each time a picture is coded based on the code amount thus obtained, the target code amount R to be allocated to the uncoded picture in the GOP is as follows. Will be updated to R = R-Si, p, b

【0048】(b)ステップS2 ステップS2ではステップS1で割り当てられた各ピク
チャの符号量(Ti,Tp,Tb)と実際の発生符号量
を一致させるため、マクロブロック(MB)毎に発生符
号量を加算しつつ、目標符号量から途中での予測目標符
号量との差を量子化スケールにMB単位でフィードバッ
クする。ここで、j番目のMBの符号化に先立ち、I、
P及びBピクチャの各先頭からj番目における各仮想バ
ッファの占有量dji、djp及びdjbをそれぞれ次
式により求める。
(B) Step S2 In step S2, in order to make the code amount (Ti, Tp, Tb) of each picture allocated in step S1 equal to the actual generated code amount, the generated code amount is set for each macroblock (MB). And the difference between the target code amount and the predicted target code amount in the middle is fed back to the quantization scale in MB units. Here, prior to encoding of the j-th MB, I,
The occupation amounts dji, djp, and djb of each virtual buffer at the j-th position from the beginning of each of the P and B pictures are obtained by the following equations.

【0049】 dji=d0i+Bj−1−(Ti・(j−1)/MB_cnt) djp=d0p+Bj−1−(Tp・(j−1)/MB_cnt) djb=d0b+Bj−1−(Tb・(j−1)/MB_cnt) ただし、上式中、d0i、d0p、d0bはI、P、B
ピクチャの各仮想バッファの初期占有量、Bは符号量
カウンタ22でカウントされた各ピクチャの先頭からj
番目のMBまでの発生符号量、MB_cntは1ピクチ
ャ内のMB数である。
Dji = d0i + B j−1 − (Ti · (j−1) / MB_cnt) djp = d0p + B j−1 − (Tp · (j−1) / MB_cnt) djb = d0b + B j−1 − (Tb · ( j-1) / MB_cnt) where d0i, d0p, and d0b are I, P, B
The initial occupancy of each virtual buffer of the picture, B j, is j from the head of each picture counted by the code amount counter 22.
The generated code amount up to the MB, MB_cnt, is the number of MBs in one picture.

【0050】また、I及びPピクチャの量子化スケール
Qは次式により求める。 Q=dj×31/r (1≦Q≦31) r=2×bit_rate/picture_rate ただし、上式中、rはフィードバックの応答速度を決定
するパラメータである。このようにして、符号量制御を
行うことが可能となる。
The quantization scale Q of the I and P pictures is obtained by the following equation. Q = dj × 31 / r (1 ≦ Q ≦ 31) r = 2 × bit_rate / picture_rate where r is a parameter that determines the response speed of feedback. In this way, it is possible to control the code amount.

【0051】なお、Bピクチャの場合には、符号量制御
はAC係数のVLCコードを削減することで行うことと
しているので、量子化スケールは固定とし、前述したA
C係数削除により符号量を制御するが、Bピクチャにお
いても、以下のような式で符号量制御することが可能で
ある。
In the case of a B picture, since the code amount control is performed by reducing the VLC code of the AC coefficient, the quantization scale is fixed, and
Although the code amount is controlled by deleting the C coefficient, the code amount of the B picture can be controlled by the following equation.

【0052】 Rc=dj×0.9/r (0.1≦Q・Rc≦
0.9) r=2×bit_rate/picture_rate ただし、上式中、Rcは削減率である。このようにして
符号量制御を行うことが可能となる。また、ここでは、
Rcをdjのバッファでフィードバックするように示し
たが、Rcは固定でAC係数削減を行ってもよい。
Rc = dj × 0.9 / r (0.1 ≦ Q · Rc ≦
0.9) r = 2 × bit_rate / picture_rate where Rc is a reduction rate. In this way, it is possible to control the code amount. Also, here
Although Rc is shown to be fed back by the dj buffer, Rc may be fixed and AC coefficient reduction may be performed.

【0053】次に、本発明の第2の実施の形態について
説明する。図2は本発明になるビットレート変換装置の
第2の実施の形態のブロック図を示す。同図中、図1と
同一構成部分には同一符号を付してある。図2におい
て、入力符号化データは、まずVLD器13に入力さ
れ、ここで可変長符号が復号されるとともに、ピクチャ
のタイプがピクチャタイプ検出器14に供給されて、入
力符号化データのそれぞれのピクチャがどのピクチャタ
イプで符号化されているか検出される。
Next, a second embodiment of the present invention will be described. FIG. 2 shows a block diagram of a second embodiment of the bit rate conversion device according to the present invention. In the figure, the same components as those in FIG. 1 are denoted by the same reference numerals. In FIG. 2, input coded data is first input to a VLD unit 13, where a variable length code is decoded, and a picture type is supplied to a picture type detector 14, and each of the input coded data is It is detected in which picture type the picture is encoded.

【0054】第1の実施の形態と同様に、ピクチャタイ
プがIピクチャもしくはPピクチャの場合、SW15及
び29はIP側へ切り替えられる。Bピクチャの場合に
はB側へ切り替えられる。
As in the first embodiment, when the picture type is an I picture or a P picture, the SWs 15 and 29 are switched to the IP side. In the case of a B picture, it is switched to the B side.

【0055】まず、BピクチャヘSW15及び29を切
り替えたときの説明をする。VLD器13で復号された
Bピクチャのデータは、SW15を経由して再量子化器
28に入力される。再量子化器28は、符号量制御器2
3によって指示された符号量、すなわち、後述するアル
ゴリズムで求められたピクチャ当たりの目標符号量にな
るよう、量子化スケールを制御する。その場合、元の符
号化データに記述されている対象のBピクチャの各マク
ロブロックごとの量子化スケールに比較して、その量子
化スケール以上の値で量子化するようにする。
First, a description will be given of a case where the SWs 15 and 29 are switched to the B picture. The B picture data decoded by the VLD unit 13 is input to the requantizer 28 via the SW 15. The requantizer 28 is a code amount controller 2
The quantization scale is controlled so that the code amount indicated by 3, that is, the target code amount per picture obtained by an algorithm described later. In this case, the quantization is performed with a value equal to or larger than the quantization scale for each macroblock of the target B picture described in the original encoded data.

【0056】すなわち、符号量カウンタ22によるバッ
ファ30からの符号量カウンタ値を基に、レート変換す
る前の元のピクチャ全体の符号量より小さい値を目標符
号量とするために、基本的には量子化スケールは大きい
方向へ制御されるはずであるが、局所的にバッファ30
のフィードバック制御状態によっては、元の量子化スケ
ールより小さい値になる可能性がある。その場合、画像
の品質は元の画質より向上することはないので、再量子
化器28で再量子化をする場合に制御される量子化スケ
ールは、元の量子化スケールに対してリミッタをかけ
て、元の量子化スケール以上の値で量子化するように変
更し、これにより量子化スケールが無駄に小さい値をと
ることで、画質向上につながらない符号量増加を防止す
る。
That is, based on the code amount counter value from the buffer 30 by the code amount counter 22, a value smaller than the code amount of the entire original picture before rate conversion is set as the target code amount. The quantization scale should be controlled in the larger direction, but locally the buffer 30
May be smaller than the original quantization scale depending on the feedback control state of. In this case, since the quality of the image is not improved from the original image quality, the quantization scale controlled when requantization is performed by the requantizer 28 is performed by applying a limiter to the original quantization scale. Then, the quantization is changed to a value larger than the original quantization scale, and thereby the quantization scale takes a uselessly small value, thereby preventing an increase in the code amount that does not lead to an improvement in image quality.

【0057】再量子化器28ではVLD器13からのB
ビクチャの符号化データとVLD情報、符号量制御器2
3からの目標符号量Tbを基に、量子化スケールを上記
のように制御する。符号量制御の方法は次に述べるIピ
クチャ及びPピクチャの場合と同じアルゴリズムを用い
ればよい。
In the requantizer 28, B from the VLD unit 13
Victure coded data and VLD information, code amount controller 2
The quantization scale is controlled as described above based on the target code amount Tb from No. 3. The method of controlling the code amount may use the same algorithm as that for the I picture and the P picture described below.

【0058】このようにして、再量子化器28で全部の
ブロックを再量子化処理されて得られた符号化データ
は、B側に接続されているSW29を経由して1ピクチ
ャ分バッファ30に供給されて蓄積される。バッファ3
0は発生符号量を符号量カウンタ22に供給する。符号
量カウンタ22は前述したように、発生符号量を1ピク
チャ毎にカウントしているので、符号量制御器23で制
御される削除の割合は、1ピクチャ内のマクロブロック
を処理していくにあたって、目標符号量になるようピク
チャ内でフィードバックして制御してもよい。
In this way, the coded data obtained by requantizing all blocks by the requantizer 28 is transferred to the buffer 30 for one picture via the SW 29 connected to the B side. Supplied and accumulated. Buffer 3
0 supplies the generated code amount to the code amount counter 22. As described above, since the code amount counter 22 counts the generated code amount for each picture, the rate of deletion controlled by the code amount controller 23 is determined by processing a macroblock in one picture. May be controlled by feeding back in the picture so that the target code amount is obtained.

【0059】次に、ピクチャタイプ検出器14でピクチ
ャタイプがIピクチャもしくはPピクチャとして検出さ
れた場合の動作について説明する。VLD器13により
復号されたIピクチャ又はPピクチャの符号化データ
は、IP側に接続されているSW15を通して逆量子化
器17に供給され、ここで逆量子化が行われる。逆量子
化されたデータは、逆DCT器18にて逆DCTされた
後、加算器19に供給され、ここで動き補償予測器16
からの一つ前の動き補償後の画像データと加算され、減
算回路1へ供給される。
Next, the operation when the picture type detector 14 detects the picture type as an I picture or a P picture will be described. The encoded data of the I picture or P picture decoded by the VLD unit 13 is supplied to the inverse quantizer 17 through the SW 15 connected to the IP side, where the inverse quantization is performed. The inversely quantized data is subjected to inverse DCT by an inverse DCT unit 18 and then supplied to an adder 19, where the motion compensated predictor 16
Is added to the previous motion-compensated image data, and supplied to the subtraction circuit 1.

【0060】また、同時に、加算器19からの画像デー
タは画像メモリ20に供給されて蓄積され、次の動き補
償のためのリファレンス画像として再度、動き補償予測
器16に入力される。動き補償予測器16は、VLDさ
れたマクロブロックごとの動きベクトルを基に画像メモ
リ20にメモリされた画像を動き補償して、次の逆DC
Tされた差分画像データに加算器19にて加算される画
像を計算する。
At the same time, the image data from the adder 19 is supplied to and stored in the image memory 20, and is again input to the motion compensation predictor 16 as a reference image for the next motion compensation. The motion compensation predictor 16 motion-compensates the image stored in the image memory 20 based on the motion vector for each macroblock subjected to VLD, and performs the next inverse DC.
An image to be added by the adder 19 to the T difference image data is calculated.

【0061】減算回路1はIピクチャの場合には減算操
作をすることなく、入力データをそのままDCT器3へ
伝送する。Pピクチャの場合には、VLD器13からの
動きベクトルをもとに動き補償予測器2で動き補償予測
が行われ、減算回路1で動き補償予測器2からの予測画
像との差分が計算される。
In the case of an I picture, the subtraction circuit 1 transmits the input data to the DCT unit 3 without performing a subtraction operation. In the case of a P picture, motion compensation prediction is performed by the motion compensation predictor 2 based on the motion vector from the VLD unit 13, and the difference from the prediction image from the motion compensation predictor 2 is calculated by the subtraction circuit 1. You.

【0062】減算回路1からの差分画像データはDCT
器3においてDCTが行われる。DCT係数は量子化器
4で量子化され、動きベクトルや符号化モードとともに
VLC器9で可変長符号化(VLC)後、IP側に接続
されているSW29を経由してバッファ30に供給され
て蓄積された後、MPEGビデオストリームとして出力
される。
The difference image data from the subtraction circuit 1 is DCT
DCT is performed in the unit 3. The DCT coefficients are quantized by the quantizer 4, variable-length coded (VLC) by the VLC unit 9 together with the motion vector and the coding mode, and then supplied to the buffer 30 via the SW 29 connected to the IP side. After being stored, it is output as an MPEG video stream.

【0063】符号量制御器23はバッファ30の充足度
(蓄積符号量)を符号量カウンタ22を通して監視し
て、基本的にはバッファ30の充足度が多くなると量子
化を粗く、少なくなると量子化を細かくするように量子
化器4の量子化幅を制御する。
The code amount controller 23 monitors the sufficiency (accumulated code amount) of the buffer 30 through the code amount counter 22. Basically, when the sufficiency of the buffer 30 increases, the quantization is coarse, and when the sufficiency decreases, the quantization is reduced. The quantization width of the quantizer 4 is controlled so as to make.

【0064】また、Iピクチャ、Pピクチャは、後で動
き補償予測の参照画面として用いる必要があるため、量
子化された情報は逆量子化器5、逆DCT器6および動
き補償予測器2により、逆量子化、逆DCT、動き補償
予測されて、局部復号化が行われ、復号器と同じ画像が
復元されて画像メモリ8に蓄積される。この画像は次の
動き補償予測の参照画面とされる。
Since the I picture and the P picture need to be used later as a reference screen for motion compensation prediction, the quantized information is supplied to the inverse quantizer 5, the inverse DCT unit 6 and the motion compensation predictor 2. , Inverse quantization, inverse DCT, and motion compensation prediction, local decoding is performed, and the same image as the decoder is restored and stored in the image memory 8. This image is used as a reference screen for the next motion compensation prediction.

【0065】次に、Iピクチャ、Pピクチャ及びBピク
チャの各ピクチャ共通の符号量制御の方法について説明
する。符号化されたデータは一時バッファ30に蓄えら
れ、所定の転送レートで符号化データとして出力され
る。また、その出力されるデータのマクロブロック毎の
発生符号量は、符号量制御器23に出力され、目標符号
量に対する発生符号量との差分を量子化器4にフィード
バックして符号量制御される。例えば、短区間を1GO
Pとすると以下の様な方法で、画質をある程度保ちなが
ら符号を制御することができる。
Next, a method of controlling the code amount common to each of the I picture, P picture, and B picture will be described. The encoded data is stored in the temporary buffer 30 and output as encoded data at a predetermined transfer rate. The generated code amount for each macro block of the output data is output to the code amount controller 23, and the difference between the generated code amount and the target code amount is fed back to the quantizer 4 to control the code amount. . For example, a short section is 1 GO
If P is set, the code can be controlled by the following method while maintaining the image quality to some extent.

【0066】すなわち、まず、各GOPのレート変換後
の目標符号量をRとすると、GOPの各ピクチャに対す
る割り当て符号量を、ステップS1では、前述した第1
の実施の形態でのステップS1と同様に、GOP内でま
だ符号化していないピクチャに対してある重みをつけて
配分する。この配分をGOP内の符号化ピクチャ順に繰
り返し、前述した第1の実施の形態のステップS1での
動作と同じ符号量割り当て動作を行う。また、GOP内
で符号化が進むごとにRは次のように更新する。 R=R−Si,p,b
That is, first, assuming that the target code amount after rate conversion of each GOP is R, the code amount allocated to each picture of the GOP is determined in step S1 by the above-described first code amount.
Similar to step S1 in the embodiment, a certain weight is assigned to a picture which has not been coded in the GOP and distributed. This distribution is repeated in the order of the coded pictures in the GOP, and the same code amount allocation operation as the operation in step S1 of the first embodiment described above is performed. Also, R is updated as follows each time encoding proceeds in a GOP. R = R-Si, p, b

【0067】次に、ステップS2では、ステップS1で
求めた各ピクチャに対する割り当て符号量Ti、Tp及
びTbと、実際の発生符号量とを一致させるため、ま
ず、j番目のマクロブロックの符号化に先立ち、仮想バ
ッファの占有量dji、djp及びdjbを、第1の実
施の形態で前述したdji、djp、djbの式と同じ
式により求めた後、j番目のマクロブロックに対する量
子化スケールQを次式により求める。
Next, in step S2, in order to make the allocated code amounts Ti, Tp and Tb for each picture obtained in step S1 coincide with the actual generated code amounts, first, the coding of the j-th macroblock is performed. First, the occupancy amounts dji, djp, and djb of the virtual buffer are obtained by the same expressions as the expressions dji, djp, and djb described in the first embodiment, and then the quantization scale Q for the j-th macroblock is calculated as follows. It is determined by the formula.

【0068】 Q=dj×31/r (prevQ≦Q≦31) r=2×bit_rate/picture_rate ただし、上式中、rはフィードバックの応答速度を決定
するパラメータ、prevQは、レート変換前のマクロ
ブロックで使用されていた量子化スケールである。この
ようにして、符号量制御を行うことが可能になる。
Q = dj × 31 / r (prevQ ≦ Q ≦ 31) r = 2 × bit_rate / picture_rate where r is a parameter that determines a feedback response speed, and prevQ is a macroblock before rate conversion. Is the quantization scale used in. In this way, it is possible to control the code amount.

【0069】本実施の形態によれば、IピクチャとPピ
クチャのデータに対しては、局部復号することで次の予
測画像の参照データとして再符号化し、Bピクチャに関
しては再量子化器28により直接再符号化するようにし
たため、IピクチャやPピクチャにおいてAC係数を削
減したり、量子化スケールを変更しても、予測残差成分
に誤差が発生することなく、巡回して予測していく動作
の中で、誤差が蓄積されて再生画像に顕著に発生するこ
とを防止できる。
According to the present embodiment, I-picture data and P-picture data are locally decoded to be re-encoded as reference data for the next predicted picture, and B-pictures are re-quantized by requantizer 28. Since direct re-encoding is performed, even if the AC coefficient is reduced or the quantization scale is changed in an I picture or a P picture, prediction is performed cyclically without any error occurring in the prediction residual component. During operation, it is possible to prevent errors from accumulating and significantly occurring in a reproduced image.

【0070】なお、本発明は以上の実施の形態に限定さ
れるものではなく、例えば、図1及び図2において、量
子化器4の出力信号を逆量子化器5に供給するのではな
く、VLC器9の出力側に逆VLC器を設け、その逆V
LC器からの信号を逆量子化器5に供給するように構成
してもよい。従って、この場合は、レート変換のための
VLC後のデータが局部復号されることになる。
The present invention is not limited to the above embodiment. For example, in FIGS. 1 and 2, instead of supplying the output signal of the quantizer 4 to the inverse quantizer 5, An inverse VLC device is provided on the output side of the VLC device 9 and the inverse VLC
The signal from the LC unit may be supplied to the inverse quantizer 5. Therefore, in this case, the data after VLC for rate conversion is locally decoded.

【0071】[0071]

【発明の効果】以上説明したように、本発明によれば、
IピクチャデータとPピクチャデータに関しては、MP
EG規定の復号してから、その復号データに対するレー
ト変換のための量子化後、若しくはVLC後のデータを
局部復号することで次の予測画像の参照データとして再
符号化をし、Bピクチャに関しては直接再符号化するよ
うにしたので、IピクチャやPピクチャにおいてAC係
数を削減したり、量子化スケールを変更しても、予測残
差成分に誤差が発生することなく、巡回して予測してい
く動作の中で、誤差が蓄積されて、再生画像にその誤差
蓄積が顕著に発生することを解決し、レート変換後の再
生画像の品質を向上することができる。
As described above, according to the present invention,
For I picture data and P picture data, MP picture
After decoding according to the EG rules, the decoded data is quantized for rate conversion, or the data after VLC is locally decoded to perform re-encoding as reference data of the next predicted image. Since direct re-encoding is performed, even if the AC coefficient is reduced or the quantization scale is changed in an I picture or a P picture, prediction is performed cyclically without any error occurring in the prediction residual component. In some operations, it is possible to solve the problem that errors are accumulated and the errors are significantly accumulated in a reproduced image, and the quality of the reproduced image after rate conversion can be improved.

【0072】また、本発明によれば、従来の再圧縮の方
式のように、復号化、符号化が同時に行える処理能力を
必要としないため、一度復号化したデータを蓄積するた
めの余分なメモリ追加が必要なくなり、コスト低減がで
きる。
Further, according to the present invention, unlike the conventional recompression method, there is no need for a processing capability capable of simultaneous decoding and encoding, so that an extra memory for storing data once decoded is used. No additional work is required, and costs can be reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のレート変換装置の第1の実施の形態の
ブロック図である。
FIG. 1 is a block diagram of a rate conversion device according to a first embodiment of the present invention.

【図2】本発明のレート変換装置の第2の実施の形態の
ブロック図である。
FIG. 2 is a block diagram of a rate conversion device according to a second embodiment of the present invention.

【図3】DCT係数のイントラMBのスキャン方法を説
明する説明図である。
FIG. 3 is an explanatory diagram illustrating a method of scanning an intra MB of a DCT coefficient.

【図4】DCT係数のノンイントラMBのスキャン方法
を説明する説明図である。
FIG. 4 is an explanatory diagram illustrating a method for scanning a non-intra MB with DCT coefficients.

【図5】DCT係数の発生例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of generation of DCT coefficients.

【図6】MPEG符号化器の一例のブロック図である。FIG. 6 is a block diagram illustrating an example of an MPEG encoder.

【図7】MPEG復号化器の一例のブロック図である。FIG. 7 is a block diagram illustrating an example of an MPEG decoder.

【符号の説明】[Explanation of symbols]

1 減算回路 2、16、38 動き補償予測器 3 DCT器 4 量子化器 5、17、34 逆量子化器 6、18、35 逆DCT器 7、19、36 加算器 8、20、37 画像メモリ 9 VLC器 10、25、30、32 バッファ 11、23 符号量制御器 13、33 VLD器 14 ピクチャタイプ検出器 15、24、29 スイッチ回路(SW) 21 AC符号削減器 22 符号量カウンタ 28 再量子化器 Reference Signs List 1 subtraction circuit 2, 16, 38 motion compensation predictor 3 DCT unit 4 quantizer 5, 17, 34 inverse quantizer 6, 18, 35 inverse DCT unit 7, 19, 36 adder 8, 20, 37 image memory 9 VLC device 10, 25, 30, 32 Buffer 11, 23 Code amount controller 13, 33 VLD device 14 Picture type detector 15, 24, 29 Switch circuit (SW) 21 AC code reducer 22 Code amount counter 28 Requantity Chemist

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森田 一彦 神奈川県横浜市神奈川区守屋町3丁目12番 地 日本ビクター株式会社内 Fターム(参考) 5C059 KK01 KK34 KK35 MA00 MA23 MC11 MC38 ME02 NN15 PP05 PP06 PP07 PP16 SS01 SS06 SS11 TA46 TA49 TA60 TA71 TB04 TC10 TC18 TC24 TC38 TD06 UA02 UA05 UA33 5J064 AA01 AA04 BA09 BB05 BC01 BC05 BC16 BD02 BD03  ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Kazuhiko Morita 3-12 Moriyacho, Kanagawa-ku, Yokohama-shi, Kanagawa Japan F Co., Ltd. F-term (reference) 5C059 KK01 KK34 KK35 MA00 MA23 MC11 MC38 ME02 NN15 PP05 PP06 PP07 PP16 SS01 SS06 SS11 TA46 TA49 TA60 TA71 TB04 TC10 TC18 TC24 TC38 TD06 UA02 UA05 UA33 5J064 AA01 AA04 BA09 BB05 BC01 BC05 BC16 BD02 BD03

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力符号化データであるMPEGの可変
長符号を復号する可変長復号手段と、 前記入力符号化データのそれぞれのピクチャが、どのピ
クチャタイプで符号化されているかを検出するピクチャ
タイプ検出手段と、 前記ピクチャタイプ検出手段により検出されたピクチャ
タイプがIピクチャもしくはPピクチャの場合は第1の
端子へ入力信号を出力し、Bピクチャの場合は第2の端
子へ入力信号を出力する選択動作を行う第1のスイッチ
手段と、 前記ピクチャタイプ検出手段により検出されたピクチャ
タイプがIピクチャもしくはPピクチャの場合は第1の
端子の入力信号を選択して出力し、Bピクチャの場合は
第2の端子の入力信号を選択して出力する第2のスイッ
チ手段と、 前記第2のスイッチ手段から取り出された信号を一旦蓄
積して、前記入力符号化データに対してレート変換され
た符号化データとして出力するバッファと、 前記第1のスイッチ手段により選択され、前記可変長復
号手段により可変長復号されたBピクチャが入力信号と
して入力され、その入力信号のAC符号を削減する再符
号化を行って、前記第2のスイッチ手段の第2の端子に
入力する再符号化手段と、 前記第1のスイッチ手段により選択され、前記可変長復
号手段により可変長復号されたIピクチャ又はPピクチ
ャが入力信号として入力され、その入力信号に対してM
PEG規定の復号化動作を行って復号データを得る復号
手段と、 量子化器を含み、前記復号手段から出力された復号デー
タに対してMPEG規定の符号化を行って符号化データ
を得て、前記第2のスイッチ手段の第1の端子に入力す
る符号化手段と、 前記バッファの充足度に応じて、ピクチャあたりの目標
符号量になるように、前記Bピクチャ検出時は前記再符
号化手段により入力信号のAC符号の削減量を制御し、
前記Iピクチャ又はPピクチャ検出時は前記符号化手段
の前記量子化器の量子化幅を制御する符号量制御手段と
を有することを特徴とするデータレート変換装置。
1. A variable length decoding means for decoding an MPEG variable length code which is input coded data, and a picture type for detecting which picture type each picture of the input coded data is coded Detecting means for outputting an input signal to a first terminal if the picture type detected by the picture type detecting means is an I picture or a P picture, and outputting an input signal to a second terminal if the picture type is a B picture A first switch for performing a selection operation; and selecting and outputting an input signal of a first terminal when the picture type detected by the picture type detection means is an I picture or a P picture; A second switch for selecting and outputting an input signal of a second terminal; and a signal extracted from the second switch. A buffer that accumulates and outputs as encoded data obtained by rate-converting the input encoded data; and a B picture selected by the first switch means and variable-length decoded by the variable-length decoding means. A re-encoding unit which is input as an input signal and reduces the AC code of the input signal, and which is input to a second terminal of the second switch unit, and selected by the first switch unit The I-picture or the P-picture, which has been variable-length decoded by the variable-length decoding means, is input as an input signal.
A decoding means for obtaining decoded data by performing a decoding operation specified by the PEG; and a quantizer, performing encoded coding specified by the MPEG on the decoded data output from the decoding means to obtain encoded data, Encoding means for inputting to the first terminal of the second switch means; and the re-encoding means at the time of detecting the B-picture, so as to have a target code amount per picture according to the sufficiency of the buffer. Controls the amount of AC code reduction of the input signal by
A data rate conversion device comprising: a code amount control unit that controls a quantization width of the quantizer of the encoding unit when the I picture or the P picture is detected.
【請求項2】 前記再符号化手段は、前記第1のスイッ
チ手段により選択され、前記可変長復号手段により可変
長復号されたBピクチャに対して、量子化スケールをそ
のままにしてAC係数のVLCコードを、目標符号量と
の概略の比率に応じて一部削除する削減器からなること
を特徴とする請求項1記載のデータレート変換装置。
2. The re-encoding means, for a B picture selected by the first switch means and subjected to variable-length decoding by the variable-length decoding means, retains a quantization scale and maintains a VLC of an AC coefficient. 2. The data rate conversion device according to claim 1, further comprising a reducer for deleting a part of the code according to an approximate ratio to a target code amount.
【請求項3】 前記再符号化手段は、前記第1のスイッ
チ手段により選択され、前記可変長復号手段により可変
長復号されたBピクチャに対して、前記可変長復号手段
の入力符号化データを量子化した際に用いられている量
子化スケール以上の値に変更された量子化スケールで再
量子化を行うことにより、AC符号を削減する再量子化
器からなることを特徴とする請求項1記載のデータ変換
装置。
3. The re-encoding means, for a B picture selected by the first switch means and subjected to variable-length decoding by the variable-length decoding means, encodes input encoded data of the variable-length decoding means. 2. A re-quantizer for reducing an AC code by performing re-quantization on a quantization scale changed to a value equal to or larger than a quantization scale used when quantization is performed. Data conversion device as described.
JP2001028929A 2001-02-06 2001-02-06 Data rate converter Expired - Lifetime JP3800965B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001028929A JP3800965B2 (en) 2001-02-06 2001-02-06 Data rate converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001028929A JP3800965B2 (en) 2001-02-06 2001-02-06 Data rate converter

Publications (2)

Publication Number Publication Date
JP2002232894A true JP2002232894A (en) 2002-08-16
JP3800965B2 JP3800965B2 (en) 2006-07-26

Family

ID=18893339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001028929A Expired - Lifetime JP3800965B2 (en) 2001-02-06 2001-02-06 Data rate converter

Country Status (1)

Country Link
JP (1) JP3800965B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005323353A (en) * 2004-04-15 2005-11-17 Microsoft Corp High-fidelity transcoding
JP2007135101A (en) * 2005-11-11 2007-05-31 Kddi Corp Rate converting apparatus for moving picture
JP2008244993A (en) * 2007-03-28 2008-10-09 Renesas Technology Corp Apparatus and method for transcoding
JP2009231905A (en) * 2008-03-19 2009-10-08 Mega Chips Corp Transcoder

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005323353A (en) * 2004-04-15 2005-11-17 Microsoft Corp High-fidelity transcoding
JP2007135101A (en) * 2005-11-11 2007-05-31 Kddi Corp Rate converting apparatus for moving picture
JP2008244993A (en) * 2007-03-28 2008-10-09 Renesas Technology Corp Apparatus and method for transcoding
JP2009231905A (en) * 2008-03-19 2009-10-08 Mega Chips Corp Transcoder
US8548046B2 (en) 2008-03-19 2013-10-01 Megachips Corporation Transcoder

Also Published As

Publication number Publication date
JP3800965B2 (en) 2006-07-26

Similar Documents

Publication Publication Date Title
US7310371B2 (en) Method and/or apparatus for reducing the complexity of H.264 B-frame encoding using selective reconstruction
US7653129B2 (en) Method and apparatus for providing intra coding frame bit budget
US5461422A (en) Quantizer with automatic pre-threshold
JPH07184196A (en) Picture coder
JPH10243399A (en) Code amount controller and moving image encoder provided with the same
EP1838108A1 (en) Processing video data at a target rate
JPH06125543A (en) Encoding device
JP3818819B2 (en) Image coding method conversion apparatus, image coding method conversion method, and recording medium
US20030174771A1 (en) Method, apparatus, and program for variable bit rate encoding
JP3800965B2 (en) Data rate converter
JP4292659B2 (en) Image information conversion apparatus and image information conversion method
JP2002058032A (en) Apparatus and method for encoding image, apparatus and method for decoding image as well as image processor
JP2900927B2 (en) Encoding method and encoding device
JP3934772B2 (en) Variable transfer rate encoding method and apparatus
JP2002354484A (en) Rate transforming method for encoded image and rate transforming apparatus for encoded image
JP3765129B2 (en) Encoding apparatus and encoding method
JP4359273B2 (en) Coding mode selection method
JP3922581B2 (en) Variable transfer rate encoding method and apparatus
JP4007398B2 (en) Quantization control apparatus and method
JP4539028B2 (en) Image processing apparatus, image processing method, recording medium, and program
JP4292658B2 (en) Image information conversion apparatus and image information conversion method
JPH0923427A (en) Method and device for picture compression
JP3765130B2 (en) Encoding apparatus and encoding method
KR100507441B1 (en) Method for encoding video signals for reducing bitrate using feature of vlc inputs and video encoder for executing the method
KR100228542B1 (en) Adaptive bit allocation method for controlling bit generation in video encoder

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060317

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060424

R151 Written notification of patent or utility model registration

Ref document number: 3800965

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

EXPY Cancellation because of completion of term