JPH08317387A - Dynamic image compression encoding system - Google Patents
Dynamic image compression encoding systemInfo
- Publication number
- JPH08317387A JPH08317387A JP14265095A JP14265095A JPH08317387A JP H08317387 A JPH08317387 A JP H08317387A JP 14265095 A JP14265095 A JP 14265095A JP 14265095 A JP14265095 A JP 14265095A JP H08317387 A JPH08317387 A JP H08317387A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- code amount
- target code
- change
- frames
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000006835 compression Effects 0.000 title claims abstract description 32
- 238000007906 compression Methods 0.000 title claims abstract description 32
- 238000000034 method Methods 0.000 claims description 16
- 238000012937 correction Methods 0.000 abstract description 31
- 238000012546 transfer Methods 0.000 abstract description 16
- 230000015556 catabolic process Effects 0.000 abstract 1
- 238000006731 degradation reaction Methods 0.000 abstract 1
- 238000004364 calculation method Methods 0.000 description 22
- 238000013139 quantization Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 9
- 230000006866 deterioration Effects 0.000 description 8
- 230000002457 bidirectional effect Effects 0.000 description 3
- 101000629400 Homo sapiens Mesoderm-specific transcript homolog protein Proteins 0.000 description 2
- 102100026821 Mesoderm-specific transcript homolog protein Human genes 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 101000969688 Homo sapiens Macrophage-expressed gene 1 protein Proteins 0.000 description 1
- 102100021285 Macrophage-expressed gene 1 protein Human genes 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000009978 visual deterioration Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
- G06T9/004—Predictors, e.g. intraframe, interframe coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Image Processing (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、動画像の圧縮符号化を
行なう動画像圧縮符号化方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture compression coding system for carrying out compression coding of moving pictures.
【0002】[0002]
【従来の技術】図5は、従来の動画像圧縮符号化装置の
構成図である。図5を参照すると、この動画像圧縮符号
化装置は、例えばMPEGなどの国際標準を基本とした
ものであって、入力画像信号1を数フレーム(数画面)分
記憶可能なフレームメモリ2と、フレーム内(画面内)の
画素間相関を利用してフレーム内の冗長部分を符号化に
よって削減するフレーム内符号化部4と、フレーム間
(画面間)の相関を利用してフレーム間の冗長部分を予測
符号化によって削減するフレーム間予測符号化部5と、
フレーム内符号化部4またはフレーム間予測符号化部5
によって符号化されたデータを所定の量子化パラメータ
で量子化する量子化部7と、量子化部7で量子化された
データを可変長符号化する可変長符号化部8と、目標符
号量Dxを発生する目標符号量発生部3と、可変長符号
化部8によって符号化した結果のデータ量,すなわち符
号量が目標符号量発生部3によって発生された目標符号
量Dxに近づくように量子化部7における量子化パラメ
ータを変化させる転送レート制御部6とを有している。2. Description of the Related Art FIG. 5 is a block diagram of a conventional moving picture compression coding apparatus. Referring to FIG. 5, this moving picture compression coding apparatus is based on an international standard such as MPEG, and has a frame memory 2 capable of storing an input image signal 1 for several frames (several screens). Intra-frame encoding unit 4 that reduces the redundant portion in the frame by encoding by using the correlation between pixels in the frame (in-screen)
An inter-frame predictive coding unit 5 for reducing a redundant part between frames by predictive coding by using a correlation between (screens);
Intra-frame encoder 4 or inter-frame predictive encoder 5
A quantization unit 7 for quantizing the data encoded by the above with a predetermined quantization parameter, a variable length encoding unit 8 for variable length encoding the data quantized by the quantization unit 7, and a target code amount D The target code amount generation unit 3 for generating x and the data amount as a result of encoding by the variable length encoding unit 8, that is, the code amount, approaches the target code amount D x generated by the target code amount generation unit 3. The transfer rate control unit 6 changes the quantization parameter in the quantization unit 7.
【0003】ここで、量子化部7は、例えば、符号化さ
れたデータに対してDCT(離散コサイン変換)を施した
結果得られるDCT変換係数全体をある値で割り算して
小さな値の数で表現することによって符号量を減らすよ
うになっている。Here, the quantizing unit 7 divides the entire DCT transform coefficient obtained as a result of applying DCT (discrete cosine transform) to the coded data, for example, by dividing by a certain value, and by the number of small values. By expressing it, the amount of codes is reduced.
【0004】また、一般に、MPEGでは、Iフレー
ム,Pフレーム,Bフレームの3つのタイプのフレーム
を規定している。ここで、Iフレームは、フレーム内符
号化画像(Intra 符号化画像)であり、Pフレームは、フ
レーム間順方向予測符号化画像(Predictive 符号化画
像)であり、Bフレームは、双方向予測符号化画像(Bidi
rectionally predictive 符号化画像)である。また、複
数のフレームを1まとまりの単位としてGOP(Group o
f Pictures)としている。Generally, MPEG defines three types of frames: I frame, P frame, and B frame. Here, the I frame is an intra-frame coded image (Intra coded image), the P frame is an inter-frame forward predictive coded image (Predictive coded image), and the B frame is a bidirectional predictive code. Image (Bidi
It is a rectionally predictive coded image). In addition, GOP (Group o
f Pictures).
【0005】図6(a)には、GOP内の各フレームのタ
イプの並びの例が示されており、図6(a)の例では、G
OPのフレーム数Nが“15”であり、Iフレームまた
はPフレームが現われる周期Mが“3”の場合が示され
ている。この場合、GOP内の複数フレームF0〜F14
からなる一連の動画像の圧縮符号化は、図6(b)に示す
ように、先ず、IフレームF0についてフレーム内符号
化を行ない、次いで、PフレームF3についてIフレー
ムF0からの順方向予測によってフレーム間予測符号化
を行ない、次いで、BフレームF1,F2についてIフレ
ームF0,PフレームF3からの双方向予測によってフレ
ーム間予測符号化を行ない、次いで、PフレームF6に
ついてPフレームF3からの順方向予測によってフレー
ム間予測符号化を行なうというように、順次になされ
る。FIG. 6A shows an example of arrangement of types of each frame in the GOP. In the example of FIG.
The case where the number N of OP frames is "15" and the period M in which an I frame or a P frame appears is "3" is shown. In this case, a plurality of frames F 0 to F 14 in the GOP
A series of compression encoding of a moving image composed of, as shown in FIG. 6 (b), first, performs intra-frame coding for I-frame F 0, then the order of the I frame F 0 for P frame F 3 Interframe predictive coding is performed by directional prediction, and then interframe predictive coding is performed by bidirectional prediction from I frame F 0 and P frame F 3 for B frames F 1 and F 2 , and then P frame F 6 is performed. Is sequentially performed such that interframe predictive coding is performed by forward prediction from P frame F 3 .
【0006】このように、Iフレーム,Pフレーム,B
フレームのタイプごとに符号化の仕方が異なり、この結
果、そのタイプごとに発生符号量も異なるので、各GO
Pごとに転送レートR(ビット/秒)がほぼ一定(目標と
する転送レート)となるように量子化するためには、目
標符号量発生部3から発生する目標符号量Dx(x=0,
1,2,3,…)をフレームFxごとに変化させる必要が
ある。In this way, I frame, P frame, B
The encoding method differs depending on the frame type, and as a result, the generated code amount also differs depending on the type.
In order to quantize the transfer rate R (bits / second) for each P to be substantially constant (target transfer rate), a target code amount D x (x = 0) generated from the target code amount generating unit 3 is generated. ,
, 1, 2, 3, ...) Must be changed for each frame F x .
【0007】蓄積メディア動画像符号化の国際標準化会
議で標準化のために用いられているISO/IEC「Te
st Model0」では、あるフレームFxに対する目標符号量
Dxを、以前に符号化したフレームの量子化パラメータ
の平均値と、以前に符号化したフレームの発生符号量
(可変長符号化部8によって符号化した符号量)と、GO
P内において符号化する残りのフレーム数と、目標とす
る転送レートとから計算して、目標符号量発生部3から
発生させるようにしている。図7には、GOP内の各フ
レームが図6(a)のような場合に、各フレームFx(x=
0,1,2,…)ごとに発生させる目標符号量Dxの一例
が示されている。The ISO / IEC "Te" used for standardization at the International Standardization Conference on Storage Media Video Coding
In st MODEL0 ", the target code amount D x for a frame F x, the average value of the quantization parameter of the frame encoded previously generated code amount of the frame previously encoded
(The amount of code coded by the variable length coding unit 8) and GO
It is calculated from the remaining number of frames to be encoded in P and the target transfer rate, and is generated from the target code amount generation unit 3. In FIG. 7, when each frame in the GOP is as shown in FIG. 6A, each frame F x (x =
An example of the target code amount D x generated for each 0, 1, 2, ...
【0008】次に、このような構成の動画像圧縮符号化
装置の動作について説明する。先ず、この動画像圧縮符
号化装置に画像信号1が入力すると、この入力画像信号
1は、数フレーム記憶可能なフレームメモリ2に画像フ
レームF0,F1,F2,…として一時蓄えられる。フレ
ームメモリ2に蓄えられた各フレームF0,F1,F2,
…は、フレーム内符号化部4またはフレーム間予測符号
化部5によって、図6(b)に示したような順序で順次に
符号化されて冗長部分が削減されて、量子化部7に順次
に送られるが、あるフレームFxを符号化するときに
は、これに先立って、転送レート制御部6は、以前に符
号化したフレームの量子化パラメータの平均値と、以前
に符号化したフレームの発生符号量(可変長符号化部8
によって符号化した符号量)と、符号化する残りのフレ
ーム数と、目標とする転送レートとから、このフレーム
Fxに割り当てる目標とする符号量を計算し、目標符号
量発生部3から目標符号量Dxとして発生させる。これ
により、転送レート制御部6は、発生した目標符号量D
xに応じて量子化部7における量子化パラメータを変化
させる。Next, the operation of the moving picture compression coding apparatus having such a configuration will be described. First, when the image signal 1 is input to the moving image compression encoding apparatus, the input image signal 1 is temporarily stored in the frame memory 2 capable of storing several frames as image frames F 0 , F 1 , F 2 , ... Each frame F 0 , F 1 , F 2 , stored in the frame memory 2
Are sequentially coded by the intra-frame coding unit 4 or the inter-frame predictive coding unit 5 in the order shown in FIG. When a certain frame F x is encoded, the transfer rate control unit 6 precedes this by the average value of the quantization parameter of the previously encoded frame and the generation of the previously encoded frame. Code amount (variable length coding unit 8
Code amount), the remaining number of frames to be encoded, and the target transfer rate, the target code amount to be assigned to this frame F x is calculated, and the target code amount generation unit 3 calculates the target code amount. Generate as a quantity D x . As a result, the transfer rate control unit 6 causes the generated target code amount D
The quantization parameter in the quantization unit 7 is changed according to x .
【0009】このフレームFxはフレーム内符号化部4
またはフレーム間予測符号化部5によって符号化された
後、量子化部7において、目標符号量Dxに応じて設定
された量子化パラメータで量子化され、可変長符号化部
8で可変長符号化がなされて出力される。このようにし
て、あるフレームFxについて圧縮符号化がなされた
後、次のフレームについて同様の手順で符号化を行なう
ことができて、動画像の符号量が目標符号量に近づくよ
うに圧縮符号化ができる。This frame F x is an intra-frame encoder 4
Alternatively, after being coded by the inter-frame predictive coding unit 5, it is quantized by the quantizing unit 7 by the quantizing parameter set according to the target code amount D x , and then by the variable length coding unit 8. It is converted and output. In this way, after a certain frame F x is compression-encoded, the next frame can be encoded in the same procedure, and the compression-encoding is performed so that the code amount of the moving image approaches the target code amount. Can be converted.
【0010】ところで、映画等の動画像では、ある時点
で画像内容が大きく変化したり(以下、シーンチェンジ
と呼ぶ),また、徐々に暗くなったり(以下、フェードア
ウトと呼ぶ),また、徐々に明るくなったりする(以下、
フェードインと呼ぶ)ことが多い。この場合、シーンチ
ェンジあるいはフェードアウトあるいはフェードインが
あった時点では、フレーム間の相関が少なくなり、通常
の画像に比べて大きな符号量が発生し、これを目標符号
量に近づけるため、量子化部7では、粗い量子化がなさ
れ、そのため、視覚的画質が著しく劣化するという問題
が生ずる。このような問題を回避するため、例えば特開
平3−35676号公報では、シーンチェンジの場合に
は、その時点でのフレーム間差分を計算することにより
シーンチェンジを検出し、そのフレームに対する符号化
をフレーム間予測符号化からフレーム内符号化に切換え
ることによって、著しい画質の劣化を避ける方法が提案
されている。By the way, in a moving image such as a movie, the content of the image changes greatly at some point (hereinafter, referred to as a scene change), gradually becomes darker (hereinafter, referred to as a fade-out), or gradually. It becomes brighter (below,
It is often called fade-in). In this case, when there is a scene change, fade-out, or fade-in, the correlation between the frames becomes small, and a larger code amount is generated than in a normal image. In that case, coarse quantization is performed, which causes a problem that the visual image quality is significantly deteriorated. In order to avoid such a problem, for example, in Japanese Patent Laid-Open No. 3-35676, in the case of a scene change, the scene change is detected by calculating the difference between frames at that time, and the encoding for that frame is performed. By switching from interframe predictive coding to intraframe coding, there has been proposed a method of avoiding significant deterioration of image quality.
【0011】[0011]
【発明が解決しようとする課題】しかしながら、前述し
た公報に開示の方法では、フレーム間差分を計算して画
像内容の変化を検出することによって、シーンチェンジ
を検出することはできるが、シーンチェンジに比較して
ゆるやかな変化であるフェードイン,フェードアウトを
検出することはできなかった。さらに、1/30秒で画
像が変化するシーンチェンジに比較して、1秒程度かけ
て変化するフェードイン,フェードアウト時の画質劣化
は視覚的に目立ってしまい、従って、前述の公報の方法
によっては、視覚的な画質劣化を低減させることはでき
なかった。However, in the method disclosed in the above-mentioned publication, the scene change can be detected by calculating the difference between frames and detecting the change in the image content. By comparison, it was not possible to detect the gradual changes in fade-in and fade-out. Furthermore, compared to a scene change in which the image changes in 1/30 seconds, the image quality deterioration at the time of fade-in and fade-out, which changes over about 1 second, is visually conspicuous. Therefore, depending on the method of the above publication, , It was not possible to reduce the visual deterioration of image quality.
【0012】本発明は、動画像を圧縮符号化する際に、
視覚的に目立つ輝度変化の大きい場面,すなわちフレー
ム間予測効率の低下する場面の画像劣化を低減すること
の可能な動画像圧縮符号化方式を提供することを目的と
している。According to the present invention, when compressing and coding a moving image,
It is an object of the present invention to provide a moving picture compression coding method capable of reducing image deterioration in a visually noticeable scene with a large change in luminance, that is, a scene in which interframe prediction efficiency decreases.
【0013】[0013]
【課題を解決するための手段および作用】上記目的を達
成するために、本発明では、基本的に、複数フレームか
らなる一連の動画像を圧縮符号化する際に、フレーム間
の輝度変化の割合を算出し、フレーム間の輝度変化の割
合に応じて目標符号量を修正して圧縮符号化を行なうこ
とを特徴としている。In order to achieve the above object, according to the present invention, basically, when compressing and coding a series of moving images composed of a plurality of frames, the rate of change in luminance between frames is calculated. Is calculated, the target code amount is corrected according to the rate of change in luminance between frames, and compression coding is performed.
【0014】本発明による動画像圧縮符号化方式では、
フレーム間の輝度変化の割合に応じて目標符号量を修正
設定するので、視覚的に画質劣化の目立つ輝度変化の大
きい場面においても適応的に目標符号量を割り当てるこ
とができて、視覚的な画質劣化を低減することができ
る。In the moving picture compression encoding system according to the present invention,
Since the target code amount is modified and set according to the rate of change in luminance between frames, the target code amount can be adaptively assigned even in a scene in which there is a large change in luminance where image quality deterioration is noticeable. It is possible to reduce deterioration.
【0015】[0015]
【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明に係る動画像圧縮符号化装置の一実
施例の構成図である。なお図1において、図5と同様の
箇所については同一の符号を付している。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of a moving picture compression encoding apparatus according to the present invention. In FIG. 1, the same parts as those in FIG. 5 are designated by the same reference numerals.
【0016】図1を参照すると、本実施例の動画像圧縮
符号化装置では、各フレームの輝度信号の和Yを計算す
る輝度信号演算部9と、フレーム間の輝度信号の和Yの
変化の割合(変化率)ΔYを計算する変化率演算部10
と、目標符号量発生部3により発生した目標符号量Dx
を上記変化の割合ΔYに応じて修正してDx’として転
送レート制御部6に与える目標符号量修正部11とが、
さらに設けられている。Referring to FIG. 1, in the moving picture compression encoding apparatus of the present embodiment, the luminance signal calculation unit 9 for calculating the sum Y of the luminance signals of each frame, and the change of the sum Y of the luminance signals between frames. Change rate calculation unit 10 for calculating ratio (change rate) ΔY
And the target code amount D x generated by the target code amount generating unit 3.
Is corrected in accordance with the change rate ΔY and is given to the transfer rate control unit 6 as D x '.
Further provided.
【0017】ここで、目標符号量修正部11には、例え
ば、図2に示すようなテーブルが設けられており、フレ
ーム間の輝度信号の和Yの変化率ΔYが変化率演算部1
0により算出されるとき、ΔYに対応した修正係数kを
図2のテーブルから割り出し、目標符号量発生部3から
発生した目標符号量Dxを修正係数kによって次式のよ
うに修正し、目標符号量Dx’とするようになってい
る。Here, the target code amount correction unit 11 is provided with a table as shown in FIG. 2, for example, and the change rate ΔY of the sum Y of the luminance signals between frames is calculated by the change rate calculation unit 1.
When calculated by 0, the correction coefficient k corresponding to ΔY is calculated from the table of FIG. 2, and the target code amount D x generated from the target code amount generation unit 3 is corrected by the correction coefficient k as shown in the following equation. The code amount is D x '.
【0018】[0018]
【数1】Dx’=k・Dx [Formula 1] D x '= kD x
【0019】図2のテーブルにおいて、変化率ΔYは、
言い換えれば画像の変化に要する時間を意味しており、
図2のaは瞬間的に暗い画像に変化するシーンチェン
ジ,bはフェードアウト,dはフェードイン,eは瞬間
的に明るい画像に変化するシーンチェンジである場合が
多い。従って、目標符号量発生部3から発生した目標符
号量Dxを、フレーム間の輝度信号の和Yの変化率ΔY
に対応した修正係数kによってDx’に修正すること
で、シーンチェンジのみならず、フェードイン,フェー
ドアウトのような視覚的に目立つ輝度変化の大きい場
面,すなわちフレーム間予測効率の低下する場面での画
像劣化を低減することが可能となる。In the table of FIG. 2, the change rate ΔY is
In other words, it means the time required to change the image,
In many cases, a in FIG. 2 is a scene change that instantaneously changes to a dark image, b is a fade-out, d is a fade-in, and e is a scene change that instantaneously changes to a bright image. Therefore, the target code amount D x generated from the target code amount generation unit 3 is set to the change rate ΔY of the sum Y of the luminance signals between frames.
By correcting to D x 'by the correction coefficient k corresponding to, not only scene changes but also scenes with large visually noticeable brightness changes such as fade-in and fade-out, that is, scenes with low interframe prediction efficiency It is possible to reduce image deterioration.
【0020】次に、このような構成の動画像圧縮符号化
装置の動作を図3のフローチャートを用いて説明する。
なお、以下では、一例として、入力画像信号1は輝度信
号と色差信号のデジタルコンポーネント信号であり、フ
レーム周波数が1/30秒であり、また、符号化方式
は、ISO/IEC11172「MPEG1」におい
て、フレーム内符号化の周期,すなわちGOPのフレー
ム数が“15”であり、IフレームまたはPフレームが
現われる周期Mが“3”フレームであるとする。また、
輝度信号の和Y,変化の傾きΔYの計算は、上記の周期
Mから3フレーム間隔でなされるとし、双方向フレーム
間予測符号化フレーム,すなわちBフレームでは行なわ
ないとする。換言すれば、説明の便宜上、Iフレーム,
Pフレームについてのみ、輝度信号の和Y、変化の傾き
ΔYの計算を行なうとする。Next, the operation of the moving picture compression coding apparatus having such a configuration will be described with reference to the flowchart of FIG.
In the following, as an example, the input image signal 1 is a digital component signal of a luminance signal and a color difference signal, the frame frequency is 1/30 second, and the encoding method is ISO / IEC11172 “MPEG1”. It is assumed that the intra-frame encoding cycle, that is, the number of GOP frames is "15", and the cycle M in which an I frame or a P frame appears is "3" frame. Also,
It is assumed that the sum Y of the luminance signals and the gradient ΔY of the change are calculated at three-frame intervals from the above-described period M, and not in the bidirectional inter-frame predictive coding frame, that is, the B frame. In other words, for convenience of explanation, the I frame,
It is assumed that the sum Y of the luminance signals and the change gradient ΔY are calculated only for the P frame.
【0021】図3を参照すると、まず、適当な輝度信号
の和Y(i)を変化率演算部10に初期設定しておく(ス
テップS1)。次いで、画像信号1が入力し、入力画像
信号1が例えば図6(a)のような順序で、フレーム
F0,F1,F2,F3,F4,…のようにフレームメモリ
2に順次に記憶保持された後、フレームメモリ2に記憶
保持された各フレームF0,F1,F2,F3,F4,…の
うちのIフレームまたはPフレームの輝度信号のみを輝
度信号演算部9に与える。すなわち、これから符号化し
ようとするフレームがIフレームまたはPフレームか否
かを判断し(ステップS2)、IフレームまたはPフレー
ムの場合のみ、その輝度信号を輝度信号演算部9に与え
る。Referring to FIG. 3, first, an appropriate sum Y (i) of luminance signals is initially set in the change rate calculator 10 (step S1). Next, the image signal 1 is input, and the input image signal 1 is input to the frame memory 2 in the order as shown in FIG. 6A, for example, as frames F 0 , F 1 , F 2 , F 3 , F 4 ,. Luminance signal calculation is performed only on the luminance signal of the I frame or P frame of the frames F 0 , F 1 , F 2 , F 3 , F 4 , ... Give to part 9. That is, it is determined whether or not the frame to be encoded is the I frame or the P frame (step S2), and only when the frame is the I frame or the P frame, the brightness signal is given to the brightness signal computing unit 9.
【0022】図16(a)の例では、最初に符号化される
べきフレームがIフレームF0であるので、輝度信号演
算部9には、最初、IフレームF0の輝度信号が与えら
れ、輝度信号演算部9では、このIフレームF0の輝度
信号の和(IフレームF0内の各画素の輝度の和)Y(0)
を計算する(ステップS3)。IフレームF0について求
められた輝度信号の和Y(0)は、変化率演算部10に送
られて、変化率演算部10の内部メモリ(図示せず)に一
時保持され、変化率演算部10では、前回のIフレーム
またはPフレームの輝度信号の和Yと今回のIフレーム
またはPフレームの輝度信号の和Yとの間の変化の割
合,すなわち変化率ΔYを算出する(ステップS4)。い
まの場合、今回のフレームが第1番目のIフレームF0
であるので、変化率演算部10は、前回のIフレームま
たはPフレームの輝度信号の和としてステップS1で初
期設定された輝度信号の和Y(i)を用い、輝度信号演算
部9からのIフレームF0の輝度信号の和Y(0)と変化
率演算部10に初期設定されている輝度信号の和Y(i)
との変化率(例えば差分)ΔY(0)を計算する。このよう
にして、変化率演算部10で変化率ΔY(0)が求められ
ると、この変化率ΔY(0)は、目標符号量修正部11に
送られる。In the example of FIG. 16A, since the frame to be encoded first is the I frame F 0 , the luminance signal calculation unit 9 is first supplied with the luminance signal of the I frame F 0 . In the luminance signal calculation unit 9, the sum of the luminance signals of this I frame F 0 (the sum of the luminance of each pixel in the I frame F 0 ) Y (0)
Is calculated (step S3). The sum Y (0) of the luminance signals obtained for the I frame F 0 is sent to the change rate calculation unit 10 and temporarily stored in the internal memory (not shown) of the change rate calculation unit 10, and the change rate calculation unit 10 In 10, the rate of change between the sum Y of the luminance signals of the previous I frame or P frame and the sum Y of the luminance signals of the current I frame or P frame, that is, the change rate ΔY is calculated (step S4). In this case, the current frame is the first I frame F 0.
Therefore, the change rate calculation unit 10 uses the sum Y (i) of the luminance signals initialized in step S1 as the sum of the luminance signals of the previous I frame or P frame, and the I from the luminance signal calculation unit 9 is calculated. The sum Y (0) of the luminance signals of the frame F 0 and the sum Y (i) of the luminance signals initially set in the change rate calculation unit 10.
And a change rate (for example, a difference) ΔY (0) with In this way, when the change rate calculation unit 10 obtains the change rate ΔY (0), the change rate ΔY (0) is sent to the target code amount correction unit 11.
【0023】一方、目標符号量発生部3では、ISO/
IEC「Test Model0」の方法を用いて、例えば図7に
示すように、符号化されるべきフレームF0,F3,
F1,F2,F6,…の順序に合わせて、目標符号量D0,
D3,D1,D2,D6,…を順次に発生し、これを目標符
号量修正部11に与える。いまの場合には、Iフレーム
F0に対する目標符号量D0が目標符号量修正部11に与
えられる。On the other hand, in the target code amount generation unit 3, ISO /
Using the method of IEC “Test Model 0”, for example, as shown in FIG. 7, the frames F 0 , F 3 , to be encoded,
In accordance with the order of F 1 , F 2 , F 6 , ..., Target code amount D 0 ,
D 3 , D 1 , D 2 , D 6 , ... Are sequentially generated and given to the target code amount correction unit 11. In this case, the target code amount D 0 for the I frame F 0 is given to the target code amount correction unit 11.
【0024】これにより、目標符号量修正部11では、
変化率演算部10からの変化率ΔY(0)に対応した修正
係数k(0)を例えば図2のテーブルから割り出し、割り
出した修正係数k(0)により数1に従って目標符号量発
生部3からの目標符号量D0を修正し(ステップS5)、
修正後の目標符号量D0’を転送レート制御部6に与え
る。転送レート制御部6では、修正後の目標符号量
D0’に基づいて、量子化部7における量子化パラメー
タを変化させる(ステップS6)。As a result, the target code amount correction unit 11
The correction coefficient k (0) corresponding to the change rate ΔY (0) from the change rate calculation unit 10 is calculated from, for example, the table of FIG. 2, and the calculated correction coefficient k (0) is calculated from the target code amount generation unit 3 in accordance with Equation 1. The target code amount D 0 of (step S5),
The corrected target code amount D 0 'is given to the transfer rate control unit 6. The transfer rate control unit 6 changes the quantization parameter in the quantization unit 7 based on the corrected target code amount D 0 '(step S6).
【0025】なお、第1番目のフレーム,いまの場合I
フレームF0について修正係数k(0)が割り出されると
き、この修正係数k(0)は次のIフレームまたはPフレ
ームとの間のBフレームの圧縮符号化に用いるために保
持される。The first frame, I in this case
When the correction factor k (0) is determined for the frame F 0 , this correction factor k (0) is retained for use in compression coding the B frame with the next I or P frame.
【0026】このようにして、第1番目のフレーム,い
まの場合IフレームF0について、修正された目標符号
量D0’に基づいて量子化パラメータが設定された後、
この量子化パラメータによりフレームF0の圧縮符号化
がなされる(ステップS7)。In this way, for the first frame, in this case the I frame F 0 , after the quantization parameter is set based on the corrected target code amount D 0 ′,
The frame F 0 is compression-encoded by this quantization parameter (step S7).
【0027】しかる後、再びステップS2に戻り、次に
符号化されるべきフレームがIフレームまたはPフレー
ムか否かの判断を行なう。いまの場合、次のフレームは
PフレームF3であるので、PフレームP3の輝度信号が
輝度信号演算部9に送られ、輝度信号演算部9では、こ
のPフレームF3の輝度信号の和Y(3)を計算する(ステ
ップS3)。PフレームF3について求められた輝度信号
の和Y(3)は変化率演算部10に送られて、変化率演算
部10の内部メモリ(図示せず)に一時保持され、変化率
演算部10では、前回のIフレームF0の輝度信号の和
Y(0)と今回のPフレームF3の輝度信号の和Y(3)と
の間の変化の割合,すなわち変化率(例えば差分)ΔY
(3)を算出する(ステップS4)。After that, the process returns to step S2 again to judge whether the frame to be encoded next is an I frame or a P frame. In this case, since the next frame is the P frame F 3 , the luminance signal of the P frame P 3 is sent to the luminance signal calculation unit 9, and the luminance signal calculation unit 9 sums the luminance signals of the P frame F 3. Y (3) is calculated (step S3). The sum Y (3) of the luminance signals obtained for the P frame F 3 is sent to the change rate calculation unit 10 and temporarily stored in an internal memory (not shown) of the change rate calculation unit 10, and the change rate calculation unit 10 Then, the rate of change between the previous sum Y (0) of the luminance signals of the I frame F 0 and the present sum Y (3) of the luminance signals of the P frame F 3 , that is, the change rate (for example, the difference) ΔY.
(3) is calculated (step S4).
【0028】一方、目標符号量発生部3からは、いまの
場合、目標符号量D3が目標符号量修正部11に与えら
れる。目標符号量修正部11では、変化率演算部10か
らの変化率ΔY(3)に対応した修正係数k(3)を例えば
図2のテーブルから割り出し、割り出した修正係数k
(3)により数1に従って目標符号量発生部3からの目標
符号量D3を修正し(ステップS5)、修正後の目標符号
量D3’を転送レート制御部6に与える。転送レート制
御部6では、修正後の目標符号量D3’に基づいて、量
子化部7における量子化パラメータを変化させる(ステ
ップS6)。On the other hand, in the present case, the target code amount generation unit 3 supplies the target code amount D 3 to the target code amount correction unit 11. In the target code amount correction unit 11, the correction coefficient k (3) corresponding to the change rate ΔY (3) from the change rate calculation unit 10 is calculated from, for example, the table of FIG.
According to Equation 1 by (3) Fix the target code amount D 3 from the target code amount generation unit 3 (step S5), and gives the target code amount D 3 'after the correction to the transfer rate control section 6. In the transfer rate control section 6, based on the target code amount D 3 'after the correction, changing the quantization parameter in the quantization unit 7 (step S6).
【0029】なお、PフレームF3について修正係数k
(3)が割り出されるとき、この修正係数k(3)は次のI
フレームまたはPフレームとの間のBフレームの圧縮符
号化に用いるために保持される。The correction coefficient k for the P frame F 3
When (3) is determined, this correction coefficient k (3) is
It is retained for use in compression coding of B frames between frames or P frames.
【0030】このようにして、PフレームF3につい
て、修正された目標符号量D3’に基づいて量子化パラ
メータが設定された後、この量子化パラメータによりフ
レームF3の圧縮符号化がなされる(ステップS7)。In this way, for the P frame F 3 , the quantization parameter is set based on the corrected target code amount D 3 ′, and then the frame F 3 is compressed and encoded by this quantization parameter. (Step S7).
【0031】しかる後、再びステップS2に戻り、次に
符号化すべきフレームがIフレームまたはPフレームか
否かの判断を行なう。いまの場合、次のフレームはBフ
レームF1であるので、このフレームF1については、先
のIフレームF0で求めた修正係数k(0)を用いて、目
標符号量発生部3からの目標符号量D1を修正し(ステッ
プS8)、修正後の目標符号量D1’を転送レート制御部
6に与える。転送レート制御部6では、修正後の目標符
号量D1’に基づいて、量子化部7における量子化パラ
メータを変化させる(ステップS6)。Thereafter, the process returns to step S2 again, and it is determined whether the frame to be coded next is an I frame or a P frame. In this case, since the next frame is the B frame F 1 , this frame F 1 is output from the target code amount generation unit 3 using the correction coefficient k (0) obtained in the previous I frame F 0 . The target code amount D 1 is corrected (step S8), and the corrected target code amount D 1 ′ is given to the transfer rate control unit 6. The transfer rate control unit 6 changes the quantization parameter in the quantization unit 7 based on the corrected target code amount D 1 '(step S6).
【0032】このように、輝度信号の和を計算しないB
フレームについては、符号化順直前のIフレームまたは
Pフレームの係数kを用いて目標符号量を修正し(ステ
ップS8)、圧縮符号化を行なう(ステップS7)。Thus, the sum B of the luminance signals is not calculated.
For the frame, the target code amount is corrected using the coefficient k of the I frame or P frame immediately before the encoding order (step S8), and compression encoding is performed (step S7).
【0033】従って、フレームF0,F1,F2,F3,F
4,F5,F6,…がフレームF0,F3,F1,F2,F6,
F4,F5,…の順に圧縮符号化がなされるとき、フレー
ムF0,F1,F2については、IフレームF0で求めた修
正係数k(0)によって、それぞれの目標符号量D0,
D1,D2がD0’(=k(0)・D0),D1’(=k(0)・D
1),D2’(=k(0)・D2)のように修正されて用いら
れ、また、フレームF3,F4,F5については、Pフレ
ームF3で求めた修正係数k(3)によって、それぞれの
目標符号量D3,D4,D5がD3’(=k(3)・D3),
D4’(=k(3)・D4),D5’(=k(3)・D5)のように
修正されて用いられる。Therefore, the frames F 0 , F 1 , F 2 , F 3 , F
4 , F 5 , F 6 , ... Are frames F 0 , F 3 , F 1 , F 2 , F 6 ,
When the compression coding is performed in the order of F 4 , F 5 , ..., For the frames F 0 , F 1 , and F 2 , the target code amount D is calculated by the correction coefficient k (0) obtained in the I frame F 0. 0 ,
D 1 and D 2 are D 0 ′ (= k (0) · D 0 ), D 1 ′ (= k (0) · D
1), D 2 '(= k (0) · D 2) used is modified as, also, the frame F 3, F 4, the F 5, the correction calculated by P frame F 3 coefficient k ( 3), the respective target code amounts D 3 , D 4 , D 5 are D 3 '(= k (3) · D 3 ),
It is used after being modified as in D 4 '(= k (3) · D 4 ), D 5 ′ (= k (3) · D 5 ).
【0034】図4はこのような処理の具体例を示す図で
ある。なお、図4の例では、フレームとして、説明の便
宜上、IフレームまたはPフレームのみが示され、Bフ
レームは省略されている。図4の例では、3番目,4番
目のフレームでシーンチェンジが生じ、19番目〜49
番目のフレームでフェードアウトが生じ、63番目〜9
3番目のフレームでフェードインが生じる場合が示され
ている。FIG. 4 is a diagram showing a specific example of such processing. Note that, in the example of FIG. 4, as the frame, for convenience of description, only the I frame or the P frame is shown, and the B frame is omitted. In the example of FIG. 4, a scene change occurs in the 3rd and 4th frames, and the 19th to 49th frames occur.
Fade out occurs at the th frame, 63rd to 9th
The case where fade-in occurs in the third frame is shown.
【0035】図4において、シーンチェンジ,フェード
アウト,フェードインが生じていないときには、輝度信
号の和Yの変化率ΔYは、ほぼ“1”であり、図2のテ
ーブルのcに対応し、修正係数kが“0.8”として割
り出され、従って、このときの目標符号量は修正係数
“0.8”によって修正されて、減らされる。また、シ
ーンチェンジが生じるときには、輝度信号の和Yの変化
率ΔYは、非常に大きく、この場合、図2のテーブルの
aあるいはeの条件に対応し(図4の例ではeの条件に
対応し)、修正係数kが“1.0”として割り出され、
従って、目標符号量を修正せずにそのまま用いる。ま
た、フェードアウト,フェードインが生じるときには、
輝度信号の和Yの変化率ΔYはシーンチェンジの場合に
比べれば大きくはなく、この場合、図2のテーブルのb
またdの条件に対応し、修正係数kが“1.2”として
割り出され、従って、目標符号量は修正係数“1.2”
によって修正されて、増やされる。In FIG. 4, when there is no scene change, fade-out, or fade-in, the change rate ΔY of the sum Y of the luminance signals is almost "1", which corresponds to c in the table of FIG. k is calculated as "0.8", so that the target code amount at this time is corrected by the correction coefficient "0.8" and reduced. Further, when a scene change occurs, the change rate ΔY of the sum Y of the luminance signals is very large, and in this case, it corresponds to the condition a or e in the table of FIG. 2 (corresponding to the condition e in the example of FIG. 4). Correction coefficient k is calculated as “1.0”,
Therefore, the target code amount is used as it is without correction. Also, when fade-out and fade-in occur,
The change rate ΔY of the sum Y of the luminance signals is not so large as in the case of the scene change. In this case, b in the table of FIG.
Further, the correction coefficient k is calculated as "1.2" corresponding to the condition of d, and therefore the target code amount is the correction coefficient "1.2".
Modified and increased by.
【0036】このように、この例では、フェードアウ
ト,フェードインの場合に目標符号量を最も多くし、ま
た、シーンチェンジの場合は目標符号量を修正せず、ま
た、輝度変化の小さい場合は、目標符号量を減らしてい
る。なお、輝度変化の小さいcの場合は、フレーム間の
相関が大きく、予測効率も高いために、従来の方式で
は、必要以上の目標符号量を与えていることが多かっ
た。しかしながら、この実施例では、輝度変化の小さい
場合の目標符号量を減らすことにより、フェードイン,
フェードアウトなどの輝度変化が大きく視覚的画質の劣
化が目立っていた場面の再現性を向上させることができ
る。As described above, in this example, the target code amount is maximized in the case of fade-out and fade-in, the target code amount is not corrected in the case of scene change, and when the brightness change is small, The target code amount is reduced. It should be noted that in the case of c in which the change in luminance is small, the correlation between frames is large and the prediction efficiency is also high. Therefore, in the conventional method, a target code amount more than necessary was often given. However, in this embodiment, by reducing the target code amount when the luminance change is small, fade-in,
It is possible to improve the reproducibility of a scene in which there is a large change in brightness such as fade-out and the deterioration of visual image quality is noticeable.
【0037】上述の実施例では、符号化方式として、M
PEG1における方式を用いて説明したが、本発明はM
PEG1以外の符号化方式においても、同様に適用でき
る。In the above embodiment, the encoding method is M
Although the description has been given using the method in PEG1, the present invention uses M
The same can be applied to encoding methods other than PEG1.
【0038】また、上述の実施例で用いた、図2のテー
ブル内の条件,すなわちしきい値および修正係数kの
値,修正後の目標符号量を計算する数式,輝度信号の和
を計算するフレーム周期などについては、適宜変更する
ことが可能である。Further, the conditions in the table of FIG. 2 used in the above-described embodiment, that is, the values of the threshold value and the correction coefficient k, the formula for calculating the corrected target code amount, and the sum of the luminance signals are calculated. The frame period and the like can be changed as appropriate.
【0039】[0039]
【発明の効果】以上の説明からわかるように、本発明に
よれば、複数フレームからなる一連の動画像を圧縮符号
化する際に、フレーム間の輝度変化の割合を算出し、フ
レーム間の輝度変化の割合に応じて目標符号量を修正し
て圧縮符号化を行なうので、視覚的に目立つ輝度変化の
大きい場面,すなわちフレーム間予測効率の低下する場
面での画像劣化を低減することができる。As can be seen from the above description, according to the present invention, when compressing and coding a series of moving images consisting of a plurality of frames, the ratio of the luminance change between frames is calculated, and the luminance between frames is calculated. Since the target code amount is corrected according to the rate of change and compression encoding is performed, it is possible to reduce image deterioration in a scene in which there is a large visible brightness change, that is, in a scene in which inter-frame prediction efficiency decreases.
【図1】本発明に係る動画像圧縮符号化装置の一実施例
の構成図である。FIG. 1 is a configuration diagram of an embodiment of a moving image compression encoding apparatus according to the present invention.
【図2】フレーム間の輝度信号の和の変化率ΔYと修正
係数kとの対応関係の一例を示す図である。FIG. 2 is a diagram showing an example of a correspondence relationship between a change rate ΔY of a sum of luminance signals between frames and a correction coefficient k.
【図3】図1の動画像圧縮符号化装置の動作を説明する
ためのフローチャートである。FIG. 3 is a flowchart for explaining the operation of the moving picture compression encoding apparatus in FIG.
【図4】図1の動画像圧縮符号化装置の具体的な処理例
を示す図である。FIG. 4 is a diagram showing a specific processing example of the moving image compression encoding apparatus in FIG. 1.
【図5】従来の動画像圧縮符号化装置の構成図である。FIG. 5 is a block diagram of a conventional moving image compression encoding apparatus.
【図6】GOP内の各フレームの符号化の順序を説明す
るための図である。[Fig. 6] Fig. 6 is a diagram for describing an encoding order of each frame in a GOP.
【図7】図6の各フレームについての目標符号量の一例
を示す図である。7 is a diagram showing an example of a target code amount for each frame in FIG.
1 入力画像信号 2 フレームメモリ 3 目標符号量発生部 4 フレーム内符号化部 5 フレーム間予測符号化部 6 転送レート制御部 7 量子化部 8 可変長符号化部 9 輝度信号演算部 10 変化率演算部 11 目標符号量修正部 DESCRIPTION OF SYMBOLS 1 input image signal 2 frame memory 3 target code amount generation unit 4 intra-frame coding unit 5 inter-frame predictive coding unit 6 transfer rate control unit 7 quantization unit 8 variable length coding unit 9 luminance signal calculation unit 10 change rate calculation Part 11 Target code amount correction unit
Claims (2)
縮符号化する動画像圧縮符号化方式において、フレーム
間の輝度変化の割合を算出し、フレーム間の輝度変化の
割合に応じて目標符号量を修正して圧縮符号化を行なう
ことを特徴とする動画像圧縮符号化方式。1. In a moving picture compression coding method for compressing and coding a series of moving pictures composed of a plurality of frames, a ratio of luminance change between frames is calculated, and a target code amount is calculated according to the ratio of luminance change between frames. A video compression encoding method characterized by modifying the above and performing compression encoding.
縮符号化する動画像圧縮符号化方式において、各フレー
ムの輝度信号の和を求めた後、フレーム間の輝度信号の
和の変化の割合を算出し、フレーム間の輝度信号の和の
変化の割合に応じてフレ−ムの圧縮符号化後の目標符号
量を設定し、該目標符号量に基づいて次のフレームの圧
縮符号化を行なうことを特徴とする動画像圧縮符号化方
式。2. In a moving picture compression coding system for compressing and coding a series of moving pictures composed of a plurality of frames, after obtaining the sum of the luminance signals of each frame, the rate of change of the sum of the luminance signals between frames is calculated. Calculate and set the target code amount after frame compression encoding according to the rate of change of the sum of luminance signals between frames, and perform the compression encoding of the next frame based on the target code amount. Video compression coding method characterized by.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14265095A JPH08317387A (en) | 1995-05-17 | 1995-05-17 | Dynamic image compression encoding system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP14265095A JPH08317387A (en) | 1995-05-17 | 1995-05-17 | Dynamic image compression encoding system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08317387A true JPH08317387A (en) | 1996-11-29 |
Family
ID=15320300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP14265095A Pending JPH08317387A (en) | 1995-05-17 | 1995-05-17 | Dynamic image compression encoding system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08317387A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006155178A (en) * | 2004-11-29 | 2006-06-15 | Sony Corp | Content communication system, communication apparatus and method, and program |
JP2007124587A (en) * | 2005-10-31 | 2007-05-17 | Fujitsu Ltd | Moving picture coding apparatus and fade scene detection apparatus |
JP2007300557A (en) * | 2006-05-02 | 2007-11-15 | Canon Inc | Image encoding device and image encoding method |
WO2012117955A1 (en) * | 2011-02-28 | 2012-09-07 | 株式会社メガチップス | Image encoding device |
-
1995
- 1995-05-17 JP JP14265095A patent/JPH08317387A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006155178A (en) * | 2004-11-29 | 2006-06-15 | Sony Corp | Content communication system, communication apparatus and method, and program |
US8176199B2 (en) | 2004-11-29 | 2012-05-08 | Sony Corporation | Content delivery system, communicating apparatus, communicating method, and program |
JP2007124587A (en) * | 2005-10-31 | 2007-05-17 | Fujitsu Ltd | Moving picture coding apparatus and fade scene detection apparatus |
US8090020B2 (en) | 2005-10-31 | 2012-01-03 | Fujitsu Semiconductor Limited | Moving picture encoding device, fade scene detection device and storage medium |
JP2007300557A (en) * | 2006-05-02 | 2007-11-15 | Canon Inc | Image encoding device and image encoding method |
WO2012117955A1 (en) * | 2011-02-28 | 2012-09-07 | 株式会社メガチップス | Image encoding device |
US9031341B2 (en) | 2011-02-28 | 2015-05-12 | Megachips Corporation | Image coding apparatus |
US9407919B2 (en) | 2011-02-28 | 2016-08-02 | Megachips Corporation | Image coding apparatus |
JP6062356B2 (en) * | 2011-02-28 | 2017-01-18 | 株式会社メガチップス | Image encoding device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7869661B2 (en) | Image coding apparatus, image coding method, and image coding program for coding at least one still frame with still frame coding having a higher quality than normal frame coding of other frames | |
KR100391027B1 (en) | A method and apparatus for predictive encoding of video information | |
US10013746B2 (en) | High dynamic range video tone mapping | |
US6005626A (en) | Digital video signal encoder and encoding method | |
US7095784B2 (en) | Method and apparatus for moving picture compression rate control using bit allocation with initial quantization step size estimation at picture level | |
Wang | Rate control for MPEG video coding | |
US7373004B2 (en) | Apparatus for constant quality rate control in video compression and target bit allocator thereof | |
US5844607A (en) | Method and apparatus for scene change detection in digital video compression | |
US6748114B1 (en) | Moving picture encoding method and moving picture encoding apparatus | |
KR20010071689A (en) | Image processing circuit and method for modifying a pixel value | |
US5946421A (en) | Method and apparatus for compensating quantization errors of a decoded video image by using an adaptive filter | |
JP2000197048A (en) | Coding rate controller and information coder | |
JP2000350211A (en) | Method and device for encoding moving picture | |
JP2007081474A (en) | Image coding apparatus and method | |
US6025880A (en) | Moving picture encoding system and method | |
US7254176B2 (en) | Apparatus for variable bit rate control in video compression and target bit allocator thereof | |
JP2000059792A (en) | High efficiency encoding device of dynamic image signal | |
US7133448B2 (en) | Method and apparatus for rate control in moving picture video compression | |
JPH08317387A (en) | Dynamic image compression encoding system | |
JP3895414B2 (en) | Video decoding device | |
JP2001309384A (en) | Picture compressor | |
JPH05183872A (en) | Device and method for moving picture encoding | |
JP2001025016A (en) | Moving image encoder and method therefor | |
JP2795225B2 (en) | Video coding method | |
JPH09200769A (en) | Inter-motion compensation frame encoding system |