JP3341781B2 - Image decoding device and image encoding device - Google Patents
Image decoding device and image encoding deviceInfo
- Publication number
- JP3341781B2 JP3341781B2 JP2747193A JP2747193A JP3341781B2 JP 3341781 B2 JP3341781 B2 JP 3341781B2 JP 2747193 A JP2747193 A JP 2747193A JP 2747193 A JP2747193 A JP 2747193A JP 3341781 B2 JP3341781 B2 JP 3341781B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- code
- output
- image data
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000001514 detection method Methods 0.000 claims description 47
- 238000000034 method Methods 0.000 claims description 15
- 230000006835 compression Effects 0.000 claims description 3
- 238000007906 compression Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 description 75
- 239000013598 vector Substances 0.000 description 41
- 238000010586 diagram Methods 0.000 description 25
- 238000013139 quantization Methods 0.000 description 24
- 230000002457 bidirectional effect Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/24—Systems for the transmission of television signals using pulse code modulation
- H04N7/52—Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
- H04N7/54—Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal the signals being synchronous
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/65—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/152—Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/577—Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/89—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/23614—Multiplexing of additional data and video streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4346—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream involving stuffing data, e.g. packets or bytes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4348—Demultiplexing of additional data and video streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/633—Control signals issued by server directed to the network components or client
- H04N21/6332—Control signals issued by server directed to the network components or client directed to client
- H04N21/6336—Control signals issued by server directed to the network components or client directed to client directed to decoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/24—Systems for the transmission of television signals using pulse code modulation
- H04N7/52—Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
- H04N7/54—Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal the signals being synchronous
- H04N7/56—Synchronising systems therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Image Processing (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、動画像データを圧縮し
て伝送し、受信側において、これを伸張して再生する場
合に用いて好適な画像復号化装置および画像符号化装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding apparatus and an image coding apparatus suitable for use in a case where moving image data is compressed and transmitted, and expanded and reproduced on the receiving side. > About.
【0002】[0002]
【従来の技術】従来、例えばテレビ会議システム、テレ
ビ電話システムなどのように、動画映像でなる画像信号
を遠隔地に伝送する、いわゆる画像信号伝送システムに
おいては、伝送路を効率良く利用するため、画像信号の
ライン相関やフレーム間相関を利用して画像信号を符号
化し、これにより有意情報の伝送効率を高めるようにな
されている。2. Description of the Related Art Conventionally, in a so-called image signal transmission system, such as a video conference system or a video telephone system, for transmitting an image signal composed of a moving image to a remote place, in order to use a transmission path efficiently, An image signal is encoded using a line correlation or an inter-frame correlation of the image signal, thereby increasing the transmission efficiency of significant information.
【0003】図18は、画像を符号化する、従来の画像
符号化装置の一例の構成を示すブロック図である。符号
化されるべき画像データは、動きベクトル検出回路1に
入力される。動きベクトル検出回路1は、予め設定され
ている所定のシーケンスに従って、各フレームの画像デ
ータを、Iピクチャ、Pピクチャ、またはBピクチャと
して処理する。シーケンシャルに入力される各フレーム
の画像を、I,P,Bのいずれのピクチャとして処理す
るかは、予め定められている。Iピクチャとして処理さ
れるフレームの画像データは前方原画像部2aに記憶さ
れ、Bピクチャとして処理される画像データは原画像部
2bに記憶され、Pピクチャとして処理される画像デー
タは後方原画像部2cに記憶される。FIG. 18 is a block diagram showing a configuration of an example of a conventional image encoding apparatus for encoding an image. Image data to be encoded is input to the motion vector detection circuit 1. The motion vector detection circuit 1 processes the image data of each frame as an I picture, a P picture, or a B picture according to a predetermined sequence set in advance. It is determined in advance which of the I, P, and B pictures to process the sequentially input image of each frame. Image data of a frame processed as an I picture is stored in the front original image section 2a, image data processed as a B picture is stored in the original image section 2b, and image data processed as a P picture is stored in the rear original image section. 2c.
【0004】また、さらにBピクチャまたはPピクチャ
として処理すべきフレームの画像が入力されたとき、そ
れまで後方原画像部2cに記憶されていた最初のPピク
チャの画像データが前方原画像部2aに転送され、次の
Bピクチャの画像データが原画像部2bに記憶され、次
のPピクチャの画像データが後方原画像部2cに記憶
(上書き)される。このような動作が順次繰り返され
る。Further, when an image of a frame to be processed as a B picture or a P picture is input, the image data of the first P picture which has been stored in the rear original image section 2c is stored in the front original image section 2a. The image data of the next B picture is transferred and stored in the original image section 2b, and the image data of the next P picture is stored (overwritten) in the rear original image section 2c. Such operations are sequentially repeated.
【0005】動きベクトル検出回路1は、原画像部2b
に記憶されたBピクチャについては、そのフレームの画
像データを8×8画素のブロック単位に分割し、前方原
画像部2aに記憶されたIピクチャの画像と、後方原画
像部2cに記憶されたPピクチャの画像との間で、動き
ベクトルを検出する。後方原画像部2cに記憶されたP
ピクチャについては、そのフレームの画像データを8×
8画素のブロック単位に分割し、前方原画像部2aに記
憶されたIピクチャの画像との間で、動きベクトルを検
出する。Iピクチャについては、動きベクトルの検出を
行なわない。The motion vector detecting circuit 1 includes an original image section 2b
, The image data of the frame is divided into blocks of 8 × 8 pixels, and the I-picture image stored in the front original image section 2a and the I-picture image stored in the rear original image section 2c. A motion vector is detected between the P picture and the P picture. P stored in the rear original image part 2c
For a picture, the image data of the frame is 8 ×
A motion vector is detected between an image of the I picture stored in the front original image section 2a by dividing the image into blocks of 8 pixels. No motion vector is detected for the I picture.
【0006】動きベクトル検出回路1は、このブロック
単位で動き検出した画像データをマクロブロック単位で
次段の演算部3に出力する。The motion vector detecting circuit 1 outputs the image data whose motion has been detected in block units to the operation unit 3 in the next stage in macro block units.
【0007】即ち、各フレーム画像データは、図19
(a)に示すように、N個のスライスに分割され、各ス
ライスが図19(b)に示すように、M個のマクロブロ
ックを含むようになされる。そして、各マクロブロック
は、図19(c)に示すように、8×8画素を単位とす
るブロックの輝度信号データY1乃至Y4と、それに対
応する色差信号データCbとCrにより構成される。That is, each frame image data is shown in FIG.
As shown in FIG. 19A, the slice is divided into N slices, and each slice includes M macroblocks as shown in FIG. 19B. Then, as shown in FIG. 19C, each macro block is composed of luminance signal data Y1 to Y4 of a block in units of 8 × 8 pixels, and corresponding color difference signal data Cb and Cr.
【0008】このとき、スライス内の画像データの配列
は、マクロブロック単位で画像データが連続するように
なされており、このマクロブロック内では、ラスタ走査
の順で、ブロック単位で画像データが連続するようにな
されている。At this time, the arrangement of the image data in the slice is such that the image data is continuous in macroblock units, and in this macroblock, the image data is continuous in block units in the order of raster scanning. It has been made like that.
【0009】尚、ここで、マクロブロックは、輝度信号
に対して、水平および垂直走査方向に連続する16×1
6画素の画像データ(Y1乃至Y4)を1つの単位とす
るのに対し、これに対応する2つの色差信号Cb,Cr
においては、データ量が低減処理され、それぞれ1つの
8×8画素分のブロックが割り当てられる。[0009] Here, the macroblock is a 16 × 1 continuous with respect to the luminance signal in the horizontal and vertical scanning directions.
While the image data (Y1 to Y4) of six pixels is used as one unit, two color difference signals Cb and Cr corresponding to the unit are used.
In, the data amount is reduced, and one 8 × 8 pixel block is assigned to each block.
【0010】動きベクトル検出回路1はまた、各マクロ
ブロックの4つのブロックの動きベクトルを、可変長符
号化回路6と動き補償回路13に出力するとともに、そ
の絶対値の和を演算し、予測判定回路14に出力する。The motion vector detecting circuit 1 outputs the motion vectors of the four blocks of each macro block to the variable length coding circuit 6 and the motion compensating circuit 13 and calculates the sum of the absolute values thereof to make a prediction judgment. Output to the circuit 14.
【0011】予測判定回路14は、動きベクトル検出回
路1が前方原画像部2aよりIピクチャの画像データを
読み出しているとき(動きベクトル検出回路1より供給
される動きベクトルの絶対値和が0のとき)、予測モー
ドとしてフレーム内予測モード(動き補償を行わないモ
ード)を設定し、演算部3のスイッチ3dを、接点a側
に切り換える。これによりIピクチャの画像データは、
DCT回路4に入力され、DCT(離散コサイン変換)
処理され、DCT係数に変換される。このDCT係数
は、量子化回路5に入力され、送信バッファ7のデータ
蓄積量(バッファ蓄積量)に対応した量子化ステップで
量子化された後、可変長符号化回路6に入力される。When the motion vector detecting circuit 1 is reading image data of an I picture from the front original image portion 2a (the sum of absolute values of the motion vectors supplied from the motion vector detecting circuit 1 is 0). Time), the intra-frame prediction mode (mode in which motion compensation is not performed) is set as the prediction mode, and the switch 3d of the calculation unit 3 is switched to the contact a side. Thereby, the image data of the I picture is
DCT (Discrete Cosine Transform) input to DCT circuit 4
Processed and converted to DCT coefficients. The DCT coefficients are input to the quantization circuit 5, quantized in a quantization step corresponding to the data storage amount (buffer storage amount) of the transmission buffer 7, and then input to the variable length coding circuit 6.
【0012】可変長符号化回路6は、量子化回路5より
供給される量子化ステップ、予測判定回路14より供給
される予測モード、および動きベクトル検出回路1より
供給される動きベクトルに対応して、量子化回路5より
供給される画像データ(いまの場合Iピクチャのデー
タ)を、たとえばハフマン符号などの可変長符号に変換
し、送信バッファ7に出力する。The variable length coding circuit 6 corresponds to the quantization step supplied from the quantization circuit 5, the prediction mode supplied from the prediction determination circuit 14, and the motion vector supplied from the motion vector detection circuit 1. The image data (I-picture data in this case) supplied from the quantization circuit 5 is converted into a variable-length code such as a Huffman code and output to the transmission buffer 7.
【0013】送信バッファ7は、入力されたデータを一
時蓄積し、伝送データ制御回路63に出力する。伝送デ
ータ制御回路111は、送信バッファ7より供給された
データを伝送路に出力する。The transmission buffer 7 temporarily stores the input data and outputs it to the transmission data control circuit 63. The transmission data control circuit 111 outputs the data supplied from the transmission buffer 7 to a transmission path.
【0014】一方、量子化回路5より出力されたIピク
チャのデータは、逆量子化回路9に入力され、量子化回
路5より供給される量子化ステップに対応して逆量子化
される。逆量子化回路9の出力はIDCT(逆DCT)
回路10に入力され、逆DCTされた後、演算器11を
介してフレームメモリ12の前方予測画像部12aに供
給され、記憶される。On the other hand, the I-picture data output from the quantization circuit 5 is input to the inverse quantization circuit 9 and is inversely quantized in accordance with the quantization step supplied from the quantization circuit 5. The output of the inverse quantization circuit 9 is IDCT (inverse DCT)
After being input to the circuit 10 and subjected to inverse DCT, it is supplied to the forward prediction image section 12 a of the frame memory 12 via the arithmetic unit 11 and stored.
【0015】動きベクトル検出回路1は、シーケンシャ
ルに入力される各フレームの画像データを、たとえば、
I,B,P,B,P,B・・・のピクチャとしてそれぞ
れ処理する場合、最初に入力されたフレームの画像デー
タをIピクチャとして処理した後、次に入力されたフレ
ームの画像をBピクチャとして処理する前に、さらにそ
の次に入力されたフレームの画像データをPピクチャと
して処理する。Bピクチャは、後方予測を伴うため、後
方予測画像としてのPピクチャが先に用意されていない
と、復号することができないからである。The motion vector detecting circuit 1 converts the sequentially input image data of each frame into, for example,
When each image is processed as a picture of I, B, P, B, P, B,..., The image data of the first input frame is processed as an I picture, and the image of the next input frame is processed as a B picture. , The image data of the next input frame is processed as a P picture. This is because a B picture involves backward prediction and cannot be decoded unless a P picture as a backward predicted image is prepared first.
【0016】そこで動きベクトル検出回路1は、Iピク
チャの次に、後方原画像部2cに記憶されているPピク
チャの画像データの動きベクトルを、8×8画素のブロ
ックを単位として検出する。そして、マクロブロックを
構成する4個の8×8画素のブロックの各動きベクトル
の絶対値和が、動きベクトル検出回路1から予測判定回
路14に供給される。予測判定回路14は、このPピク
チャのマクロブロックの絶対値和が予め設定してある所
定の基準値より小さいとき、予測モードとしてフレーム
内予測モードを設定する。また、基準値より大きいと
き、前方予測モードを設定する。Then, the motion vector detecting circuit 1 detects a motion vector of the picture data of the P picture stored in the rear original picture section 2c in units of 8 × 8 pixels next to the I picture. Then, the sum of absolute values of the motion vectors of the four 8 × 8 pixel blocks forming the macroblock is supplied from the motion vector detection circuit 1 to the prediction determination circuit 14. When the sum of absolute values of the macroblocks of the P picture is smaller than a predetermined reference value, the prediction determination circuit 14 sets the intra-frame prediction mode as the prediction mode. When the value is larger than the reference value, the forward prediction mode is set.
【0017】演算器3はフレーム内予測モードが設定さ
れたとき、スイッチ3dを上述したように接点a側に切
り換える。従ってこのデータは、Iピクチャのデータと
同様に、DCT回路4、量子化回路5、可変長符号化回
路6、送信バッファ7、伝送データ制御回路111を介
して伝送路に伝送される。また、このデータは、逆量子
化回路9、IDCT回路10、演算器11を介してフレ
ームメモリ12の後方予測画像部12bに供給され、記
憶される。When the intra-frame prediction mode is set, the arithmetic unit 3 switches the switch 3d to the contact a as described above. Therefore, this data is transmitted to the transmission path via the DCT circuit 4, the quantization circuit 5, the variable length encoding circuit 6, the transmission buffer 7, and the transmission data control circuit 111, like the I picture data. The data is supplied to the backward prediction image section 12b of the frame memory 12 via the inverse quantization circuit 9, the IDCT circuit 10, and the calculator 11, and stored therein.
【0018】前方予測モードの時、スイッチ3dが接点
bに切り換えられ、前方予測画像部12aに記憶されて
いる画像(いまの場合Iピクチャの画像)データが読み
出され、動き補償回路13により、動きベクトル検出回
路1が出力する動きベクトルに対応して動き補償され
る。すなわち、動き補償回路13は、予測判定回路14
より前方予測モードの設定が指令されたとき、前方予測
画像部12aの読み出しアドレスを、動きベクトル検出
回路1がいま出力しているマクロブロックの位置に対応
する位置から動きベクトルに対応する分だけずらしてデ
ータを読み出し、予測画像データを生成する。In the forward prediction mode, the switch 3d is switched to the contact b, and the image data (in this case, the image of the I picture) stored in the forward prediction image section 12a is read out. Motion compensation is performed corresponding to the motion vector output from the motion vector detection circuit 1. That is, the motion compensation circuit 13
When the setting of the forward prediction mode is instructed, the read address of the forward prediction image unit 12a is shifted from the position corresponding to the position of the macroblock currently output by the motion vector detection circuit 1 by the amount corresponding to the motion vector. To read out data to generate predicted image data.
【0019】動き補償回路13より出力された予測画像
データは、演算器3aに供給される。演算器3aは、動
きベクトル検出回路1より供給されたマクロブロックの
データから、動き補償回路13より供給された、このマ
クロブロックに対応する予測画像データを減算し、その
差分を出力する。この差分データは、DCT回路4、量
子化回路5、可変長符号化回路6、送信バッファ7、伝
送データ制御回路111を介して伝送路に伝送される。
また、この差分データは、逆量子化回路9、IDCT回
路10を介して演算器11に入力される。The predicted image data output from the motion compensation circuit 13 is supplied to a computing unit 3a. The arithmetic unit 3a subtracts the predicted image data corresponding to the macroblock supplied from the motion compensation circuit 13 from the data of the macroblock supplied from the motion vector detection circuit 1, and outputs the difference. This difference data is transmitted to the transmission path via the DCT circuit 4, the quantization circuit 5, the variable length encoding circuit 6, the transmission buffer 7, and the transmission data control circuit 111.
The difference data is input to the arithmetic unit 11 via the inverse quantization circuit 9 and the IDCT circuit 10.
【0020】この演算器11にはまた、演算器3aに供
給されている予測画像データと同一のデータが供給され
ている。演算器11は、IDCT回路10が出力する差
分データに、動き補償回路13が出力する予測画像デー
タを加算する。これにより、元のPピクチャの画像デー
タが得られる。このPピクチャの画像データは、フレー
ムメモリ12の後方予測画像部12bに供給され、記憶
される。The arithmetic unit 11 is also supplied with the same data as the predicted image data supplied to the arithmetic unit 3a. The arithmetic unit 11 adds the prediction image data output from the motion compensation circuit 13 to the difference data output from the IDCT circuit 10. As a result, the original P picture image data is obtained. The P-picture image data is supplied to and stored in the backward prediction image section 12b of the frame memory 12.
【0021】動きベクトル検出回路1は、このように、
IピクチャとPピクチャのデータが前方予測画像部12
aと後方予測画像部12bにそれぞれ記憶された後、次
にBピクチャの動きベクトルをブロック単位で検出す
る。予測判定回路14は、マクロブロックを構成する各
ブロックの動きベクトルの絶対値和の大きさに対応し
て、予測モードをフレーム内予測モード、前方予測モー
ド、後方予測モード、または両方向予測モードのいずれ
かに設定する。The motion vector detecting circuit 1 is as follows.
The data of the I picture and the P picture is
After being stored in a and the backward prediction image unit 12b, a motion vector of the B picture is detected in block units. The prediction determination circuit 14 sets the prediction mode to any of the intra-frame prediction mode, the forward prediction mode, the backward prediction mode, and the bidirectional prediction mode in accordance with the magnitude of the sum of the absolute values of the motion vectors of the blocks constituting the macroblock. Set crab.
【0022】上述したように、フレーム内予測モードま
たは前方予測モードの時、スイッチ3dは接点aまたは
bにそれぞれ切り換えられる。このとき、Pピクチャに
おける場合と同様の処理が行われ、データが伝送され
る。As described above, in the intra-frame prediction mode or the forward prediction mode, the switch 3d is switched to the contact point a or b. At this time, the same processing as in the case of the P picture is performed, and the data is transmitted.
【0023】これに対して、後方予測モードまたは両方
向予測モードが設定された時、スイッチ3dは接点cま
たはdにそれぞれ切り換えられる。On the other hand, when the backward prediction mode or the bidirectional prediction mode is set, the switch 3d is switched to the contact point c or d.
【0024】スイッチ3dが接点cに切り換えられてい
る後方予測モードの時、後方予測画像部12bに記憶さ
れている画像(いまの場合Pピクチャの画像)データが
読み出され、動き補償回路13により、動きベクトル検
出回路1が出力する動きベクトルに対応して動き補償さ
れる。すなわち、動き補償回路13は、予測判定回路1
4より後方予測モードの設定が指令されたとき、後方予
測画像部12bの読み出しアドレスを、動きベクトル検
出回路1がいま出力しているマクロブロックの位置に対
応する位置から動きベクトルに対応する分だけずらして
データを読み出し、予測画像データを生成する。In the backward prediction mode in which the switch 3d is switched to the contact point c, the image (image of the P picture in this case) data stored in the backward prediction image section 12b is read out. , The motion is compensated corresponding to the motion vector output from the motion vector detection circuit 1. That is, the motion compensation circuit 13 is
4, when the setting of the backward prediction mode is instructed, the read address of the backward prediction image unit 12b is changed from the position corresponding to the position of the macroblock currently output by the motion vector detection circuit 1 to the position corresponding to the motion vector. The data is read out by shifting, and predicted image data is generated.
【0025】動き補償回路13より出力された予測画像
データは、演算器3bに供給される。演算器3bは、動
きベクトル検出回路1より供給されたマクロブロックの
データから、動き補償回路13より供給された予測画像
データを減算し、その差分を出力する。この差分データ
は、DCT回路4、量子化回路5、可変長符号化回路
6、送信バッファ7、伝送データ制御回路111を介し
て伝送路に伝送される。The predicted image data output from the motion compensation circuit 13 is supplied to a computing unit 3b. The calculator 3b subtracts the predicted image data supplied from the motion compensation circuit 13 from the macroblock data supplied from the motion vector detection circuit 1, and outputs the difference. This difference data is transmitted to the transmission path via the DCT circuit 4, the quantization circuit 5, the variable length encoding circuit 6, the transmission buffer 7, and the transmission data control circuit 111.
【0026】スイッチ3dが接点dに切り換えられてい
る両方向予測モードの時、前方予測画像部12aに記憶
されている画像(いまの場合Iピクチャの画像)データ
と、後方予測画像部12bに記憶されている画像(いま
の場合Pピクチャの画像)データが読み出され、動き補
償回路13により、動きベクトル検出回路1が出力する
動きベクトルに対応して動き補償される。すなわち、動
き補償回路13は、予測判定回路14より両方向予測モ
ードの設定が指令されたとき、前方予測画像部12aと
後方予測画像部12bの読み出しアドレスを、動きベク
トル検出回路1がいま出力しているマクロブロックの位
置に対応する位置から動きベクトルに対応する分だけず
らしてデータを読み出し、予測画像データを生成する。In the bidirectional prediction mode in which the switch 3d is switched to the contact point d, the image data (image of the I picture in this case) stored in the forward prediction image section 12a and the image data stored in the backward prediction image section 12b. The image data (in this case, an image of a P picture) is read out, and the motion compensation circuit 13 performs motion compensation corresponding to the motion vector output from the motion vector detection circuit 1. That is, when the setting of the bidirectional prediction mode is instructed by the prediction determination circuit 14, the motion vector detection circuit 1 outputs the read addresses of the forward predicted image section 12 a and the backward predicted image section 12 b. The data is read out from the position corresponding to the position of the existing macroblock by an amount corresponding to the motion vector, and predicted image data is generated.
【0027】動き補償回路13より出力された予測画像
データは、演算器3cに供給される。演算器3cは、動
きベクトル検出回路1より供給されたマクロブロックの
データから、動き補償回路13より供給された予測画像
データを減算し、その差分を出力する。この差分データ
は、DCT回路4、量子化回路5、可変長符号化回路
6、送信バッファ7、伝送データ制御回路111を介し
て伝送路に伝送される。The predicted image data output from the motion compensation circuit 13 is supplied to a calculator 3c. The arithmetic unit 3c subtracts the prediction image data supplied from the motion compensation circuit 13 from the macroblock data supplied from the motion vector detection circuit 1, and outputs the difference. This difference data is transmitted to the transmission path via the DCT circuit 4, the quantization circuit 5, the variable length encoding circuit 6, the transmission buffer 7, and the transmission data control circuit 111.
【0028】Bピクチャの画像は、他の画像の予測画像
とされることはないため、フレームメモリ12には記憶
されない。The picture of the B picture is not stored in the frame memory 12 because it is not regarded as a predicted picture of another picture.
【0029】以上のようにして、画像データは可変長の
符号として伝送されるため、例えば、簡単な静止画が比
較的長い時間連続するような場合、伝送すべきデータが
不足するようなことがある。このような場合、伝送デー
タの欠落を防止するため、無効コードを伝送すべきデー
タに付加することができる。この無効コードは、例え
ば、図19に示したスライスまたはマクロブロック単位
に付加することができる。As described above, since image data is transmitted as a variable-length code, for example, when a simple still image continues for a relatively long time, the data to be transmitted may be insufficient. is there. In such a case, an invalid code can be added to the data to be transmitted in order to prevent the transmission data from being lost. This invalid code can be added, for example, in units of slices or macroblocks shown in FIG.
【0030】図20は、スライス単位で無効コードを付
加する場合の例を示している。各スライスには、その先
頭にスライススタートコードが設けられている。このス
ライススタートコードは、同期コードと属性コードとか
ら構成されている。同期コードは、各ビットがすべて論
理0とされている2バイトのデータと、LSBが論理
1、他のビットが論理0とされた1バイトのデータ(合
計3バイトのデータ)とから構成されている。また、属
性コードは1バイトとされ、そこには、対応するスライ
スの属性など、そのスライスのデータに関するデータを
示すコードが配置されるようになされている。従って、
スライススタートコードは、合計4バイト(32ビッ
ト)のデータにより構成されている。FIG. 20 shows an example in which an invalid code is added in slice units. Each slice is provided with a slice start code at the beginning. This slice start code is composed of a synchronization code and an attribute code. The synchronization code is composed of 2-byte data in which each bit is all logical 0, and 1-byte data in which the LSB is logical 1 and the other bits are logical 0 (total 3 bytes of data). I have. The attribute code is one byte, in which a code indicating data relating to the data of the slice, such as the attribute of the corresponding slice, is arranged. Therefore,
The slice start code is composed of a total of 4 bytes (32 bits) of data.
【0031】そして無効コードは、すべてのビットが論
理0とされたデータがバイト(8ビット)単位で、必要
なバイト数だけスライススタートコードの前に付加され
るようになされている。即ち、スライスに付加する無効
コードを、スライス用無効コードというものとすると、
スライス用無効コードは、論理0の1バイトのデータを
1単位として構成される。 The invalid code is such that data in which all bits are set to logical 0 is added before the slice start code by a required number of bytes in units of bytes (8 bits). That is, invalidation added to the slice
If the code is called a slice invalid code,
The invalid code for slice is 1 byte data of logical 0.
It is configured as one unit.
【0032】図21は、マクロブロックに付加する無効
コードを示している。即ち、この場合においては、上位
7ビットが論理0、下位4ビットが論理1とされた合計
11ビットが無効コードの1単位とされ、この無効コー
ドが所定の数の単位数だけ、マクロブロックの有効コー
ドの前に付加される。即ち、マクロブロックに付加する
無効コードを、マクロブロック用無効コードというもの
とすると、マクロブロ ック用無効コードは、「0000
0001111」のビット系列を1単位として構成され
る。 FIG. 21 shows an invalid code added to a macroblock. That is, in this case, a total of 11 bits in which the upper 7 bits are logical 0 and the lower 4 bits are logical 1 are regarded as one unit of the invalid code, and the invalid code is a predetermined number of units of the macro block. It is added before the valid code. That is, it is added to the macro block.
Invalid code is called invalid code for macro block.
If, Makuroburo Tsu invalid code for the phrase, "0000
0001111 "as a unit.
You.
【0033】マクロブロック用無効コードを図21に示
すように、マクロブロックのデータに付加する場合、図
18に示した伝送データ制御回路111は、例えば図2
2に示すように構成することができる。この例において
は、送信バッファ7より出力されたデータが、N/M変
換器121に入力され、Nビットを単位とするデータか
らMビットを単位とするデータに変換される。N/M変
換器121より出力されたデータは、マルチプレクサ
(MUX)122に入力され、マクロブロック調整デー
タ発生回路123が出力する無効コードと合成される。When the macroblock invalid code is added to the macroblock data as shown in FIG. 21, the transmission data control circuit 111 shown in FIG.
2 can be configured. In this example, data output from the transmission buffer 7 is input to the N / M converter 121 and converted from data in units of N bits to data in units of M bits. Data is outputted from the N / M converter 121 is input to a multiplexer (MUX) 122, a macroblock adjustment Day
And the invalid code output from the data generation circuit 123.
【0034】即ち、マクロブロック調整データ発生回路
123は、図21に示した上位7ビットが論理0、下位
4ビットが論理1のマクロブロック用無効コードを発生
し、マルチプレクサ122に出力する。コントローラ1
24は、送信バッファ情報に対応してマルチプレクサ1
22を制御し、送信バッファ7がアンダフローしそうに
ないとき、N/M変換器121の出力を選択し、アンダ
フローする恐れがあるとき、マクロブロック調整データ
発生回路123が出力するマクロブロック用無効コード
を選択する。これにより、マルチプレクサ122が出力
するデータには、任意の数のマクロブロック用無効コー
ドが混合されることになる。That is, the macroblock adjustment data generating circuit 123 generates a macroblock invalid code in which the upper 7 bits are logic 0 and the lower 4 bits are logic 1 shown in FIG. Controller 1
24 is a multiplexer 1 corresponding to the transmission buffer information.
Controls 22, when the transmission buffer 7 is unlikely to underflow, when selecting the output of the N / M converter 121, there is a risk of underflow, the macroblock adjustment data
The macroblock invalid code output from the generation circuit 123 is selected. As a result, an arbitrary number of macroblock invalid codes are mixed with the data output from the multiplexer 122.
【0035】次に、図23は、図18の画像符号化装置
で符号化されたデータを復号化する画像復号化装置の一
例の構成を示すブロック図である。伝送路を介して伝送
された、符号化された画像データは、図示せぬ受信回路
で受信され、受信バッファ32に一時記憶された後、復
号回路50の可変長復号化回路33に供給される。可変
長復号化回路33は、受信バッファ32より供給された
データを可変長復号化し、動きベクトルと予測モードを
動き補償回路38に、また、量子化ステップを逆量子化
回路34に、それぞれ出力するとともに、復号(可変長
復号)された画像データを逆量子化回路34に出力す
る。FIG. 23 is a block diagram showing an example of the configuration of an image decoding device for decoding data encoded by the image encoding device of FIG. The encoded image data transmitted via the transmission path is received by a receiving circuit (not shown), temporarily stored in a receiving buffer 32, and then supplied to the variable length decoding circuit 33 of the decoding circuit 50. . The variable length decoding circuit 33 performs variable length decoding on the data supplied from the reception buffer 32, and outputs the motion vector and the prediction mode to the motion compensation circuit 38, and outputs the quantization step to the inverse quantization circuit 34, respectively. At the same time, it outputs the decoded (variable length decoded) image data to the inverse quantization circuit 34.
【0036】逆量子化回路34は、可変長復号化回路3
3より供給された画像データを、同じく可変長復号化回
路33より供給された量子化ステップにしたがって逆量
子化し、IDCT回路35に出力する。逆量子化回路3
4より出力されたデータ(DCT係数)は、IDCT回
路35で、逆DCT処理され、演算器36に供給され
る。The inverse quantization circuit 34 is a variable length decoding circuit 3
3 is inversely quantized according to the quantization step also supplied from the variable length decoding circuit 33, and is output to the IDCT circuit 35. Inverse quantization circuit 3
The data (DCT coefficient) output from 4 is subjected to inverse DCT processing in the IDCT circuit 35 and supplied to the calculator 36.
【0037】IDCT回路35より供給された画像デー
タが、Iピクチャのデータである場合、そのデータは演
算器36より出力され、演算器36に後に入力される画
像データ(PまたはBピクチャのデータ)の予測画像デ
ータ生成のために、フレームメモリ37の前方予測画像
部37aに供給されて記憶される。When the image data supplied from the IDCT circuit 35 is I-picture data, the data is output from the arithmetic unit 36 and is input to the arithmetic unit 36 later (P or B picture data). Is supplied to and stored in the forward prediction image section 37a of the frame memory 37 in order to generate the prediction image data.
【0038】また、このデータは、D/Aコンバータ3
9によりD/A変換された後、ディスプレイ40に供給
され、表示される。This data is output to the D / A converter 3
After the D / A conversion by 9, it is supplied to the display 40 and displayed.
【0039】IDCT回路35より供給された画像デー
タが、その1フレーム前の画像データを予測画像データ
とするPピクチャのデータである場合、フレームメモリ
37の前方予測画像部37aに記憶されている、1フレ
ーム前の画像データ(Iピクチャのデータ)が読み出さ
れ、動き補償回路38で可変長復号化回路33より出力
された動きベクトルに対応する動き補償が施される。そ
して、演算器36において、IDCT回路35より供給
された画像データ(差分のデータ)と加算され、出力さ
れる。この加算されたデータ、即ち、復号されたPピク
チャのデータは、演算器36に後に入力される画像デー
タ(Bピクチャのデータ)の予測画像データ生成のため
に、フレームメモリ37の後方予測画像部37bに供給
されて記憶される。When the image data supplied from the IDCT circuit 35 is P-picture data using the image data one frame before as the predicted image data, the data is stored in the forward predicted image section 37a of the frame memory 37. The image data (I-picture data) one frame before is read out, and the motion compensation circuit 38 performs motion compensation corresponding to the motion vector output from the variable length decoding circuit 33. Then, the arithmetic unit 36 adds the image data (difference data) supplied from the IDCT circuit 35 and outputs the result. The added data, that is, the decoded P picture data, is used to generate a predicted picture data of the picture data (B picture data) to be input later to the arithmetic unit 36. It is supplied to and stored in 37b.
【0040】このPピクチャは、次のBピクチャの次に
表示されるべき画像であるため、この時点では、まだ表
示されない。Since this P picture is an image to be displayed next to the next B picture, it is not displayed at this time.
【0041】IDCT回路35より供給された画像デー
タが、Bピクチャのデータである場合、可変長復号化回
路33より供給された予測モードに対応して、フレーム
メモリ37の前方予測画像部37aに記憶されているI
ピクチャの画像データ(前方予測モードの場合)、後方
予測画像部37bに記憶されているPピクチャの画像デ
ータ(後方予測モードの場合)、または、その両方の画
像データ(両方向予測モードの場合)が読み出され、動
き補償回路38において、可変長復号化回路33より出
力された動きベクトルに対応する動き補償が施される。When the image data supplied from the IDCT circuit 35 is B picture data, it is stored in the forward prediction image section 37a of the frame memory 37 in accordance with the prediction mode supplied from the variable length decoding circuit 33. I
The image data of the picture (in the case of the forward prediction mode), the image data of the P picture stored in the backward prediction image section 37b (in the case of the backward prediction mode), or both image data (in the case of the bidirectional prediction mode) The motion vector is read and the motion compensation circuit 38 performs motion compensation corresponding to the motion vector output from the variable length decoding circuit 33.
【0042】このようにして、動き補償回路38で動き
補償が施されたデータは、演算器36において、IDC
T回路35の出力と加算される。この加算出力は、D/
Aコンバータ39でD/A変換された後、ディスプレイ
40に供給され、表示される。The data subjected to the motion compensation by the motion compensating circuit 38 in this manner is processed by the arithmetic unit 36 in the IDC.
It is added to the output of the T circuit 35. This addition output is D /
After being D / A converted by the A converter 39, it is supplied to the display 40 and displayed.
【0043】但し、この加算出力はBピクチャのデータ
であるため、他の画像の予測画像生成のために利用され
ることがないため、フレームメモリ37には記憶されな
い。However, since this addition output is B picture data, it is not used for generating a predicted image of another image, and is not stored in the frame memory 37.
【0044】Bピクチャの画像が出力、表示された後、
後方予測画像部37bに記憶されているPピクチャの画
像データが読み出され、動き補償回路38を介して演算
器36に供給される。但し、このとき、動き補償は行わ
れない。そして、このデータがD/Aコンバータ39を
介してディスプレイ40に出力され、表示される。After the image of the B picture is output and displayed,
The image data of the P picture stored in the backward prediction image section 37b is read and supplied to the arithmetic unit 36 via the motion compensation circuit 38. However, at this time, no motion compensation is performed. Then, this data is output to the display 40 via the D / A converter 39 and displayed.
【0045】尚、マクロブロック用無効コードが付加さ
れている場合においては、このマクロブロック用無効コ
ードは、可変長復号化回路33において除去される。When the macroblock invalid code is added, the macroblock invalid code is removed by the variable length decoding circuit 33.
【0046】[0046]
【発明が解決しようとする課題】従来の装置において
は、このように、付加されたマクロブロック用無効コー
ドを、可変長復号化回路33においてデータを復号(可
変長復号)する処理の一貫として、除去するようにして
いた。その結果、可変長復号化回路33において、マク
ロブロック用無効コードを除去している期間、その後段
の逆量子化回路34以降の各回路にはデータが供給され
ず、これらの回路が遊んでしまう課題があった。NTS
C方式の場合、ディスプレイ40には、1フレームの画
像が1/30秒の周期で表示されることになるが、無効
コードが長いと、逆量子化回路34以降の各回路が1フ
レーム分のデータを1/30秒以内に処理することがで
きなくなり、ディスプレイ40における画像表示が途切
れてしまうようなことがあった。In the conventional apparatus, the invalid code for the added macroblock is thus used.
The variable length decoding circuit 33 removes the data as a part of the process of decoding data (variable length decoding). As a result, in the variable length decoding circuit 33, Mak
During the period in which the invalid code for block lock is removed, data is not supplied to the circuits subsequent to the inverse quantization circuit 34, and there is a problem that these circuits play. NTS
In the case of the C system, an image of one frame is displayed on the display 40 at a period of 1/30 second. However, if the invalid code is long, the circuits after the inverse quantization circuit 34 correspond to one frame. In some cases, data cannot be processed within 1/30 second, and image display on the display 40 may be interrupted.
【0047】本発明はこのような状況に鑑みてなされた
ものであり、表示画像が途中で途切れることを防止する
ものである。The present invention has been made in view of such a situation, and it is an object of the present invention to prevent a display image from being interrupted halfway.
【0048】[0048]
【課題を解決するための手段】本発明の画像復号化装置
は、伝送されてきた圧縮画像データを一時的に記憶する
記憶手段と、記憶手段に記憶された圧縮画像データを復
号処理の進行状況に対応して読み出し、画像のフレーム
周期と等しいか、それより短い時間内に1フレーム分の
画像データを復号する復号化手段と、伝送されてきた圧
縮画像データから、データの欠落を防止するために付加
された無効コードを除去して出力する除去手段と、除去
手段より出力される圧縮画像データを、記憶手段に供給
する供給手段とを備え、無効コードは、ユニークパター
ンの同期コードとスタッフィングコードとからなるスタ
ッフィングスタートコードを含んで構成されることを特
徴とする。 An image decoding apparatus according to the present invention.
Temporarily stores the transmitted compressed image data
Storage means for recovering the compressed image data stored in the storage means;
Read out in accordance with the progress of the
One frame within a period equal to or shorter than the period
Decoding means for decoding the image data;
Added to prevent data loss from reduced image data
Removing means for removing and outputting a disabled invalid code, and removing
Supply the compressed image data output from the storage means to the storage means
The invalid code is provided with a unique pattern.
Of the synchronization code and stuffing code
It is specially configured to include
Sign.
【0049】本発明の画像符号化装置は、1フレームの
画像データを所定の数のラインよりなるスライスに分割
する分割手段と、スライスを所定の数のマクロブロック
に分割して圧縮符号化するとともに、画像データが不足
するとき、マクロブロックのデータに、データの欠落を
防止するための無効コードを付加する付加手段とを備え
る画像符号化装置において、無効コードは、ユニークパ
ターンの同期コードとスタッフィングコードとからなる
スタッフィングスタートコードを含んで構成されること
を特徴とする。 The image encoding apparatus according to the present invention has
Divides image data into slices consisting of a predetermined number of lines
Dividing means and a predetermined number of macroblocks
And compression encoding, and lack of image data
When the macro block data is missing data
Adding means for adding an invalid code for preventing
In an image coding device that uses
Consists of turn synchronization code and stuffing code
Must include stuffing start code
It is characterized by.
【0050】[0050]
【0051】[0051]
【0052】[0052]
【0053】[0053]
【0054】[0054]
【0055】[0055]
【0056】[0056]
【0057】[0057]
【0058】[0058]
【作用】本発明の画像復号化装置においては、伝送され
てきた圧縮画像データが一時的に記憶手段に記憶され
る。さらに、その記憶手段に記憶された圧縮画像データ
が復号処理の進行状況に対応して読み出され、画像のフ
レーム周期と等しいか、それより短い時間内に1フレー
ム分の画像データが復号される。一方、伝送されてきた
圧縮画像データから、データの欠落を防止するために付
加された無効コードが除去されて出力され、その出力さ
れた圧縮画像データが、記憶手段に供給される。この場
合に、無効コードは、ユニークパターンの同期コードと
スタッフィングコードとからなるスタッフィングスター
トコードを含んで構成される。 In the image decoding apparatus according to the present invention, the transmitted
Compressed image data is temporarily stored in the storage means.
You. Further, the compressed image data stored in the storage means
Is read out according to the progress of the decoding process, and the image file is read out.
One frame within a time equal to or shorter than the frame period
Image data is decoded. On the other hand, it has been transmitted
To prevent data loss from compressed image data
The added invalid code is removed and output.
The compressed image data obtained is supplied to the storage unit. This place
Invalid code is a unique pattern synchronization code
A stuffing star consisting of a stuffing code
It is comprised including the code.
【0059】本発明の画像符号化装置においては、1フ
レームの画像データが所定の数のラインよりなるスライ
スに分割され、スライスが所定の数のマクロブロックに
分割されて圧縮符号化される。そして、画像データが不
足するとき、マクロブロックのデータに、データの欠落
を防止するための無効コードが付加される。この場合
に、無効コードは、ユニークパターンの同期コードとス
タッフィングコードとからなるスタッフィングスタート
コードを含んで構成される。 In the image encoding apparatus of the present invention, one frame
Frame data consisting of a predetermined number of lines
Divided into slices into a predetermined number of macroblocks.
It is divided and compression-encoded. And the image data is not
When adding, the data of the macro block is missing data
An invalid code for preventing the error is added. in this case
Invalid code is a unique pattern synchronization code
Staffing start consisting of tough code
It is configured to include code.
【0060】[0060]
【0061】[0061]
【0062】[0062]
【0063】[0063]
【0064】[0064]
【0065】[0065]
【0066】[0066]
【0067】[0067]
【0068】[0068]
【実施例】図1は、本発明の画像符号化装置の一実施例
の構成を示すブロック図であり、図18に示した従来の
画像符号化装置と対応する部分には同一の符号を付して
ある。即ち、この画像符号化装置は、基本的に従来の画
像符号化装置と同様の構成とされているが、伝送データ
制御回路8のみが、従来の伝送データ制御回路111と
異なる構成とされている。FIG. 1 is a block diagram showing the configuration of an embodiment of an image encoding apparatus according to the present invention. In the figure, parts corresponding to those of the conventional image encoding apparatus shown in FIG. I have. In other words, this image encoding device has basically the same configuration as the conventional image encoding device, but only the transmission data control circuit 8 has a different configuration from the conventional transmission data control circuit 111. .
【0069】図2は、図1における伝送データ制御回路
8の構成例を示している。この実施例においては、送信
バッファ7より出力されるデータがN/M変換器21に
供給され、そのNビットを単位とするデータがMビット
を単位とするデータに変換されて、マルチプレクサ(M
UX)22に供給されるようになされている。このマル
チプレクサ22にはまた、調整データ発生回路23また
はスタッフィングスタートコード発生回路24が出力す
るデータが、マルチプレクサ(MUX)25により選択
されて供給されている。マルチプレクサ22と25は、
コントローラ26の出力に対応して切り換えられるよう
になされている。FIG. 2 shows a configuration example of the transmission data control circuit 8 in FIG. In this embodiment, the data output from the transmission buffer 7 is supplied to an N / M converter 21, and the data in units of N bits is converted into data in units of M bits, and the multiplexer (M)
UX) 22. Data output from the adjustment data generation circuit 23 or the stuffing start code generation circuit 24 is also selected and supplied to the multiplexer 22 by a multiplexer (MUX) 25. Multiplexers 22 and 25 are
The switching is performed according to the output of the controller 26.
【0070】次に、本実施例においては、マクロブロッ
クに無効コードを付加する場合、そのフォーマットは図
3に示すように定められている。即ち、本願において採
用する無効コードを、新無効コードというものとする
と、新無効コードは、スタッフィングスタートコードと
調整データとにより構成することができる。スタッフィ
ングスタートコードは、同期コードとスタッフィングコ
ードとにより構成される。同期コードは、各ビットがす
べて論理0よりなる2バイトのデータと、LSDが論理
1で、他の7ビットがすべて論理0の1バイトのデータ
の合計3バイトのデータにより構成される。この同期コ
ードはユニークパターンとされ、この同期コード以外に
は同一のパターンは発生しないように定められている。
スタッフィングコード(図中、xで示す部分)は、対応
するマクロブロックのデータの属性など、そのデータに
関する情報が挿入される。Next, in this embodiment, when an invalid code is added to a macroblock, its format is determined as shown in FIG. That is, in this application
The invalid code used is called the new invalid code.
And the new invalid code can be composed of the stuffing start code and the adjustment data. The stuffing start code is composed of a synchronization code and a stuffing code. The synchronization code is composed of 2-byte data in which each bit is all logical 0, and 1-byte data in which the LSD is logical 1 and the other 7 bits are all logical 0, for a total of 3 bytes of data. This synchronization code is a unique pattern, and it is determined that the same pattern will not occur except for this synchronization code.
In the stuffing code (the portion indicated by x in the figure), information about the data such as the attribute of the data of the corresponding macro block is inserted.
【0071】調整データは、各ビットがすべて論理0の
1バイト単位のゼロコードと、8ビット単位の同期を取
るための所定のビット数のコードとにより構成される。
この8ビット単位の同期を取るためのコードは、例えば
図3に示すように、マクロブロックの(直前の)有効コ
ード(図中、*で示す部分)を8ビットを単位として区
切ったとき、8ビットを構成することができずに残った
ビット(図3の実施例の場合、1ビット)を、8ビット
を単位とするデータにするために付加されるビットであ
る(従って、図3の実施例の場合、7ビットの論理0の
データ)。ゼロコードが付加されるバイト数は任意であ
り、必要な数だけ付加される。The adjustment data is composed of a one-byte zero code in which all bits are logical 0 and a code of a predetermined number of bits for synchronizing in eight bits.
For example, as shown in FIG. 3, a code for synchronizing in units of 8 bits is obtained by dividing a (preceding) effective code (indicated by * in the figure) of a macroblock in units of 8 bits. Bits which cannot be formed and which remain (1 bit in the case of the embodiment of FIG. 3) are bits added to make data in units of 8 bits (accordingly, the embodiment of FIG. 3) In the case of the example, 7-bit logic 0 data). The number of bytes to which the zero code is added is arbitrary, and only the necessary number is added.
【0072】即ち、新無効コードは、合計4バイトのス
タッフィングスタートコードを少なくとも含み、さらに
図3では、これに8ビット単位の同期を取るためのコー
ドを付加する必要があれば、これが付加される。そし
て、新無効コードをさらに長くする必要がある場合にお
いては、所定の数のバイト単位のゼロコードが付加され
る。[0072] In other words, the new invalid code includes at least a staffing start code of a total of 4 bytes, further
In FIG. 3, if it is necessary to add a code for synchronizing in units of 8 bits, this is added. When it is necessary to further lengthen the new invalid code, a predetermined number of byte-based zero codes are added.
【0073】次に、図4のフローチャートを参照して、
その動作について説明する。図2において、図3に示し
たスタッフィングスタートコードは、スタッフィングス
タートコード発生回路24により発生され、調整データ
は、調整データ発生回路23により発生される。コント
ローラ26は、送信バッファ7より供給される送信バッ
ファ情報と、バイトアライン情報に対応して、マルチプ
レクサ22,25を制御する。Next, referring to the flowchart of FIG.
The operation will be described. 2, the stuffing start code shown in FIG. 3 is generated by a stuffing start code generation circuit 24, and the adjustment data is generated by an adjustment data generation circuit 23. The controller 26 controls the multiplexers 22 and 25 according to the transmission buffer information supplied from the transmission buffer 7 and the byte alignment information.
【0074】即ち、まずN/M変換器21から供給され
たマクロブロックのデータがマルチプレクサ22を介し
て伝送路に出力され(ステップS1)、コントローラ2
6において、送信バッファ7より供給された送信バッフ
ァ情報(送信バッファ7のデータ蓄積量)に基づいて、
N/M変換器21から供給されたマクロブロックのデー
タに新無効コードを付加する必要があるか否かが判定さ
れる(ステップS2)。そして、コントローラ26にお
いて、N/M変換器21から供給されたマクロブロック
のデータに新無効コードを付加する必要がないと判定さ
れた場合、ステップS1に戻り、N/M変換器21を介
して送信バッファ7より次に供給されるマクロブロック
のデータがマルチプレクサ22を介して伝送路に出力さ
れる。That is, first, the macroblock data supplied from the N / M converter 21 is output to the transmission line via the multiplexer 22 (step S1), and the controller 2
At 6, based on the transmission buffer information (the amount of data stored in the transmission buffer 7) supplied from the transmission buffer 7,
It is determined whether it is necessary to add a new invalid code to the data of the macro block supplied from the N / M converter 21 (step S2). When the controller 26 determines that it is not necessary to add a new invalid code to the data of the macroblock supplied from the N / M converter 21, the process returns to step S <b> 1, and is performed via the N / M converter 21. The macroblock data supplied next from the transmission buffer 7 is output to the transmission path via the multiplexer 22.
【0075】一方、コントローラ26において、N/M
変換器21から供給されたマクロブロックのデータに新
無効コードを付加する必要があると判定された場合、マ
ルチプレクサ25側から供給されるデータを選択するよ
うに、マルチプレクサ22が切り換えられる。On the other hand, in the controller 26, N / M
When it is determined that a new invalid code needs to be added to the macroblock data supplied from the converter 21, the multiplexer 22 is switched so as to select the data supplied from the multiplexer 25. .
【0076】同時に、コントローラ26において、調整
データ発生回路23の出力を選択するようにマルチプレ
クサ25が切り換えられ、N/M変換器21から供給さ
れたマクロブロックのデータにゼロコードを付加する必
要がないと判定されるまで、調整データ発生回路23の
出力が、マルチプレクサ25および22を介して伝送路
に出力される(ステップS3およびS4)。[0076] At the same time, the controller 26, the adjustment
The multiplexer 25 is switched to select the output of the data generation circuit 23, and the adjustment data generation circuit is determined until it is determined that there is no need to add a zero code to the data of the macro block supplied from the N / M converter 21. The output of 23 is output to the transmission path via multiplexers 25 and 22 (steps S3 and S4).
【0077】なお、同時に、コントローラ26において
は、送信バッファ7より供給されたバイトアライン情報
に基づいて、伝送路に出力されたデータのバイトアライ
ンがとられるようになされている。At the same time, in the controller 26, the data output to the transmission path is byte-aligned based on the byte alignment information supplied from the transmission buffer 7.
【0078】その後、コントローラ26において、N/
M変換器21から供給されたマクロブロックのデータに
ゼロコードを付加する必要がなくなったと判定された場
合、スタッフィングスタートコード発生回路24側の出
力を選択するように、マルチプレクサ25が切り換えら
れ、これにより、スタッフィングスタートコード発生回
路24からの1つのスタッフィングスタートコードがマ
ルチプレクサ25および22を介して伝送路に出力され
る(ステップS5)。Thereafter, N / N
The macroblock data supplied from the M converter 21
When it is determined that it is no longer necessary to add the zero code, the multiplexer 25 is switched so as to select the output of the stuffing start code generation circuit 24, whereby one stuffing start from the stuffing start code generation circuit 24 is performed. The code is output to the transmission path via the multiplexers 25 and 22 (Step S5).
【0079】そして、ステップS1に戻り、以下上述し
た処理(ステップS1乃至S5の処理)が繰り返され
る。Then, the process returns to step S1, and the above-described processing (the processing of steps S1 to S5) is repeated.
【0080】以上のように、送信バッファ7からの情報
に対応して、マクロブロックのデータがアンダフローす
る恐れがあるときには、マルチプレクサ22が制御さ
れ、新無効コードが伝送路に出力される。As described above, when there is a possibility that the macroblock data underflows in response to the information from the transmission buffer 7, the multiplexer 22 is controlled and the new invalid code is output to the transmission path.
【0081】図5は、このようにして符号化され、伝送
されたデータを復号する画像復号化装置の一実施例の構
成を示すブロック図であり、図23における場合と対応
する部分には同一の符号を付してある。即ち、この画像
復号化装置は、受信バッファ32の前段に無効コード除
去回路31が接続されている点を除き、図23における
場合と同様の構成とされている。本実施例においては、
伝送されてきた画像データから、無効コード除去回路3
1において新無効コードが除去された後、そのデータが
受信バッファ32に供給され、記憶されるようになされ
ている。FIG. 5 is a block diagram showing the configuration of an embodiment of an image decoding apparatus for decoding the data thus encoded and transmitted, and the parts corresponding to those in FIG. Are attached. That is, this image decoding apparatus has the same configuration as that in FIG. 23 except that the invalid code removing circuit 31 is connected to the preceding stage of the reception buffer 32. In this embodiment,
An invalid code removing circuit 3 from the transmitted image data
After the new invalid code is removed in 1, the data is supplied to the reception buffer 32 and stored.
【0082】図6は、無効コード除去回路31の構成例
を示している。この実施例においては、伝送されてきた
画像データ(ビットストリーム)は、M/8変換器51
に供給され、Mビット単位のデータから8ビット単位の
データに変換される。通常の通信装置において伝送され
る場合、Mは1とされる。従って、この場合、M/8変
換器51は、入力される1ビット単位のデータを8ビッ
トを単位とするデータに区分する処理を行う。M/8変
換器51の出力は、タイミング調整用のレジスタ52に
供給され、一旦記憶された後、8/L変換器53に供給
され、8ビット単位のデータからLビット単位のデータ
に変換されるようになされている。このLは、後段の受
信バッファ32の書き込みビット数に対応するものであ
る。FIG. 6 shows a configuration example of the invalid code removing circuit 31. In this embodiment, the transmitted image data (bit stream) is converted into an M / 8 converter 51.
And converted from data in units of M bits to data in units of 8 bits. M is set to 1 when transmitted in a normal communication device. Accordingly, in this case, the M / 8 converter 51 performs a process of dividing the input 1-bit data into 8-bit data. The output of the M / 8 converter 51 is supplied to a register 52 for timing adjustment, temporarily stored, and then supplied to an 8 / L converter 53, where the data is converted from 8-bit data to L-bit data. It has been made. This L corresponds to the number of write bits of the receiving buffer 32 at the subsequent stage.
【0083】M/8変換器51の出力はまた、ゼロ検出
回路54に供給され、8ビットを単位とするデータが、
そのすべての論理が0であるか否かが判定されるように
なされている。そして、すべてのビットが論理0である
とき、ゼロ検出回路54は、カウンタ55に検出信号を
出力するようになされている。カウンタ55は、ゼロ検
出回路54の出力する検出信号をカウントし、その計数
値を書き込み制御部56に出力している。書き込み制御
部56は、カウンタ55の計数値に対応して、8/L変
換器53の書き込み状態を制御するようになされてい
る。The output of the M / 8 converter 51 is also supplied to a zero detection circuit 54, and the data in units of 8 bits is
It is determined whether or not all the logics are 0. Then, when all the bits are logic 0, the zero detection circuit 54 outputs a detection signal to the counter 55. The counter 55 counts the detection signal output from the zero detection circuit 54 and outputs the count value to the write control unit 56. The write control unit 56 controls the write state of the 8 / L converter 53 according to the count value of the counter 55.
【0084】次に、図7(この図においては、データが
バイト単位で、ヘキサで示されている)のタイミングチ
ャートを参照して、その動作について説明する。各回路
は、図7(a)に示すクロックaに同期して動作する。
M/8変換器51は、入力されてきたMビット単位のデ
ータを8ビット(1バイト)単位のデータb(図7
(b))に変換し、レジスタ52とゼロ検出回路54に
出力する。Next, the operation will be described with reference to the timing chart of FIG. 7 (in this figure, data is indicated in hexadecimal units in bytes). Each circuit operates in synchronization with a clock a shown in FIG.
The M / 8 converter 51 converts the input M-bit data into 8-bit (1 byte) data b (FIG. 7).
(B)) and outputs the result to the register 52 and the zero detection circuit 54.
【0085】ゼロ検出回路54は、入力される8ビット
の論理がすべて0であるとき、検出信号をカウンタ55
に出力する。カウンタ55は、ゼロ検出回路54が連続
して(クロック周期で)出力する検出信号の数(8ビッ
トのすべてが論理0で構成されるデータの数)をカウン
トし、そのカウント値(計数値)d(図7(d))を書
き込み制御部56に出力する。The zero detection circuit 54 outputs a detection signal to the counter 55 when the input 8-bit logic is all 0s.
Output to The counter 55 counts the number of detection signals (the number of data in which all 8 bits are all logical 0) that the zero detection circuit 54 continuously outputs (in a clock cycle), and counts the count value (count value). d (FIG. 7D) is output to the write control unit 56.
【0086】なお、カウンタ55の計数値は、ゼロ検出
回路54から、検出信号がクロック周期で出力されなか
った場合、リセットされるようになされている。即ち、
M/8変換器51から出力された8ビットのうち、少な
くとも1つの論理が0でなくなったとき、カウンタ55
の計数値はリセットされる。The count value of the counter 55 is reset when a detection signal is not output from the zero detection circuit 54 in a clock cycle. That is,
When at least one of the 8 bits output from the M / 8 converter 51 becomes non-zero, the counter 55
Are reset.
【0087】書き込み制御部56は、カウンタ55の計
数値dが、所定の値(この実施例においては、4)以上
になったとき、8/L変換器53のレジスタ52の出力
c(図7(c))の書き込みを禁止する制御信号e(図
7(e))を出力する。When the count value d of the counter 55 exceeds a predetermined value (4 in this embodiment), the write control unit 56 outputs the output c of the register 52 of the 8 / L converter 53 (see FIG. 7). A control signal e (FIG. 7 (e)) for inhibiting the writing of (c)) is output.
【0088】即ち、M/8変換器51が出力したデータ
がレジスタ52により1クロック分遅延された後、8/
L変換器53に入力されるのであるが、8ビットの各ビ
ットの論理がすべて0であるデータは、3個目まで8/
L変換器53に書き込まれる。図7の実施例において
は、C1乃至C3までの3バイトのデータは、8/L変換
器53に書き込まれるが、C4乃至C7のデータは、8/
L変換器53に書き込みが禁止される。その結果、8/
L変換器53は、C1乃至C3の次に、C8,C9を順次出
力することになる。伝送されてきたデータにおいては、
C6乃至C9によりスタッフィングスタートコードが構成
されているのであるが、8/L変換器53より出力され
るデータにおいては、C2,C3,C8,C9によりスタッ
フィングスタートコードが構成されることになる。That is, after the data output from the M / 8 converter 51 is delayed by one clock by the register 52,
The data in which the logic of each of the eight bits is all 0 is input to the L converter 53.
The data is written to the L converter 53. In the data of 3 bytes to C 1 to C 3 is written into the 8 / L converter 53, data of C 4 to C 7 7 embodiment, 8 /
Writing to the L converter 53 is prohibited. As a result, 8 /
The L converter 53 sequentially outputs C 8 and C 9 after C 1 to C 3 . In the transmitted data,
Although staffing start code by C 6 to C 9 is what is configured in the data output from the 8 / L converter 53, staffing start code is constituted by the C 2, C 3, C 8 , C 9 Will be.
【0089】書き込み制御部56が、すべての論理が0
である3バイトまでのデータを通過させるようにしたの
は、このように、2バイトは、スタッフィングスタート
コードを構成するものとして必要であり、残りの1バイ
トは、図3において説明したように、8ビット単位の同
期を取るために必要とされるデータであるので、これら
を除去しないようにするためである。The write control unit 56 determines that all the logics are 0
The reason why the data of up to 3 bytes is passed is that 2 bytes are necessary to constitute the stuffing start code, and the remaining 1 byte is, as described in FIG. This is to prevent the data from being removed because the data is required for synchronization in units of 8 bits.
【0090】従って、本実施例においては、新無効コー
ドの一部、即ち、図3に示したスタッフィングスタート
コードと、8ビット単位の同期を取るためのコードとの
間に挿入されたゼロコード(8ビット単位の0)が、実
質的に除去されることになる。Therefore, in this embodiment, the new invalid code
A part of the code, that is, a zero code (0 in 8-bit units) inserted between the stuffing start code shown in FIG. 3 and a code for synchronizing in 8-bit units is substantially removed. Will be.
【0091】図8は、具体的なデータの書き込み状態を
示している。同図に示すように、すべての論理が0であ
る5バイトのデータが連続して入力されてきた場合、3
バイトまでのデータは8/L変換器53に書き込まれる
が、4個目と5個目のデータは書き込みが禁止される。FIG. 8 shows a specific data write state. As shown in the figure, when 5 bytes of data in which all logics are 0 are continuously input, 3
The data up to the byte is written to the 8 / L converter 53, but the fourth and fifth data are prohibited from being written.
【0092】以上のようにして、新無効コードの一部が
除去されたデータは、受信バッファ32に供給され、記
憶される。そして、復号回路50において、NTSC方
式の画像データの場合、1フレームのデータが1/30
秒以内に処理される。スタッフィングスタートコード中
の同期コードを構成するすべての論理が0である2バイ
トのデータと、8ビットの同期をとるための論理が0で
あるデータは、従来における場合と同様に、可変長符号
化回路33において除去される。しかしながら、その長
さは約2バイトと短いため、これを除去するのに長い時
間を必要とするようなことがなく、有効コード(符号化
された画像データ)を効率的に処理することが可能とな
る。As described above, the data from which a part of the new invalid code has been removed is supplied to the reception buffer 32 and stored. Then, in the decoding circuit 50, in the case of NTSC image data, one frame of data is 1/30.
Processed within seconds. Two-byte data in which all the logics constituting the synchronization code in the stuffing start code are 0 and data in which the logic for synchronizing 8 bits is 0 are variable-length coded as in the conventional case. It is removed in the circuit 33. However, since its length is as short as about 2 bytes, it does not require a long time to remove it, and it is possible to efficiently process valid codes (encoded image data). Becomes
【0093】なお、復号回路50における処理は、従来
の場合と同様であるので、その説明は省略する。The processing in the decoding circuit 50 is the same as in the conventional case, and a description thereof will be omitted.
【0094】次に、Mビット単位で伝送されたデータを
Kビット単位のデータに変換して新無効コードを除去す
る場合の、無効コード除去回路31の構成例を図9に示
す。図中、図6における場合と対応する部分について
は、同一の符号を付してある。伝送されてきた画像デー
タ(ビットストリーム)は、M/K変換器61に供給さ
れ、Mビット単位のデータからKビット単位のデータに
変換される。M/K変換器61の出力は、タイミング調
整用の、シリアルに接続されたP個のKビットのレジス
タ(図示せず)からなるレジスタ62群に供給され、ク
ロック周期のP倍だけ遅延された後、K/L変換器63
に供給され、Kビット単位のデータからLビット単位の
データに変換される。Next, FIG. 9 shows a configuration example of the invalid code removing circuit 31 in the case of converting data transmitted in units of M bits into data in units of K bits and removing a new invalid code. In the figure, portions corresponding to those in FIG. 6 are denoted by the same reference numerals. The transmitted image data (bit stream) is supplied to the M / K converter 61, where the data is converted from M-bit data to K-bit data. The output of the M / K converter 61 is supplied to a group of registers 62, each of which is composed of P serially connected K-bit registers (not shown) for timing adjustment, and is delayed by P times the clock cycle. Later, the K / L converter 63
And is converted from K-bit data to L-bit data.
【0095】ここで、この実施例においては、Kは、8
以下の値で1,2,4、または8のいずれかの値をと
る。さらに、Pは、8/Kで定義される。Here, in this embodiment, K is 8
The following values take one of the values 1, 2, 4, or 8. Further, P is defined as 8 / K.
【0096】M/K変換器61の出力はまた、ゼロ検出
回路64に供給され、Kビットを単位とするデータが、
そのすべての論理が0であるか否かが判定される。そし
て、すべてのビットが論理0であるとき、ゼロ検出回路
64から、カウンタ55に検出信号が出力される。カウ
ンタ55は、ゼロ検出回路64が連続して出力する検出
信号の数(8ビットのすべてが論理0で構成されるデー
タの数)をカウントし、そのカウント値(計数値)を書
き込み制御部65に出力する。The output of the M / K converter 61 is also supplied to a zero detection circuit 64, and the data in units of K bits is
It is determined whether or not all the logics are 0. When all the bits are logic 0, a detection signal is output from the zero detection circuit 64 to the counter 55. The counter 55 counts the number of detection signals continuously output from the zero detection circuit 64 (the number of data in which all 8 bits are logical 0) and writes the count value (count value) to the write control unit 65. Output to
【0097】書き込み制御部65は、カウンタ55の計
数値が、スタッフィングスタートコードの同期コードの
ゼロの数(23個(図3))、バイトアラインをとるた
めに付加される最大のゼロの数(7個)、および直前の
有効コード(図3)の最後の部分にくることが許された
ゼロの数(規格で定められる)を加算した値に、さらに
1を加算した値をKで除算した値(但し、小数点以下切
り捨て)以上になった場合、K/L変換器63のレジス
タ群62の出力の書き込みを禁止する。The write controller 65 determines that the count value of the counter 55 is the maximum number of zeros (23 (FIG. 3)) of the synchronization code of the stuffing start code and the maximum value added for byte alignment. The value obtained by adding the number of zeros (seven) and the number of zeros (defined by the standard) allowed to come to the last part of the immediately preceding effective code (FIG. 3) is added to the value obtained by adding 1 to the number. If the value is equal to or larger than the value obtained by dividing by K (however, rounded down to the decimal point), writing of the output of the register group 62 of the K / L converter 63 is prohibited.
【0098】従って、図10(a)に示すように、直前
の有効コード(有効符号)の最後の部分にくることが許
されたゼロの数が、例えば8個であるデータが入力され
た場合、スタッフィングスタートコードの同期コードの
ゼロの数(23個)、バイトアラインをとるために付加
される最大のゼロの数(7個)、直前の有効コード(図
3)の最後の部分にくることが許されたゼロの数(8
個)、および1を加算した値は、39(=23+7+8
+1)であるから、書き込み制御部65においては、カ
ウンタ55の計数値が、 K=1のとき、39(=39/1)以上、 K=2のとき、19(=39/2、但し小数点以下切り
捨て)以上、 K=4のとき、9(=39/4、但し小数点以下切り捨
て)以上、 K=8のとき、4(=39/8、但し小数点以下切り捨
て)以上になると、K/L変換器63のレジスタ群62
の出力の書き込みがそれぞれ禁止され、ゼロコードが除
去される。Therefore, as shown in FIG. 10 (a), when data is input in which the number of zeros permitted to come to the last part of the immediately preceding effective code (effective code) is, for example, eight. , The number of zeros (23) in the synchronization code of the stuffing start code, the maximum number of zeros added for byte alignment (7), and the last part of the last valid code (FIG. 3) Is the number of zeros allowed (8
) And 1 are 39 (= 23 + 7 + 8)
+1), the write control unit 65 determines that the count value of the counter 55 is 39 (= 39/1) or more when K = 1 and 19 (= 39/2, where decimal point) when K = 2. When K = 4, 9 (= 39/4, but rounded down below the decimal point) or more, when K = 8, when K = 8, 4 (= 39/8, rounded down below the decimal point), K / L Register group 62 of converter 63
Are respectively inhibited from being written, and the zero code is removed.
【0099】但し、図10(a)における場合、除去す
べき(除去したい)データは、1バイト単位で付加され
た、2バイトのゼロコードであるが、図7において説明
したように、実際には、スタッフィングスタートコード
の同期コードのうちの2バイトの0の部分が除去される
とともに、スタッフィングスタートコードの同期コード
が、その0が除去された部分を、ゼロコードの0で、い
わば補間して構成されるようになる。However, in the case of FIG. 10A, the data to be removed (removed) is a 2-byte zero code added in units of one byte, but as described in FIG. Means that the two-byte zero part of the synchronization code of the stuffing start code is removed, and the synchronization code of the stuffing start code interpolates the zero- removed part with the zero code of zero, so to speak. Become composed.
【0100】即ち、図10(a)に示す場合、K=1の
とき、同期コードのうち、カウンタ値が39以上の39
乃至54に対応する2バイトの0が除去されるととも
に、残った同期コード(カウンタ値が32乃至38に対
応する0と、同期コードのLSBの1)と、カウンタ値
が16乃至31に対応する2バイトの0、つまり除去す
べきゼロコードにより元の同期コードが構成される。That is, in the case shown in FIG. 10A, when K = 1, the counter value of the synchronization code whose counter value is 39 or more is 39 or more.
2 to 0 are removed, and the remaining synchronization codes (0 corresponding to a counter value of 32 to 38 and 1 of the LSB of the synchronization code) and the counter value corresponding to 16 to 31 are removed. The original synchronization code is composed of 2 bytes of 0, that is, the zero code to be removed.
【0101】さらに、K=2のときには、同期コードの
うち、カウンタ値が19以上の19乃至26に対応する
2バイトの0が除去されるとともに、残った同期コード
と、カウンタ値が8乃至15に対応する0により元の同
期コードが構成され、K=4のときには、同期コードの
うち、カウンタ値が9以上の9乃至12に対応する2バ
イトの0が除去されるとともに、残った同期コードと、
カウンタ値が4乃至7に対応する0により元の同期コー
ドが構成される。Further, when K = 2, 2 bytes of 0 corresponding to 19 to 26 whose counter value is 19 or more are removed from the synchronization code, and the remaining synchronization code and the counter value are 8 to 15 , The original synchronization code is constituted by 0 corresponding to the above. When K = 4, two bytes of 0 corresponding to 9 to 12 whose counter value is 9 or more are removed from the synchronization code, and the remaining synchronization code is removed. When,
The original synchronization code is constituted by 0 corresponding to the counter value of 4 to 7.
【0102】また、K=8のときには、図7で説明した
ようにして、実質的に2バイトのゼロコードが除去され
る。When K = 8, a 2-byte zero code is substantially removed as described with reference to FIG.
【0103】さらに、図10(b)に示すように、直前
の有効コード(有効符号)の最後の部分にくることが許
されたゼロの数が、例えば9個であるデータが入力され
た場合、スタッフィングスタートコードの同期コードの
ゼロの数(23個)、バイトアラインをとるために付加
される最大のゼロの数(7個)、直前の有効コード(図
3)の最後の部分にくることが許されたゼロの数(9
個)、および1を加算した値は、40(=23+7+
9)であるから、書き込み制御部65においては、カウ
ンタ55の計数値が、 K=1のとき、40(=40/1、但し小数点以下切り
捨て)以上、 K=2のとき、20(=40/2、但し小数点以下切り
捨て)以上、 K=4のとき、10(=40/4、但し小数点以下切り
捨て)以上、 K=8のとき、5(=40/8、但し小数点以下切り捨
て)以上になると、K/L変換器63のレジスタ群62
の出力の書き込みがそれぞれ禁止され、これにより、図
10(a)におけるときと同様に、ゼロコードが、実質
的に除去されることになる。Further, as shown in FIG. 10 (b), when data is input in which the number of zeros permitted to come to the last part of the immediately preceding effective code (effective code) is, for example, nine. , The number of zeros (23) in the synchronization code of the stuffing start code, the maximum number of zeros added for byte alignment (7), and the last part of the last valid code (FIG. 3) Is the number of zeros allowed (9
), And the value obtained by adding 1 is 40 (= 23 + 7 +
9), in the write control unit 65, the count value of the counter 55 is equal to or greater than 40 (= 40/1, but rounded down to the decimal point) when K = 1, and 20 (= 40) when K = 2. More than / 2, but rounded down to the decimal point, when K = 4, more than 10 (= 40/4, but rounded down to the decimal point), when K = 8, more than 5 (= 40/8, but rounded down to the decimal point) Then, the register group 62 of the K / L converter 63
Are respectively inhibited from being written, whereby the zero code is substantially removed as in the case of FIG.
【0104】次に、図11は、図1の画像符号化装置の
伝送データ制御回路8の第2実施例の構成を示すブロッ
ク図である。図中、図2における場合と対応する部分に
ついては、同一の符号を付してある。Next, FIG. 11 is a block diagram showing the configuration of the second embodiment of the transmission data control circuit 8 of the image coding apparatus of FIG. In the figure, parts corresponding to those in FIG. 2 are denoted by the same reference numerals.
【0105】この実施例においては、送信バッファ7よ
り出力されるデータがN/M変換器21に供給され、そ
のNビットを単位とするデータがMビットを単位とする
データに変換されて、マルチプレクサ(MUX)72に
供給されるようになされている。このマルチプレクサ7
2にはまた、スタッフィングスタートコード発生回路2
4が出力するデータが供給されている。マルチプレクサ
72は、コントローラ71の出力に対応して切り換えら
れるようになされている。In this embodiment, the data output from the transmission buffer 7 is supplied to an N / M converter 21, and the data in units of N bits is converted into data in units of M bits, and the data is converted into a multiplexer. (MUX) 72. This multiplexer 7
2 also has a stuffing start code generation circuit 2
4 is supplied. The multiplexer 72 is switched in accordance with the output of the controller 71.
【0106】この実施例では、マクロブロックに新無効
コードを付加する場合、そのフォーマットは図12に示
すように定められている。即ち、図3の実施例では、新
無効コードを、スタッフィングスタートコードと、必要
なゼロコードおよびバイトアラインをとるためのコード
から構成するようにしたが、図12の実施例では、無効
コードは、少なくとも1つのスタッフィングスタートコ
ードのみにより構成される。In this embodiment, when a new invalid code is added to a macroblock, its format is determined as shown in FIG. That is, in the embodiment of FIG.
Invalid code, stuffing start code and required
Zero code and code for byte alignment
Was to be composed, in the example of FIG. 12, the invalid code is formed only by at least one stuffing start code.
【0107】従って、この場合、スタッフィングスター
トコードが、新無効コードとして必要な数だけ、データ
のバイトアラインをとることなく付加される(図12に
おいては、2つのスタッフィングスタートコードが付加
されている)。Therefore, in this case, the necessary number of stuffing start codes are added as new invalid codes without byte alignment of data (in FIG. 12, two stuffing start codes are added). .
【0108】次に、図13のフローチャートを参照し
て、その動作について説明する。図11において、図1
2に示したスタッフィングスタートコードは、スタッフ
ィングスタートコード発生回路24により発生され、コ
ントローラ71は、送信バッファ7より供給される送信
バッファ情報に対応して、マルチプレクサ72を制御す
る。Next, the operation will be described with reference to the flowchart of FIG. In FIG. 11, FIG.
The stuffing start code shown in FIG. 2 is generated by the stuffing start code generation circuit 24, and the controller 71 controls the multiplexer 72 in accordance with the transmission buffer information supplied from the transmission buffer 7.
【0109】即ち、まずN/M変換器21から供給され
たマクロブロックのデータがマルチプレクサ72を介し
て伝送路に出力され(ステップS11)、コントローラ
71において、送信バッファ7より供給された送信バッ
ファ情報に基づいて、N/M変換器21から供給された
マクロブロックのデータに新無効コードを付加する必要
があるか否かが判定される(ステップS12)。そし
て、コントローラ71において、N/M変換器21から
供給されたマクロブロックのデータに新無効コードを付
加する必要がないと判定された場合、ステップS11に
戻り、N/M変換器21を介して送信バッファ7より次
に供給されるマクロブロックのデータがマルチプレクサ
72を介して伝送路に出力される。That is, first, the data of the macroblock supplied from the N / M converter 21 is output to the transmission path via the multiplexer 72 (step S11), and the controller 71 transmits the transmission buffer information supplied from the transmission buffer 7 to the transmission buffer. It is determined whether or not it is necessary to add a new invalid code to the macroblock data supplied from the N / M converter 21 (step S12). When the controller 71 determines that it is not necessary to add a new invalid code to the data of the macroblock supplied from the N / M converter 21, the process returns to step S <b> 11, and is performed via the N / M converter 21. The macroblock data supplied next from the transmission buffer 7 is output to the transmission path via the multiplexer 72.
【0110】一方、コントローラ71において、N/M
変換器21から供給されたマクロブロックのデータに新
無効コードを付加する必要があると判定された場合、ス
タッフィングスタートコード発生回路24から供給され
るデータを選択するように、マルチプレクサ72が切り
換えられる。On the other hand, in the controller 71, N / M
If it is determined that it is necessary to add a new invalid code to the macroblock data supplied from the converter 21, the multiplexer 72 selects the data supplied from the stuffing start code generation circuit 24. Is switched.
【0111】そして、コントローラ71において、N/
M変換器21から供給されたマクロブロックのデータに
新無効コードを付加する必要がないと判定されるまで、
スタッフィングスタートコード発生回路24から出力さ
れているスタッフィングスタートコードが、マルチプレ
クサ72を介して伝送路に出力される(ステップS12
およびS13)。Then, in the controller 71, N /
The macroblock data supplied from the M converter 21
Until it is determined that there is no need to add a new invalid code,
The stuffing start code output from the stuffing start code generation circuit 24 is output to the transmission line via the multiplexer 72 (step S12).
And S13).
【0112】その後、コントローラ71において、N/
M変換器21から供給されたマクロブロックのデータに
新無効コードを付加する必要がなくなったと判定された
場合、ステップS11に戻り、N/M変換器21側の出
力を選択するように、マルチプレクサ72が切り換えら
れ、次のマクロブロックのデータが伝送路に出力され
る。Thereafter, N / N
The macroblock data supplied from the M converter 21
If it is determined that it is no longer necessary to add the new invalid code, the process returns to step S11, and the multiplexer 72 is switched so as to select the output of the N / M converter 21, and the data of the next macroblock is transmitted through the transmission path. Is output to
【0113】以上のように、送信バッファ7からの送信
バッファ情報(送信バッファ7におけるデータの蓄積量
に関する情報)に対応して、マクロブロックのデータが
アンダフローする恐れがあるときには、マルチプレクサ
72が制御され、新無効コード(ここでは、少なくとも
1つのスタッフィングスタートコードのみからなる新無
効コード)が伝送路に出力される。As described above, according to the transmission buffer information from the transmission buffer 7 (information relating to the amount of data stored in the transmission buffer 7), when there is a possibility that the data of the macroblock may underflow, the multiplexer 72 controls the operation. is (here, the new free <br/> effective code consisting only of at least one stuffing start code) new invalid code is output to the transmission path.
【0114】次に、図14は、図11に示す伝送データ
制御回路8により無効コードが付加された伝送データか
ら、無効コードを除去する無効コード除去回路31の一
実施例の構成を示すブロック図である。図中、図6にお
ける場合と対応する部分については、同一の符号を付し
てある。FIG. 14 is a block diagram showing the configuration of an embodiment of an invalid code removing circuit 31 for removing an invalid code from transmission data to which an invalid code has been added by the transmission data control circuit 8 shown in FIG. It is. In the figure, portions corresponding to those in FIG. 6 are denoted by the same reference numerals.
【0115】伝送されてきた画像データ(ビットストリ
ーム)は、M/8変換器51に供給され、Mビット単位
のデータから8ビット単位のデータに変換される。M/
8変換器51の出力は、マルチプレクサ81およびデコ
ーダ83に供給される。マルチプレクサ81は、デコー
ダ83からの制御信号のモードに基づいて、M/8変換
器51の出力およびレジスタ群82の出力のうちのいず
れか一方を、ビット単位で選択して出力する。マルチプ
レクサ81の出力は、8ビットのレジスタ82a乃至8
2dからなるレジスタ群82に供給され、順次ラッチさ
れた後、8/L変換器53、マルチプレクサ81、およ
びデコーダ83に供給される。The transmitted image data (bit stream) is supplied to an M / 8 converter 51, where the data is converted from data in units of M bits to data in units of 8 bits. M /
The output of the eight converter 51 is supplied to a multiplexer 81 and a decoder 83. The multiplexer 81 selects and outputs one of the output of the M / 8 converter 51 and the output of the register group 82 in bit units based on the mode of the control signal from the decoder 83. The output of the multiplexer 81 is an 8-bit register 82a to 82
After being supplied to a register group 82 composed of 2d and sequentially latched, it is supplied to an 8 / L converter 53, a multiplexer 81 and a decoder 83.
【0116】デコーダ83には、M/8変換器51の出
力およびレジスタ群82の出力(レジスタ82dの出
力)の他、レジスタ群82のレジスタ82a乃至82c
の出力が供給されるようになされている。デコーダ83
は、M/8変換器51の出力およびレジスタ82a乃至
82dの出力から、スタッフィングスタートコードを検
出する。そして、デコーダ83は、スタッフィングスタ
ートコードを検出すると、所定のモードの制御信号をマ
ルチプレクサ81に出力するとともに、検出信号を書き
込み制御部84に出力する。The decoder 83 has an output of the M / 8 converter 51 and an output of the register group 82 (an output of the register 82d), and registers 82a to 82c of the register group 82.
Is supplied. Decoder 83
Detects a stuffing start code from the output of the M / 8 converter 51 and the outputs of the registers 82a to 82d. Upon detecting the stuffing start code, the decoder 83 outputs a control signal in a predetermined mode to the multiplexer 81 and outputs a detection signal to the write control unit 84.
【0117】書き込み制御部84は、デコーダ83から
の検出信号に基づいて、8/L変換器53の書き込み状
態を制御するようになされている。即ち、書き込み制御
部84は、デコーダ83からの検出信号を受信すると、
8/L変換器53のレジスタ82dの出力の書き込み
を、スタッフィングスタートコードの長さとしての4バ
イト分に対応する時間だけ禁止する。The write control section 84 controls the write state of the 8 / L converter 53 based on the detection signal from the decoder 83. That is, when the write control unit 84 receives the detection signal from the decoder 83,
Writing of the output of the register 82d of the 8 / L converter 53 is prohibited for a time corresponding to 4 bytes as the length of the stuffing start code.
【0118】次に、その動作について説明する。M/8
変換器51において、入力されてきたMビット単位のデ
ータは、M/8変換器51で8ビット(1バイト)単位
のデータに変換され、マルチプレクサ81を介してレジ
スタ群82に供給されて、レジスタ82a乃至82dで
順次ラッチされる。Next, the operation will be described. M / 8
In the converter 51, the input M-bit data is converted into 8-bit (1 byte) data by the M / 8 converter 51, supplied to the register group 82 via the multiplexer 81, The data is sequentially latched at 82a to 82d.
【0119】そして、M/8変換器51からの8ビット
のデータD、およびレジスタ82a乃至82dでラッチ
された8ビットのデータDA乃至DDは、デコーダ83
に入力される。デコーダ83においては、M/8変換器
51からの8ビットのデータD、およびレジスタ82a
乃至82dでラッチされた8ビットのデータDA乃至D
Dの合計40ビットのデータから、図12に示す新無効
コードを構成するスタッフィングスタートコードが次の
ようにして検出される。The 8-bit data D from the M / 8 converter 51 and the 8-bit data DA to DD latched by the registers 82a to 82d are supplied to the decoder 83.
Is input to In decoder 83, 8-bit data D from M / 8 converter 51 and register 82a
8-bit data DA to D latched by
From a total of 40 bits of data and D, new invalid shown in FIG. 12
The stuffing start code constituting the code is detected as follows.
【0120】即ち、デコーダ83は、例えば図15に示
すように、デコード部91a乃至91h、エンコード部
92、およびORゲート93から構成される。デコード
部91aには、M/8変換器51からの8ビットのデー
タD、およびレジスタ82a乃至82dでラッチされた
8ビットのデータDA乃至DDのうちの、レジスタ82
a乃至82dでラッチされた8ビットのデータDA乃至
DDが入力される。That is, the decoder 83 comprises, for example, as shown in FIG. 15, decoding sections 91a to 91h, an encoding section 92, and an OR gate 93. Of the 8-bit data D from the M / 8 converter 51 and the 8-bit data DA to DD latched by the registers 82a to 82d, the decoding unit 91a stores the register 82
The 8-bit data DA to DD latched by a to 82d are input.
【0121】ここで、以下、8ビットのデータD(D
A,DB,DC,DDも同様)の各ビットを、MSBか
ら順次D[7],D[6],D[5],D[4],D
[3],D[2],D[1],D[0]と表す。さら
に、8ビットのデータDのビットD[X]乃至D
[X']からなるデータをD[X':X](但し、X'>
X)と表す。従って、例えばデータDそのものを表す場
合、以下、D[7:0]と示す。Here, hereinafter, 8-bit data D (D
A, DB, DC, and DD) are sequentially converted from MSB to D [7], D [6], D [5], D [4], D
[3], D [2], D [1], and D [0]. Furthermore, bits D [X] to D [X] of 8-bit data D
The data consisting of [X '] is converted to D [X': X] (where X '>
X). Therefore, for example, when representing the data D itself, it is represented as D [7: 0].
【0122】デコード部91aにおいては、レジスタ8
2a乃至82dでそれぞれラッチされた8ビットのデー
タDA[7:0]乃至DD[7:0]を、MSBから、
DD[7:0],DC[7:0],DB[7:0],D
A[7:0]の順で並べた32ビットのデータ(以下、
データ{DD[7:0],DC[7:0],DB[7:
0],DA[7:0]}と記載する)と、図12に示す
32ビットを1単位とするスタッフィングスタートコー
ドとがマッチングされる。In decoding section 91a, register 8
The 8-bit data DA [7: 0] to DD [7: 0] respectively latched in 2a to 82d are converted from the MSB into
DD [7: 0], DC [7: 0], DB [7: 0], D
A 32-bit data (hereinafter, referred to as A [7: 0])
Data $ DD [7: 0], DC [7: 0], DB [7:
0], DA [7: 0]}) and the stuffing start code having 32 bits as one unit shown in FIG.
【0123】そして、データ{DD[7:0],DC
[7:0],DB[7:0],DA[7:0]}とスタ
ッフィングスタートコードとのマッチングがとれた場
合、デコーダ91aおいて、HおよびLレベルのうち
の、例えばHレベルがエンコード部92およびORゲー
ト93に出力される。Then, data $ DD [7: 0], DC
When [7: 0], DB [7: 0], DA [7: 0]} match the stuffing start code, the decoder 91a encodes, for example, the H level among the H and L levels. It is output to the section 92 and the OR gate 93.
【0124】また、デコード部91bには、M/8変換
器51からの8ビットのデータD[7:0]、およびレ
ジスタ82a乃至82dでラッチされた8ビットのデー
タDA[7:0]乃至DD[7:0]のうちの、データ
{DD[6:0],DC[7:0],DB[7:0],
DA[7:0],D[7]}が入力される。The decoding section 91b includes 8-bit data D [7: 0] from the M / 8 converter 51 and 8-bit data DA [7: 0] to DA [7: 0] latched by the registers 82a to 82d. Data [DD [6: 0], DC [7: 0], DB [7: 0],
DA [7: 0], D [7]} are input.
【0125】デコード部91bにおいては、データ{D
D[6:0],DC[7:0],DB[7:0],DA
[7:0],D[7]}が、図12に示す32ビットを
1単位とするスタッフィングスタートコードとマッチン
グされ、データ{DD[7:0],DC[7:0],D
B[7:0],DA[7:0]}とスタッフィングスタ
ートコードとのマッチングがとれた場合、HおよびLレ
ベルのうちの、例えばHレベルがエンコード部92およ
びORゲート93に出力される。In decoding section 91b, data $ D
D [6: 0], DC [7: 0], DB [7: 0], DA
[7: 0], D [7]} is matched with a stuffing start code having 32 bits as one unit shown in FIG. 12, and data {DD [7: 0], DC [7: 0], D
If B [7: 0], DA [7: 0]} matches the stuffing start code, for example, the H level of the H and L levels is output to the encoding unit 92 and the OR gate 93.
【0126】以下、同様にして、デコード部91c乃至
デコード部91hにおいては、 データ{DD[5:0],DC[7:0],DB[7:
0],DA[7:0],D[7:6]}、 データ{DD[4:0],DC[7:0],DB[7:
0],DA[7:0],D[7:5]}、 データ{DD[3:0],DC[7:0],DB[7:
0],DA[7:0],D[7:4]}、 データ{DD[2:0],DC[7:0],DB[7:
0],DA[7:0],D[7:3]}、 データ{DD[1:0],DC[7:0],DB[7:
0],DA[7:0],D[7:2]}、または データ{DD[0],DC[7:0],DB[7:
0],DA[7:0],D[7:1]}が、図12に示
す32ビットを1単位とするスタッフィングスタートコ
ードとそれぞれマッチングされ、マッチングがとれた場
合には、HおよびLレベルのうちの、例えばHレベルが
エンコード部92およびORゲート93に出力される。Similarly, in the decoding units 91c to 91h, the data $ DD [5: 0], DC [7: 0], and DB [7:
0], DA [7: 0], D [7: 6], data {DD [4: 0], DC [7: 0], DB [7:
0], DA [7: 0], D [7: 5], data {DD [3: 0], DC [7: 0], DB [7:
0], DA [7: 0], D [7: 4]}, data {DD [2: 0], DC [7: 0], DB [7:
0], DA [7: 0], D [7: 3]}, data {DD [1: 0], DC [7: 0], DB [7:
0], DA [7: 0], D [7: 2]}, or data {DD [0], DC [7: 0], DB [7:
0], DA [7: 0], D [7: 1]} are respectively matched with the stuffing start code having 32 bits as a unit as shown in FIG. Are output to the encoding unit 92 and the OR gate 93, for example.
【0127】即ち、デコード部91a乃至91hにおい
ては、M/8変換器51から順次出力された、5つの8
ビット単位のデータからなる40ビットのデータ(デー
タ{DD[7:0],DC[7:0],DB[7:
0],DA[7:0],D[7:0]})の、上位32
ビットのビット列、上位2ビット目から32ビットのビ
ット列、・・・、上位8ビット目から32ビットのビッ
ト列と、32ビットのスタッフィングスタートコードと
のマッチングがそれぞれとられる。That is, in the decoding sections 91a to 91h, the five 8/8 signals sequentially output from the M / 8 converter 51 are output.
40-bit data (data $ DD [7: 0], DC [7: 0], DB [7:
0], DA [7: 0], D [7: 0]})
A bit string of bits, a bit string of 32 bits from the upper second bit,..., A bit string of 32 bits from the upper 8 bits, and a stuffing start code of 32 bits are respectively matched.
【0128】デコーダ91a乃至91hの出力がいずれ
もLレベルである場合、即ちM/8変換器51から順次
出力された、5つの8ビット単位のデータからなる40
ビットのデータにスタッフィングスタートコードが含ま
れていない場合、エンコーダ92は、モード0の制御信
号をマルチプレクサ81(図14)に出力する。この場
合、マルチプレクサ81においては、M/8変換器51
の出力が選択され、レジスタ群82に供給される。When the outputs of the decoders 91a to 91h are all at the L level, that is, 40 bits composed of five 8-bit data sequentially output from the M / 8 converter 51.
If the stuffing start code is not included in the bit data, the encoder 92 outputs a control signal of mode 0 to the multiplexer 81 (FIG. 14). In this case, in the multiplexer 81, the M / 8 converter 51
Are selected and supplied to the register group 82.
【0129】従って、M/8変換器51から順次出力さ
れた、5つの8ビット単位のデータからなる40ビット
のデータにスタッフィングスタートコードが含まれてい
ない場合、M/8変換器51の出力が、マルチプレクサ
81およびレジスタ群82を介して8/L変換器53に
順次出力されることになる。Therefore, if the stuffing start code is not included in the 40-bit data consisting of five 8-bit data sequentially output from the M / 8 converter 51, the output of the M / 8 converter 51 is , A multiplexer 81 and a register group 82, and sequentially output to the 8 / L converter 53.
【0130】デコード部91aの出力がHレベルになっ
た場合、即ちM/8変換器51から順次出力された、5
つの8ビット単位のデータからなる40ビットのデータ
の上位32ビットがスタッフィングスタートコードであ
る場合、エンコーダ92において、モード0の制御信号
がマルチプレクサ81に出力されるとともに、ORゲー
ト93において、その出力がHレベルにされ、検出信号
として書き込み制御部84に供給される。When the output of decoding section 91a attains an H level, that is, 5 output sequentially from M / 8 converter 51
When the upper 32 bits of the 40-bit data consisting of two 8-bit data are the stuffing start code, the encoder 92 outputs the control signal of mode 0 to the multiplexer 81 and the OR gate 93 outputs the control signal of mode 0. The signal is set to the H level and supplied to the write control unit 84 as a detection signal.
【0131】この場合、マルチプレクサ81において、
M/8変換器51の出力が選択され、レジスタ群82に
供給されるとともに、書き込み制御部84において、8
/L変換器53のレジスタ群82の出力の書き込みが、
スタッフィングスタートコードの長さとしての4バイト
(32ビット)分だけ禁止される。In this case, in the multiplexer 81,
The output of the M / 8 converter 51 is selected and supplied to the register group 82, and the write control unit 84
Writing of the output of the register group 82 of the / L converter 53
The length of the stuffing start code is prohibited by 4 bytes (32 bits).
【0132】従って、この場合、M/8変換器51から
順次出力された40ビットのデータのうちの、8ビット
単位でレジスタ82d乃至82aにラッチされている上
位32ビット、即ちスタッフィングスタートコードが除
去されることになる。Therefore, in this case, of the 40-bit data sequentially output from the M / 8 converter 51, the upper 32 bits latched in the registers 82d to 82a in units of 8 bits, ie, the stuffing start code are removed. Will be done.
【0133】また、デコード部91bの出力がHレベル
になった場合、即ちM/8変換器51から順次出力され
た、5つの8ビット単位のデータからなる40ビットの
データの上位2ビット目から32ビットがスタッフィン
グスタートコードである場合、エンコーダ92におい
て、モード1の制御信号がマルチプレクサ81に出力さ
れるとともに、ORゲート93において、その出力がH
レベルにされ、検出信号として書き込み制御部84に供
給される。When the output of the decoding section 91b becomes H level, that is, from the second upper bit of the 40-bit data consisting of five 8-bit data sequentially output from the M / 8 converter 51 When the 32 bits are the stuffing start code, the control signal of mode 1 is output to the multiplexer 81 in the encoder 92, and the output thereof is set to H in the OR gate 93.
Level and supplied to the write control unit 84 as a detection signal.
【0134】マルチプレクサ81は、モード1の制御信
号を受信すると、まずレジスタ82dでラッチされたデ
ータDD[7:0]の上位1ビット(モードと同一の数
のビット数)DD[7]だけを選択し、その後、M/8
変換器8より出力されるデータD[7:0]の下位7ビ
ット(8ビットからモードを減算した数と同一の数のビ
ット数)D[6:0]を選択して、合計8ビットのデー
タをレジスタ82aに供給する。When the multiplexer 81 receives the control signal of mode 1, first, it receives only the upper 1 bit (the same number of bits as the mode) DD [7] of the data DD [7: 0] latched by the register 82d. Select, then M / 8
The lower 7 bits (the same number of bits as the number obtained by subtracting the mode from 8 bits) D [6: 0] of the data D [7: 0] output from the converter 8 are selected, and a total of 8 bits are selected. The data is supplied to the register 82a.
【0135】即ち、レジスタ82aには、データ{DD
[7],D[6:0]}が供給される。That is, the data $ DD is stored in the register 82a.
[7], D [6: 0]} are supplied.
【0136】同時に、書き込み制御部84において、8
/L変換器53のレジスタ群82の出力の書き込みが、
スタッフィングスタートコードの長さとしての4バイト
(32ビット)分だけ禁止される。At the same time, the write control unit 84
Writing of the output of the register group 82 of the / L converter 53
The length of the stuffing start code is prohibited by 4 bytes (32 bits).
【0137】従って、この場合、M/8変換器51から
順次出力された40ビットのデータ{DD[7:0],
DC[7:0],DB[7:0],DA[7:0],D
[7:0]}のうちの、レジスタ82d乃至82aにラ
ッチされている上位32ビット{DD[7:0],DC
[7:0],DB[7:0],DA[7:0]}が除去
されるとともに、上述したデータ{DD[7],D
[6:0]}が、マルチプレクサ81からレジスタ82
aに出力される。Therefore, in this case, 40-bit data {DD [7: 0], 40 bits sequentially output from the M / 8 converter 51
DC [7: 0], DB [7: 0], DA [7: 0], D
[7: 0]}, upper 32 bits {DD [7: 0], DC latched in registers 82d to 82a
[7: 0], DB [7: 0], DA [7: 0]} are removed, and the data {DD [7], D
[6: 0]} is supplied from the multiplexer 81 to the register 82
output to a.
【0138】即ち、M/8変換器51から順次出力され
た40ビットのデータ{DD[7:0],DC[7:
0],DB[7:0],DA[7:0],D[7:
0]}から、スタッフィングスタートコードとしての上
位2ビット目からの32ビットのデータ{DD[6:
0],DC[7:0],DB[7:0],DA[7:
0],D[7]}が除去されたデータ{DD[7],D
[6:0]}が、マルチプレクサ81からレジスタ82
aに出力されることになる。That is, 40-bit data {DD [7: 0], DC [7:
0], DB [7: 0], DA [7: 0], D [7:
0]}, 32-bit data {DD [6:
0], DC [7: 0], DB [7: 0], DA [7:
0], D [7]} are removed {DD [7], D
[6: 0]} is supplied from the multiplexer 81 to the register 82
a.
【0139】さらに、デコード部91cの出力がHレベ
ルになった場合、即ちM/8変換器51から順次出力さ
れた、5つの8ビット単位のデータからなる40ビット
のデータの上位3ビット目から32ビットがスタッフィ
ングスタートコードである場合、エンコーダ92におい
て、モード2の制御信号がマルチプレクサ81に出力さ
れるとともに、ORゲート93において、その出力がH
レベルにされ、検出信号として書き込み制御部84に供
給される。Further, when the output of the decoding section 91c becomes H level, that is, from the upper third bit of the 40-bit data consisting of five 8-bit data sequentially output from the M / 8 converter 51, When 32 bits are a stuffing start code, the encoder 92 outputs a control signal of mode 2 to the multiplexer 81, and the OR gate 93 outputs an H-level control signal.
Level and supplied to the write control unit 84 as a detection signal.
【0140】マルチプレクサ81において、モード2の
制御信号が受信されると、レジスタ82dでラッチされ
たデータDD[7:0]の上位2ビットDD[7:6]
が選択され、その後、M/8変換器8より出力されるデ
ータD[7:0]の下位7ビットD[6:0]が選択さ
れて、合計8ビットのデータがレジスタ82aに供給さ
れる。When the multiplexer 81 receives the mode 2 control signal, the upper two bits DD [7: 6] of the data DD [7: 0] latched by the register 82d are received.
Is selected, and then the lower 7 bits D [6: 0] of the data D [7: 0] output from the M / 8 converter 8 are selected, and a total of 8 bits of data are supplied to the register 82a. .
【0141】即ち、レジスタ82aには、データ{DD
[7:6],D[5:0]}が供給される。That is, the data $ DD is stored in the register 82a.
[7: 6], D [5: 0]} are supplied.
【0142】同時に、書き込み制御部84において、8
/L変換器53のレジスタ群82の出力の書き込みが、
スタッフィングスタートコードの長さとしての4バイト
(32ビット)分だけ禁止される。At the same time, the write control unit 84
Writing of the output of the register group 82 of the / L converter 53
The length of the stuffing start code is prohibited by 4 bytes (32 bits).
【0143】従って、この場合、M/8変換器51から
順次出力された40ビットのデータ{DD[7:0],
DC[7:0],DB[7:0],DA[7:0],D
[7:0]}のうちの、レジスタ82d乃至82aにラ
ッチされている上位32ビット{DD[7:0],DC
[7:0],DB[7:0],DA[7:0]}が除去
されるとともに、上述したデータ{DD[7:6],D
[5:0]}が、マルチプレクサ81からレジスタ82
aに出力される。Therefore, in this case, 40-bit data {DD [7: 0], 40 bits sequentially output from M / 8 converter 51
DC [7: 0], DB [7: 0], DA [7: 0], D
[7: 0]}, upper 32 bits {DD [7: 0], DC latched in registers 82d to 82a
[7: 0], DB [7: 0], DA [7: 0]} are removed, and the data {DD [7: 6], D
[5: 0]} is supplied from the multiplexer 81 to the register 82
output to a.
【0144】即ち、M/8変換器51から順次出力され
た40ビットのデータ{DD[7:0],DC[7:
0],DB[7:0],DA[7:0],D[7:
0]}から、スタッフィングスタートコードとしての上
位3ビット目からの32ビットのデータ{DD[5:
0],DC[7:0],DB[7:0],DA[7:
0],D[7:6]}が除去されたデータ{DD[7:
6],D[5:0]}が、マルチプレクサ81からレジ
スタ82aに出力されることになる。That is, 40-bit data {DD [7: 0], DC [7:
0], DB [7: 0], DA [7: 0], D [7:
0]}, the 32-bit data {DD [5:
0], DC [7: 0], DB [7: 0], DA [7:
0] and D [7: 6] are removed from the data {DD [7:
6], D [5: 0]} are output from the multiplexer 81 to the register 82a.
【0145】以下同様にして、デコード部91a乃至9
1hのいずれかの出力がHレベルになった場合には、レ
ジスタ82a乃至82dにラッチされているデータの、
8/L変換回路53への書き込みが禁止されるととも
に、マルチプレクサ81への入力がビット単位で選択さ
れ、これにより、M/8変換器51から、8ビット単位
で順次出力された40ビットのデータのスタッフィング
スタートコードが除去される。In the same manner, the decoding sections 91a to 91-9
When any of the outputs 1h goes to the H level, the data latched in the registers 82a to 82d
Writing to the 8 / L conversion circuit 53 is prohibited, and the input to the multiplexer 81 is selected in units of bits, whereby the 40-bit data sequentially output from the M / 8 converter 51 in units of 8 bits. Stuffing start code is removed.
【0146】なお、図15において、エンコード部92
の左の部分に付してある数字は、そこに、デコード部9
1a乃至91hからHレベルが入力された場合に出力さ
れる制御信号のモードを表す。Note that, in FIG.
The number attached to the left part of the
It indicates the mode of the control signal output when the H level is input from 1a to 91h.
【0147】次に、図16は、図12に示す伝送データ
から、新無効コードとしての2つのスタッフィングスタ
ートコードが除去される場合のタイミングチャートを示
している。M/8変換器51より出力されたデータ(図
16(b))は、マルチプレクサ81を介してレジスタ
群82に供給され、レジスタ群82においては、M/8
変換器51より出力されたデータが、クロック(図16
(a))のタイミングで、レジスタ82a乃至82dに
順次ラッチされる(図16(c)乃至(f))。Next, FIG. 16 shows a timing chart when two stuffing start codes as new invalid codes are removed from the transmission data shown in FIG. The data (FIG. 16 (b)) output from the M / 8 converter 51 is supplied to a register group 82 via a multiplexer 81.
The data output from the converter 51 is a clock (FIG. 16)
At the timing of (a)), the data is sequentially latched by the registers 82a to 82d (FIGS. 16C to 16F).
【0148】そして、図16における場合、クロックT
5(図16(a))において、M/8変換器51から順
次出力された、5つの8ビット単位のデータからなる4
0ビットのデータ{DD[7:0],DC[7:0],
DB[7:0],DA[7:0],D[7:0]}か
ら、1つ目のスタッフィングコードとしての上位8ビッ
ト目からの32ビットのデータ{DD[0],DC
[7:0],DB[7:0],DA[7:0],D
[7:1]}が検出される。In the case of FIG. 16, the clock T
In FIG. 16 (FIG. 16A), four bits consisting of five 8-bit data sequentially output from the M / 8 converter 51 are used.
0-bit data $ DD [7: 0], DC [7: 0],
From DB [7: 0], DA [7: 0], D [7: 0]}, 32-bit data {DD [0], DC from the upper 8th bit as the first stuffing code
[7: 0], DB [7: 0], DA [7: 0], D
[7: 1]} is detected.
【0149】従って、この場合、デコーダ83のデコー
ド部91hの出力がHレベルになり、エンコーダ92に
おいて、モード7の制御信号がマルチプレクサ81に出
力されるとともに、ORゲート93において、その出力
がHレベル(図16(g))にされ、検出信号として書
き込み制御部84に供給される。Therefore, in this case, the output of the decoding section 91h of the decoder 83 goes high, the control signal of mode 7 is output to the multiplexer 81 in the encoder 92, and the output of the OR gate 93 is high in the OR gate 93. (FIG. 16 (g)), which is supplied to the write controller 84 as a detection signal.
【0150】マルチプレクサ81は、モード7の制御信
号を受信すると、まずレジスタ82dでラッチされたデ
ータDD[7:0]の上位7ビットDD[7:1]だけ
を選択し(図16(i))、レジスタ82aに供給した
後(図中、矢印Pで示す部分)、M/8変換器8より出
力されるデータD[7:0]の下位1ビットD[0]を
選択して、8ビットのデータをレジスタ82aに供給す
る(図中、矢印P'で示す部分)。When receiving the control signal of mode 7, the multiplexer 81 first selects only the upper 7 bits DD [7: 1] of the data DD [7: 0] latched by the register 82d (FIG. 16 (i)). ), After supplying the data to the register 82a (portion indicated by the arrow P in the figure), selects the lower 1 bit D [0] of the data D [7: 0] output from the M / 8 converter 8, and The bit data is supplied to the register 82a (the portion indicated by the arrow P 'in the figure).
【0151】即ち、レジスタ82aには、レジスタ82
dでラッチされていたデータDD[7:0](図16
(f))のうちの、有効コード(画像データ)(図中、
*印で示す部分)としての上位7ビットDD[7:1]
と、M/8変換器8より出力されるデータD[7:0]
(図16(b))の下位1ビットD[0]からなるデー
タ{DD[7:1],D[6]}(図16(c))が供
給される。That is, the register 82a is
The data DD [7: 0] latched at d.
(F)), the valid code (image data) (in the figure,
Upper 7 bits DD [7: 1] as the part indicated by *)
And data D [7: 0] output from M / 8 converter 8
Data {DD [7: 1], D [6]} (FIG. 16 (c)) consisting of the lower 1 bit D [0] of (FIG. 16 (b)) is supplied.
【0152】同時に、書き込み制御部84において、8
/L変換器53のレジスタ82dの出力(図16
(f))の書き込みが、スタッフィングスタートコード
の長さとしての4バイト(32ビット)分、即ちクロッ
クT5乃至T8の間だけ禁止され、(図16(h))、
1つめのスタッフィングスタートコードが除去される。At the same time, the write control unit 84
The output of the register 82d of the / L converter 53 (FIG. 16)
The writing of (f)) is prohibited only for 4 bytes (32 bits) as the length of the stuffing start code, that is, during the clocks T5 to T8 (FIG. 16 (h)).
The first stuffing start code is removed.
【0153】この間(クロックT5乃至T8の間)、レ
ジスタ82aに供給されたデータ{DD[7:1],D
[6]}は、レジスタ82a乃至82cに順次ラッチさ
れ、クロックT9においては、レジスタ82dにラッチ
される。During this period (between clocks T5 to T8), the data {DD [7: 1], D
[6] is sequentially latched by the registers 82a to 82c, and is latched by the register 82d at the clock T9.
【0154】そして、このクロックT9(図16
(a))では、M/8変換器51から順次出力された、
5つの8ビット単位のデータからなる40ビットのデー
タ{DD[7:0],DC[7:0],DB[7:
0],DA[7:0],D[7:0]}から、2つ目の
スタッフィングコードとしての上位8ビット目からの3
2ビットのデータ{DD[0],DC[7:0],DB
[7:0],DA[7:0],D[7:1]}が検出さ
れる。The clock T9 (FIG. 16)
In (a)), sequentially output from the M / 8 converter 51,
40-bit data $ DD [7: 0], DC [7: 0], DB [7:
0], DA [7: 0], D [7: 0]} from the upper 8 bits as the second stuffing code.
2-bit data $ DD [0], DC [7: 0], DB
[7: 0], DA [7: 0], D [7: 1]} are detected.
【0155】従って、この場合、デコーダ83のデコー
ド部91hの出力がHレベルになり、エンコーダ92に
おいて、モード7の制御信号がマルチプレクサ81に出
力されるとともに、ORゲート93において、その出力
がHレベル(図16(g))にされ、検出信号として書
き込み制御部84に供給される。Accordingly, in this case, the output of the decoding section 91h of the decoder 83 goes high, the control signal of mode 7 is output to the multiplexer 81 in the encoder 92, and the output of the OR gate 93 is high in the OR gate 93. (FIG. 16 (g)), which is supplied to the write controller 84 as a detection signal.
【0156】マルチプレクサ81は、モード7の制御信
号を受信すると、まずレジスタ82dでラッチされたデ
ータDD[7:0]の上位7ビットDD[7:1]だけ
を選択し(図16(i))、レジスタ82aに供給した
後(図中、矢印Qで示す部分)、M/8変換器8より出
力されるデータD[7:0]の下位1ビットD[0]を
選択して、8ビットのデータをレジスタ82aに供給す
る(図中、矢印Q'で示す部分)。When receiving the mode 7 control signal, the multiplexer 81 first selects only the upper 7 bits DD [7: 1] of the data DD [7: 0] latched by the register 82d (FIG. 16 (i)). ), After supplying it to the register 82a (indicated by the arrow Q in the figure), selects the lower one bit D [0] of the data D [7: 0] output from the M / 8 converter 8 and selects 8 The bit data is supplied to the register 82a (the portion indicated by the arrow Q 'in the figure).
【0157】即ち、レジスタ82aには、レジスタ82
dでラッチされていたデータDD[7:0](図16
(f))のうちの、有効コード(画像データ)(図中、
*印で示す部分)としての上位7ビットDD[7:1]
と、M/8変換器8より出力されるデータD[7:0]
(図16(b))の下位1ビットD[0]からなるデー
タ{DD[7:1],D[6]}(図16(c))が供
給される。That is, the register 82a is
The data DD [7: 0] latched at d.
(F)), the valid code (image data) (in the figure,
Upper 7 bits DD [7: 1] as the part indicated by *)
And data D [7: 0] output from M / 8 converter 8
Data {DD [7: 1], D [6]} (FIG. 16 (c)) consisting of the lower 1 bit D [0] of (FIG. 16 (b)) is supplied.
【0158】同時に、書き込み制御部84において、8
/L変換器53のレジスタ82dの出力(図16
(f))の書き込みが、スタッフィングスタートコード
の長さとしての4バイト(32ビット)分、即ちクロッ
クT9乃至T12の間だけ禁止され(図16(h))、
2つめのスタッフィングスタートコードが除去される。At the same time, the write control unit 84
The output of the register 82d of the / L converter 53 (FIG. 16)
The writing of (f)) is prohibited only for 4 bytes (32 bits) as the length of the stuffing start code, that is, during the clocks T9 to T12 (FIG. 16 (h)).
The second stuffing start code is removed.
【0159】この間(クロックT9乃至T12の間)、
レジスタ82aに供給されたデータ{DD[7:1],
D[6]}は、レジスタ82a乃至82cに順次ラッチ
され、クロックT13においては、レジスタ82dにラ
ッチされる。During this time (between clocks T9 to T12),
The data $ DD [7: 1] supplied to the register 82a,
D [6]} are sequentially latched by registers 82a to 82c, and latched by register 82d at clock T13.
【0160】そして、このクロックT13において、8
/L変換器53のレジスタ82dの出力(図16
(f))の書き込みの禁止が解除され、レジスタ82d
の出力(図16(f))が8/Lに書き込まれ、Lビッ
ト単位のデータに変換されて、受信バッファ32へ供給
される。Then, at this clock T13, 8
The output of the register 82d of the / L converter 53 (FIG. 16)
The write prohibition of (f)) is released, and the register 82d
(FIG. 16 (f)) is written into 8 / L, converted into L-bit data, and supplied to the reception buffer 32.
【0161】即ち、新無効データとしての2つのスタッ
フィングスタートコードが除去された伝送データ、即ち
符号化された画像データ(図16(f)のクロックT1
3およびT14における*で示す部分)のみが受信バッ
ファ32へ供給される。That is, transmission data from which two stuffing start codes as new invalid data have been removed, ie, encoded image data (clock T1 in FIG. 16 (f)).
3 and the portion indicated by * in T14) are supplied to the reception buffer 32.
【0162】以上のように、図14に示す無効コード除
去回路31によれば、バイトアラインのとれていない伝
送データから、少なくとも1つのスタッフィングスター
トコードだけからなる新無効コードを除去することがで
きる。As described above, according to the invalid code removing circuit 31 shown in FIG. 14, a new invalid code consisting of at least one stuffing start code can be removed from transmission data that is not byte-aligned.
【0163】さらに、伝送データからの、少なくとも1
つのスタッフィングスタートコードだけからなる新無効
コードの除去は、Mビット単位で伝送されたデータをK
ビット単位のデータに変換して行うことができる。Further, at least one of the
The removal of the new invalid code consisting of only one stuffing start code is performed by adding the data transmitted in M bits to the K
The conversion can be performed by converting the data into bit units.
【0164】この場合、無効コード除去回路31は、例
えば図17に示すように構成される。なお、図中、図1
4における場合と対応する部分については、同一の符号
を付してある。In this case, the invalid code removing circuit 31 is configured, for example, as shown in FIG. In FIG. 1, FIG.
The same reference numerals are given to the portions corresponding to the case in FIG.
【0165】M/K変換器104は、入力されたMビッ
ト単位の伝送データを、Kビット単位のデータに変換
し、マルチプレクサ81およびデコーダ102に出力す
る。レジスタ群101は、シリアルに接続されたP個の
Kビットのレジスタ(図示せず)で構成され、マルチプ
レクサ81の出力をクロック周期のP倍だけ遅延してK
/L変換器63、マルチプレクサ81、およびデコーダ
102に供給する。The M / K converter 104 converts the input transmission data in M bits into data in K bits and outputs the data to the multiplexer 81 and the decoder 102. The register group 101 is composed of P K-bit registers (not shown) serially connected, and delays the output of the multiplexer 81 by P times the clock cycle, and
/ L converter 63, multiplexer 81, and decoder 102.
【0166】但し、この場合、Pは、スタッフィングス
タートコードの長さ(32ビット)を、Kで除算し、小
数点以下を切り上げた値で定義される。However, in this case, P is defined by a value obtained by dividing the length (32 bits) of the stuffing start code by K and rounding up the decimal point.
【0167】デコーダ102は、M/K変換器104の
出力およびレジスタ群101を構成するP個のレジスタ
それぞれにラッチされたデータからなるビット列から、
スタッフィングスタートコードを検出する。そして、デ
コーダ102は、M/K変換器104の出力およびレジ
スタ群101を構成するP個のレジスタそれぞれの出力
からなるビット列から、スタッフィングスタートコード
を検出した場合、検出信号を書き込み制御部103に出
力するとともに、所定のモードの制御信号をマルチプレ
クサ81に出力する。The decoder 102 obtains the output of the M / K converter 104 and the bit string composed of the data latched by each of the P registers constituting the register group 101.
Detects the stuffing start code. When the decoder 102 detects a stuffing start code from a bit string composed of the output of the M / K converter 104 and the output of each of the P registers constituting the register group 101, the decoder 102 outputs a detection signal to the write control unit 103. At the same time, a control signal in a predetermined mode is output to the multiplexer 81.
【0168】書き込み回路103は、デコーダ102か
らの検出信号に基づいて、K/L変換器63のレジスタ
群101の出力(レジスタ群101を構成するレジスタ
のうちの最終団のレジスタとしてのP個目のレジスタの
出力)の書き込みを制御する。The write circuit 103 outputs the output of the register group 101 of the K / L converter 63 (P-th register among the registers constituting the register group 101 as the last group register) based on the detection signal from the decoder 102. Control the writing of the register output.
【0169】以上のように構成される無効コード除去回
路31においては、まずM/K変換器104が、入力さ
れたMビット単位の伝送データを、Kビット単位のデー
タに変換する。M/K変換器104の出力は、デコーダ
102に入力されるとともに、マルチプレクサ81を介
してレジスタ群101に入力される。In the invalid code removing circuit 31 configured as described above, first, the M / K converter 104 converts the input transmission data in units of M bits into data in units of K bits. The output of the M / K converter 104 is input to the decoder 102 and also to the register group 101 via the multiplexer 81.
【0170】レジスタ群101では、Kビット単位のデ
ータが、内蔵するP個のレジスタで順次ラッチされ、K
/L変換器63およびマルチプレクサ81に出力され
る。In the register group 101, K-bit data is sequentially latched by P built-in registers.
It is output to the / L converter 63 and the multiplexer 81.
【0171】また、レジスタ群101を構成するP個の
レジスタそれぞれの出力は、M/K変換回路の出力とと
もにデコーダ102に供給される。The output of each of the P registers constituting the register group 101 is supplied to the decoder 102 together with the output of the M / K conversion circuit.
【0172】デコーダ102においては、M/K変換器
104の出力およびレジスタ群101を構成するP個の
レジスタそれぞれの出力からなるビット列から、スタッ
フィングスタートコードが検出される。そして、デコー
ダ102において、M/K変換器104の出力およびレ
ジスタ群101を構成するP個のレジスタそれぞれの出
力からなるビット列から、スタッフィングスタートコー
ドが検出された場合、検出信号が書き込み制御部103
に出力されるとともに、M/K変換器104の出力およ
びレジスタ群101を構成するP個のレジスタそれぞれ
の出力からなるビット列から、スタッフィングスタート
コードを検出した位置に関する検出位置情報(レジスタ
群101を構成するP個のレジスタそれぞれにラッチさ
れたデータを、その最終団のレジスタにラッチされたデ
ータを最上位にして順次並べ、M/K変換器104の出
力を最下位に付加した(P+1)×Kビットのデータの
上位何ビット目からの32ビットがスタッフィングスタ
ートコードであったかを示す情報)をモード番号とする
制御信号がマルチプレクサ81に出力される。In the decoder 102, a stuffing start code is detected from a bit string consisting of the output of the M / K converter 104 and the output of each of the P registers constituting the register group 101. When the stuffing start code is detected in the decoder 102 from the bit string consisting of the output of the M / K converter 104 and the outputs of the P registers constituting the register group 101, the detection signal is written to the write control unit 103.
From the bit string consisting of the output of the M / K converter 104 and the output of each of the P registers constituting the register group 101, detection position information relating to the position at which the stuffing start code is detected. The data latched in each of the P registers are sequentially arranged with the data latched in the register of the final group at the top, and the output of the M / K converter 104 is added to the bottom (P + 1) × K A control signal is output to the multiplexer 81 with a mode number of (the information indicating the higher 32 bits of the bit data, which is the stuffing start code).
【0173】マルチプレクサ81では、デコーダ102
からの制御信号のモード(モード番号)に基づいて、M
/K変換器104の出力およびレジスタ群101の出力
(レジスタ群101を構成するレジスタのうちの最終団
のレジスタとしてのP個目のレジスタの出力)のいずれ
かが、図14における場合と同様にしてビット単位で選
択され、レジスタ群101に出力される。In the multiplexer 81, the decoder 102
Based on the mode (mode number) of the control signal from
One of the output of the / K converter 104 and the output of the register group 101 (the output of the P-th register as the last group register among the registers constituting the register group 101) is set in the same manner as in FIG. Are selected in bit units and output to the register group 101.
【0174】即ち、これにより、レジスタ群101を構
成するレジスタのうちのP個目のレジスタに、スタッフ
ィングスタートコードの直前の有効コードがラッチされ
ていた場合には、その有効コードが、スタッフィングス
タートコードの直後に移動されることになる。That is, when the effective code immediately before the stuffing start code is latched in the P-th register among the registers constituting the register group 101, the effective code is replaced with the stuffing start code. Will be moved immediately after
【0175】同時に、書き込み回路103において、デ
コーダ102からの検出信号が受信されると、K/L変
換器63のレジスタ群101の出力(レジスタ群101
を構成するレジスタのうちの最終団のレジスタとしての
P個目のレジスタの出力)の書き込みが、スタッフィン
グスタートコードの長さとしての4バイト分だけ禁止さ
れ、これによりスタッフィングスタートコードが除去さ
れる。At the same time, when the write circuit 103 receives the detection signal from the decoder 102, the output of the register group 101 of the K / L converter 63 (register group 101
The writing of the output of the P-th register as the register of the last group of the registers constituting the above is prohibited by the length of 4 bytes as the length of the stuffing start code, whereby the stuffing start code is removed.
【0176】なお、K=1の場合、伝送データにおける
スタッフィングスタートコードと、有効コードは、レジ
スタ群101を構成するKビット、即ち1ビットのレジ
スタで、独立にラッチされるようになるので、スタッフ
ィングスタートコードと、有効コードは、いわば既に分
離されていることになり、マルチプレクサ81、信号線
105、および106は設けずに済むようになる。In the case of K = 1, the stuffing start code and the valid code in the transmission data are latched independently by K bits constituting the register group 101, that is, 1-bit registers. The start code and the valid code have already been separated, so to speak, so that the multiplexer 81 and the signal lines 105 and 106 need not be provided.
【0177】また、この場合、Pの値は、スタッフィン
グスタートコードをKで除算し、さらに1を減算した
値、即ちこの実施例においては31となる。In this case, the value of P is a value obtained by dividing the stuffing start code by K and further subtracting 1, that is, 31 in this embodiment.
【0178】なお、本実施例においては、スライスある
いはピクチャ単位に付加される新無効コードのフォーマ
ットは、マクロブロック単位に付加される新無効コード
のフォーマットと、同一のフォーマットとされている。In the present embodiment, the format of the new invalid code added in units of slices or pictures is the same as the format of the new invalid code added in units of macroblocks.
【0179】従って、スライス単位あるいはピクチャ単
位に付加された新無効コードが存在する場合において
は、その新無効コードは、マクロブロック単位に付加さ
れた新無効コードと同様にして、無効コード除去回路3
1において除去される。Therefore, when there is a new invalid code added in units of slices or pictures, the new invalid code is used in the same manner as the new invalid code added in units of macroblocks.
Removed at 1.
【0180】[0180]
【発明の効果】以上の如く、本発明の画像復号化装置に
よれば、無効コードが、ユニークパターンの同期コード
とスタッフィングコードとからなるスタッフィングスタ
ートコードを含んで構成されるので、復号処理を開始す
る前に無効コードを容易に除去することが可能となり、
復号処理を効率的に行うことができ、表示画像が途中で
途切れるようなことが防止される。As described above, according to the image decoding apparatus of the present invention,
According to the invalid code, the synchronization code of the unique pattern
And a stuffing code
Start decryption processing
Invalid code can be easily removed before
The decoding process can be performed efficiently, and the display image is prevented from being interrupted on the way.
【0181】[0181]
【0182】[0182]
【0183】[0183]
【0184】本発明の画像符号化装置によれば、無効コ
ードが、ユニークパターンの同期コードとスタッフィン
グコードとからなるスタッフィングスタートコードを含
んで構成されるので、復号処理を開始する前に無効デー
タを容易に除去することが可能となる。 According to the image coding apparatus of the present invention, invalid code
Code is a unique pattern of synchronization code and stuffing
Stuffing start code
Therefore, invalid data can be easily removed before starting the decoding process.
【0185】[0185]
【0186】[0186]
【0187】[0187]
【0188】[0188]
【0189】[0189]
【図1】本発明の画像符号化装置の一実施例の構成を示
すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an embodiment of an image encoding device according to the present invention.
【図2】図1の伝送データ制御回路8の一実施例の構成
を示すブロック図である。FIG. 2 is a block diagram showing a configuration of one embodiment of a transmission data control circuit 8 of FIG. 1;
【図3】図2のスタッフィングスタートコード発生回路
24が発生するスタッフィングスタートコードのフォー
マットを説明する図である。FIG. 3 is a diagram illustrating a format of a stuffing start code generated by a stuffing start code generation circuit 24 of FIG. 2;
【図4】図2のコントローラ26の動作を説明するフロ
ーチャートである。FIG. 4 is a flowchart illustrating an operation of a controller 26 of FIG. 2;
【図5】本発明の画像復号化装置の一実施例の構成を示
すブロック図である。FIG. 5 is a block diagram illustrating a configuration of an embodiment of an image decoding device according to the present invention.
【図6】図5の無効コード除去回路31の一実施例の構
成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of an embodiment of an invalid code removing circuit 31 of FIG. 5;
【図7】図6の無効コード除去回路31の実施例の動作
を説明するタイミングチャートである。FIG. 7 is a timing chart for explaining the operation of the embodiment of the invalid code removing circuit 31 of FIG. 6;
【図8】図6の8/L変換器53の書き込み動作を説明
する図である。8 is a diagram illustrating a write operation of the 8 / L converter 53 of FIG.
【図9】図5の無効コード除去回路31の第2実施例の
構成を示すブロック図である。FIG. 9 is a block diagram showing a configuration of a second embodiment of the invalid code removing circuit 31 of FIG. 5;
【図10】図9の無効コード除去回路31の実施例の動
作を説明するための図である。FIG. 10 is a diagram for explaining the operation of the embodiment of the invalid code removing circuit 31 of FIG. 9;
【図11】図1の伝送データ制御回路8の第2実施例の
構成を示すブロック図である。FIG. 11 is a block diagram showing a configuration of a second embodiment of the transmission data control circuit 8 of FIG. 1;
【図12】図11の伝送データ制御回路8の実施例によ
り新無効コードが付加された伝送データを示す図であ
る。FIG. 12 is a diagram showing transmission data to which a new invalid code has been added by the embodiment of the transmission data control circuit 8 of FIG. 11;
【図13】図11のコントローラ71の動作を説明する
フローチャートである。FIG. 13 is a flowchart illustrating an operation of the controller 71 of FIG. 11;
【図14】図5の無効コード除去回路31の第3実施例
の構成を示すブロック図である。FIG. 14 is a block diagram showing a configuration of a third embodiment of the invalid code removing circuit 31 of FIG. 5;
【図15】図14のデコーダ83のより詳細を示すブロ
ック図である。FIG. 15 is a block diagram showing more details of the decoder 83 of FIG. 14;
【図16】図14の無効コード除去回路31の実施例の
動作を説明するタイミングチャートである。FIG. 16 is a timing chart for explaining the operation of the embodiment of the invalid code removing circuit 31 of FIG. 14;
【図17】図4の無効コード除去回路31の第4実施例
の構成を示すブロック図である。FIG. 17 is a block diagram showing a configuration of a fourth embodiment of the invalid code removing circuit 31 of FIG. 4;
【図18】従来の画像符号化装置の一例の構成を示すブ
ロック図である。FIG. 18 is a block diagram illustrating a configuration of an example of a conventional image encoding device.
【図19】画像データの構造を説明する図である。FIG. 19 is a diagram illustrating the structure of image data.
【図20】従来のスライスに付加する無効コードのフォ
ーマットを説明する図である。FIG. 20 is a diagram illustrating a format of an invalid code added to a conventional slice.
【図21】従来のマクロブロックに付加する無効コード
のフォーマットを説明する図である。FIG. 21 is a diagram illustrating the format of a conventional invalid code added to a macroblock.
【図22】図18の伝送データ制御回路111の構成例
を示すブロック図である。FIG. 22 is a block diagram illustrating a configuration example of a transmission data control circuit 111 in FIG. 18;
【図23】従来の画像復号化装置の一例の構成を示すブ
ロック図である。FIG. 23 is a block diagram illustrating a configuration of an example of a conventional image decoding device.
8 伝送データ制御回路 21 N/M変換器 22 マルチプレクサ 23 調整データ発生回路 24 スタッフィングスタートコード発生回路 25 マルチプレクサ 26 コントローラ 31 無効コード除去回路 51 M/8変換器 52 レジスタ 53 8/L変換器 54 ゼロ検出回路 55 カウンタ 56 書き込み制御部 71 コントローラ 72,81 マルチプレクサ 82 レジスタ群 83 デコーダ 84 書き込み制御部 91a乃至91h デコード部 92 エンコード部Reference Signs List 8 transmission data control circuit 21 N / M converter 22 multiplexer 23 adjustment data generation circuit 24 stuffing start code generation circuit 25 multiplexer 26 controller 31 invalid code removal circuit 51 M / 8 converter 52 register 53 8 / L converter 54 zero detection Circuit 55 Counter 56 Write control unit 71 Controller 72, 81 Multiplexer 82 Register group 83 Decoder 84 Write control unit 91a to 91h Decode unit 92 Encode unit
Claims (6)
に記憶する記憶手段と、 前記記憶手段に記憶された圧縮画像データを復号処理の
進行状況に対応して読み出し、画像のフレーム周期と等
しいか、それより短い時間内に1フレーム分の画像デー
タを復号する復号化手段と、 伝送されてきた圧縮画像データから、データの欠落を防
止するために付加された無効コードを除去して出力する
除去手段と、 前記除去手段より出力される前記圧縮画像データを、 前
記記憶手段に供給する供給手段とを備え、 前記無効コードは、ユニークパターンの同期コードとス
タッフィングコードとからなるスタッフィングスタート
コードを含んで構成される こと を特徴とする画像復号化
装置。1. A storage means for temporarily storing transmitted compressed image data, and reads compressed image data stored in said storage means in accordance with the progress of decoding processing, and is equal to a frame period of an image. Or decoding means for decoding one frame of image data within a shorter time, and preventing loss of data from the transmitted compressed image data.
And <br/> removal means for outputting the added by removing the invalid code to stop, the compressed image data output from said removing means, Bei example and a supply means for supplying to said memory means, said Invalid code is a unique pattern synchronization code and scan
Staffing start consisting of tough code
Image decoding apparatus characterized by configured to include a code.
理が0の前記圧縮画像データを検出したときに検出信号
を出力する検出手段と、 前記検出手段より出力される検出信号をカウントし、そ
のカウント値を出力するカウント手段と、 前記カウント手段より出力されるカウント値に応じて、
前記書き込み手段による前記圧縮画像データの書き込み
を制御する制御手段とを有し、 前記カウント手段より出力されるカウント値が所定値に
なったときに、前記制御手段が、前記書き込み手段によ
る前記圧縮画像データの書き込みを禁止することによ
り、前記圧縮画像データから前記無効コードを除去する
ことを特徴とする請求項1に記載の画像復号化装置。 2. The method according to claim 1, wherein the removing unit detects writing of the compressed image data having a logic value of 0, and a writing unit that writes the compressed image data.
Detection signal when detecting the compressed image data having a logical value of 0
Detecting means for outputting the detection signal, and counting a detection signal output from the detecting means.
Counting means for outputting a count value, in accordance with the count value output from said counting means,
Writing the compressed image data by the writing means
Control means for controlling the count value output from the count means to a predetermined value.
When the writing means is turned on,
The writing of the compressed image data
Removing the invalid code from the compressed image data
2. The image decoding apparatus according to claim 1, wherein:
りなる調整データを加えて構成されることを特徴とする
請求項1に記載の画像復号化装置。 3. The invalidation code includes one stuffing start code having a logic 0 value.
Characterized by the addition of additional adjustment data
The image decoding device according to claim 1.
みにより構成されることを特徴とする1に記載の画像復
号化装置。 4. The method according to claim 1, wherein the invalid code is at least one of the stuffing start codes.
2. The image restoration method according to item 1,
Encryption device.
ロック単位で圧縮符号化したものであり、 前記同期コードは、すべてのビットが論理0よりなる2
バイトのデータと、LSDが論理1で、他のビットがす
べて論理0の1バイトのデータとの、合計で3バイトの
データで構成され、 前記スタッフィングコードは、前記マクロブロックのデ
ータの属性に関する情報で構成されることを特徴とする
請求項1に記載の画像復号化装置。 5. The compressed image data includes a macroblock image.
The compression code is compression-coded in lock units, and the synchronization code is composed of 2 bits in which all bits are logical 0.
Byte data, LSD is logic 1 and other bits are
A total of 3 bytes with 1-byte data of logic 0
The stuffing code is composed of data of the macroblock.
Data attribute.
The image decoding device according to claim 1.
インよりなるスライスに分割する分割手段と、 前記スライスを所定の数のマクロブロックに分割して圧
縮符号化するとともに、前記画像データが不足すると
き、前記マクロブロックのデータに、データの欠落を防
止するための無効コードを付加する付加手段と を備える
画像符号化装置において、前記無効コードは、ユニークパターンの同期コードとス
タッフィングコードとからなるスタッフィングスタート
コードを含んで構成される こと を特徴とする画像符号化
装置。6. A dividing means for dividing one frame of image data into slices composed of a predetermined number of lines, and dividing the slices into a predetermined number of macroblocks for compression encoding, and the image data is insufficient. The data of the macro block to prevent data loss.
In <br/> image encoding device and an adding means for adding an invalid code to stop, the invalid code, the synchronization code and scan of the unique pattern
Staffing start consisting of tough code
Image coding apparatus characterized by configured to include a code.
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2747193A JP3341781B2 (en) | 1992-12-15 | 1993-01-22 | Image decoding device and image encoding device |
KR1019930027697A KR940017884A (en) | 1992-12-15 | 1993-12-14 | Picture decoding apparatus, picture coding apparatus and picture coding scheme |
US08/167,415 US6014171A (en) | 1992-12-15 | 1993-12-14 | Image encoding and decoding methods and apparatus utilizing the elimination of invalid code |
DE69328698T DE69328698T2 (en) | 1992-12-15 | 1993-12-15 | Image coding method and apparatus |
EP19980107161 EP0862331B1 (en) | 1992-12-15 | 1993-12-15 | Image encoding apparatus and image encoding method |
EP19930120201 EP0602621B1 (en) | 1992-12-15 | 1993-12-15 | Image encoding and decoding apparatus and method |
DE69324661T DE69324661T2 (en) | 1992-12-15 | 1993-12-15 | Image coding and decoding method and apparatus |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP35407192 | 1992-12-15 | ||
JP4-354071 | 1992-12-15 | ||
JP2747193A JP3341781B2 (en) | 1992-12-15 | 1993-01-22 | Image decoding device and image encoding device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06237452A JPH06237452A (en) | 1994-08-23 |
JP3341781B2 true JP3341781B2 (en) | 2002-11-05 |
Family
ID=26365400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2747193A Expired - Lifetime JP3341781B2 (en) | 1992-12-15 | 1993-01-22 | Image decoding device and image encoding device |
Country Status (5)
Country | Link |
---|---|
US (1) | US6014171A (en) |
EP (2) | EP0602621B1 (en) |
JP (1) | JP3341781B2 (en) |
KR (1) | KR940017884A (en) |
DE (2) | DE69324661T2 (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB9405914D0 (en) * | 1994-03-24 | 1994-05-11 | Discovision Ass | Video decompression |
US5614952A (en) | 1994-10-11 | 1997-03-25 | Hitachi America, Ltd. | Digital video decoder for decoding digital high definition and/or digital standard definition television signals |
US6571361B1 (en) * | 1995-09-29 | 2003-05-27 | Kabushiki Kaisha Toshiba | Encoder and decoder |
US6493838B1 (en) * | 1995-09-29 | 2002-12-10 | Kabushiki Kaisha Toshiba | Coding apparatus and decoding apparatus for transmission/storage of information |
EP1755266A3 (en) * | 1996-03-18 | 2008-04-02 | Kabushiki Kaisha Toshiba | Coding and decoding system |
CN101018102B (en) * | 1996-03-18 | 2012-09-19 | 株式会社东芝 | Encoder and encoding method |
JPH1174868A (en) | 1996-09-02 | 1999-03-16 | Toshiba Corp | Information transmission method, coder/decoder in information transmission system adopting the method, coding multiplexer/decoding inverse multiplexer |
EP0840517A3 (en) * | 1996-10-31 | 2003-09-10 | Matsushita Electric Industrial Co., Ltd. | Video data stream decoding method and apparatus |
EP0868085B2 (en) * | 1997-03-26 | 2006-09-27 | Matsushita Electric Industrial Co., Ltd. | Image decoding apparatus |
KR100487363B1 (en) * | 1997-07-30 | 2005-06-16 | 엘지전자 주식회사 | Pre-vlc processor in mpeg video decoder |
US6959045B2 (en) * | 1997-12-30 | 2005-10-25 | Mediatek, Inc. | Reduced cost decoder using bitstream editing for image cropping |
US6366617B1 (en) * | 1998-10-09 | 2002-04-02 | Matsushita Electric Industrial Co., Ltd. | Programmable filter for removing selected user data from an MPEG-2 bit stream |
US6522694B1 (en) * | 1998-10-09 | 2003-02-18 | Matsushita Electric Industrial Co., Ltd. | Programmable filter for removing stuffing bits from an MPEG-2 bit-stream |
US20030112366A1 (en) * | 2001-11-21 | 2003-06-19 | General Instrument Corporation | Apparatus and methods for improving video quality delivered to a display device |
KR101590633B1 (en) * | 2008-11-11 | 2016-02-02 | 삼성전자주식회사 | / /apparatus for processing video encoding and decoding using video separation based on slice level and method therefor |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2787599B2 (en) * | 1989-11-06 | 1998-08-20 | 富士通株式会社 | Image signal coding control method |
DE3939136A1 (en) * | 1989-11-27 | 1991-05-29 | Daimler Benz Ag | METHOD FOR DECODING CODED IMAGE DATA |
GB8929152D0 (en) * | 1989-12-22 | 1990-02-28 | Gen Electric | A digital augmentation system for actv-ii |
US5164828A (en) * | 1990-02-26 | 1992-11-17 | Sony Corporation | Video signal transmission and method and apparatus for coding video signal used in this |
US5243428A (en) * | 1991-01-29 | 1993-09-07 | North American Philips Corporation | Method and apparatus for concealing errors in a digital television |
US5212549A (en) * | 1991-04-29 | 1993-05-18 | Rca Thomson Licensing Corporation | Error concealment apparatus for a compressed video signal processing system |
US5247363A (en) * | 1992-03-02 | 1993-09-21 | Rca Thomson Licensing Corporation | Error concealment apparatus for hdtv receivers |
US5287178A (en) * | 1992-07-06 | 1994-02-15 | General Electric Company | Reset control network for a video signal encoder |
-
1993
- 1993-01-22 JP JP2747193A patent/JP3341781B2/en not_active Expired - Lifetime
- 1993-12-14 US US08/167,415 patent/US6014171A/en not_active Expired - Lifetime
- 1993-12-14 KR KR1019930027697A patent/KR940017884A/en not_active Application Discontinuation
- 1993-12-15 DE DE69324661T patent/DE69324661T2/en not_active Expired - Lifetime
- 1993-12-15 DE DE69328698T patent/DE69328698T2/en not_active Expired - Lifetime
- 1993-12-15 EP EP19930120201 patent/EP0602621B1/en not_active Expired - Lifetime
- 1993-12-15 EP EP19980107161 patent/EP0862331B1/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
DE69324661T2 (en) | 1999-09-30 |
EP0862331A1 (en) | 1998-09-02 |
EP0602621A3 (en) | 1994-12-21 |
DE69328698T2 (en) | 2001-02-01 |
EP0602621B1 (en) | 1999-04-28 |
JPH06237452A (en) | 1994-08-23 |
EP0862331B1 (en) | 2000-05-17 |
DE69324661D1 (en) | 1999-06-02 |
DE69328698D1 (en) | 2000-06-21 |
US6014171A (en) | 2000-01-11 |
KR940017884A (en) | 1994-07-27 |
EP0602621A2 (en) | 1994-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3341781B2 (en) | Image decoding device and image encoding device | |
KR100188427B1 (en) | Variable length codeword decoder for digital communication system and decoding method thereof | |
JPH06252775A (en) | Decoder | |
JPH08111867A (en) | Coding method and decoding method for dynamic image | |
JPH1188881A (en) | Data structure for image transmission, image encoding method and image decoding method | |
JP3940672B2 (en) | Image processing apparatus and image processing method | |
US6222467B1 (en) | Bitstream decoding apparatus | |
JPH1065549A (en) | Device for determining length of variable length encoded data value, device for decoding data stream of variable length encoded data value, and method for determining length of variable length encoded data value | |
JP3247847B2 (en) | Apparatus and method for decoding an encoded bitstream, bitstream feeder and apparatus for variable length decoder | |
JP3918263B2 (en) | Compression encoding apparatus and encoding method | |
US6205250B1 (en) | System and method for minimizing clock cycles lost to overhead data in a video decoder | |
JPH06225275A (en) | System and device for coding picture and system and device for decoding picture | |
KR100565710B1 (en) | Sub Picture Decoder | |
JP3214142B2 (en) | Image signal encoding method and apparatus, decoding method and apparatus | |
JP3368164B2 (en) | Encoding / decoding system | |
KR100221196B1 (en) | Variable Length Coder for Compression and Restoration of Image Signals | |
JP3191925B2 (en) | Image transmission method | |
JP2001186522A (en) | Image-coding method and image-decoding method | |
JPH10164573A (en) | Image transmission method and image transmitter | |
JP2005117680A (en) | Image signal coding method and device, image signal transmission method and decoding method and device | |
JPH0818984A (en) | Information reproducing device | |
JPH04235437A (en) | Buffer memory controller | |
JP2000224592A (en) | Decoding device | |
JPH10308898A (en) | Video signal changeover device and its method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20020724 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080823 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090823 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100823 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110823 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120823 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130823 Year of fee payment: 11 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130823 Year of fee payment: 11 |