KR100245599B1 - Head detector in hdtv - Google Patents

Head detector in hdtv Download PDF

Info

Publication number
KR100245599B1
KR100245599B1 KR1019930002581A KR930002581A KR100245599B1 KR 100245599 B1 KR100245599 B1 KR 100245599B1 KR 1019930002581 A KR1019930002581 A KR 1019930002581A KR 930002581 A KR930002581 A KR 930002581A KR 100245599 B1 KR100245599 B1 KR 100245599B1
Authority
KR
South Korea
Prior art keywords
data
signal
read
buffer delay
clock
Prior art date
Application number
KR1019930002581A
Other languages
Korean (ko)
Other versions
KR940020826A (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 KR1019930002581A priority Critical patent/KR100245599B1/en
Publication of KR940020826A publication Critical patent/KR940020826A/en
Application granted granted Critical
Publication of KR100245599B1 publication Critical patent/KR100245599B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/015High-definition television systems
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/02Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
    • H03K19/173Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components
    • H03K19/1733Controllable logic circuits
    • H03K19/1737Controllable logic circuits using multiplexers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42607Internal components of the client ; Characteristics thereof for processing the incoming bitstream

Abstract

본 발명은 헤더와 비디오 데이터가 섞여 있는 비트 스트림 데이터를 분리하여 비디오 데이터를 가변길이 복호화하기로 출력하는 고선명 텔레비젼의 헤더 검출장치에 관한 것으로, 헤더 검출장치는 헤더를 검출한 후 필요한 비디오 데이터를 만드는 데이터 발생부와; 비디오 데이터의 타이밍에 맞게 어드레스를 발생하여 메모리에 기록할 수 있게해 주며, 메모리 판독시에는 판독 어드레스를 발생하여 다음 단에서 필요한 데이터를 메모리에서 판독할 수 있게 해주는 어드레스 발생부로 구성한 것으로, 비트 스트림으로 전달되는 비디오 폰의 경우에 적용가능하다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-definition television header detection device that outputs a variable length decode of video data by separating bit stream data in which a header and video data are mixed. The header detection device detects a header and then generates necessary video data. A data generator; It consists of an address generator that generates an address in accordance with the timing of the video data and writes it to the memory, and generates a read address when reading the memory so that the data required in the next stage can be read from the memory. Applicable in the case of a video phone being delivered.

Description

고선명 텔레비젼의 헤더 검출장치High Definition TV Header Detection Device

본 발명은 헤더(Header)와 비디오 데이터가 섞여있는 비트 스트림 데이터(Bit Stream Data)를 분리하여 다음 단에 비디오 데이터를 출력하는 고선명 텔레비젼의 헤더 검출장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-definition television header detection apparatus for separating bit stream data in which a header and video data are mixed and outputting video data to the next stage.

일반적으로 고선명 텔레비젼(High Definition Television; 이하 HDTV라 칭함)의 비디오 데이터는 제 1 도에 도시한 바와 같이 계층적 구조를 갖고 있으며 맨 윗 계층부터, 입력되는 모든 동작(Sequence)의 단위이며 두 필드(Field)를 합친 프레임 층(Frame Layer)과; 이 프레임의 맨 좌측에 위치하며 프레임의 맨 우측에서 끝나도록 배열된 슬라이스 층(Slice Layer)과; 8개의 휘도(Luminance)블록과 2개의 색도(Chroma)블록으로 이루어진 움직임 추정의 단위가 되는 매크로블록층(Macroblock Layer)과; 8×8 픽셀(Pixels)로 이루어진 가장 작은 데이터 처리단위인 블록층(Block Layer)의 4계층으로 이루어져 있으며, 부호화기(Encoder)를 통하여 발생된 데이터를 부호화(Coding)하는데 있어서, 발생 비트(Bit) 수를 감소시키기 위하여 대부분의 데이터를 가변길이 부호화(Variable Length Coding; 이하 VLC라 칭함)를 하게 되며, 또한 언더 플로우(Under Flow)가 발생할 것에 대비하여 비트 스터핑(Stufing)을 할 수 있는 자리를 마련해 놓았다.In general, video data of a high definition television (hereinafter referred to as HDTV) has a hierarchical structure as shown in FIG. 1, and is a unit of all input sequences starting from the top layer. A frame layer in which fields are combined; A Slice layer located at the far left of the frame and arranged to terminate at the far right of the frame; A macroblock layer serving as a unit of motion estimation composed of eight luminance blocks and two chroma blocks; It consists of four layers of the block layer, which is the smallest data processing unit composed of 8x8 pixels, and generates a bit when coding data generated through an encoder. In order to reduce the number of data, most of the data is subjected to Variable Length Coding (VLC), and a place for bit stuffing in preparation for under flow is provided. Let go.

버퍼지연(Buffer Delay)은 부호화기(Encoder)측의 가상 복호화기 버퍼(Decoder Buffer) 충만도를 복호화기(Decoder)측에 알려주어 복호화기 버퍼의 언더플로우(Under Flow)나 오버플로우(Over Flow)를 방지하는 부호(Code)로서 16비트 길이(Length)를 갖고, 에스 퀀트(S Quant)는 버퍼 충만도 정도에 따른 비율 제어(Rate Control)에 의해 산출된 슬라이스(Slice) 단위의 양자화 간격 크기(Step Size)로서 한 슬라이스 안에 있는 모든 매크로블록(Macroblock)은 하나의 에스 퀀트(S Quant)가 적용되며, 5비트의 길이를 가진다.The buffer delay informs the decoder side of the decoder decoder virtual buffer buffer fullness on the encoder side, so that the decoder buffer underflows or overflows. As a code for preventing the code, it has a 16-bit length, and S Quant has a quantization interval size in slice units calculated by Rate Control according to the degree of buffer fullness ( As a step size, all macroblocks in one slice are applied to one quant, and have a length of 5 bits.

매크로 블록 어드레스(Macro Block address)는 한 슬라이스 안에서 매크로블록의 위치를 나타내는 부호로서 가변길이 부호화(VLC)되고, 매크로블록의 절대위치가 아닌 부호화된 바로 이전 매크로블록과의 상대 위치를 나타내며, 매크로 블록 타이프(MB Type)는 매크로블록 형태 8가지를 부호화한 것으로서 가변길이 부호화(VLC)되고, 움직임 벡터(Motion Vector)는 매크로블록 타이프(MB Type)에 의해 표시될 때에만 존재하며, 같은 슬라이스내에서 현재 움직임 벡터와 이전 움직임 벡터의 차이에 의해 부호화 되고, 블록계수(Coefficient)는 영 줄길이(Zero Run Length)에 따른 가변길이 부호화되며, 앤드오브블록(End of Block)은 한 블록의 계수 데이터의 맨 끝에 붙어 그 블록의 끝을 알리는 데이터로서 두비트로 표시된다.The macro block address is a code indicating the position of a macroblock in one slice, variable length coded (VLC), and indicates a relative position with the previous macroblock encoded rather than the absolute position of the macroblock. Type (MB Type) is encoded by 8 macroblock types, variable length coded (VLC), motion vector (Motion Vector) is present only when indicated by the macroblock type (MB Type), within the same slice The coefficient is encoded by the difference between the current motion vector and the previous motion vector, and the block coefficient is variable length coded according to a zero run length, and the end of block is a block of coefficient data of one block. Attached to the end of the block to indicate the end of the block represented by two bits.

상기와 같은 입력 포맷에서 프레임 층(Frame Layer)은 각 프레임이 시작될 때마다 부과되는 것으로 32비트의 화상시작 부호(Picture Start Code; 이하 PSC라 칭함)와 16비트의 버퍼지연부호(Buffer Delay Code; 이하 BDC라 칭함)가 있는데, 이것은 가변길이 복호화기(Variable Length Decoder; 이하 VLD라 칭함)를 시작하는 시점을 표시하고, 프레임은 60개의 슬라이스를 갖고 있으며 각 슬라이스는 24 비트로 정렬(Align)되어 있다.In the above input format, a frame layer is charged at the beginning of each frame, and includes a 32-bit Picture Start Code (hereinafter referred to as PSC) and a 16-bit Buffer Delay Code (Buffer Delay Code). BDC), which indicates when to start a Variable Length Decoder (VLD), the frame has 60 slices and each slice is aligned to 24 bits. .

헤더 검출장치(Header Detector)는 위의 포맷의 직렬데이터(Serial Data)를 입력받고, 프레임층의 헤더를 검사(Check)한 후 슬라이스 데이터를 24비트씩 가변길이 복호화기(VLD)로 분배하는 장치로써, 직렬데이터에서 32비트 화상시작부호(PSC)와 16비트의 버퍼지연부호(BDC)를 검사한다.A header detector receives serial data of the above format, checks a header of a frame layer, and distributes slice data to a variable length decoder (VLD) by 24 bits. As a result, the 32-bit picture start code (PSC) and the 16-bit buffer delay code (BDC) are examined in the serial data.

이 버퍼 지연부호(BDC) 데이터는 부호화기 버퍼에서 전체 버퍼중 전송을 시작한 버퍼 어드레스이며, 가변길이 복호화기(VLD)중에 오버플로우나 언더플로우가 발생하지 않게 하기 위해 만들어진 부호이다. 복호화기 버퍼(Decoder Buffer)는 부호화기 버퍼(Encoder Buffer)와 같은 양을 가지므로 입력되는 비디오 데이터를 버퍼에 차례로 기억시키고, 증가된 어드레스가 버퍼지연부호(BDC)와 같은 시점부터 버퍼에서 데이터를 읽어 가변길이 복호화기(VLD)로 보내서 복호화(Decoding)를 시작한다.This buffer delay code (BDC) data is a buffer address which started the transmission of all the buffers in the encoder buffer, and is a code designed to prevent overflow or underflow from occurring in the variable length decoder (VLD). Since the decoder buffer has the same amount as the encoder buffer, the video data is sequentially stored in the buffer, and the data is read from the buffer from the point where the increased address is equal to the buffer delay code (BDC). Decoding is started by sending to a variable length decoder (VLD).

버퍼지연부호(BDC)후의 슬라이스 시작부호(Slice Start Code; 이하 SSC라 칭함), 슬라이스 수직위치(Slice Vertical Position) 및 비디오 데이터는 슬라이스 단위로 24 비트씩 버퍼에 기억시키며, 4개의 슬라이스 데이터가 출력되면 슬라이스 정지(Slice Stop; 이하 SLSP라 칭함)신호에 의해 비디오 데이터의 출력이 정지되고, 슬라이스 시작(Slice Start; 이하 SLST라 칭함) 신호에 의하여 다시 비디오 데이터가 출력된다.The slice start code (hereinafter referred to as SSC), the slice vertical position and the video data after the buffer delay code (BDC) are stored in the buffer in units of 24 bits, and 4 slice data are outputted. When the output of the video data is stopped by the slice stop signal (hereinafter referred to as SLSP), the video data is output again by the slice start signal (hereinafter referred to as SLST).

제 1 도는 비트 스트림의 입력 포맷 예시도.1 is an exemplary input format of a bit stream.

제 2 도는 본 발명 고선명 텔레비젼의 헤더 검출장치 구성도.2 is a block diagram of a header detection apparatus for a high definition television of the present invention.

제 3 도는 제 2 도의 데이터 발생부에 대한 상세 구성도.3 is a detailed configuration diagram of the data generator of FIG.

제 4 도는 제 2 도의 어드레스 발생부에 대한 상세 구성도이다.4 is a detailed block diagram of the address generator of FIG.

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

10 : 데이터 발생부 20 : 어드레스 발생부10: data generator 20: address generator

11 : 직/병렬 변환기 12 : 화상시작부호 검사기11: Serial / parallel converter 12: Image start code checker

13 : 버퍼 지연 부호 검사기 14 : 데이터 발생기13: buffer delay code checker 14: data generator

21 : 기록 카운터 22 : 레지스터21: recording counter 22: register

23 : 비교기 24 : 판독 제어기23: comparator 24: readout controller

25 : 판독 클럭발생기 26 : 판독 카운터25: read clock generator 26: read counter

27 : 멀티 플렉서27: multiplexer

본 발명 고선명 텔레비젼의 헤더 검출장치는 제 2 도에 도시한 바와 같이, 헤더 비디오 데이터가 섞여있는 비트 스트림 데이터를 분리하여 비디오 데이터를 가변길이 복호화기로 출력하는 헤더검출장치에 있어서, 입력되는 직렬 입력 데이터를 받아 32 비트 화상시작부호 및 16비트 버퍼지연부호를 검출하고, 입력되는 클럭의 하강에지와 동기하여 직렬 입력 데이터를 병렬 데이터로 변환시키며, 상기 변환된 병렬 데이터를 16 비트 버퍼 지연 부호와 24비트 비디오 데이터로 나누어 출력하고, 비디오 데이터를 24 비트씩 출력할 때마다 1클럭의 선택신호를 출력하며, 16 비트 버퍼 지연 부호가 출력될 때마다 1클럭의 버퍼지연부호 검사 신호를 출력하는 데이터 발생부와; 상기 데이터 발생부에서 출력되는 1클럭의 선택신호에 의하여 24비트 데이터와 동기되어 메모리의 기록 어드레스(Write Address)를 발생시키고. 버퍼지연부호의 래치를 위하여 버퍼지연부호 검사 신호를 입력 받으며, 데이터 판독을 시작하기 위한 슬라이스 시작 신호와 데이터 판독을 중지하는 슬라이스 정지신호를 입력받고, 슬라이스 분배기 및 가변길이 복호화기(VLD)에서 필요한 판독용 클럭신호와 메모리칩을 인에이블하기 위한 칩 인에이블 신호를 출력하며, 기록 어드레스가 상기 데이터 발생부에서 입력받은 버퍼지연부호(BDC)와 같아질 때 메모리의 판독 어드레스(Read Address)를 발생시키는 어드레스 발생부로 구성함을 특징으로 한다.As shown in FIG. 2, the header detecting apparatus of the high definition television according to the present invention is a header detecting apparatus for separating the bit stream data containing the header video data and outputting the video data to a variable length decoder. Detects the 32-bit image start code and the 16-bit buffer delay code, converts the serial input data into parallel data in synchronization with the falling edge of the input clock, and converts the converted parallel data into a 16-bit buffer delay code and 24-bit A data generator for outputting divided clock data and outputting one clock selection signal every 24 bits of video data output and one buffer delay code check signal for each 16-bit buffer delay code output. Wow; And a write address of the memory in synchronism with 24-bit data by the one-clock selection signal output from the data generator. It receives the buffer delay code check signal for latching the buffer delay code, receives the slice start signal for starting data reading and the slice stop signal for stopping data reading, and is required by the slice divider and variable length decoder (VLD). Outputs a read clock signal and a chip enable signal for enabling the memory chip, and generates a read address of the memory when the write address is the same as the buffer delay code (BDC) input from the data generator. And an address generator.

상기 데이터 발생부(10)는 도 3에 도시된 바와 같이, 17.89M bps로 입력되는 직렬데이터를 클럭(Clock)의 하강에지(Falling Edge)에 동기하여 32 비트 병렬 데이터로 변환시키는 직/병렬 변환기(11)와; 이 직/병렬 변환기(11)의 32 비트 데이터를 검사하여 그것이 화상 시작부호(PSC)일 때 구형파 제어신호를 출력하는 화상시작부호 검사기(12)와; 이 화상시작부호 검사기(12)로부터 화상시작 부호(PSC)를 입력받고 계속되는 16 비트를 버퍼지연부호(BDC)로 출력하며, 시스템 리세트 후 처음 입력되는 버퍼지연부호(BDC)의 경우에만 1클럭의 구형파 제어신호(BCODE)를 출력하는 버퍼지연부호 검사기(13)와; 상기 화상시작부호 검사기(12)의 제어신호와 버퍼지연부호 검사기(13)의 제어신호를 입력받아 24 비트씩 데이터를 출력하며, 24비트 데이터를 출력할 때마다 1클럭의 선택신호(SCON)를 출력하는 데이터 발생기(14)로 구성된다.As illustrated in FIG. 3, the data generator 10 converts serial data input at 17.89M bps into 32-bit parallel data in synchronization with a falling edge of a clock. (11); An image start code checker 12 that checks the 32-bit data of the serial / parallel converter 11 and outputs a square wave control signal when it is an image start code (PSC); The image start code (PSC) is inputted from the image start code checker 12, and 16 bits which are continued are output as a buffer delay code (BDC). A buffer delay code checker (13) for outputting a square wave control signal (BCODE) of; The control signal of the image start code checker 12 and the control signal of the buffer delay code checker 13 are inputted to output data by 24 bits, and each time the 24-bit data is output, a selection signal SCON of 1 clock is output. It consists of the data generator 14 which outputs.

상기 어드레스 발생부(20)는 제 4 도에 도시된 바와 같이, 16 비트 카운터로서 최초에 0000로 세트되어 있다가 데이터 발생기(14)의 제어신호(SCON)의 상승에지(Rising Edge)마다 카운팅되어, 24 비트 데이터마다 기록 어드레스를 발생하여 메모리에 기록하게 되는 기록 카운터(21)와; 버퍼지연부호 검사기(13)에서 만들어진 버퍼지연부호(BDC)와 버퍼지연부호 검사(BDCC) 신호를 입력받아 클럭이 상승에지이고, 버퍼지연부호 검사(BDCC) 신호가 "하이"일 때 버퍼지연부호(BDC)를 래치하는 레지스터(22)와; 상기 기록 카운터(21)의 기록 어드레스와 레지스터(22)의 버퍼지연부호(BDC)를 비교하여 같게되었을 때 판독시작(RDST) 제어신호를 출력하는 비교기(23)와; 클럭이 하강에지이고 판독시작(RDST) 신호나 슬라이스 시작(SLST) 신호가 "하이"일 때 메모리에 있는 데이터를 판독하는 판독 제어기(24)와; 이 판독 제어기(24)의 판독신호를 받아 슬라이스 분배기 및 가변 길이 복호화기에서 필요한 판독용 클럭신호(RCLK)와 메모리 칩을 인에이블하기 위한 칩인에이블 신호(CE2)를 출력하는 판독클럭 발생기(25)와; 이 판독클럭발생기(25)에서 발생된 판독용 클럭신호(RCLK)가 상승에지일 때 메모리의 판독 어드레스를 카운트하는 판독 카운터(26)와; 기록 어드레스 및 판독 어드레스를 입력받고 선택신호(SCON)에 의해 기록 어드레스 또는 판독 어드레스를 출력하는 멀티플렉서(27)로 구성한다.As shown in FIG. 4, the address generator 20 is initially set to 0000 as a 16-bit counter, and is counted at each rising edge of the control signal SCON of the data generator 14. A write counter 21 which generates a write address for every 24-bit data and writes it to a memory; When the buffer delay code (BDC) and buffer delay code check (BDCC) signals generated by the buffer delay code checker 13 are input, the clock is a rising edge, and the buffer delay code check (BDCC) signal is " high " A register 22 for latching a delay code BDC; A comparator (23) for comparing the write address of the write counter (21) with the buffer delay code (BDC) of the register (22) and outputting a read start (RDST) control signal when they become equal; A read controller 24 for reading data in the memory when the clock is a falling edge and the read start (RDST) signal or the slice start (SLST) signal is " high "; A read clock generator 25 which receives the read signal of the read controller 24 and outputs the read clock signal RCLK required by the slice divider and the variable length decoder and the chip enable signal CE2 for enabling the memory chip. Wow; A read counter 26 for counting the read address of the memory when the read clock signal RCLK generated by the read clock generator 25 rises; The multiplexer 27 receives the write address and read address and outputs the write address or read address by the selection signal SCON.

이와 같이 구성한 본 발명의 작용을 상세히 설명하면 다음과 같다.Referring to the operation of the present invention configured in this way in detail as follows.

데이터 발생부(10)는 화상시작부호 검사기(12)를 통해 직렬 입력에서 먼저 화상시작부호(PSC)를 검사하는데 처음의 화상시작부호(PSC)를 검사하기 전까지는 전원 리세트후에 어떠한 동작도 하지 않는다. 화상시작부호 검사기(12)의 전단에는 32 비트의 직/병렬 변환기(11)가 있어서 비트 직렬 데이터는 7.89MHz로 입력되며, 1 비트 데이터는 클럭(CLK)의 하강에지에서 데이터를 입력받아 32 비트 씩 데이터를 화상시작 부호검사기(12)에 출력한다. 화상시작부호 검사기(12)는 17.89MHz의 32 비트 데이터를 입력받아 그것이 화상시작부호(PSC)일 때 구형파 제어펄스를 출력한다. 버퍼지연부호 검사기(13)는 상기 화상 시작부호(PSC)를 입력받아 화상시작부호(PSC)이후의 16비트를 추출하여 버퍼지연부호(BDC)로 출력하고, 최초의 버퍼지연 부호(BDC)일 때만 1클럭의 버퍼지연부호 제어신호(BDCC)가 출력되며, 이후의 버퍼 지연부호 제어신호(BDCC)는 계속 "로우" 상태가 되고, 또한 제어신호(BCODE)는 버퍼지연부호(BDC)가 나타날 때마다 1클럭의 구형파가 출력된다. 버퍼지연부호 제어신호(BDCC)는 어드레스 발생부(20)의 16비트 레지스터(22)에 입력되어 버퍼지연 부호(BDC)를 읽게 하여 버퍼판독시에 쓰이게 되고, 제어신호(BCODE)는 데이터 발생기(14)에 입력되어 버퍼지연 부호(BDC) 이후의 24 비트 데이터 생성시 쓰이게 된다.The data generation unit 10 first checks the image start code (PSC) on the serial input through the image start code checker 12, and does not perform any operation after the power reset until the initial start code (PSC) is checked. Do not. The front end of the image start code checker 12 has a 32-bit serial / parallel converter 11, so that the bit serial data is input at 7.89 MHz, and the 1-bit data is received at the falling edge of the clock CLK. The data is outputted to the image start code checker 12 in sequence. The image start code checker 12 receives 32-bit data of 17.89 MHz and outputs a square wave control pulse when it is an image start code (PSC). The buffer delay code checker 13 receives the image start code (PSC), extracts 16 bits after the image start code (PSC), outputs it as a buffer delay code (BDC), and is the first buffer delay code (BDC). Only when one clock delay buffer control signal BDCC is outputted, the subsequent buffer delay code control signal BDCC continues to " low ". In the state, the control signal BCODE outputs a square wave of one clock each time the buffer delay code BDC appears. The buffer delay code control signal BDCC is input to the 16-bit register 22 of the address generator 20 to read the buffer delay code BDC and used when the buffer is read. The control signal BCODE is a data generator ( 14) and used to generate 24-bit data after the buffer delay code (BDC).

데이터 발생기(14)는 화상시작부호 검사기(12)의 제어신호(PSC)와 버퍼지연부호 검사기(13)의 제어신호(BCODE)를 입력받아 24 비트씩 데이터를 출력하는데, 클럭(CLK)의 하강에지에서 제어신호(BCODE)가 "하이" 인지를 검사한 후 24비트씩 슬라이스 데이터를 출력하다가 화상시작부호 제어신호를 만났을 때 그 동작을 정지하며, 다시 제어신호를 만난 후 다시 24 비트 데이터를 출력시킨다.The data generator 14 receives the control signal PSC of the image start code checker 12 and the control signal BCODE of the buffer delay code checker 13 and outputs data by 24 bits. The clock CLK is lowered. The control signal BCODE at the edge is " high " After checking the acknowledgment, the slice data is output by 24 bits, and when the image start code control signal is encountered, the operation is stopped, and after the control signal is met, the 24-bit data is output again.

여기서, 24비트 데이터를 생성하기 위하여 24비트 레지스터를 사용하였을 때 다음의 32 비트 화상시작부호 중 24비트가 슬라이스 데이터로 출력하게 된다. 그러므로 이러한 오류를 제거하기 위하여 33비트 이상의 시프트 레지스터(Shift Register)를 사용하며, 또한 24 비트씩 데이터를 출력할 때마다 최초 1 사이클(Cycle)의 선택신호(SCON)를 만들어 줌으로써 어드레스 발생부(20)에서 그 신호에 맞게 기록 어드레스 신호를 발생시켜서 버퍼에 기록하도록 한다. 기록 카운터(21)는 16 비트 카운터로서 최초에 0000로 세트(Set)되어 있다가 데이터 발생기(14)의 선택신호(SCON)의 상승에지마다 카운팅하게 되어 24비트 데이터마다 기록 어드레스를 발생함으로써 메모리에 기록하게 된다.Here, when a 24-bit register is used to generate 24-bit data, 24 bits of the following 32-bit image start codes are output as slice data. Therefore, in order to eliminate this error, a shift register of 33 bits or more is used, and an address generator 20 is generated by generating a selection signal SCON of the first cycle every time data is output by 24 bits. ) Generates a write address signal in accordance with the signal and writes it to the buffer. The write counter 21 is a 16-bit counter that is initially set to 0000 and counts every rising edge of the selection signal SCON of the data generator 14 to generate a write address for every 24 bits of data. Will be recorded.

레지스터(22)는 버퍼지연 부호 검사기(13)에서 만들어진 버퍼지연부호(BDC)와 버퍼지연부호 제어신호(BDCC)를 입력받아 최초 0000로 세트되어 있다가 클럭(CLK)이 상승에지이고 버퍼지연부호 제어신호(BDCC)가 "하이" 일 때 버퍼지연 부호(BDC) 데이터를 래치(Latch)한다.The register 22 receives the buffer delay code BDC and the buffer delay code control signal BDCC generated by the buffer delay code checker 13, and is set to 0000 first, and the clock CLK is a rising edge and the buffer delay code. The control signal BDCC is " high " In this case, the buffer delay code (BDC) data is latched.

이 때 버퍼지연부호 제어신호(BDCC)는 전원 인가후 단 1번 온(ON)되는 신호이다. 비교기(23)는 기록카운터(21)의 기록 어드레스와 레지스터(22)의 버퍼지연부호(BDC)를 비교하여 같게 되었을 때 판독시작신호(RDST)를 출력하며, 이 신호(RDST)는 전원 인가후 단 1번 온(ON)되는 신호로서, 메모리를 판독할 시점이라는 의미가 있다. 이 신호 이후부터 4개 슬라이스 데이터를 버퍼에서 판독하여 출력하고, 가변길이 복호화기(VLD)의 슬라이스 정지신호(SLSP)의 상승에지에서 판독을 중지한다.At this time, the buffer delay code control signal BDCC is a signal that is turned on only once after power is applied. The comparator 23 compares the write address of the write counter 21 with the buffer delay code BDC of the register 22 and outputs the read start signal RDST when it becomes equal, and this signal RDST is applied after the power is applied. It is a signal that is turned ON only once, which means that it is time to read a memory. After this signal, four slice data are read out from the buffer and outputted, and the reading is stopped at the rising edge of the slice stop signal SLSP of the variable length decoder VLD.

판독제어기(24)는 클럭(CLK)이 하강에지이고, 판독시작제어(Read Start Control)신호나 슬라이스 시작신호(SLST)가 "하이"일 때 판독제어신호(RD)는 "로우"에서 "하이"가 되며, 클럭이 하강에지이고 슬라이스 정지신호(SLSP)가 "하이"일 때 판독제어신호(RD)는 "하이"에서 "로우"가 된다. 판독제어신호(RD)가 "하이"로 있는 동안은 메모리에 있는 데이터를 판독한다. 판독클럭발생기(25)는 상기 판독제어기(24)의 판독제어신호(RD)를 받아 슬라이스 분배기 및 가변길이 복호하기(VLD)에서 필요한 판독용 클럭신호(RCLK)와 메모리칩을 인에이블하기 위한 칩인에이블신호(CE2)를 출력한다.When the clock CLK is at the falling edge and the read start control signal or the slice start signal SLST is " high ", the read control signal RD is " low " High ", the read control signal RD becomes " high " to " low " when the clock is a falling edge and the slice stop signal SLSP is " high ". While the read control signal RD is at " high ", data in the memory is read. The read clock generator 25 receives a read control signal RD of the read controller 24 to enable a read clock signal RCLK and a memory chip necessary for a slice divider and variable length decoding VLD. Outputs the enable signal CE2.

판독 카운터(26)는 16 비트 카운터로, 최초에는 0000으로 세트되어 있다가 판독용 클럭(RCLK)이 상승에지일 때 카운트하며, 이 16비트 카운트 수는 메모리의 판독 어드레스이다. 멀티플렉서(27)는 기록 어드레스 및 판독 어드레스를 입력받고 선택신호(SCON)를 입력받아. 선택신호(SCON)가 "하이"일 때는 메모리 기록 주기로 기록 어드레스가 출력되고, 선택신호(SCON)가 "로우"일 때는 메모리 판독 주기로 판독 어드레스가 출력된다. 따라서, 멀티플렉서(27)에 의하여 기록 어드레스 및 판독 어드레스가 선택되어 버퍼의 기록 및 판독 처리가 진행된다.The read counter 26 is a 16-bit counter, which is initially set to 0000 and counts when the read clock RCLK is at the rising edge, and this 16-bit count number is the read address of the memory. The multiplexer 27 receives a write address and a read address and receives a selection signal SCON. When the selection signal SCON is " high ", the write address is output in the memory write cycle, and when the selection signal SCON is " low ", the read address is output in the memory read cycle. Therefore, the write address and the read address are selected by the multiplexer 27 to proceed with the write and read processing of the buffer.

이상에서 상세히 설명한 바와 같이 본 발명은, 비트 스트림으로 입력되는 헤더를 포함한 비디오 데이터에서 헤더와 비디오 데이터를 분리하여 비디오 데이터를 가변길이 복호화기로 출력하는 것으로, 고선명 텔레비젼의 설계를 규격화하여 고선명 텔레비젼을 상품화하는데 사용가능한 효과가 있다.As described in detail above, the present invention separates the header and the video data from the video data including the header input as a bit stream, and outputs the video data to a variable length decoder. There is a usable effect.

Claims (3)

헤더 비디오 데이터가 섞여있는 비트 스트림 데이터를 분리하여 비디오 데이터를 가변길이 복호화기로 출력하는 헤더검출장치에 있어서, 입력되는 직렬 입력 데이터를 받아 32 비트 화상시작부호 및 16비트 버퍼지연부호를 검출하고, 입력되는 클럭의 하강에지와 동기하여 직렬 입력 데이터를 병렬 데이터로 변환시키며, 상기 변환된 병렬 데이터를 16 비트 버퍼 지연 부호와 24비트 비디오 데이터로 나누어 출력하고, 비디오 데이터를 24 비트씩 출력할 때마다 1클럭의 선택신호를 출력하며, 16 비트 버퍼 지연 부호가 출력될 때마다 1클럭의 버퍼지연부호 검사 신호를 출력하는 데이터 발생부와; 상기 데이터 발생부에서 출력되는 1클럭의 선택신호에 의하여 24 비트 데이터와 동기되어 메모리의 기록 어드레스(Write Address)를 발생시키고. 버퍼지연부호의 래치를 위하여 버퍼지연부호 검사 신호를 입력 받으며, 데이터 판독을 시작하기 위한 슬라이스 시작 신호와 데이터 판독을 중지하는 슬라이스 정지신호를 입력받고, 슬라이스 분배기 및 가변길이 복호화기(VLD)에서 필요한 판독용 클럭신호와 메모리칩을 인에이블하기 위한 칩 인에이블 신호를 출력하며, 기록 어드레스가 상기 데이터 발생부에서 입력받은 버퍼지연부호(BDC)와 같아질 때 메모리의 판독 어드레스(Read Address)를 발생시키는 어드레스 발생부로 구성함을 특징으로 하는 고선명 텔레비젼의 헤더 검출장치.A header detector for separating bit stream data containing header video data and outputting the video data to a variable-length decoder, wherein the input serial input data is received to detect a 32-bit image start code and a 16-bit buffer delay code. In synchronism with the falling edge of the clock, the serial input data is converted into parallel data. The converted parallel data is divided into 16-bit buffer delay codes and 24-bit video data, and each time the video data is output by 24 bits. A data generator which outputs a clock selection signal and outputs a buffer delay code check signal of one clock each time a 16-bit buffer delay code is output; And a write address of the memory in synchronization with the 24-bit data by the one-clock selection signal output from the data generator. It receives the buffer delay code check signal for latching the buffer delay code, receives the slice start signal for starting data reading and the slice stop signal for stopping data reading, and is required by the slice divider and the variable length decoder (VLD). Outputs a read clock signal and a chip enable signal for enabling the memory chip, and generates a read address of the memory when the write address is the same as the buffer delay code (BDC) input from the data generator. A high-definition television header detection device, comprising: an address generator. 제 1 항에 있어서, 상기 데이터 발생부는 입력되는 직렬데이터를 클럭(Clock)의 하강에지(Falling Edge)에 동기하여 32 비트 병렬 데이터로 변환시키는 직/병렬 변환기와; 이 직/병렬 변환기의 32 비트 데이터를 검사하여 그것이 화상 시작부호(PSC)일 때 구형파 제어신호를 출력하는 화상시작부호 검사기와; 이 화상시작부호 검사기로부터 화상시작 부호(PSC)를 입력받고 계속되는 16 비트를 버퍼지연부호(BDC)로 출력하며, 시스템 리세트 후 처음 입력되는 버퍼지연부호(BDC)의 경우에만 1클럭의 구형파 제어신호(BCODE)를 출력하는 버퍼지연부호 검사기와; 상기 화상시작부호 검사기의 제어신호와 버퍼지연부호 검사기의 제어신호를 입력받아 24 비트씩 데이터를 출력하며, 24비트 데이터를 출력할 때마다 1클럭의 선택신호(SCON)를 출력하는 데이터 발생기로 구성함을 특징으로 하는 고선명 텔레비젼의 헤더 검출장치.The apparatus of claim 1, wherein the data generator comprises: a serial / parallel converter for converting input serial data into 32-bit parallel data in synchronization with a falling edge of a clock; An image start code checker for checking the 32-bit data of the serial / parallel converter and outputting a square wave control signal when it is an image start code (PSC); It receives the image start code (PSC) from the image start code checker and outputs the 16 bits which are continued as a buffer delay code (BDC), and controls a square wave of 1 clock only in the case of the buffer delay code (BDC) first inputted after system reset. A buffer delay code checker for outputting a signal BCODE; It consists of a data generator which receives the control signal of the image start code checker and the control signal of the buffer delay code checker and outputs data by 24 bits, and outputs a selection signal (SCON) of one clock every 24 bits of data. Header detection apparatus for high-definition television, characterized in that. 제 1 항에 있어서, 상기 어드레스 발생부는 데이터 발생기의 제어신호(SCON)의 상승에지(Rising Edge)마다 카운팅되어, 24 비트 데이터마다 기록 어드레스를 발생하여 메모리에 기록하게 되는 기록 카운터와; 버퍼지연부호 검사기에서 만들어진 버퍼지연부호(BDC)와 버퍼지연부호 검사(BDCC) 신호를 입력받아 클럭이 상승에지이고, 버퍼지연부호 검사(BDCC) 신호가 "하이"일 때 버퍼지연부호(BDC)를 래치하는 레지스터와; 상기 기록 카운터의 기록 어드레스와 레지스터의 버퍼지연부호(BDC)를 비교하여 같게되었을 때 판독시작(RDST) 제어신호를 출력하는 비교기와; 클럭이 하강에지이고 판독시작(RDST) 신호나 슬라이스 시작(SLST) 신호가 "하이"일 때 메모리에 있는 데이터를 판독하는 판독 제어기와; 이 판독 제어기의 판독신호를 받아 슬라이스 분배기 및 가변 길이 복호화기에서 필요한 판독용 클럭신호(RCLK)와 메모리 칩을 인에이블하기 위한 칩인에이블 신호(CE2)를 출력하는 판독클럭 발생기와; 이 판독클럭발생기에서 발생된 판독용 클럭신호(RCLK)가 상승에지일 때 메모리 판독 어드레스를 카운트하는 판독 카운터와; 기록 어드레스 및 판독 어드레스를 입력받고 선택신호(SCON)에 의해 기록 어드레스 또는 판독 어드레스를 출력하는 멀티플렉서로 구성함을 특징으로 하는 고선명 텔레비젼의 헤더 검출장치.2. The apparatus of claim 1, wherein the address generator comprises: a write counter counting every rising edge of the control signal SCON of the data generator to generate a write address for every 24-bit data and to write the write address to memory; When the buffer delay code (BDC) and buffer delay code check (BDCC) signals are input from the buffer delay code checker and the clock is rising edge, and the buffer delay code check (BDCC) signal is " high ", the buffer delay code ( A register for latching BDC); A comparator for comparing a write address of the write counter with a buffer delay code (BDC) of the register and outputting a read start (RDST) control signal when they become equal; A read controller for reading data in the memory when the clock is a falling edge and the read start (RDST) signal or the slice start (SLST) signal is " high "; A read clock generator for receiving a read signal of the read controller and outputting a read clock signal RCLK required by a slice divider and a variable length decoder and a chip enable signal CE2 for enabling a memory chip; A read counter for counting a memory read address when the read clock signal RCLK generated by the read clock generator is at the rising edge; And a multiplexer which receives a write address and a read address and outputs a write address or read address by a selection signal (SCON).
KR1019930002581A 1993-02-24 1993-02-24 Head detector in hdtv KR100245599B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930002581A KR100245599B1 (en) 1993-02-24 1993-02-24 Head detector in hdtv

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930002581A KR100245599B1 (en) 1993-02-24 1993-02-24 Head detector in hdtv

Publications (2)

Publication Number Publication Date
KR940020826A KR940020826A (en) 1994-09-16
KR100245599B1 true KR100245599B1 (en) 2000-02-15

Family

ID=19351172

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930002581A KR100245599B1 (en) 1993-02-24 1993-02-24 Head detector in hdtv

Country Status (1)

Country Link
KR (1) KR100245599B1 (en)

Also Published As

Publication number Publication date
KR940020826A (en) 1994-09-16

Similar Documents

Publication Publication Date Title
KR0134299B1 (en) Vlc
US5812701A (en) Variable length coding system having a zig-zag memory
US5287178A (en) Reset control network for a video signal encoder
US5504823A (en) Image data partitioning circuit for parallel image decoding system
US5963260A (en) Macroblock-level partitioned HDTV video decoder and related method
US6263019B1 (en) Variable rate MPEG-2 video syntax processor
US5515437A (en) Scramble transmission apparatus and signal processing apparatus
US6614486B2 (en) Multi-function USB video capture chip using bufferless data compression
KR0148153B1 (en) Removal apparatus of bit stuffing
KR20010069140A (en) Video decoder and method for the same
US5706001A (en) Run-length decoding apparatus for use in a video signal decoding system
US5568278A (en) Image data coding and decoding method and apparatus with a plurality of DCT's, quantizers, and VLC's
KR20000028928A (en) Programmable filter for removing selected user data from an MPEG-2 bit-stream
US6222467B1 (en) Bitstream decoding apparatus
US7218677B2 (en) Variable-length encoding apparatus and method
JPH05115010A (en) Picture decoder
KR100245599B1 (en) Head detector in hdtv
US6459736B1 (en) Moving picture decoding apparatus and method
Stroming et al. New architectures for modified MMR shape coding
KR0152026B1 (en) Method and apparatus for decoding header detection
KR100295185B1 (en) bit extension variable encoder
KR100209913B1 (en) High speed mpeg decoder and its run length error recovery method
KR0171443B1 (en) Apparatus and method of variable length code decoding of digital video cassette recorder
KR0139163B1 (en) Sync adapting apparatus applicating in a vlc process
US7610325B2 (en) System(s), method(s), and apparatus for detecting end of slice groups in a bitstream

Legal Events

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

Payment date: 20041018

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee