JPH04316294A - Variable-length coding circuit - Google Patents

Variable-length coding circuit

Info

Publication number
JPH04316294A
JPH04316294A JP3083908A JP8390891A JPH04316294A JP H04316294 A JPH04316294 A JP H04316294A JP 3083908 A JP3083908 A JP 3083908A JP 8390891 A JP8390891 A JP 8390891A JP H04316294 A JPH04316294 A JP H04316294A
Authority
JP
Japan
Prior art keywords
block
variable length
generated
encoding
variable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3083908A
Other languages
Japanese (ja)
Inventor
Yasunori Okada
岡 田  恭 典
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3083908A priority Critical patent/JPH04316294A/en
Publication of JPH04316294A publication Critical patent/JPH04316294A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To prevent the worsening of a convergence condition, to make fast the recovery from the condition and to suppress the picture quality deterioration by controlling the prepared code quantity in accordance with the convergence condition of a net to constitute a variable-length coding circuit when the multi-value time series signal to be inputted is converted to a variable-length code. CONSTITUTION:The video signal to be inputted is divided into picture element blocks, the two-dimensional discrete cosine conversion is performed and after the coefficient is quantized by a quantizing part 12, it is stored in a storing part 13 for 1 frame. By an animation and transition picture deciding part, the difference of the coefficient value is calculated with the data of the present frame and the data stored in the storing part 13, and this and the threshold set beforehand are compared. Thus, it is decided that when the difference value is large, an animation block is obtained, and when it is small, a still picture block is obtained, the result is transmitted to a preparing code quantity control part 16 and the number of each block is counted. Subsequently, when the net is not the convergence condition, the instruction is performed so as to perform the usual coding from the control part 16 to a variable- length coding part 15, and at the time of the convergence condition, the preparing code quantity is suppressed.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、入力される多値時系列
信号を可変長符号化する可変長符号回路に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a variable length code circuit for variable length coding an input multilevel time series signal.

【0002】0002

【従来の技術】従来より、ディジタル映像信号を符号化
する際には一定個数の画素ブロックに分割し、ブロック
毎に直交変換を施すことによって隣接画素間の冗長度を
除去し、変換係数を可変長符号化することによって高能
率に圧縮符号化している。また、その際、映像信号の情
報量が一時的に増大して発生することを利用して、伝送
レートを時間的に変化させる可変レート符号化を行い、
それを非同期転送モード(ATM,Asynchron
ous Transfer Mode)で固定長のセル
に分割して伝送する技術も検討されている。この可変長
符号回路を使用した映像信号の符号化の例を図2に示す
[Background Art] Conventionally, when encoding a digital video signal, it is divided into a fixed number of pixel blocks, and by performing orthogonal transformation on each block, redundancy between adjacent pixels is removed, and transform coefficients are varied. Highly efficient compression encoding is achieved by long encoding. In addition, at this time, variable rate encoding is performed to change the transmission rate over time, taking advantage of the fact that the amount of information in the video signal temporarily increases.
Asynchronous transfer mode (ATM, Asynchronous transfer mode)
A technique is also being considered in which the data is divided into fixed-length cells and transmitted using the same transfer mode. FIG. 2 shows an example of encoding a video signal using this variable length code circuit.

【0003】本図において、21は、映像信号に離散コ
サイン変換(DCT,Discrete Cosin 
Transform)を施す直交変換部であり、22は
変換係数を量子化する量子化部であり、23は1フレー
ム分の変換係数データを格納する記憶部であり、24は
前フレームと現フレームの同一ブロックの変換係数を比
較して、 そのブロックが動画ブロックか、それとも遷
移画ブロックかを判定する動画・遷移画判定部であり、
25は変換係数を可変長符号化する可変長符号化部であ
る。
In this figure, 21 is a discrete cosine transform (DCT) applied to a video signal.
22 is a quantization unit that quantizes the transform coefficients, 23 is a storage unit that stores one frame worth of transform coefficient data, and 24 is a A video/transition image determination unit that compares transform coefficients of blocks and determines whether the block is a video block or a transition image block;
Reference numeral 25 denotes a variable length encoding unit that variable length encodes the transform coefficients.

【0004】次に、その動作を説明する。信号線201
を通じて入力された映像信号は、8×8画素のブロック
に分割されて、直交変換部21によってブロック毎に離
散コサイン変換が施される。変換係数は、信号線202
を通じて量子化部22へ伝送され、量子化される。量子
化された変換係数は、信号線203を通じて記憶部23
に格納される。
[0004] Next, its operation will be explained. Signal line 201
The video signal inputted through is divided into 8×8 pixel blocks, and the orthogonal transform unit 21 subjects each block to discrete cosine transform. The conversion coefficient is the signal line 202
The signal is transmitted to the quantization unit 22 through the quantization unit 22 and quantized. The quantized transform coefficients are sent to the storage unit 23 through the signal line 203.
is stored in

【0005】動画・遷移画判定部24では、信号線20
3を通じて入力された現フレームの変換係数と、記憶部
23から読みだした前フレームの変換係数との間で差分
値を計算し、予め設定した閾値よりも大きな場合は動画
ブロック、小さな場合は静止画ブロックと判定する。さ
らに、静止画ブロックのうち、前フレームの判定結果が
動画ブロックであったものを遷移画ブロックとして静止
画ブロックと区別する。記憶部23に格納された変換係
数データは、次フレームの動画・静止画判定の際に前フ
レームの変換係数データとして使用される。動画・遷移
画判定部24は、動画ブロック及び遷移画ブロックと判
定した場合のみ、信号線204を通じて可変長符号化部
25に符号化を行うよう指示する。即ち、遷移画ブロッ
ク以外の静止画ブロックの情報は伝送しない。遷移画ブ
ロック以外の静止画ブロックは受信側で前フレームの画
素で置き換えることにより、再生する。可変長符号化部
25は、動画・遷移画判定部24の指示にしたがって、
変換係数を可変長符号化する。発生した可変長符号は、
固定長のセルに分割され、宛先などを示すヘッダが付加
されてATM伝送される。
[0005] In the moving image/transition image determining section 24, the signal line 20
The difference value is calculated between the conversion coefficient of the current frame input through 3 and the conversion coefficient of the previous frame read from the storage unit 23, and if it is larger than a preset threshold, it is used as a moving image block, and if it is smaller than a preset threshold, it is used as a still image block. It is determined to be an image block. Further, among still image blocks, those whose previous frame was determined to be a moving image block are distinguished from still image blocks as transition image blocks. The transformation coefficient data stored in the storage unit 23 is used as the transformation coefficient data of the previous frame when determining whether the next frame is a moving image or a still image. The moving image/transition image determining unit 24 instructs the variable length encoding unit 25 to perform encoding via the signal line 204 only when it is determined that the block is a moving image block or a transition image block. That is, information on still image blocks other than transition image blocks is not transmitted. Still image blocks other than transition image blocks are reproduced by replacing them with pixels of the previous frame on the receiving side. The variable length encoding unit 25 follows instructions from the moving image/transition image determining unit 24.
Variable length encode the transform coefficients. The generated variable length code is
It is divided into cells of fixed length, a header indicating the destination etc. is added, and the data is transmitted via ATM.

【0006】[0006]

【発明が解決しようとする課題】ところで、従来例で示
したような可変レート符号化を行った場合には、伝送す
る符号量が時間的に変動する。これは、効率的な符号化
が可能である反面、発生符号量の制御が困難であり、ま
た、場面の変換などによって発生符号量が一時的に増大
して網がふくそう状態になった場合には、従来の方法で
は符号量が制御できないため、ふくそう状態からの回復
が困難である。従って、セル廃棄による画質劣化が大き
くなるという問題点を有している。
By the way, when variable rate encoding as shown in the conventional example is performed, the amount of code to be transmitted varies over time. Although this method enables efficient encoding, it is difficult to control the amount of generated code, and it is also difficult to control when the amount of generated code increases temporarily due to scene changes and the network becomes congested. Since the amount of code cannot be controlled using conventional methods, it is difficult to recover from congestion. Therefore, there is a problem in that the image quality deteriorates significantly due to cell discard.

【0007】[0007]

【課題を解決するための手段】本発明は、上記問題点を
解決するためになされたものであり、請求項1に係る発
明においては、入力信号に対して一定個数のブロックに
分割して発生した情報を順次可変長符号化する可変長符
号回路において、伝送する可変長符号の符号量を制御す
る発生符号量制御部を有し、網がふくそうしていないと
きは発生した可変長符号をそのまま伝送し、網がふくそ
うしたときには前記ブロック当りの発生符号量の合計と
、予め設定した発生符号量の閾値とを比較し、前記ブロ
ック当りの発生符号量が前記発生符号量の閾値よりも小
さいときは発生した可変長符号をそのまま伝送し、前記
ブロック当りの発生符号量が前記発生符号量の閾値を超
えたときは、前記ブロックの符号化が終了したことを示
す符号を出力し、それ以降の符号を伝送しないことを特
徴としている。
[Means for Solving the Problems] The present invention has been made to solve the above problems, and in the invention according to claim 1, an input signal is generated by dividing it into a fixed number of blocks. The variable-length code circuit that sequentially variable-length encodes the generated information has a generated code amount control unit that controls the amount of variable-length codes to be transmitted, and when the network is not congested, the generated variable-length code is used as is. When the network is congested during transmission, the total amount of codes generated per block is compared with a preset threshold for the amount of codes generated, and when the amount of codes generated per block is smaller than the threshold for the amount of codes generated. transmits the generated variable length code as is, and when the amount of generated codes per block exceeds the threshold of the amount of generated codes, outputs a code indicating that the encoding of the block has been completed, and the subsequent It is characterized by not transmitting any code.

【0008】請求項2に係る発明においては、入力信号
に対して複数種類の量子化レベルをもつ量子化部と、前
記量子化部の量子化レベルによって異なる符号化テーブ
ルを用いて符号化を行う可変長符号化部とを有し、網が
ふくそうしていないときは、線形量子化を行って細かい
量子化レベルで量子化を行って符号化し、網がふくそう
したときは、非線形量子化を行って量子化レベルを粗く
して符号化することを特徴としている。
[0008] In the invention according to claim 2, the input signal is encoded using a quantization unit having a plurality of types of quantization levels and a different encoding table depending on the quantization level of the quantization unit. When the network is not congested, linear quantization is performed and quantization is performed at a fine quantization level for encoding, and when the network is congested, non-linear quantization is performed. It is characterized by encoding by coarsening the quantization level.

【0009】請求項3に係る発明においては、入力され
る映像信号を一定個数のブロックに分割して前記ブロッ
ク毎に可変長符号化する可変長符号回路において、前フ
レームのブロックと現フレームのブロックとの差分値を
計算して前記差分値が予め設定された閾値よりも大きな
ときは動画ブロック、小さなときは静止画ブロックと判
定しさらに上記静止画ブロックのうち、前フレームが動
画ブロックであるブロックを「遷移画ブロック」と判定
する動画・遷移画判定部と、前記動画ブロックと、前記
遷移画ブロックの信号のみを可変長符号化する可変長符
号化部とを有し、網がふくそうしたときには前記閾値を
大きくすることを特徴としている。
In the invention according to claim 3, in the variable length code circuit which divides an input video signal into a fixed number of blocks and performs variable length coding for each block, the block of the previous frame and the block of the current frame are When the difference value is larger than a preset threshold value, it is determined that it is a video block, and when it is smaller, it is determined that it is a still image block, and among the still image blocks, the block whose previous frame is a video block is determined. a moving image/transition image determining unit that determines a “transition image block”; and a variable length encoding unit that variable length encodes only the signals of the moving image block and the transition image block; The method is characterized in that the threshold value is increased.

【0010】0010

【作用】以上の構成により、請求項1に係る発明におい
ては、網がふくそうしたときには発生符号量を閾値と比
較することによりそのことを確認した上で、ブロックの
一部の信号伝送をなさないこととする。請求項2に係る
発明においては、網がふくそうしたときには非線形量子
化を行って量子化レベルを粗くして符号化する。
[Operation] With the above configuration, in the invention according to claim 1, when the network becomes congested, it is confirmed by comparing the generated code amount with a threshold value, and then the signal transmission of a part of the block is not performed. That's it. In the invention according to claim 2, when the network becomes congested, nonlinear quantization is performed to coarsen the quantization level for encoding.

【0011】請求項3に係る発明においては網のふくそ
う状態に応じて動画ブロックの閾値を変化させた上で、
動画ブロックと遷移画ブロックのみ伝送する。
[0011] In the invention according to claim 3, the threshold value of the video block is changed according to the congestion state of the network, and then,
Only video blocks and transition image blocks are transmitted.

【0012】0012

【実施例】以下、請求項1に係る発明を図1及び図3に
示す実施例に基づき説明する。図1はその構成図であり
、11は映像信号を8×8の画素ブロック毎に直交変換
を行う直交変換部、12は変換係数を量子化する量子化
部、13は1フレーム分の変換数を格納する記憶部、1
4は動画ブロックか、それとも遷移画ブロックかを判定
する動画遷移画判定部、16は現在符号化を行っている
係数ブロックの発生符号量を制御する発生符号量制御部
、15は変換係数を可変長符号化する可変長符号化部で
ある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 will be explained below based on the embodiments shown in FIGS. 1 and 3. FIG. 1 is a block diagram of the system. 11 is an orthogonal transform unit that orthogonally transforms a video signal for each 8×8 pixel block, 12 is a quantization unit that quantizes transform coefficients, and 13 is the number of transforms for one frame. a storage unit storing 1
Reference numeral 4 denotes a video transition image determination unit that determines whether it is a video block or a transition image block; 16 a generated code amount control unit that controls the generated code amount of the coefficient block currently being encoded; and 15, a variable conversion coefficient. This is a variable length encoding unit that performs long encoding.

【0013】次に、図1に示した各構成要素の動作につ
いて説明する。信号線101を通じてた映像信号は、8
×8の画素ブロックに分割され、2次元の離散コサイン
変換が施される。その係数は量子化部12によって量子
化され、更に信号線104を通じて記憶部13に1フレ
ーム分の離散コサイン変換の係数が格納される。なお、
このとき格納された離散コサイン変換の係数データは、
次フレームの動画・静止画の判定の際に前フレームのデ
ータとして読みだされる。
Next, the operation of each component shown in FIG. 1 will be explained. The video signal passed through the signal line 101 is 8
It is divided into ×8 pixel blocks and subjected to two-dimensional discrete cosine transformation. The coefficients are quantized by the quantization unit 12, and the coefficients of one frame of discrete cosine transform are stored in the storage unit 13 via the signal line 104. In addition,
The coefficient data of the discrete cosine transform stored at this time is
It is read out as the previous frame data when determining whether the next frame is a moving image or a still image.

【0014】動画・遷移画判定部14は、信号線103
を通じて現フレームのデータを入力すると共に、信号線
104を通じて前フレームのデータを記憶部13から読
みだす。そして、前フレームと現フレームの係数値の差
分を計算し、予め設定した閾値と比較する。閾値よりも
差分値の方が大きいときはそのブロックは動画ブロック
であるとし、小さいときは静止画ブロックであるとする
。更に静止画ブロックの内、前フレームの判定結果が動
画ブロックであったものを遷移画ブロックとして静止画
ブロックと区別する。
The moving image/transition image determining unit 14 connects the signal line 103
The data of the current frame is inputted through the signal line 104, and the data of the previous frame is read out from the storage unit 13 through the signal line 104. Then, the difference between the coefficient values of the previous frame and the current frame is calculated and compared with a preset threshold value. When the difference value is larger than the threshold value, the block is determined to be a moving image block, and when it is smaller than the threshold value, the block is determined to be a still image block. Furthermore, among still image blocks, those whose previous frame was determined to be a moving image block are distinguished from still image blocks as transition image blocks.

【0015】動画・遷移画の判定結果は信号線105を
通じて発生符号量制御部16へ伝送される。そして発生
符号量制御部16内の動画ブロック数カウンタ( 図示
せず)は動画ブロック数をカウントする。同じく遷移画
ブロック数カウンタ( 図示せず) は遷移画ブロック
数をカウントする。これらの積算されたカウント値は1
フレームの符号化が終了すると、次のフレームからはリ
セットされて再び0からカウントを始める。1フレーム
内の動画ブロック及び遷移画ブロック数のカウントが終
了すると、発生符号量制御部16は1フレームにおける
発生符号量が予め設定した値以下になるように、動画ブ
ロック及び遷移画ブロックの1ブロックあたりの符号量
の閾値を決定する。一方発生符号量制御部16は、信号
線106を通じて網のふくそう状態を通知される。網が
ふくそう状態でない場合には、発生符号量制御部16は
信号線107を通じて可変長符号化部15に対して通常
の可変長符号化を行うよう指示する。そして、可変長符
号化部15は、信号線108を通じて動画・遷移画の判
定結果を入力して、動画ブロック及び遷移画ブロックの
みを可変長符号化する。その符号化方法は例えば、図3
に示したように離散コサイン変換の係数の直流成分から
高周波成分に向かてジグザグ走査を行い、係数の「0」
の継続長と「0」以外の係数の値の組合せをハフマン(
Huffman) 符号化する。逆に、網がふくそう状
態の場合には、発生符号量制御部16は信号線109を
通じて発生した可変長符号の符号長を入力し、そのブロ
ックの発生符号量の合計を計算する。そして、動画ブロ
ックあるいは遷移画ブロックの閾値と発生符号量の合計
とを比較する。 閾値よりも小さいときにはそのまま符号化を継続する。 一方、閾値よりも符号量の合計が大きくなったときに(
図3の実線と点線の境界の部分がそうであるとする)は
、信号線107を通じて可変長符号化部15に符号化を
終了するよう指示する。可変長符号化部15は、そのブ
ロックの符号化が終了したことを示す符号(EOB,E
nd of Block 符号)を出力する。そして、
それ以後の(図3の点線の部分)については符号化を行
わない。これにより、網がふくそう状態になったときは
発生符号量を制御することが出来る。従って、ふくそう
状態の悪化を抑え、かつふくそう状態からの回復を早め
ることが出来る。
The determination result of the moving image/transition image is transmitted to the generated code amount control section 16 via the signal line 105. A video block number counter (not shown) in the generated code amount control unit 16 counts the number of video blocks. Similarly, a transition image block number counter (not shown) counts the number of transition image blocks. These accumulated count values are 1
When encoding of a frame is completed, the count is reset and starts counting from 0 again from the next frame. When the counting of the number of video blocks and transition picture blocks in one frame is completed, the generated code amount control unit 16 controls one block of video blocks and transition picture blocks so that the number of generated codes in one frame is equal to or less than a preset value. Determine the threshold value of the amount of code per. On the other hand, the generated code amount control unit 16 is notified of the congestion state of the network through the signal line 106. If the network is not congested, the generated code amount control section 16 instructs the variable length encoding section 15 to perform normal variable length encoding through the signal line 107. Then, the variable length encoding unit 15 inputs the determination result of the moving image/transition image through the signal line 108, and performs variable length encoding on only the moving image block and the transition image block. For example, the encoding method is shown in Figure 3.
As shown in , zigzag scanning is performed from the DC component of the coefficient of the discrete cosine transform toward the high frequency component, and the "0" of the coefficient is
Huffman (
Huffman) encode. Conversely, when the network is congested, the generated code amount control section 16 inputs the code length of the variable length code generated through the signal line 109, and calculates the total amount of generated codes for that block. Then, the threshold value of the video block or transition image block is compared with the total amount of generated codes. When it is smaller than the threshold, encoding continues as is. On the other hand, when the total code amount becomes larger than the threshold (
3) instructs the variable length encoding unit 15 to end encoding through the signal line 107. The variable length encoding unit 15 generates codes (EOB, E
nd of Block code). and,
Encoding is not performed for the portion after that (the part indicated by the dotted line in FIG. 3). This makes it possible to control the amount of generated codes when the network becomes congested. Therefore, it is possible to suppress the deterioration of the congestion state and hasten recovery from the congestion state.

【0016】次に、請求項2に係る発明を図4に示す実
施例の構成図に基づき説明する。信号線401を通じて
入力された映像信号は、直交変換部41によって離散コ
サイン変換が施され、量子化部42によって量子化され
る。量子化レベル制御部43は、信号線402を通じて
網がふくそう状態であることを通知される。網がふくそ
うしていないときは線形,即ち均一の量子化を行うよう
信号線403を通じて量子化部42に指示する。一方、
網がふくそう状態になったときは、量子化レベル制御部
43は非線形量子化を行うよう指示する。この指示にし
たがっつて量子化部42は密度関数を変化させ線形で細
かく量子化したり、逆に非線形で粗く量子化したりする
。可変長符号化部45は、信号線404を通じて伝送さ
れた量子化レベルにしたがって、それぞれの場合に対応
する符号化テーブルを用いて可変長符号化する。この様
にして、発生符号量を少なくすることが出来る。
Next, the invention according to claim 2 will be explained based on the configuration diagram of the embodiment shown in FIG. The video signal input through the signal line 401 is subjected to discrete cosine transformation by the orthogonal transform unit 41 and quantized by the quantizer 42 . The quantization level control unit 43 is notified through the signal line 402 that the network is in a congested state. When the network is not congested, the quantizer 42 is instructed through the signal line 403 to perform linear, ie, uniform quantization. on the other hand,
When the network becomes congested, the quantization level control unit 43 instructs to perform nonlinear quantization. In accordance with this instruction, the quantization unit 42 changes the density function to linearly and finely quantize, or conversely to non-linearly and coarsely quantize. The variable-length encoding unit 45 performs variable-length encoding according to the quantization level transmitted through the signal line 404 using the encoding table corresponding to each case. In this way, the amount of generated code can be reduced.

【0017】最後に、請求項3に係る発明を請求項1に
係る発明の場合と同じく図1に示す実施例に基づいて説
明する。網がふくそう状態になったときには、発生符号
量制御部16が信号線110を通じて動画・遷移画判定
部14に対して閾値を高くするよう指示する。これによ
り, 動画あるいは遷移画ブロックと判定される画素ブ
ロックの数が減少するため、発生符号量を少くし、ひい
てはその発生量の制御をすることが出来る。なお、発生
符号量制御部16以外の部分の動作については請求項1
に係る実施例と同じである。
Finally, the invention according to claim 3 will be explained based on the embodiment shown in FIG. 1, as in the case of the invention according to claim 1. When the network becomes congested, the generated code amount control section 16 instructs the moving image/transition image determination section 14 to increase the threshold value through the signal line 110. This reduces the number of pixel blocks that are determined to be moving pictures or transition picture blocks, thereby reducing the amount of generated code and, in turn, making it possible to control the amount of generated code. Note that the operation of the parts other than the generated code amount control unit 16 is described in claim 1.
This is the same as the embodiment related to.

【0018】[0018]

【発明の効果】以上説明したように、本発明によれば、
網のふくそう状態に応じて発生符号量を制御するため、
ふくそう状態の悪化を防ぎ、またふくそう状態からの回
復を早めることが可能となり、ひいてはセル廃棄による
画質劣化を防止し、抑制することが出来る。
[Effects of the Invention] As explained above, according to the present invention,
In order to control the amount of generated code according to the congestion state of the network,
It is possible to prevent deterioration of the congestion state and hasten recovery from the congestion state, and in turn, it is possible to prevent and suppress image quality deterioration due to cell discard.

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

【図1】請求項1及び3に係る発明の実施例の構成図で
ある。
FIG. 1 is a configuration diagram of an embodiment of the invention according to claims 1 and 3.

【図2】従来の可変長符号回路の構成図である。FIG. 2 is a configuration diagram of a conventional variable length code circuit.

【図3】符号化する8×8の離散コサイン変換係数ブロ
ックである。
FIG. 3 is an 8×8 discrete cosine transform coefficient block to be encoded.

【図4】請求項2に係る発明の実施例の構成図である。FIG. 4 is a configuration diagram of an embodiment of the invention according to claim 2.

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

11、21、41  直交変換部(DCT)12、22
、42  量子化部 13、23  記憶部 14、24  動画・遷移画判定部 15、25、45  可変長符号化部 16        発生符号量制御部43     
   量子化レベル制御部101〜110  信号線 201〜204  信号線 401〜404  信号線
11, 21, 41 Orthogonal transform unit (DCT) 12, 22
, 42 Quantization units 13, 23 Storage units 14, 24 Video/transition image determination units 15, 25, 45 Variable length encoding unit 16 Generated code amount control unit 43
Quantization level control units 101 to 110 Signal lines 201 to 204 Signal lines 401 to 404 Signal lines

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  入力信号に対して一定個数のブロック
に分割して発生した情報を順次可変長符号化する可変長
符号回路において、伝送する可変長符号の符号量を制御
する発生符号量制御部を有し、網がふくそうしていない
ときは発生した可変長符号をそのまま伝送し、網がふく
そうしたときには前記ブロック当りの発生符号量の合計
と、予め設定した発生符号量の閾値とを比較し、前記ブ
ロック当りの発生符号量が前記発生符号量の閾値よりも
小さいときは発生した可変長符号をそのまま伝送し、前
記ブロック当りの発生符号量が前記発生符号量の閾値を
超えたときは、前記ブロックの符号化が終了したことを
示す符号を出力し、それ以降の符号を伝送しないことを
特徴とする可変長符号回路。
1. A generated code amount control unit that controls the amount of variable length codes to be transmitted in a variable length code circuit that sequentially variable length encodes information generated by dividing an input signal into a certain number of blocks. When the network is not congested, the generated variable length code is transmitted as is, and when the network is congested, the total amount of generated codes per block is compared with a preset threshold for the amount of generated codes. , when the generated code amount per block is smaller than the generated code amount threshold, the generated variable length code is transmitted as is, and when the generated code amount per block exceeds the generated code amount threshold, A variable length code circuit characterized in that it outputs a code indicating that encoding of the block has been completed, and does not transmit subsequent codes.
【請求項2】  入力信号に対して複数種類の量子化レ
ベルをもつ量子化部と、前記量子化部の量子化レベルに
よって異なる符号化テーブルを用いて符号化を行う可変
長符号化部とを有し、網がふくそうしていないときは、
線形量子化を行って細かい量子化レベルで量子化を行っ
て符号化し、網がふくそうしたときは、非線形量子化を
行って量子化レベルを粗くして符号化することを特徴と
する可変長符号回路。
2. A quantization unit that has a plurality of types of quantization levels for an input signal, and a variable length encoding unit that performs encoding using a different encoding table depending on the quantization level of the quantization unit. When the net is not crowded,
A variable length code that performs linear quantization and performs quantization at a fine quantization level for encoding, and when the network becomes congested, performs nonlinear quantization to coarsen the quantization level and performs encoding. circuit.
【請求項3】  入力される映像信号を一定個数のブロ
ックに分割して前記ブロック毎に可変長符号化する可変
長符号回路において、前フレームのブロックと現フレー
ムのブロックとの差分値を計算して前記差分値が予め設
定された閾値よりも大きなときは動画ブロック、小さな
ときは静止画ブロックと判定し、さらに上記静止画ブロ
ックのうち、前フレームが動画ブロックであるブロック
を「遷移画ブロック」と判定する動画・遷移画判定部と
、前記動画ブロックと、前記遷移画ブロックの信号のみ
を可変長符号化する可変長符号化部とを有し、網がふく
そうしたときには前記閾値を大きくすることを特徴とす
る可変長符号回路。
3. In a variable-length code circuit that divides an input video signal into a fixed number of blocks and performs variable-length coding on each block, a difference value between a block of a previous frame and a block of a current frame is calculated. If the difference value is larger than a preset threshold, it is determined to be a video block, and if it is smaller, it is determined to be a still image block, and among the still image blocks, a block whose previous frame is a video block is determined to be a "transition image block". and a variable length encoding unit that performs variable length encoding only on the signals of the video block and the transition image block, and increases the threshold when the network becomes congested. A variable length code circuit featuring:
JP3083908A 1991-04-16 1991-04-16 Variable-length coding circuit Pending JPH04316294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3083908A JPH04316294A (en) 1991-04-16 1991-04-16 Variable-length coding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3083908A JPH04316294A (en) 1991-04-16 1991-04-16 Variable-length coding circuit

Publications (1)

Publication Number Publication Date
JPH04316294A true JPH04316294A (en) 1992-11-06

Family

ID=13815719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3083908A Pending JPH04316294A (en) 1991-04-16 1991-04-16 Variable-length coding circuit

Country Status (1)

Country Link
JP (1) JPH04316294A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11231866A (en) * 1997-03-13 1999-08-27 Yamaha Corp Data communication device, communication method, communication system and medium with program recorded
WO2001058096A1 (en) * 2000-02-02 2001-08-09 Mitsubishi Denki Kabushiki Kaisha Method and apparatus for distributing compressed bit stream to user device over network
US6574243B2 (en) 1996-12-27 2003-06-03 Yamaha Corporation Real time communications of musical tone information
US6801944B2 (en) 1997-03-13 2004-10-05 Yamaha Corporation User dependent control of the transmission of image and sound data in a client-server system
JP2013187634A (en) * 2012-03-06 2013-09-19 Mega Chips Corp Image processing apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6574243B2 (en) 1996-12-27 2003-06-03 Yamaha Corporation Real time communications of musical tone information
US7050462B2 (en) 1996-12-27 2006-05-23 Yamaha Corporation Real time communications of musical tone information
US7072362B2 (en) 1996-12-27 2006-07-04 Yamaha Corporation Real time communications of musical tone information
US7158530B2 (en) 1996-12-27 2007-01-02 Yamaha Corporation Real time communications of musical tone information
JPH11231866A (en) * 1997-03-13 1999-08-27 Yamaha Corp Data communication device, communication method, communication system and medium with program recorded
US6801944B2 (en) 1997-03-13 2004-10-05 Yamaha Corporation User dependent control of the transmission of image and sound data in a client-server system
WO2001058096A1 (en) * 2000-02-02 2001-08-09 Mitsubishi Denki Kabushiki Kaisha Method and apparatus for distributing compressed bit stream to user device over network
JP2013187634A (en) * 2012-03-06 2013-09-19 Mega Chips Corp Image processing apparatus

Similar Documents

Publication Publication Date Title
EP0660612B1 (en) Image encoding apparatus
EP0888010B1 (en) Image encoding method and apparatus
JP3074211B2 (en) Video signal encoding device
JP2008099322A (en) Video signal compression apparatus
JPH0746594A (en) Encoding method and its device
JPH10243399A (en) Code amount controller and moving image encoder provided with the same
JPH08256335A (en) Apparatus and method for determining quantization parameter
JP3872849B2 (en) Video encoding device
US5742342A (en) Apparatus for encoding an image signal using vector quantization technique
JPH10174098A (en) Video data compressor and its method
JPH04316294A (en) Variable-length coding circuit
JP2001145102A (en) Method and device for converting dynamic image compressed and encoded signal and medium with converting program recorded thereon
JPH1066077A (en) Code amount control method for image data and its device
JP3312597B2 (en) Variable length coding method
KR0160622B1 (en) Method and device for image compression
EP0784407B1 (en) Transform coefficient select method and apparatus for transform coding system
KR100385620B1 (en) Improved MPEG coding method, moving picture transmitting system and method thereof
JPH10174106A (en) Video data compressor and its method
JP3197425B2 (en) Encoding and decoding apparatus and method
CN100334885C (en) Image signal compression coding method and apparatus
JPH09149420A (en) Method and device for compressing dynamic image
JP2002176648A (en) Buffer management method
JP3262114B2 (en) Video signal encoding device and video signal encoding method
JPH02222388A (en) Moving picture encoding method
JPH1141108A (en) Variable-length coding system and variable-length coding method