JP2913826B2 - Image data decoding circuit - Google Patents

Image data decoding circuit

Info

Publication number
JP2913826B2
JP2913826B2 JP31514790A JP31514790A JP2913826B2 JP 2913826 B2 JP2913826 B2 JP 2913826B2 JP 31514790 A JP31514790 A JP 31514790A JP 31514790 A JP31514790 A JP 31514790A JP 2913826 B2 JP2913826 B2 JP 2913826B2
Authority
JP
Japan
Prior art keywords
image data
frame
buffer memory
circuit
reception buffer
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 - Fee Related
Application number
JP31514790A
Other languages
Japanese (ja)
Other versions
JPH04185186A (en
Inventor
晴一 江本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP31514790A priority Critical patent/JP2913826B2/en
Publication of JPH04185186A publication Critical patent/JPH04185186A/en
Application granted granted Critical
Publication of JP2913826B2 publication Critical patent/JP2913826B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【産業上の利用分野】 この発明は可変長符号化された画像データの復号回路
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decoding circuit for image data that has been subjected to variable length coding.

【発明の概要】Summary of the Invention

この発明は、可変長符号化されたが画像データの復号
回路において、受信バッファメモリに蓄積されている画
像データが1フレーム分以上あるかどうかを検出し、1
フレーム分以上あるときには、その画像データをフレー
ム同期を取って読み出すと同時に、復号することによ
り、フレームバファメモリを省略できるようにしたもの
である。
According to the present invention, in a decoding circuit for image data that has been subjected to variable length coding, it is detected whether or not image data stored in a reception buffer memory is one frame or more.
When there is more than the number of frames, the frame buffer memory can be omitted by reading out the image data in synchronization with the frame and decoding the image data at the same time.

【従来の技術】[Prior art]

例えば、CCITT勧告JT−H320のテレビ電話会議システ
ムにおいては、その端末装置は第3図に示すように構成
される。 すなわち、100はその端末装置を示し、111はそのビデ
オ入出力機器、112はビデオコーデック、121はオーディ
オ入出力機器、122はオーディオコーディック、123は遅
延回路、131はテレマティック装置で、これらはマルチ
プレクサ/デマルチプレクサ141を通じて網インターフ
ェイス部142に接続される。 また、151はシステム制御部、152はエンド・エンド信
号制御部、153はエンド・網信号制御部で、これらによ
り各部が制御される。 さらに、網インターフェイス部142は、外部の網200に
接続されているとともに、網200には、MCU(多地点制御
ユニット)300が接続される。 そして、この場合、ビデオコーディック112には勧告J
T−H261が適用され、画像データの符号化方法として可
変符号化法(VLC)が用いられているので、画像データ
の各フレームのデータ長は一定ではない。 すなわち、第2図Aにおいて、Dvは各フレームの画像
データ示し、これは所定の符号化法で符号化されている
とともに、そのデータ長は画像の内容にしたがって異な
る長さとされている。また、これら画像データDvの先頭
にはPSCと呼ばれるコードが付加され、このPSCにより各
フレームの先頭を検出ないし識別できるようにされてい
る。 したがって、ビデオコーディック112において、受信
した画像データDvを復号するための復号回路は、例えば
第4図に示すように、構成されている。 すなわち、受信されたが画像データDが、受信クロッ
クRXCKにしたがって受信バッファメモリ41にいったん蓄
積されるとともに、順に読み出される。そして、この読
み出された画像データDvが、可変長符号復号回路42に供
給されるとともに、PSC検出回路43に供給されてPSCが検
出され、このPSCが検出されると、その検出出力により
復号回路42の復号が許可され、画像データDvはもとの固
定長の画像データに復号されていく。 そして、この場合、受信された画像データDvは、上述
のようにデータ長がまちまちであり、したがって、1フ
レーム分の画像データが復号されるまでの時間もまちま
ちであり、次段(図示せず)以降とのフレーム同期が取
れていない。 そこで、その復号された画像データが、フレームバッ
ファメモリ44に順に書き込まれるとともに、この書き込
まれた画像データが次段からのフレーム同期パルスに同
期して順に読み出され、次段に供給される。 そして、次段以降において、メモリ44から読み出され
た画像データに対して必要な処理が行われるとともに、
フレームメモリを通じてCRTディスプレイに供給されて
画像が表示される。
For example, in a video conference system according to CCITT Recommendation JT-H320, the terminal device is configured as shown in FIG. That is, 100 is the terminal device, 111 is the video input / output device, 112 is the video codec, 121 is the audio input / output device, 122 is the audio codec, 123 is the delay circuit, 131 is the telematic device, and these are multiplexers. / Demultiplexer 141 is connected to the network interface unit 142. Reference numeral 151 denotes a system control unit, 152 denotes an end / end signal control unit, and 153 denotes an end / network signal control unit. Further, the network interface unit 142 is connected to an external network 200, and an MCU (multipoint control unit) 300 is connected to the network 200. And, in this case, the video codec 112 has the recommendation J
Since the T-H261 is applied and the variable coding method (VLC) is used as the coding method of the image data, the data length of each frame of the image data is not constant. That is, in FIG. 2A, Dv indicates image data of each frame, which is encoded by a predetermined encoding method, and whose data length is different according to the content of the image. Further, a code called PSC is added to the head of the image data Dv so that the head of each frame can be detected or identified by the PSC. Therefore, in the video codec 112, a decoding circuit for decoding the received image data Dv is configured, for example, as shown in FIG. That is, the received image data D is temporarily stored in the reception buffer memory 41 according to the reception clock RXCK, and is sequentially read. Then, the read image data Dv is supplied to the variable-length code decoding circuit 42, and is also supplied to the PSC detection circuit 43 to detect the PSC. When the PSC is detected, the PSC is decoded by the detection output. The decoding of the circuit 42 is permitted, and the image data Dv is decoded into the original fixed-length image data. In this case, the received image data Dv has different data lengths as described above, and accordingly, the time until one frame of image data is decoded also varies, and the next stage (not shown) ) Frame synchronization with the following is not established. Therefore, the decoded image data is sequentially written to the frame buffer memory 44, and the written image data is sequentially read out in synchronization with the frame synchronization pulse from the next stage, and supplied to the next stage. Then, in the next and subsequent stages, while performing necessary processing on the image data read from the memory 44,
The image is supplied to the CRT display through the frame memory and displayed.

【発明が解決しようとする課題】[Problems to be solved by the invention]

ところが、上述の復号回路においては、次段とのフレ
ーム同期をとるためにフレームバッファメモリ44を必要
としてしまう。 この発明は、このフレームバッファメモリ44を省略し
ようとするものである。
However, in the above-described decoding circuit, the frame buffer memory 44 is required to achieve frame synchronization with the next stage. The present invention intends to omit the frame buffer memory 44.

【課題を解決するための手段】[Means for Solving the Problems]

このため、この発明においては、 可変長符号化されるとともに、1フレーム分ごとにそ
のフレームを示すコードの付加された画像データからも
との固定長の画像データを復号する復号回路において、 受信した上記可変長の画像データの書き込まれる受信
バッファメモリと、 この受信バッファメモリから読み出された上記画像デ
ータを上記もと固定長の画像データに復号する可変長符
号復号回路と、 上記受信バッファメモリに書き込まれる上記画像デー
タから上記フレームを示すコードを検出する第1の検出
回路と、 上記受信バッファメモリから読み出された上記画像デ
ータから上記フレームを示すコードを検出する第2の検
出回路と、 上記第1及び第2の検出回路の検出出力と、フレーム
同期信号とが供給されて上記受信バッファメモリの読み
出しを制御する受信バッファフルーム管理回路とを有
し、 この受信バッファフレーム管理回路は、上記第1及び
第2の検出回路の検出出力の一方をアップカウントする
とともに、他方をダウンカウントし、 このカウント結果が、上記受信バファフレームメモリ
に1フレーム分以上の上記画像データのあることを示し
ているとき、上記フレーム同期信号に同期して上記受信
バッファメモリからの上記画像データの読み出しを許可
する ようにした画像データの復号回路 とするものである。
For this reason, according to the present invention, in the decoding circuit which decodes the original fixed-length image data from the image data to which the code indicating the frame is added for each frame while being variable-length coded, A reception buffer memory in which the variable-length image data is written; a variable-length code decoding circuit that decodes the image data read from the reception buffer memory into the original fixed-length image data; A first detection circuit that detects a code indicating the frame from the written image data; a second detection circuit that detects a code indicating the frame from the image data read from the reception buffer memory; The detection output of the first and second detection circuits and the frame synchronization signal are supplied to the reception buffer memory. A reception buffer frame management circuit for controlling reading, wherein the reception buffer frame management circuit counts up one of the detection outputs of the first and second detection circuits and counts down the other, When the result indicates that there is one or more frames of the image data in the reception buffer frame memory, reading of the image data from the reception buffer memory is permitted in synchronization with the frame synchronization signal. This is a decoding circuit for the decoded image data.

【作用】[Action]

受信バッファメモリ11に1フレーム分以上の画像デー
タが蓄積されているとき、フレーム同期信号に同期して
その画像データが読み出され、この読み出された画像デ
ータが復号される。
When one frame or more of image data is stored in the reception buffer memory 11, the image data is read out in synchronization with the frame synchronization signal, and the read out image data is decoded.

【実施例】【Example】

第1図において、受信された画像データDvが、受信ク
ロックRXCKにしたがって受信バッファメモリ11に蓄積さ
れていくとともに、第1のPSC検出回路12に供給され、
第2図A、Bに示すように、受信された画像データDvの
PSCごとに、その検出パルスPbが取り出され、このパル
スPbが受信バッファフレーム管理回路13に供給される。 この管理回路13は、これに供給されたパルスPbをカウ
ントするとともに、後述する第2のPSC検出回路14から
のPSC検出パルスPeをカウントすることにより、バッフ
ァメモリ11に蓄積されている画像データDvのフレーム数
を管理するものである。 そして、バッファメモリ11に1フレーム分以上の画像
データが蓄積されているとき、第2図Cに示すように、
次段(図示せず)からフレーム同期パルスPfが管理回路
13に供給されるとフレーム同期パルスPfの時点に管理回
路13からバッファメモリ11に読み出し許可信号Prが供給
される。したがって、第2図Dに示すように、フレーム
同期パルスPfの時点から、バッファメモリ11から画像デ
ータDvの読み出しが開始される。 そして、この読み出された画像データDvが、可変長符
号復号回路15に供給されるとともに、管理回路13から復
号回路15に復号の開始を許可する信号が供給され、その
読み出された画像データDvはもとの固定長の画像データ
に復号され、この復号された画像データが次段へと供給
される。 また、このとき、バッファメモリ11から読み出された
画像データDvが、第2のPSC検出回路14に供給され、第
2図Eに示すように、読み出された画像データDvのPSC
ごとに、その検出パルスPeが取り出され、このパルスPe
が管理回路13に供給される。こうして、管理回路13にお
いては、パルスPb、Peをカウントすることによりバッフ
ァメモリ11に蓄積されている画像データDvのフレーム数
が管理される。 なお、復号回路15からの復号された画像データは、次
段以降の回路において所定の処理が行われるとき、フレ
ームメモリにより表示用の画像データとされてからCRT
ディスプレイに供給されて画像が表示される。 また、上述において、管理回路13は、例えば、パルス
Pbをアップカウントするとともに、パルスPeをダウンカ
ウントするカウンタと、そのカウント出力及び同期パル
スPfの論理を取る論理回路とにより構成できる。さら
に、受信した画像データDvが、もとの画像データをブロ
ック化したのち可変長符号化した画像データのときに
は、復号回路からの画像データはブロック化されている
ので、これをもとの画像データに復号すればよい。
In FIG. 1, received image data Dv is accumulated in a reception buffer memory 11 according to a reception clock RXCK, and is supplied to a first PSC detection circuit 12,
As shown in FIGS. 2A and 2B, the received image data Dv
The detection pulse Pb is extracted for each PSC, and the pulse Pb is supplied to the reception buffer frame management circuit 13. The management circuit 13 counts the pulse Pb supplied thereto and counts a PSC detection pulse Pe from a second PSC detection circuit 14 to be described later, so that the image data Dv stored in the buffer memory 11 is counted. To manage the number of frames. Then, when one frame or more of image data is accumulated in the buffer memory 11, as shown in FIG.
The frame synchronization pulse Pf is sent from the next stage (not shown) to the management circuit.
When supplied to the buffer 13, the read permission signal Pr is supplied from the management circuit 13 to the buffer memory 11 at the time of the frame synchronization pulse Pf. Therefore, as shown in FIG. 2D, reading of the image data Dv from the buffer memory 11 is started from the point of the frame synchronization pulse Pf. Then, the read image data Dv is supplied to the variable-length code decoding circuit 15, and a signal for permitting the start of decoding is supplied from the management circuit 13 to the decoding circuit 15, and the read image data Dv Dv is decoded into the original fixed-length image data, and the decoded image data is supplied to the next stage. At this time, the image data Dv read from the buffer memory 11 is supplied to the second PSC detection circuit 14, and the PSC of the read image data Dv is supplied as shown in FIG.
Each time, the detection pulse Pe is taken out, and this pulse Pe
Is supplied to the management circuit 13. Thus, the management circuit 13 manages the number of frames of the image data Dv stored in the buffer memory 11 by counting the pulses Pb and Pe. Note that the decoded image data from the decoding circuit 15 is converted into display image data by the frame memory when a predetermined process is performed in the subsequent circuits, and then the CRT is processed.
The image is supplied to the display and displayed. Further, in the above description, the management circuit 13
It can be constituted by a counter that counts up Pb and counts down the pulse Pe, and a logic circuit that takes the logic of the count output and the synchronization pulse Pf. Furthermore, when the received image data Dv is image data obtained by blocking the original image data and then performing variable-length coding, the image data from the decoding circuit is blocked, so this is used as the original image data. Should be decoded.

【発明の効果】【The invention's effect】

こうして、この発明によれば、可変長符号化された画
像データDvの復号を行うことができるが、この場合、特
にこの発明によれば、受信バッファメモリ11の前段と後
段とにPSC検出回路12、14を設け、その検出出力Pb、Pe
を管理回路13により処理することにより、バッファメモ
リ11に1フレーム分以上の画像データDvが蓄積されてい
るときに、その画像データDvを次段とのフレーム同期を
取って読み出して復号回路15において復号しているの
で、第4図におけるようなフレームバファメモリ44を必
要としない。
Thus, according to the present invention, decoding of the variable-length encoded image data Dv can be performed. In this case, in particular, according to the present invention, the PSC detection circuit 12 is provided at the front and rear stages of the reception buffer memory 11. , 14 and their detection outputs Pb, Pe
Is processed by the management circuit 13 so that when one frame or more of the image data Dv is accumulated in the buffer memory 11, the image data Dv is read out in frame synchronization with the next stage and read out by the decoding circuit 15. Since the decoding is performed, the frame buffer memory 44 as shown in FIG. 4 is not required.

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

第1図はこの発明の一例を示す系統図、第2図はその信
号のタイミングを示す図、第3図及び第4図はこの発明
を説明するための系統図である。 11;受信バッファメモリ 12;第1のPSC検出回路 13;受信バッファフレーム管理回路 14;第2のPSC検出回路 15;可変長符号復号回路
FIG. 1 is a system diagram showing one example of the present invention, FIG. 2 is a diagram showing the timing of the signals, and FIGS. 3 and 4 are system diagrams for explaining the present invention. 11; reception buffer memory 12; first PSC detection circuit 13; reception buffer frame management circuit 14; second PSC detection circuit 15; variable-length code decoding circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】可変長符号化されるとともに、1フレーム
分ごとにそのフレームを示すコードの付加された画像デ
ータからもとの固定長の画像データを復号する復号回路
において、 受信した上記可変長の画像データの書き込まれる受信バ
ッファメモリと、 この受信バッファメモリから読み出された上記画像デー
タを上記もと固定長の画像データに復号する可変長符号
復号回路と、 上記受信バッファメモリに書き込まれる上記画像データ
から上記フレームを示すコードを検出する第1の検出回
路と、 上記受信バッファメモリから読み出された上記画像デー
タから上記フレームを示すコードを検出する第2の検出
回路と、 上記第1及び第2の検出回路の検出出力と、フレーム同
期信号とが供給されて上記受信バッファメモリの読み出
しを制御する受信バッファフレーム管理回路とを有し、 この受信のバッファフレーム管理回路は、上記第1及び
第2の検出回路の検出出力の一方をアップカウントする
とともに、他方をダウンカウントし、 このカウント結果が、上記受信バッファフレームメモリ
に1フレーム分以上の上記画像データのあることを示し
ているとき、上記フレーム同期信号に同期して上記受信
バッファメモリからの上記画像データの読み出しを許可
する ようにした画像データの復号回路。
1. A decoding circuit for decoding original fixed-length image data from image data to which a code indicating a frame is added for each frame while being variable-length coded, A receiving buffer memory in which the image data of the above is written; a variable length code decoding circuit for decoding the image data read from the receiving buffer memory into the original fixed length image data; A first detection circuit for detecting a code indicating the frame from the image data; a second detection circuit for detecting a code indicating the frame from the image data read from the reception buffer memory; The detection output of the second detection circuit and the frame synchronization signal are supplied to control reading of the reception buffer memory. A reception buffer frame management circuit, wherein the reception buffer frame management circuit counts up one of the detection outputs of the first and second detection circuits and counts down the other, and the count result is: Image data which permits reading of the image data from the reception buffer memory in synchronization with the frame synchronization signal when the reception buffer frame memory indicates that there is one or more frames of the image data. Decoding circuit.
JP31514790A 1990-11-20 1990-11-20 Image data decoding circuit Expired - Fee Related JP2913826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31514790A JP2913826B2 (en) 1990-11-20 1990-11-20 Image data decoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31514790A JP2913826B2 (en) 1990-11-20 1990-11-20 Image data decoding circuit

Publications (2)

Publication Number Publication Date
JPH04185186A JPH04185186A (en) 1992-07-02
JP2913826B2 true JP2913826B2 (en) 1999-06-28

Family

ID=18061981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31514790A Expired - Fee Related JP2913826B2 (en) 1990-11-20 1990-11-20 Image data decoding circuit

Country Status (1)

Country Link
JP (1) JP2913826B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100480699B1 (en) * 2002-04-10 2005-04-06 엘지전자 주식회사 Apparatus for variable length decoding of digital camcorder format image

Also Published As

Publication number Publication date
JPH04185186A (en) 1992-07-02

Similar Documents

Publication Publication Date Title
KR960006311A (en) Synchronous Restoration Method and Device for Variable Length Decoding Device
US7460182B2 (en) Circuit for processing video signal including information such as caption
JP2913826B2 (en) Image data decoding circuit
US4974225A (en) Data receiver interface circuit
JPH07254917A (en) Data communication method and equipment
JP3065276B2 (en) Data separation circuit and error recovery method and method in data separation circuit
JPH0227887A (en) Picture transmitter
JPS6222303B2 (en)
JPH0253989B2 (en)
JP2950204B2 (en) Synchronous signal detection circuit and detection method thereof
KR950004220B1 (en) Buffer control circuit of length-variable codec
EP0164978A1 (en) Vertical synchronisation pulse separator
KR100245599B1 (en) Head detector in hdtv
KR0176345B1 (en) Automatic synchronous apparatus of video signals and voice signals in video conferencing system
JP3167914B2 (en) Image decoding device
JP2893495B2 (en) Frame synchronization position shift circuit
KR0164791B1 (en) Circuit for automatically restoring and identifying the abnormal state of a video encoder
JPH05183807A (en) Video signal transmission device
JP3309601B2 (en) Image encoding device and image decoding device
KR0162344B1 (en) Method and apparatus for reproducing the bitstream of mpeg-2 system
JPH02244976A (en) Underflow preventing circuit for buffer memory
JPH0832573A (en) Frame synchronization protection circuit
US5793426A (en) Video compression enhancement
JPS58111477A (en) Main scanning shrinking system
JPH06125536A (en) Image decoder

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees