KR0178209B1 - Apparatus for detecting startcode in image decoding system - Google Patents

Apparatus for detecting startcode in image decoding system Download PDF

Info

Publication number
KR0178209B1
KR0178209B1 KR1019950032865A KR19950032865A KR0178209B1 KR 0178209 B1 KR0178209 B1 KR 0178209B1 KR 1019950032865 A KR1019950032865 A KR 1019950032865A KR 19950032865 A KR19950032865 A KR 19950032865A KR 0178209 B1 KR0178209 B1 KR 0178209B1
Authority
KR
South Korea
Prior art keywords
signal
stcd
start code
snd
code
Prior art date
Application number
KR1019950032865A
Other languages
Korean (ko)
Other versions
KR970019649A (en
Inventor
손영석
Original Assignee
배순훈
대우전자주식회사
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 배순훈, 대우전자주식회사 filed Critical 배순훈
Priority to KR1019950032865A priority Critical patent/KR0178209B1/en
Publication of KR970019649A publication Critical patent/KR970019649A/en
Application granted granted Critical
Publication of KR0178209B1 publication Critical patent/KR0178209B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 간단한 하드웨어를 가지고 비디오 신호와 함께 제공되는 부가정보인 복수의 스타트 코드를 고속으로 검출할 수 있도록 한 복호화 시스템에서의 스타트 코드 검출장치에 관한 것으로, 이를 위하여 본 발명은, 입력측 버퍼로 부터의 비트 데이터를 입력으로 하여 복수의 스타트 코드에 대한 16 비트의 stcd_fst 신호를 발생함과 동시에 그 길이정보를 발생하여 복호화 블록에 제공하고, 소정의 클럭주기로 stcd_fst 신호를 래치한 stcd_fst1 신호와 버퍼로 부터 제공되는 비트 데이터에 의거하여 stcd_snd 신호를 발생함과 동시에 그 길이정보를 발생하여 복호화 블록에 제공하는 PLA 테이블; 외부로 부터의 클럭신호에 의거하여 PLA 테이블에서 발생되는 stcd_fst 신호를 래치한 다음 래치된 stcd_fst1 신호를 PLA 테이블에 제공하는 래치; 및 PLA 테이블로부터 제공되는 stcd_snd 신호에 의거하여 입력측의 버퍼로 부터 제공되는 비트 데이터의 상위 8비트의 데이터를 받아서 복수의 스타트 코드를 각각 생성하여 복호화 블록에 제공하는 스타트 코드 발생 블록을 포함한다.The present invention relates to a start code detection apparatus in a decoding system capable of detecting a plurality of start codes, which are additional information provided with a video signal, at high speed with simple hardware. 16 bit stcd_fst signals for a plurality of start codes are generated as the input of the bit data, and the length information is generated and provided to the decoding block. A PLA table for generating a stcd_snd signal based on the provided bit data and generating the length information and providing the length information to a decoding block; A latch for latching the stcd_fst signal generated in the PLA table based on a clock signal from the outside and then providing the latched stcd_fst1 signal to the PLA table; And a start code generation block which receives data of the upper 8 bits of the bit data provided from the input side buffer based on the stcd_snd signal provided from the PLA table and generates a plurality of start codes, respectively, and provides them to the decoding block.

Description

복호화 시스템에서의 스타트 코드 검출장치Start code detection device in decoding system

제1도는 본 발명의 바람직한 실시예에 따른 복호화 시스템에서의 스타트 코드 검출장치에 대한 블록구성도.1 is a block diagram of an apparatus for detecting a start code in a decoding system according to a preferred embodiment of the present invention.

제2도는 본 발명에 따라 검출되는 각종 스타트 코드의 코드표를 도시한 도면.2 is a code table of various start codes detected in accordance with the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

100 : 버퍼 200 : 스타트 코드 검출 블럭100: buffer 200: start code detection block

210 : PLA 테이블 220 : 래치210: PLA table 220: latch

230 : 스타트 코드 발생 블록 300 : 복호화 블럭230: start code generation block 300: decoding block

본 발명은 부호화된 영상신호와 전송채널을 통해 비트 레이트 형태로 함께 전송되는 스타트 코드를 검출하는 장치에 관한 것으로, 더욱 상세하게는 복호화 시스템에서 MPEG 2 비디오 비트 스트림을 복호화할 때 신텍스(syntax)상의 바이트 배열(align) 되어 있는 스타트 코드를 검출하는 데 적합한 복호화 시스템에서의 스타트 코드 검출장치에 관한 것이다.The present invention relates to an apparatus for detecting a coded video signal and a start code transmitted together in the form of a bit rate through a transmission channel. More particularly, the present invention relates to syntax information when decoding an MPEG 2 video bit stream in a decoding system. A start code detection device in a decoding system suitable for detecting start codes that are byte aligned.

이 기술분야에 잘 알려진 바와 같이, 이산화된 영상신호의 전송은 아날로그 신호보다 좋은 화질을 유지할 수 있다. 일련의 이미지 프레임으로 구성된 영상신호가 디지탈 형태로 표현될 때, 특히 고품질 텔레비젼(HDTV)의 경우 상당한 양의 데이터가 전송되어야 한다. 그러나, 종래의 전송 채널의 사용가능한 주파수 영역이 제한되어 있으므로, 많은 양의 디지탈 데이터를 전송하기 위해서는 전송하고자 하는 데이터를 압축하여 그 전송량을 줄일 필요가 있다. 또한, 압축되는 영상신호와 오디오신호는 그들 신호의 특성상 서로 다른 부호화 기법을 통해 각각 부호화되는데, 이와같은 부호화에 있어서 오디오신호에 비해 보다 많은 양의 디지탈 데이터가 발생하는 영상신호의 압축 기법은 특히 중요한 부분을 차지한다고 볼 수 있다.As is well known in the art, the transmission of discrete video signals can maintain better image quality than analog signals. When a video signal composed of a series of image frames is represented in a digital form, a considerable amount of data must be transmitted, particularly in the case of high-definition television (HDTV). However, since the usable frequency range of the conventional transmission channel is limited, in order to transmit a large amount of digital data, it is necessary to compress the data to be transmitted and reduce its transmission amount. In addition, the compressed video signal and the audio signal are encoded through different coding techniques due to the characteristics of the signals. In this encoding, a video signal compression technique in which a larger amount of digital data is generated than an audio signal is particularly important. It can be said to take part.

한편, 영상신호를 부호화하는데 주로 이용되는 다양한 압축기법으로서는, 확률적 부호화 기법과 시간적, 공간적 압축기법을 결합한 하이브리드 부호화 기법이 가장 효율적인 것으로 알려져 있다.On the other hand, as the various compression methods mainly used for encoding the video signal, the hybrid coding method combining the stochastic coding method and the temporal and spatial compression method is known to be the most efficient.

상기한 효율적인 부호화 기법중의 하나인 대부분의 하이브리드 부호화 기법은 움직임 보상 DPCM(차분 펄스 부호 변조), 2차원 DCT(이산 코사인 변환), DCT 계수의 양자화, VLC(가변장 부호화) 등을 이용한다. 여기에서, 움직임보상 DPCM은 현재 프레임과 이전 프레임간의 물체의 움직임을 결정하고, 물체의 움직임에 따라 현재 프레임을 예측하여 현재 프레임과 예측치간의 차이를 나타내는 차분신호를 만들어내는 방법이다. 이러한 방법은, 예를 들어 Staffan Ericsson의 Fixed and Adaptive Predic tors for Hybrid Predictive/Transform Coding, IEEE Transactions on Communi cation, COM-33, NO. 12 (1985년, 12월), 또는 Ninomiy와 Ohtsuka의 A motion Compensated Interframe Coding Scheme for Television Pictures, IEEE Tran sactions on Communication, COM-30, NO.1 (1982년, 1월)에 기재되어 있다.Most of hybrid coding schemes, which are one of the efficient coding schemes described above, use motion compensated DPCM (differential pulse code modulation), two-dimensional discrete cosine transform (DCT), quantization of DCT coefficients, VLC (variable modulation coding), and the like. Here, the motion compensation DPCM determines a motion of the object between the current frame and the previous frame, and predicts the current frame according to the motion of the object to generate a differential signal representing the difference between the current frame and the prediction value. Such methods are described, for example, in Staffan Ericsson's Fixed and Adaptive Predic tors for Hybrid Predictive / Transform Coding, IEEE Transactions on Communi- cation, COM-33, NO. 12 (Dec. 1985), or A motion Compensated Interframe Coding Scheme for Television Pictures, IEEE Tran sactions on Communication, COM-30, NO.1 (January, 1982) by Ninomiy and Ohtsuka.

보다 상세하게, 움직임보상 DPCM에서는 현재 프레임과 이전 프레임간에 추정된 물체의 움직임에 따라, 현재 프레임을 이전 프레임으로 부터 예측하는 것이다. 여기에서, 추정된 움직임은 이전 프레임과 현재 프레임간의 변위를 나타내는 2차원 움직임벡터로 나타낼 수 있다.More specifically, the motion compensation DPCM predicts the current frame from the previous frame according to the motion of the object estimated between the current frame and the previous frame. Here, the estimated motion may be represented by a two-dimensional motion vector representing the displacement between the previous frame and the current frame.

통상적으로, 물체의 화소 변위를 추정하는 데에는 여러 가지 접근방법이 있으며, 이들은 일반적으로 두개의 타입으로 분류되는데 그중 하나는 블록단위의 움직임 추정방법이고 다른 하나는 화소단위의 움직임 추정방법이며, 블록단위 움직임 추정에서는 현재 프레임의 블록을 이전 프레임의 블록들과 비교하여 최적 정합블럭을 결정한 다음, 이로 부터, 전송되는 현재 프레임에 대해 블록 전체에 대한 프레임간 변위 벡터(프레임간에 블록이 이동한 정도)가 추정된다.In general, there are various approaches to estimating the pixel displacement of an object, and they are generally classified into two types, one of which is a motion estimation method in block units and the other is a motion estimation method in pixel units. In motion estimation, the block of the current frame is compared with the blocks of the previous frame to determine an optimal matching block. From this, the interframe displacement vector (how much the block has moved between frames) with respect to the entire frame is transmitted. It is estimated.

따라서, 송신측에서는 영상신호를 전송할 때 상술한 바와같은 부호화 기법을 통해 블록단위 또는 화소단위로 영상신호가 갖는 공간적, 시간적인 상관성을 고려해 압축 부호화하여 출력측의 버퍼에 차례로 저장하게 되며, 이와같이 저장된 부호화된 영상데이타는 채널의 요구에 부응하여 소망하는 비트 레이트로 전송채널을 통해 수신측의 복호화 시스템에 전송될 것이다.Therefore, when transmitting a video signal, the transmitting side compresses and encodes the image signal in the buffer of the output side in order by taking into account the spatial and temporal correlation of the image signal in block units or pixel units through the above-described encoding technique. The image data will be transmitted to the decoding system at the receiving side via the transmission channel at a desired bit rate in response to the channel request.

보다 상세하게, 송신측의 부호화 시스템에서는 이산 코사인 변환(DCT) 등의 변환부호화를 이용하여 영상신호의 공간적인 중복성을 제거하고, 또한 움직임 추정, 예측 등을 통한 차분부호화를 이용하여 영상신호의 시간적인 중복성을 제거함으로서, 영상신호를 효율적으로 압축하게 된다.More specifically, the encoding system on the transmitting side removes spatial redundancy of the video signal by using transform coding such as discrete cosine transform (DCT), and further uses temporal encoding of the video signal by using differential encoding through motion estimation and prediction. By eliminating redundant redundancy, the video signal can be efficiently compressed.

따라서, 상술한 바와같이 송신측의 부호화 시스템에서 부호화딘 영상신호는 다른 부호화 경로를 통해 부호화된 음성신호 등(이하 복합 비디오 신호라 함)과 함께 채널 부호화된 다음 전송채널을 경유하여 수신측의 복호화 시스템으로 전송된다. 따라서, 수신측의 복호화 시스템에서는 모니터로의 디스플레이를 위해 상술한 바와같은 송신측 부호화 시스템에서의 역과정(가변장 복호화, 역양자화, IDCT 등)을 통해 부호화된 영상신호를 이전의 원영상신호로 복원하게 될 것이다.Therefore, as described above, the video signal encoded in the encoding system at the transmitting side is channel-coded together with an audio signal or the like (hereinafter referred to as a composite video signal) encoded through another encoding path and then decoded at the receiving side via the transmission channel. Is sent to the system. Therefore, in the decoding system on the receiving side, the image signal encoded through the reverse process (variable decoding, inverse quantization, IDCT, etc.) in the transmitting encoding system as described above for display on the monitor is converted into the previous original image signal. Will be restored.

한편, 전송채널을 통해 수신되는 부호화된 복합 비디오 신호에는 각종 부가정보, 예를들면, 제2도에 도시된 바와같이, 픽춰 스타트 코드, 슬라이스 스타트 코드, 사용자 데이터 스타트 코드, 시이퀀스 헤더 코드, 시이퀀스 에러 코드, 확장(extension) 스타트 코드, 시이퀀스 종료 코드, 그룹 스타트 코드로 된 스타트 코드들, 가 함께 전송되는데, 이러한 부가정보는 수신측 복호화 시스템에서 압축 부호화된 영상신호를 복원할 때 이용된다. 따라서, 수신측의 복호화 시스템에서는 이와같은 부가정보를 효과적으로 검출할 수 있는 부가정보 검출수단을 구비하고 있다.On the other hand, the encoded composite video signal received through the transport channel has a variety of additional information, for example, a picture start code, a slice start code, a user data start code, a sequence header code, a sequence as shown in FIG. A sequence error code, an extension start code, a sequence end code, and start codes of a group start code are transmitted together, and this additional information is used when reconstructing a compression coded video signal in a receiving decoding system. . Therefore, the decoding system on the receiving side is provided with additional information detecting means capable of effectively detecting such additional information.

상술한 바와같이 비디오 신호와 함께 전송되는 부가정보인 스타트 코드는, 제2도에 도시된 바로 부터 알 수 있는 바와같이, 모두 32 비트로 이루어져 있으며, 바이트 배열된 비트들은 최대 7 비트를 추가할 수가 있다. 따라서, 수신측의 복호화 시스템에 구비된 스타트 코드 검출장치에서는 최소 32 비트에서 최고 39 비트까지를 검출하여야 한다.As described above, the start code, which is additional information transmitted along with the video signal, is all 32 bits as shown in FIG. 2, and the byte-arranged bits can add up to 7 bits. . Therefore, the start code detection device provided in the decoding system on the receiving side should detect at least 32 bits and up to 39 bits.

통상적으로, 바이트 배열되어 있는 스타트 코드를 검출하고자 하는 경우, 예를들면 하나의 기능 블록에서 바이트 배열되어 있는 비트수를 카운트하고 있는 동안에 다른 하나의 기능 블록에서는 각 스타트 코드를 검출하도록 하고 있다. 이 경우, 바이트 배열된 비트수를 미리 알고 있지 않기 때문에 추가되어 있는 '0'비트들과 스타트 코드의 '0' 비트들을 알아낸다는 것이 결코 쉬운 일이 아니다.In general, when a start code arranged in a byte is to be detected, for example, each start code is detected in another function block while the number of bits arranged in the byte is counted in one function block. In this case, it is not easy to find out the added '0' bits and the '0' bits of the start code because the number of bytes in the byte array is not known in advance.

따라서, 종래에는 상기한 점들을 고려하여 스타트 코드를 검출하기 위한 검출장치의 구현시에 많은 수의 비교기 등(예를들면, 10개의 이상의 비교기)을 채용하여 한 번에 32 비트 단위로 데이터를 처리하도록 하고 있다. 그러나, 이와같은 종래방법의 경우 하드웨어를 이루는 로직이 불필요하게 비대해질 뿐만 아니라 많은 량의 비교연산 과정을 거쳐야만 하므로 데이터의 처리속도가 느려진다는 문제가 있다.Therefore, conventionally, a large number of comparators and the like (for example, 10 or more comparators) are employed in the implementation of a detection apparatus for detecting a start code in consideration of the above points, thereby processing data in 32-bit units at a time. I'm trying to. However, such a conventional method has a problem that the logic of hardware not only needs to be unnecessarily enlarged but also has to undergo a large amount of comparative operations, thereby slowing down the processing speed of data.

따라서, 본 발명의 목적은 간단한 하드웨어를 가지고 비디오 신호와 함께 제공되는 부가정보인 복수의 스타트 코드를 고속으로 검출할 수 있는 복호화 시스템에서의 스타트 코드 검출장치를 제공하는데 있다.Accordingly, an object of the present invention is to provide a start code detection apparatus in a decoding system capable of detecting a plurality of start codes, which are additional information provided with a video signal, with simple hardware at high speed.

상기 목적을 달성하기 위하여 본 발명은, 전송채널을 통해 수신된 입력측 버퍼로 부터의 압축 부호화된 비트 스트림의 영상 데이터를 복호화 블록을 통해 복호화하여 부호화되기 이전의 원신호로 복원할 때 필요로 하는 복수의 스타트 코드를 검출하는 복호화 시스템에서의 스타트 코드 검출장치에 있어서, 상기 입력측 버퍼로 부터의 비트 데이터를 입력으로 하여 상기 복수의 스타트 코드에 대한 16 비트의 stcd_fst 신호를 발생함과 동시에 그 길이정보를 발생하여 상기 복호화 블록에 제공하고, 소정의 클럭주기로 상기 stcd_fst 신호를 래치한 stcd_fst1 신호와 상기 버퍼로 부터 제공되는 비트 데이터에 의거하여 stcd_snd 신호를 발생함과 동시에 그 길이정보를 발생하여 상기 복호화 블록에 제공하는 PLA 테이블; 외부로 부터의 클럭신호에 의거하여 상기 PLA 테이블에서 발생되는 상기 stcd_fst 신호를 래치한 다음 상기 래치된 stcd_fst1 신호를 상기 PLA 테이블에 제공하는 래치; 및 상기 PLA 테이블로부터 제공되는 stcd_snd 신호에 의거하여 상기 입력측의 버퍼로 부터 제공되는 비트 데이터의 상위 8비트의 데이터를 받아서 상기 복수의 스타트 코드를 각각 생성하여 상기 복호화 블록에 제공하는 스타트 코드 발생 블록으로 이루어진 복호화 시스템에서의 스타트 코드 검출장치를 제공한다.In order to achieve the above object, the present invention provides a plurality of pieces of data needed to decode video data of a compression-encoded bit stream received from an input buffer received through a transport channel through a decoding block to restore original signals before encoding. A start code detection apparatus in a decoding system for detecting a start code of the first code, comprising: inputting bit data from the input side buffer to generate a 16-bit stcd_fst signal for the plurality of start codes, A stcd_snd signal is generated based on the stcd_fst1 signal which latches the stcd_fst signal at a predetermined clock period and the bit data provided from the buffer, and at the same time, the length information is generated to the decoding block. Providing PLA table; A latch configured to latch the stcd_fst signal generated in the PLA table based on a clock signal from an external source and then provide the latched stcd_fst1 signal to the PLA table; And a start code generation block which receives the data of the upper 8 bits of the bit data provided from the input side buffer based on the stcd_snd signal provided from the PLA table, generates the plurality of start codes, and provides the plurality of start codes to the decoding block. The present invention provides a start code detection device in a decoding system.

본 발명의 상기 및 기타 목적과 여러 가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명의 바람직한 실시예에 따른 복호화 시스템에서의 스타트 코드 검출장치에 대한 블록구성도를 나타낸다. 동도면에 도시된 바와같이, 본 발명의 스타트 코드 발생장치는 PLA 테이블(210)을 이용하여 바이트 배열된 스타트 코드들을 검출한다는 데 그 주된 기술적인 특징으로 갖는 것으로, 이러한 것에 의하여 본 발명이 목적으로 하는 하드웨어의 간소화 및 고속 데이터 처리가 가능하게 된다.1 is a block diagram of an apparatus for detecting a start code in a decoding system according to a preferred embodiment of the present invention. As shown in the figure, the start code generator of the present invention has the main technical feature of detecting start codes arranged in bytes using the PLA table 210, and as a result the present invention provides This enables hardware simplification and high-speed data processing.

제1도를 참조하면, 입력측의 버퍼(100)는 도시 생략된 전송채널을 통해 수신되는 압축 부호화된 영상 데이터를 일시적으로 저장하는 것으로, 이러한 버퍼(100)에 저장되는 부호화된 영상 데이터는 본 발명에 따라 구성되는 스타트 코드 검출 블록(200)에 제공됨과 동시에 후술하는 복호화 블록(300)에 제공된다.Referring to FIG. 1, the input buffer 100 temporarily stores compressed coded image data received through a transport channel (not shown), and the encoded image data stored in the buffer 100 may include the present invention. It is provided to the start code detection block 200 configured according to the above, and is provided to the decoding block 300 to be described later.

동도면에 있어서, 복호화 블록(300)은, 이 기술분야에 이미 잘 알려진 바와같이, 입력측의 버퍼(100)로 부터 제공되는 압축 부호화된 영상신호를 본 발명에 따른 스타트 코드 검출 블록(200)으로 부터 제공되는 여러 종류의 스타트 코드(stcd_snd) 신호와 PLA 테이블(210)로 부터 제공되는 길이정보들(16 비트의 stcd_fst 및 8-15 비트의 stcd_snd)을 참조하여 부호화되기 이전의 원신호로 복원하는 것으로, 여기에서 복원된 복호 영상은 모니터로의 디스플레이를 위해 도시 생략된 디스플레이측으로 제공될 것이다.In the figure, the decoding block 300, as is well known in the art, converts the compressed coded video signal provided from the buffer 100 on the input side into the start code detection block 200 according to the present invention. It recovers the original signal before encoding by referring to various kinds of start code (stcd_snd) signals provided from and the length information (16 bits stcd_fst and 8-15 bits stcd_snd) provided from the PLA table 210. The decoded image reconstructed here will be provided to the display side not shown for display on the monitor.

한편, 제1도에 도시된 바와같이, 본 발명에 따른 스타트 코드 검출 블록(200)는 프로그래머블 로직 어레이(이하 PLA 라 약칭함) 테이블(210), 래치(220) 및 스타트 코드 발생 블록(230)을 포함한다.On the other hand, as shown in Figure 1, the start code detection block 200 according to the present invention is a programmable logic array (hereinafter abbreviated as PLA) table 210, latch 220 and start code generation block 230 It includes.

먼저, PLA 테이블(210)은, 제2도의 좌측에 도시된 바와같이, 입력측의 버퍼(100)로 부터 제공되는 비트 데이터의 16 비트가 모드 '0'인 경우를 검출하여 stcd_fst 신호를 발생하여 래치(220)에 제공함과 동시에 복호화 블록(300)에 stcd_fst 신호의 길이정보값 16을 출력한다. 여기에서 복호화 블록(300)에 제공되는 stcd_fst 신호의 길이정보값은 비트 데이터를 검출한 만큼 밀어주기 위한 제어신호로서 사용될 것이다.First, as shown on the left side of FIG. 2, the PLA table 210 detects a case where 16 bits of bit data provided from the buffer 100 on the input side is a mode '0' and generates a stcd_fst signal to latch. At the same time, the length information value 16 of the stcd_fst signal is output to the decoding block 300. Here, the length information value of the stcd_fst signal provided to the decoding block 300 will be used as a control signal for pushing the bit data as much as it detects the bit data.

그런다음, PLA 테이블(210)에서는 외부로 부터 제공되는 클럭(CLK)신호의 다음 클럭에서 래치한 래치(220)로 부터의 stcd_fst_1 신호와 입력측의 버퍼(100)로 부터 제공되는 비트 데이터에 의해 소정비트의 stcd_snd 신호(제2도에 도시된 바와같이, 8-15 비트의 신호)를 검출하며, 이와같이 검출된 8-15 비트의 stcd_snd 신호는 스타트 코드 발생 블록(230)으로 제공된다. 이때, PLA 테이블(210)에서는 8-15 비트의 stcd_snd 길이정보값을 복호화 블록(300)으로 출력한다. 이때, PLA 테이블(210)에서는 stcd_snd 신호의 검출시에 래치(220)로 부터 제공되는 래치된 stcd_fst1신호를 한 클럭주기로 사용하는 것이 아니라 반 클럭주기로 사용하도록 할 수도 있으며, 이 경우 보다 빠른 고속의 스타트 코드 검출이 가능하게 될 것이다.Then, in the PLA table 210, predetermined by the stcd_fst_1 signal from the latch 220 latched at the next clock of the clock CLK signal provided from the outside and the bit data provided from the buffer 100 at the input side. A bit of the stcd_snd signal (a signal of 8-15 bits, as shown in FIG. 2) is detected, and the 8-15 bit stcd_snd signal thus detected is provided to the start code generation block 230. At this time, the PLA table 210 outputs the stcd_snd length information value of 8-15 bits to the decoding block 300. At this time, in the PLA table 210, the latched stcd_fst1 signal provided from the latch 220 may not be used for one clock cycle but for a half clock cycle when the stcd_snd signal is detected. Code detection will be possible.

한편, 상기한 바와같이 복호화 블록(300)에 제공되는 stcd_snd 신호의 길이정보값은 비트 데이터를 검출한 만큼 밀어주기 위한 제어신호로서 사용된다. 따라서, 복호화를 위한 연속적인 데이터의 처리가 이루어지게 될 것이다.Meanwhile, as described above, the length information value of the stcd_snd signal provided to the decoding block 300 is used as a control signal for pushing the bit data as much as it detects the bit data. Therefore, processing of continuous data for decoding will be made.

다음에, 스타트 코드 발생 블록(230)에서는 상기한 PLA 테이블(210)로 부터 제공되는 stcd_snd 신호에 의거하여 입력측의 버퍼(100)로 부터 제공되는 비트 데이터의 상위 8 비트의 데이터를 받아서 각종 스타트 코드, 즉 제2도의 우측에 도시된 바와같이, 픽춰 스타트 코드, 슬라이스 스타트 코드, 사용자 데이터 스타트 코드, 시이퀀스 헤더 코드, 시이퀀스 에러 코드, 확장(extension) 스타트 코드, 시이퀀스 종료 코드, 그룹 스타트 코드를 각각 생성하며, 이와같이 생성된 스타트 코드들은 압축 부호화된 영상신호를 원신호로 복원하는 복호화 블록(300)으로 제공된다.Next, the start code generation block 230 receives data of the upper 8 bits of the bit data provided from the buffer 100 on the input side based on the stcd_snd signal provided from the PLA table 210 and receives various start codes. That is, as shown on the right side of FIG. 2, a picture start code, a slice start code, a user data start code, a sequence header code, a sequence error code, an extension start code, a sequence end code, a group start code Are generated, and the generated start codes are provided to the decoding block 300 which restores the compressed coded video signal to the original signal.

보다 상세하게, 제2도로 부터 알 수 있는 바와같이, PLA 테이블(210)에서 발생되어 스타트 코드 발생 블록(230)으로 제공되는 stcd_snd 신호가 15비트의 '0000 0000 0000 001' 이면 스타트 코드 발생 블록(230)에서는 '0000 0000' 으로 된 픽춰 스타트 코드를 생성하여 복호화 블록(300)에 제공하고, PLA 테이블(210)로 부터의 입력 stcd_snd 신호가 14 비트의 '0000 0000 0000 01'이면 스타트 코드 발생 블록(230)에서는, '0000 0001' 로 된 슬라이스 스타트 코드를 생성하여 복호화 블록(300)에 제공하며, PLA 테이블(210)로 부터의 입력 stcd_snd 신호가 13 비트의 '0000 0000 0000 1' 이면 스타트 코드 발생 블록(230)에서는 '1011 0010' 으로 된 사용자 데이터 스타트 코드를 생성하여 복호화 블록(300)에 제공하고, PLA 테이블(210)로 부터의 입력 stcd_snd 신호가 12 비트의 '0000 0000 0001' 이면 스타트 코드 발생 블록(230)에서는 '1011 0011'로 된 시이퀀스 헤더 코드를 생성하여 복호화 블록(300)에 제공한다.More specifically, as can be seen from the second diagram, if the stcd_snd signal generated in the PLA table 210 and provided to the start code generation block 230 is a 15-bit '0000 0000 0000 001', the start code generation block ( 230, a picture start code of '0000 0000' is generated and provided to the decoding block 300. If the input stcd_snd signal from the PLA table 210 is '0000 0000 0000 01' of 14 bits, the start code generation block is generated. In operation 230, a slice start code of '0000 0001' is generated and provided to the decoding block 300. If the input stcd_snd signal from the PLA table 210 is 13 bits of '0000 0000 0000 1', the start code is generated. In the generation block 230, a user data start code of '1011 0010' is generated and provided to the decoding block 300. If the input stcd_snd signal from the PLA table 210 is '0000 0000 0001' of 12 bits, the start is generated. Code generation block (23 In operation 0), a sequence header code of '1011 0011' is generated and provided to the decoding block 300.

또한, PLA 테이블(210)로 부터의 입력 stcd_snd 신호가 11 비트의 '0000 0000 001' 이면 스타트 코드 발생 블록(230)에서는 '1011 0100'으로 된 시이퀀스 에러 코드를 생성하여 복호화 블록(300)에 제공하고, PLA 테이블(210)로 부터의 입력 stcd_snd 신호가 10 비트의 '0000 0000 01' 이면 스타트 코드 발생 블록(230)에서는 '1011 0101'로 된 확장 스타트 코드를 생성하여 복호화 블록(300)에 제공하며, PLA 테이블(210)로 부터의 입력 stcd_snd 신호가 9 비트의 '0000 0000 1'이면 스타트 코드 발생 블록(230)에서는 '1011 0111' 로 된 시이퀀스 종료 코드를 생성하여 복호화 블록(300)에 제공하고, PLA 테이블(210)로 부터의 입력 stcd_snd 신호가 8비트의 '0000 0001'이면 스타트 코드 발생 블록(230)에서는 '1011 1000' 으로 된 그룹 스타트 코드를 생성하여 복호화 블록(300)에 제공한다.In addition, if the input stcd_snd signal from the PLA table 210 is '0000 0000 001' of 11 bits, the start code generation block 230 generates a sequence error code of '1011 0100' to the decoding block 300. If the input stcd_snd signal from the PLA table 210 is '0000 0000 01' of 10 bits, the start code generation block 230 generates an extended start code of '1011 0101' to the decoding block 300. If the input stcd_snd signal from the PLA table 210 is '0000 0000 1' of 9 bits, the start code generation block 230 generates a sequence end code of '1011 0111' and decodes the block 300. If the input stcd_snd signal from the PLA table 210 is 8 bits '0000 0001', the start code generation block 230 generates a group start code of '1011 1000' to the decoding block 300. to provide.

따라서, 복호화 블록(300)에서는 상술한 바와같은 과정을 통해 고속으로 생성되는 스타트 코드 검출 블록(200)으로 부터의 스타트 코드(stcd_snd)신호와 길이정보들(16비트의 stcd_fst 및 8-15 비트의 stcd_snd)에 의거하여 입력측의 버퍼(100)로 부터 제공되는 압축 부호화된 영상신호를 부호화되기 이전의 원신호로 복원하게 될 것이다.Therefore, in the decoding block 300, the start code (stcd_snd) signal and the length information (16 bits of stcd_fst and 8-15 bits) from the start code detection block 200 generated at high speed through the process described above. On the basis of the stcd_snd), the compressed coded video signal provided from the input buffer 100 will be restored to the original signal before encoding.

이상 설명한 바와같이 본 발명에 따르면, 압축 부호화된 영상 데이터를 원신호로 복원할 때 필요로 하는 각종 스타트 코드들을 검출하는데 있어서, PLA 테이블을 이용하여 16 비트 단위로 처리하도록 함으로서 스타트 코드의 효율적인 고속 검출을 실현할 수가 있다.As described above, according to the present invention, in detecting various start codes required when restoring compressed coded image data to an original signal, efficient fast detection of start codes is performed by processing them in units of 16 bits using a PLA table. Can be realized.

Claims (4)

전송채널을 통해 수신된 입력측 버퍼로 부터의 압축 부호화된 비트 스트림의 영상 데이터를 복호화 블록을 통해 복호화하여 부호화되기 이전의 원신호로 복원할 때 필요로 하는 복수의 스타트 코드를 검출하는 복호화 시스템에서의 스타트 코드 검출장치에 있어서, 상기 입력측 버퍼로 부터의 비트 데이터를 입력으로 하여 상기 복수의 스타트 코드에 대한 16 비트의 stcd_fst 신호를 발생함과 동시에 그 길이정보를 발생하여 상기 복호화 블록에 제공하고, 소정의 클럭주기로 상기 stcd_fst 신호를 래치한 stcd_fst1 신호와 상기 버퍼로 부터 제공되는 비트 데이터에 의거하여 stcd_snd 신호를 발생함과 동시에 그 길이정보를 발생하여 상기 복호화 블록에 제공하는 PLA 테이블; 외부로 부터의 클럭신호에 의거하여 상기 PLA 테이블에서 발생되는 상기 stcd_fst 신호를 래치한 다음 상기 래치된 stcd_fst1 신호를 상기 PLA 테이블에 제공하는 래치; 및 상기 PLA 테이블로부터 제공되는 stcd_snd 신호에 의거하여 상기 입력측의 버퍼로 부터 제공되는 비트 데이터의 상위 8비트의 데이터를 받아서 상기 복수의 스타트 코드를 각각 생성하여 상기 복호화 블록에 제공하는 스타트 코드 발생 블록으로 이루어진 복호화 시스템에서의 스타트 코드 검출장치.In a decoding system that detects a plurality of start codes required to decode the image data of the compression-encoded bit stream received through the transport channel through a decoding block and restore the original signal before encoding. In the start code detecting apparatus, bit data from the input side buffer is input to generate a 16-bit stcd_fst signal for the plurality of start codes, and the length information is generated and provided to the decoding block. A PLA table for generating a stcd_snd signal based on the stcd_fst1 signal latching the stcd_fst signal at a clock cycle of and a bit data provided from the buffer, and generating length information and providing the length information to the decoding block; A latch configured to latch the stcd_fst signal generated in the PLA table based on a clock signal from an external source and then provide the latched stcd_fst1 signal to the PLA table; And a start code generation block which receives the data of the upper 8 bits of the bit data provided from the input side buffer based on the stcd_snd signal provided from the PLA table, generates the plurality of start codes, and provides the plurality of start codes to the decoding block. A start code detection device in a decoding system. 제1항에 있어서, 상기 PLA 테이블은, 상기 래치한 stcd_fst1 신호를 한 클럭주기의 다음 클럭에서 상기 stcd_snd 신호를 검출하는데 사용하는 것을 특징으로 하는 복호화 시스템에서의 스타트 코드 검출장치.The apparatus of claim 1, wherein the PLA table uses the latched stcd_fst1 signal to detect the stcd_snd signal at a next clock of one clock cycle. 제1항에 있어서, 상기 PLA 테이블은, 상기 래치한 stcd_fst1 신호를 반 클럭주기의 다음 클럭에서 상기 stcd_snd 신호를 검출하는데 사용하는 것을 특징으로 하는 복호화 시스템에서의 스타트 코드 검출장치.The start code detection apparatus of claim 1, wherein the PLA table uses the latched stcd_fst1 signal to detect the stcd_snd signal at a next clock of a half clock period. 제1항, 제2항 또는 제3항에 있어서, 상기 복수의 스타트 코드는, 픽춰 스타트 코드, 슬라이스 스타트 코드, 사용자 데이터 스타트 코드, 시이퀀스 헤더 코드, 시이퀀스 에러 코드, 확장 스타트 코드, 시이퀀스 종료 코드, 그룹 스타트 코드인 것을 특징으로 하는 복호화 시스템에서의 스타트 코드 검출장치.The method according to claim 1, 2 or 3, wherein the plurality of start codes include a picture start code, a slice start code, a user data start code, a sequence header code, a sequence error code, an extended start code, and a sequence. A start code detection device in a decoding system, characterized in that an end code and a group start code.
KR1019950032865A 1995-09-29 1995-09-29 Apparatus for detecting startcode in image decoding system KR0178209B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950032865A KR0178209B1 (en) 1995-09-29 1995-09-29 Apparatus for detecting startcode in image decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950032865A KR0178209B1 (en) 1995-09-29 1995-09-29 Apparatus for detecting startcode in image decoding system

Publications (2)

Publication Number Publication Date
KR970019649A KR970019649A (en) 1997-04-30
KR0178209B1 true KR0178209B1 (en) 1999-05-01

Family

ID=19428515

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950032865A KR0178209B1 (en) 1995-09-29 1995-09-29 Apparatus for detecting startcode in image decoding system

Country Status (1)

Country Link
KR (1) KR0178209B1 (en)

Also Published As

Publication number Publication date
KR970019649A (en) 1997-04-30

Similar Documents

Publication Publication Date Title
KR100264507B1 (en) Adaptive motion compensation system using many motion compensator
JP3406546B2 (en) Decoding method for continuous images
US6825885B2 (en) Motion information coding and decoding method
JPH08280032A (en) Digital video signal encoding device using adaptive scanningtechnique
JPS62135089A (en) Method and circuit apparatus for arranging digital image signal
US5262878A (en) Method and apparatus for compressing digital still picture signals
US20010014125A1 (en) Motion image coding device and decoding device
US6804299B2 (en) Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation
US5467133A (en) Apparatus for compensating video motions in digital televisions
KR20060059774A (en) Method and apparatus for encoding/decoding a video signal using motion vectors of pictures at different temporal decomposition level
KR20070011351A (en) Video quality enhancement and/or artifact reduction using coding information from a compressed bitstream
KR0178221B1 (en) Improved pattern vector encoding system using average value of pixels
KR0178209B1 (en) Apparatus for detecting startcode in image decoding system
KR0154011B1 (en) Variable length decoder
US20040013200A1 (en) Advanced method of coding and decoding motion vector and apparatus therefor
KR0181067B1 (en) Moving picture encoder of having compatibility
JPH08205142A (en) Apparatus for coding into and decoding digital video signal
KR0169657B1 (en) Device for encoding moving picture signals
KR100207391B1 (en) Image coding system and moving information detecting method using adaptive vector quantization
JPH1175198A (en) Image signal compressor and method and storage medium
KR100207380B1 (en) Apparatus for reducing the data in motion picture
KR100207388B1 (en) Image encoder using adaptive vector quantization
KR100242832B1 (en) Apparatus for generating quantization step value
KR100212543B1 (en) Method for detecting error of bit stream for intra frame in mpeg-2 algorithm
KR0130167B1 (en) Mpeg apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111101

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20121101

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee