KR100236014B1 - Video decoding system - Google Patents

Video decoding system Download PDF

Info

Publication number
KR100236014B1
KR100236014B1 KR1019970077140A KR19970077140A KR100236014B1 KR 100236014 B1 KR100236014 B1 KR 100236014B1 KR 1019970077140 A KR1019970077140 A KR 1019970077140A KR 19970077140 A KR19970077140 A KR 19970077140A KR 100236014 B1 KR100236014 B1 KR 100236014B1
Authority
KR
South Korea
Prior art keywords
dts
video
picture
picture number
memory
Prior art date
Application number
KR1019970077140A
Other languages
Korean (ko)
Other versions
KR19990057099A (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 KR1019970077140A priority Critical patent/KR100236014B1/en
Publication of KR19990057099A publication Critical patent/KR19990057099A/en
Application granted granted Critical
Publication of KR100236014B1 publication Critical patent/KR100236014B1/en

Links

Images

Classifications

    • 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
    • H04N21/42623Internal components of the client ; Characteristics thereof for processing the incoming bitstream involving specific decryption arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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/43Processing 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4353Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving decryption of additional data

Landscapes

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

Abstract

비디오 비트스트림을 입력받아 디코딩 타임 스탬프(Decoding Time Stamp ; DTS)를 기준으로 디코딩하여 픽쳐의 픽셀 데이터를 출력하는 비디오 디코딩 시스템에 관한 것으로서, 특히 다중화되어 입력되는 비디오 비트스트림과 PTS/DTS를 분리하고 분리된 PTS/DTS로부터 DTS를 얻어내어 분리된 비디오 비트 스트림으로부터 계산된 픽쳐 번호와 함께 메모리에 저장한 후, 다시 메모리에서 읽어진 비디오 비트스트림의 픽쳐 번호를 계산하고 계산된 픽쳐 번호와 메모리에서 읽어 일시 저장된 픽쳐 번호를 비교하여 두 픽쳐 번호가 같은 경우에만 저장된 DTS를 비디오 비트스트림과 함께 비디오 디코더로 출력하여 비디오 디코더에서 이 DTS를 기준으로 비디오 비트 스트림을 디코딩하도록 함으로써, 비디오 디코딩 타이밍 제어를 정확하게 구현할 수 있고 더불어 A/V 립 싱크를 정확하게 맞출 수 있다.The present invention relates to a video decoding system that receives a video bitstream and decodes a picture based on a decoding time stamp (DTS) to output pixel data of a picture. In particular, the video bitstream is separated from a multiplexed input video bitstream and a PTS / DTS. Obtain a DTS from the separated PTS / DTS, store it in memory with the picture number calculated from the separated video bitstream, and then calculate the picture number of the video bitstream read from the memory and read it from the calculated picture number and memory. By comparing the temporarily stored picture numbers and outputting the stored DTS along with the video bitstream to the video decoder only when the two picture numbers are the same, the video decoder can decode the video bit stream based on this DTS, thereby accurately implementing video decoding timing control. Can and A / V Lipsing The can be adjusted accurately.

Description

비디오 디코딩 시스템Video decoding system

본 발명은 비디오 비트스트림을 입력받아 디코딩 타임 스탬프(Decoding Time Stamp ; DTS)를 기준으로 디코딩하여 픽쳐의 픽셀 데이터를 출력하는 비디오 디코딩 시스템에 관한 것이다.The present invention relates to a video decoding system that receives a video bitstream and decodes the decoding data based on a decoding time stamp (DTS) to output pixel data of a picture.

최근들어 정보의 디지탈화가 급속도로 발전하고 있으며, 이에 따라 화상 압축 기술이 매우 중요하게 부각되고 있다.Recently, digitalization of information has been rapidly developed, and image compression technology is very important.

동화상 전문가 그룹(Moving Pictures Expert Group ; MPEG)은 멀티미디어 환경에 가장 핵심 기술인 디지털 동영상의 압축 부호화를 위한 국제적인 표준안이다.Moving Pictures Expert Group (MPEG) is an international standard for the compression encoding of digital video, the most critical technology in a multimedia environment.

즉, 압축 알고리즘으로 상기 MPEG 기술을 사용하는 분야는 통신/방송/게임등 다양하다. 디지털 TV도 그중 하나이다.That is, the field of using the MPEG technology as a compression algorithm is various, such as communication / broadcast / game. Digital TV is one of them.

이때, MPEG 비디오 압축 알고리즘은 두 가지 기본 기술을 바탕으로 한다. 즉, 시간 증복성(Temporal Redundancy)을 줄이기 위해서 블록 단위의 움직임 추정및 보상을 이용하고, 공간 중복성(Spatial Redundancy)을 줄이기 위해서 이산 코사인 변환(Discrete Cosine Transform, DCT)을 이용한다.At this time, the MPEG video compression algorithm is based on two basic techniques. In other words, block motion estimation and compensation are used to reduce temporal redundancy, and discrete cosine transform (DCT) is used to reduce spatial redundancy.

상기 DCT된 신호는 데이터들을 제한된 비트 수로 표시하여 데이터 량을 줄이는 양자화 과정, 자주 나오는 값은 적은 수의 비트로, 드물게 나오는 값은 많은 수의 비트로 표시하여 전체 비트 수를 줄이는 가변 길이 부호화(Variable Length Coding ; VLC) 과정을 거쳐 전송된다. 그리고, 움직임 벡터는 16×16 블록 기본으로 구해지고 상기 변환 계수 정보와 함께 전송된다. 상기 움직임 벡터는 최대의 부호화 효율을 얻기 위해서 VLC된다.The DCT signal is a quantization process that reduces the amount of data by displaying the data in a limited number of bits, variable length coding that reduces the total number of bits by displaying frequently occurring values in a small number of bits and rare values in a large number of bits. ; VLC). The motion vector is obtained based on 16 × 16 blocks and transmitted along with the transform coefficient information. The motion vector is VLC to obtain maximum coding efficiency.

이렇게 압축된 음성, 영상의 비트열 및 프로그램에 부가되는 데이터 비트열은 일반적으로 별도 패킷화된 후 하나의 패킷 비트열로 다중화되어 전송된다. 이 때, 실시 간성을 고려하여 시스템 타임 클럭(System Time Clock ; STC)을 기준으로 표시 및 복호를 위한 시각 정보인 디코딩 타임 스탬프(Decoding Time Stamp ; DTS), 표시 타임 스탬프(Presentation Time Stamp ; PTS)를 발생한 후 전송할 수있다.The compressed audio, video bit streams, and data bit streams added to the program are generally packetized separately and then multiplexed into one packet bit stream and transmitted. In this case, the decoding time stamp (DTS) and the presentation time stamp (PTS), which are time information for display and decoding based on the system time clock (STC), are considered in consideration of real time. Can be sent after it occurs.

즉, 상기 DTS, PTS는 패킷에 억세스 단위의 첫부분이 포함되어 있는 경우에는 패킷 헤더에 부가되나, 패킷에 억세스 단위의 첫부분이 포함되어 있지 않을 경우에는 패킷 헤더에 부가되지 않는다 또한, 패킷에 억세스 단위의 첫머리가 두 개이상 있어도 첫 억세스 단위에 대응하는 타임 스탬프만이 패킷 헤더에 부가된다.That is, the DTS and PTS are added to the packet header when the packet includes the first part of the access unit, but are not added to the packet header when the packet does not include the first part of the access unit. Even if there are two or more heads of an access unit, only the time stamp corresponding to the first access unit is added to the packet header.

또한, MPEG 스펙에서는 비디오의 부호화 비트열의 송출 순서가 특별하기 때문에 DTS가 마련되어 있다. 즉, I 픽쳐와 P 픽쳐가 B 픽쳐보다 선행해서 부호화 비트열로 송출되기 때문에 복호 순서와 재생 출력 순서가 다르게 되는데, PTS, DTS가 다른 경우에는 둘을 연이어서 보내고 일치하는 경우에는 PTS만을 보낸다. 예컨대, B 픽쳐가 있는 비디오 부호화 비트열에서는 PTS와 DTS가 다르므로 I 픽쳐와 P 픽쳐에서 PTS와 DTS를 연이어서 보내지만, B 픽쳐나 B 픽쳐가 없는 경우의 I 픽쳐와 P픽쳐에서는 PTS와 DTS가 같으므로 PTS만을 보내게 된다. 이 경우에는 PTS가 동시에 DTS가 되는 것이다.In the MPEG specification, a DTS is provided because the order of transmission of the coded bit stream of video is special. That is, since the I picture and the P picture are transmitted in the coded bit stream before the B picture, the decoding order and the reproduction output order are different. If the PTS and the DTS are different, they are sent in succession and only the PTS is sent if they match. For example, in a video coded bit stream having a B picture, the PTS and the DTS are different. Therefore, the P picture and the P picture are sent in succession from the I picture and the P picture. However, the P picture and the P picture do not have the B picture or the B picture. Is the same, so only PTS is sent. In this case, the PTS becomes a DTS at the same time.

그리고, 이러한 MPEG 기술이 적용되는 디지털 TV는 튜너, 디멀티플렉서, 비디오 디코더, 및 모니터를 포함하여 구성된다. 이와 같이 구성된 디지털 TV의 튜너는 안테나를 통해 수신된 다수의 채널들중 한 채널을 선택하여 복조하고, 디멀티플렉서는 한 채널에 포함된 다수의 프로그램들중 원하는 한 프로그램을 선택하여 패킷화되어 있는 오디오와 비디오 비트 스트림으로 분리한다 여기서, 상기 비디오비트 스트림은 비디오 요소 스트림(Elementary Stream, ES)이라 불리기도 한다.Digital TVs to which such MPEG technology is applied include a tuner, a demultiplexer, a video decoder, and a monitor. The tuner of the digital TV configured as described above selects and demodulates one channel among a plurality of channels received through an antenna, and the demultiplexer selects a desired program from among a plurality of programs included in one channel, The video bit stream is also referred to as a video elementary stream (ES).

분리된 비디오 비트스트림은 가변 레이트로 코딩되어 있으므로 디코딩을 위해 비디오 버퍼에 일시 저장되었다가 고정 레이트로 비디오 디코더로 출력되고, 상기 비디오 디코더는 입력되는 비디오 비트 스트림에서 오버헤드(각종 헤더 정보,스타트 코드등)를 제거하고, 순수한 데이터 정보를 가변 길이 디코딩(Variable Length Decoding ; VLD)한 후 역양자화 과정, 역 이산 코사인 변환(IDCT), 움직임벡터를 이용한 움직임 보상 과정을 거쳐 원래 화면의 픽셀 값을 복원하여 모니터로 출력 한다.Since the separated video bitstream is coded at a variable rate, it is temporarily stored in a video buffer for decoding and output to the video decoder at a fixed rate, and the video decoder has an overhead (various header information, start code) in the input video bit stream. Etc.), variable length decoding (VLD) of pure data information, and then inverse quantization, inverse discrete cosine transform (IDCT), and motion compensation using motion vectors to restore pixel values of the original screen. Output to the monitor.

이때, 상기 비디오 디코더는 비디오 신호가 내부적으로 딜레이를 갖고 있기때문에 A/V 립 싱크(Lip-Synchronization)와 정상적인 비디오 디코딩을 위해서는 시스템 타임 클럭(System Time Clock ; STC)을 기준으로 DTS에 맞춰 디코딩해야 할다. .여기서, 상기 STC는 엔코더와 록킹된 전체적인 클럭으로서, 이를 위해 디멀티플렉서는 위상 동기 루프(Phase Locked LooP ; PLL)을 구성하여 엔코더의 시스템클럭과 주파수가 완전히 일치하는 STC를 얻는다.In this case, since the video signal has a delay internally, the video decoder must decode the DTS based on the System Time Clock (STC) for A / V Lip-Synchronization and normal video decoding. Do Here, the STC is the overall clock locked with the encoder. For this purpose, the demultiplexer forms a phase locked loop (PLL) to obtain an STC whose frequency is completely equal to the system clock of the encoder.

그러나, 상기 비디오 비트 스트림은 디멀티플렉서에서 패킷 헤더가 제거된 데이터이므로 DTS에 관한 정보가 정확히 없다.However, since the video bit stream is data in which the packet header is removed from the demultiplexer, there is no information on the DTS.

따라서, 비디오 디코딩 타이밍 제어를 정확히 제어할 수 없게되며, 이로인해 A/V 립 싱크가 맞지 않는등의 에러가 발생하게 된다.Therefore, it is impossible to control the video decoding timing control accurately, and this causes an error such as an A / V lip synch out of sync.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 DTS와 입력되는 비디오 비트스트림의 픽쳐 번호를 함께 저장하였다가 디코딩시 이 DTS를 이용하여 비디오 비트 스트림을 디코딩하는 비디오 디코딩 시스템을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to store a picture number of the input video bitstream together with a DTS and decode the video bit stream using the DTS to decode the video bit stream. In providing.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 비디오 디코딩 시스템은, 다중화되어 입력되는 비디오 비트스트림과 PTS/DTS를 분리하고 분리된 PTS/DTS로부터 DTS를 얻어내어 분리된 비디오 비트스트림으로부터 계산된 픽쳐 번호와 함께 메모리에 저장한 후, 다시 메모리에서 읽어진 비디오 비트스트림의 픽쳐 번호를 계산하고 계산된 픽쳐 번호와 메모리에서 읽어 저장된 픽쳐 번호를 비교하여 두 픽쳐번호가 같은 경우에만 저장된 DTS를 비디오 비트스트림과 함께 비디오 디코더로 출력하여 비디오 디코더에서 이 DTS를 기준으로 비디오 비트스트림을 디코딩하도록함을 특징으로 한다The video decoding system according to the present invention for achieving the above object is a picture calculated by separating the multiplexed input video bitstream and the PTS / DTS and obtaining a DTS from the separated PTS / DTS After storing it in memory with the number, it calculates the picture number of the video bitstream read from the memory again, compares the calculated picture number with the stored picture number in memory, and stores the stored DTS only if the two picture numbers are the same. And output to the video decoder so that the video decoder decodes the video bitstream based on this DTS.

본 발명은 PTS와 DTS가 모두 입력되는 경우에는 PTS를 레지스터에 저장한 후 다시 연이어서 입력되는 DTS를 상기 레지스터에 오버라이트하여 PTS/DTS로부터 DTS를 얻음을 특징으로 한다.According to the present invention, when both the PTS and the DTS are input, the DTS is obtained from the PTS / DTS by storing the PTS in a register and then overwriting the input DTS again in the register.

본 발명은 메모리에서 읽어진 비디오 비트 스트림의 픽쳐 번호와 메모리에서 읽어 저장된 픽쳐 번호가 같으면 상기 메모리로부터 다음 DTS+픽쳐 번호를 읽어와 저장된 DTS와 픽쳐 번호를 업데이트시킴을 특징으로 한다.The present invention is characterized by updating the stored DTS and picture number by reading the next DTS + picture number from the memory if the picture number of the video bit stream read from the memory and the picture number read from the memory are the same.

제1도는 본 발명에 따른 비디오 디코딩 시스템의 구성 블록도.1 is a block diagram of a video decoding system according to the present invention;

제2a도 내지 제2c도는 제1도의 비디오 디코딩 시스템으로 입력되는 각 신호의 타이밍도.2A to 2C are timing diagrams of respective signals input to the video decoding system of FIG.

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

11 : 입력 신호 처리부 11-1,14-3 : 비디오 비트스트림 레지스터11: input signal processor 11-1, 14-3: video bitstream register

11-2,14-1 :DTS 레지스터 11-3,14-4 : 카운터11-2,14-1: DTS Register 11-3,14-4: Counter

11-4 : 멀티플렉서 11-5 : 지연기11-4: Multiplexer 11-5: Delay

12 : 메모리 제어부 13 : 메모리12: memory control unit 13: memory

13-1 : 비트스트림 저장부 13-2 : DTS 저장부13-1: Bitstream Storage 13-2: DTS Storage

14 : 출력 신호 처리부 14-2 : 픽쳐 번호 레지스터14: output signal processor 14-2: picture number register

14-5 : 비교기 15 : 비디오 디코더14-5: Comparator 15: Video Decoder

STC : 시스템 타임 클럭 DTS : 디코딩 타임 스탬프STC: System Time Clock DTS: Decode Time Stamp

PTS : 표시 타임 스탬프PTS: Display Time Stamp

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

본 발명은 외부로부터 PTS/DTS 정보를 비디오 비트 스트림과 함께 다중화하여 받아들인다 도2에 이 입력신호에 관한 타이밍도를 보였다 도2c의 비디오 데이터(Video_data)는 PTS/DTS와 함께 비디오 비트스트림이 전송되는 데이터 버스이고, 도 2a의 PTS_DTS_WIN과 도 2b의 Video_EN은 각각 현재 데이터 버스의 신호가 PTS인지 DTS인지 아니면 비디오 비트 스트림인지를 나타낸다.The present invention multiplexes and accepts PTS / DTS information from the outside together with the video bit stream. FIG. 2 shows a timing diagram for this input signal. The video data (Video_data) of FIG. 2C is transmitted with the PTS / DTS. PTS_DTS_WIN in FIG. 2A and Video_EN in FIG. 2B indicate whether the signal of the current data bus is a PTS, a DTS, or a video bit stream.

이때, 도2c와 같이 한 픽쳐 데이터에 해당하는 PTS와 DTS가 모두 입력되는 경우에는 PTS, DTS가 연속적으로 입력이 되어야 하고 현 픽쳐의 픽쳐 시작 코드(Picture Start Code, P_STC)보다 이전에 입력되어야 한다.In this case, when both PTS and DTS corresponding to one picture data are input as shown in FIG. 2C, PTS and DTS should be input continuously and input before the picture start code (P_STC) of the current picture. .

그리고, 비디오 비트 스트림은 입력되자 마자 바로 디코딩되는 것이 아니고 비트스트림 메모리에 소정시간동안 저장되었다가 디코딩되므로 입력된 PTS/DTS로부터 얻어진 DTS 역시 DTS 메모리에 입력 픽쳐의 번호와 함께 저장된다.Since the video bit stream is not decoded as soon as it is input, it is stored in the bitstream memory for a predetermined time and then decoded, so that the DTS obtained from the input PTS / DTS is also stored in the DTS memory together with the number of the input picture.

이를 실현하기 위한 본 발명에 따른 비디오 디코딩 시스템이 도1에 도시되어 있다.A video decoding system according to the present invention for realizing this is shown in FIG.

도1을 보면, 입력되는 비디오 비트 스트림 및 DTS/PTS를 분리하여 일시 저장하고 디코딩 픽쳐 번호를 계산하여 상기 DTS와 다중시키는 입력 신호 처리부(11), 상기 입력 신호 처리부(11)에서 출력되는 비디오 비트 스트림과 다중화된DTS+픽쳐 번호를 저장하는 메모리(13), 상기 메모리(13)에서 읽은 DTS+픽쳐번호로부터 DTS와 픽쳐 번호를 분리하여 각각 저장하고 메모리(13)에서 읽은 비디오 비트스트림으로부터 디코딩 픽쳐 번호를 구하여 구한 픽쳐 번호와 저장된 픽쳐 번호가 같은 경우에만 비디오 비트 스트림과 저장된 DTS를 함께 출력하는 출력 신호 처리부(14), 상기 입력 신호 처리부(11)로부터 출력되는 데이터의 저장 및 상기 메모리(13)로부터의 데이터의 리드를 제어하는 메모리 제어부(12), 및 상기 출력 신호 처리부(14)로부터 출력되는 DTS를 기준으로 비디오 비트 스트림을 디코딩하는 비디오 디코더 (15)로 구성 된다.Referring to FIG. 1, an input signal processor 11 and a video bit output from the input signal processor 11 to separate and temporarily store an input video bit stream and a DTS / PTS, calculate and decode a decoding picture number, and multiplex the DTS. A memory 13 for storing the stream and the multiplexed DTS + picture number, and separately storing the DTS and the picture number from the DTS + picture number read from the memory 13, and storing the decoded picture number from the video bitstream read from the memory 13, respectively. An output signal processor 14 for outputting the video bit stream and the stored DTS together only when the obtained picture number and the stored picture number are the same, and storing the data output from the input signal processor 11 and from the memory 13 Memory control unit 12 for controlling the reading of the data, and the video based on the DTS output from the output signal processing unit 14 It consists of a video decoder 15 for decoding the bit stream.

상기 입력 신호 처리부(11)는 Video_EN 신호에 의해 데이터 버스의 신호(Video_Data)가 비디오 비트 스트림을 나타내면 이를 저장하는 비디오 비트스트림레지스터(11-1), PTS_DTS_WIN 신호에 의해 데이터 버스의 신호(Video_Data)가 PTS또는 DTS를 나타내면 이를 저장하는 DTS 레지스터(11-2), 상기 비디오 비트스트림레지스터(11-1)로부터 픽쳐 시작 코드(P_STC)가 검출될 때마다 1씩 증가함에 의해 픽쳐 번호를 구하는 카운터(11-3), 상기 비디오 비트스트림 레지스터(11-1)에서 출력되는 비디오 비트스트림과 다중화된 DTS+픽쳐 번호를 선택 신호에 의해 다시 다중화하는 멀티플렉서(11-4), 및 상기 Video_EN 신호를 지연시켜 상기 멀티플렉서(11-4)의 선택 신호로 출력하는 지연기(11-5)로 구성된다.The input signal processor 11 is configured to store the video bit stream register 11-1 and the PTS_DTS_WIN signal to store the video bit stream when the video bus signal Video_Data indicates the video bit stream by the Video_EN signal. DTS register 11-2 for storing PTS or DTS, and a counter 11 for obtaining a picture number by incrementing by one each time a picture start code P_STC is detected from the video bitstream register 11-1. -3) a multiplexer 11-4 which multiplexes the video bitstream output from the video bitstream register 11-1 and the multiplexed DTS + picture number again by a selection signal, and delays the Video_EN signal to delay the multiplexer. And a delay unit 11-5 for outputting the selection signal of (11-4).

상기 메모리(13)는 비디오 비트 스트림을 저장하는 비트스트림 저장부(13-1)와 DTS+픽쳐 번호를 저장하는 DTS 저장부(13-2)로 영역이 구분되어 있고, 메모리제어부(12)의 제어에 의해 각 저장부(13-1,13-2)에 해당 데이터를 저장한다.The memory 13 is divided into a bitstream storage unit 13-1 for storing a video bit stream and a DTS storage unit 13-2 for storing a DTS + picture number, and is controlled by the memory controller 12. Stores the data in the storage units 13-1 and 13-2.

상기 출력 신호 처리부(14)는 DTS_WIN 신호에 의해 상기 메모리(13)로부터 읽어진 신호가 DTS+픽쳐 번호를 나타내면 DTS와 픽쳐 번호를 분리하여 각각 일시 저장하는 DTS 레지스터(14-1), 퍽쳐 번호 레지스터(14-2), 반전된 DTS_WIN 신호에의해 상기 메모리(13)로부터 읽어진 신호가 비디오 비트 스트림을 나타내면 이를 일시 저장하는 비디오 비트스트림 레지스터(14-3), 상기 비디오 비트스트림 레지스터(14-3)에서 픽쳐 시작 코드가 검출될 때마다 1씩 증가함에 의해 픽쳐 번호를 구하는 카운터(14-4), 상기 카운터(14-4)에서 구한 픽쳐 번호와 상기 픽쳐 번호 레지스터(14-2)에 저장된 픽쳐 번호를 비교하여 두 픽쳐 번호가 일치하는 경우에만 DTS_flag 신호를 발생시켜 비디오 디코더(15)와 메모리 제어부(12)로 출력하는 비교기(14-5)로 구성된다. 상기 DTS_flag 신호가 발생될 때에만 DTS 레지스터(11-1)에 저장된 DTS는 비디오 디코더(15)로 출력되며, 동시에 메모리 제어부(12)는 메모리(13)로부터 다음 DTS+픽쳐 번호를 읽어와 상기 DTS 레지스터(11-1)와 픽쳐 번호레지스터(11-2)에 DTS와 픽쳐 번호를 오버 라이트한다 즉, DTS 레지스터(11-1)와 픽쳐 번호 레지스터(11-2)를 업데이트한다.When the signal read out from the memory 13 by the DTS_WIN signal indicates a DTS + picture number, the output signal processor 14 separates the DTS and the picture number and temporarily stores them, respectively. 14-2) a video bitstream register 14-3 for temporarily storing a signal read from the memory 13 by the inverted DTS_WIN signal indicating a video bitstream, and the video bitstream register 14-3. A counter number 14-4 for obtaining a picture number by incrementing by one each time a picture start code is detected from the picture number, a picture number obtained by the counter 14-4, and a picture number stored in the picture number register 14-2. It is composed of a comparator 14-5 which generates a DTS_flag signal and outputs it to the video decoder 15 and the memory controller 12 only when the two picture numbers match. Only when the DTS_flag signal is generated, the DTS stored in the DTS register 11-1 is output to the video decoder 15, and at the same time, the memory control unit 12 reads the next DTS + picture number from the memory 13 to read the DTS register. The DTS and the picture number are overwritten in the 11-1 and the picture number register 11-2. That is, the DTS register 11-1 and the picture number register 11-2 are updated.

이와 같이 구성된 본 발명에서 입력 신호 처리부(11)의 비디오 비트스트림 레지스터(11-1)는 임시 레지스터로서, 도 2b의 Video_EN 신호에 의해 입력되는 데이터 버스의 신호(Video_Data)가 비디오 비트 스트립을 나타내면 즉, Video_EN 신호가 로우를 나타내면 비디오 비트 스트림이 입력되고 있으므로 입력되는 비디오 비트스트림을 저장한다. 상기 비디오 비트스트림 레지스터(11-1)는 비디오 비트스트림이 저장되면 픽쳐 시작 코드를 검출하고, 픽쳐 시작 코드가 검출되면 P_STC 신호를 카운터(11-3)로 출력한다.In the present invention configured as described above, the video bitstream register 11-1 of the input signal processing unit 11 is a temporary register. When the signal (Video_Data) of the data bus inputted by the Video_EN signal of FIG. 2B indicates a video bit strip, When the Video_EN signal indicates low, the video bitstream is input. Therefore, the input video bitstream is stored. The video bitstream register 11-1 detects a picture start code when the video bitstream is stored, and outputs a P_STC signal to the counter 11-3 when the picture start code is detected.

그리고, 입력 신호 처리부(11)의 DTS 레지스터(11-2)는 임시 레지스터로서, 도2a와 같은 PTS_DTS_WIN 신호에 의해 데이터 버스의 신호(Video_Data)가 PTS 또는 DTS를 나타내면 즉, PTS-DTS_WIN 신호가 하이이면 PTS 또는 DTS가 입력되고 있으므로 PTS/DTS로부터 DTS를 얻어내어 저장한다.The DTS register 11-2 of the input signal processor 11 is a temporary register. When the signal (Video_Data) of the data bus indicates PTS or DTS by the PTS_DTS_WIN signal as shown in FIG. 2A, that is, the PTS-DTS_WIN signal is high. If PTS or DTS is inputted, DTS is obtained from PTS / DTS and stored.

이때, PTS/DTS로부터 DTS를 저장하는 과정은 다음과 같다. 즉, PTS와 DTS가 모두 입력되는 경우에 PTS는 DTS보다 먼저 입력되므로 PTS를 DTS 레지스터(11-2)에저장한 후 연이어서 입력되는 DTS를 다시 상기 DTS 레지스터(11-2)에 오버라이트하면 결국 DTS만 DTS 레지스터(11-2)에 저장한다. 이렇게 하면, PTS와 DTS가 모두 있을 경우에는 DTS가 저장될 것이고, PTS만 있는 경우에는 PTS만 저장될 것이다. 이때, PTS만 입력되는 경우에는 MPEG 스펙상 PTS와 DTS가 같다고 하였으므로 결국,DTS가 되는 것이다. 이것이, 입력 신호에서 PTS와 DTS를 구별하지 않고 하나의 윈도인 신호인 PTS_DTS_WIN 신호만을 사용하는 이유이다.At this time, the process of storing the DTS from the PTS / DTS is as follows. That is, when both the PTS and the DTS are input, the PTS is inputted before the DTS. Therefore, if the PTS is stored in the DTS register 11-2 and subsequently successively overwritten the inputted DTS again in the DTS register 11-2, As a result, only the DTS is stored in the DTS register 11-2. This will save the DTS if there is both a PTS and a DTS, and only the PTS if there is only a PTS. In this case, when only the PTS is input, since the PTS and the DTS are the same in the MPEG specification, the end result is the DTS. This is the reason why only the PTS_DTS_WIN signal, which is a single window signal, is used without distinguishing PTS and DTS from the input signal.

한편, 상기 카운터(11-3)는 초기값은 0이고, P_STC 신호가 입력될 때마다 1씩 증가하여 현재 입력되고 있는 픽쳐의 번호를 나타낸다. 이 값은 DTS가 어느 픽쳐의 DTS인지를 나타내기 위하여 사용되며, DTS가 DTS 메모리(13-2)에 저장될 때 함께 저장된다. 즉, DTS 레지스터(11-2)에 저장된 DTS와 카운터(11-3)에서 구한 픽쳐의 번호는 다중화되어 멀티플렉서(11-4)로 입력된다.On the other hand, the counter 11-3 has an initial value of 0, and increments by one each time the P_STC signal is input to indicate the number of the currently input picture. This value is used to indicate which picture of the DTS is the DTS, and is stored together when the DTS is stored in the DTS memory 13-2. In other words, the DTS stored in the DTS register 11-2 and the picture numbers obtained by the counter 11-3 are multiplexed and input to the multiplexer 11-4.

상기 멀티플렉서(11-4)는 비디오 비트스트림 레지스터(11-1)에서 출력되는비디오 비트스트림과 다중화된 DTS+픽쳐 번호를 다시 선택신호에 의해 다중화하여 메모리 제어부(12)로 출력한다. 상기 멀티플렉서(11-4)는 Video_EN 신호를 지연기(11-5)를 통해 입력받아 선택 신호로 이용하는데, 상기 지연기(11-5)는 상기 비디오 비트스트림 레지스터(11-1), DTS 레지스터(11-2)에서의 지연을 보상하기 위해 사용된다.The multiplexer 11-4 multiplexes the video bitstream output from the video bitstream register 11-1 and the multiplexed DTS + picture number by the selection signal and outputs the multiplexed signal to the memory controller 12. The multiplexer 11-4 receives the Video_EN signal through the delayer 11-5 and uses it as a selection signal. The delayer 11-5 is the video bitstream register 11-1 and the DTS register. It is used to compensate for the delay in (11-2).

이때, 메모리(13)의 비트스트림 저장부(13-1)는 상기 메모리 제어부(12)의제어에 의해 멀티플렉서(11-4)를 통해 출력되는 비디오 비트 스트림을 저장하고,DTS 저장부(13-2)는 DTS+픽쳐 번호를 저장한다.In this case, the bitstream storage unit 13-1 of the memory 13 stores the video bit stream output through the multiplexer 11-4 under the control of the memory control unit 12, and the DTS storage unit 13-13. 2) stores the DTS + picture number.

그리고, 상기 메모리 제어부(12)는 상기 비디오 메모리(13-1)와 DTS 저장부(13-2)에 저장된 데이터를 다시 읽어내어 출력하는데, 특히 DTS_flag 신호를 입력으로 받아들여 이 신호가 발생하면 DTS+픽쳐 번호쌍을 DTS 저장부(13-2)로부터 읽어내어 출력한다. 이때, DTS+픽쳐 번호와 비디오 비트 스트림을 구별해주는DST_WIN 신호를 출력한다.The memory controller 12 reads out data stored in the video memory 13-1 and the DTS storage unit 13-2 again and outputs the data. In particular, when the signal is generated by receiving the DTS_flag signal as an input, the DTS + The picture number pair is read from the DTS storage unit 13-2 and output. At this time, a DST_WIN signal for distinguishing between a DTS + picture number and a video bit stream is output.

즉, 상기 DTS 저장부(13-2)로부터 읽어진 DTS+픽쳐 번호쌍은 분리되어 출력신호 처리부(14)의 DTS 레지스터(14-1)와 픽쳐 번호 레지스터(14-2)에 각각 저장된다 그리고, 비트스트림 저장부(13-1)로부터 읽어진 비디오 비트스트림은 출력신호처리부(14)의 비디오 비트스트림 레지스터(14-3)에 저장된다.That is, the DTS + picture number pairs read from the DTS storage unit 13-2 are separated and stored in the DTS register 14-1 and the picture number register 14-2 of the output signal processor 14, respectively. The video bitstream read from the bitstream storage unit 13-1 is stored in the video bitstream register 14-3 of the output signal processing unit 14.

여기서, 상기 DTS 레지스터(14-1), 픽쳐 번호 레지스터(14-2), 및 비디오 비트스트림 레지스터(14-3)는 DTS_WIN 신호에 의해 메모리(13)로부터 출력되는 데이터가 비트스트림 저장부(13-1)로부터 출력되는 데이터인지 DTS 저장부(13-2)로부터 출력되는 데이터인지를 알 수 있다 그리고, 상기 DTS 레지스터(14-1)와 픽쳐 레지스터(14-2)는 초기에 한 번은 첫 번째 픽쳐의 DTS와 픽쳐 번호값이 자동으로 로드된다In this case, the DTS register 14-1, the picture number register 14-2, and the video bitstream register 14-3 store data output from the memory 13 by the DTS_WIN signal. -1) or data output from the DTS storage unit 13-2, and the DTS register 14-1 and the picture register 14-2 are initially the first once. The picture's DTS and picture number value are loaded automatically

또한, 상기 비디오 비트스트림 레지스터(14-3)는 비디오 비트스트림이 저장되면 픽쳐 시작 코드를 검출하여 픽쳐 시작 코드가 검출되면 P_STC 신호를 카운터(14-4)로 출력 한다.Also, the video bitstream register 14-3 detects a picture start code when the video bitstream is stored, and outputs a P_STC signal to the counter 14-4 when the picture start code is detected.

상기 카운터(14-4)는 초기값은 -1이며 P_STC 신호가 발생할 때마다 1씩 증가하여 현재 디코딩되고 있는 픽쳐의 번호를 구한 후 비교기(14-5)로 출력한다 상기비교기(14-5)는 상기 카운트(14-4)에서 구한 픽쳐 번호와 픽쳐 번호 레지스터(14-2)에 저장된 픽쳐 번호를 비교하여 저장된 픽쳐 번호보다 작으면 DTS_flag를발생시키지 않고 같으면 발생시켜 상기 메모리 제어부(12)와 비디오 디코더(15)로출력한다. 여기서, 정상적인 경우에는 카운트 값이 저장된 픽쳐 번호보다 더 큰 경우는 발생할 수 없는데 만약 다른 경우가 발생하면 에러이므로 에러 처리를 한다The counter 14-4 has an initial value of -1 and increments by one each time a P_STC signal is generated to obtain the number of the picture currently being decoded and outputs the number to the comparator 14-5. Compares the picture number obtained in the count 14-4 with the picture number stored in the picture number register 14-2, and if the picture number is smaller than the stored picture number, does not generate DTS_flag. Output to decoder 15. In this case, if the count value is larger than the stored picture number, it may not occur. If other cases occur, an error is processed.

그리고, DTS_flag가 발생하였다는 것은 현재 픽쳐 시작 코드가 디코딩되고 있는 픽쳐에 해당하는 DTS가 있다는 것을 의미하므로 비디오 디코더(15)는 이때의 DTS를 DTS 레지스터(14-1)로부터 입력받아 저장하고, 현재의 헤더 디코딩이 끝나고 픽쳐 데이터를 디코딩할 때 이 값을 DTS로 사용한다 이는 픽쳐에는 DTS가 있는 경우도 있고 없는 경우도 있기 때문이다.Since the occurrence of the DTS_flag means that there is a DTS corresponding to the picture from which the current picture start code is being decoded, the video decoder 15 receives the DTS from the DTS register 14-1 and stores the current DTS. This value is used as the DTS when decoding the picture data after the header decoding is completed. This is because a picture may or may not have a DTS.

또한, DTS_flag 신호가 발생하면 현재 DTS 레지스터(14-1) 값이 사용되었으므로 동시에, 메모리 제어부(12)는 DTS_flag가 발생하면 다음을 위해 다음 DTS+픽쳐 번호를 DTS 저장부(13-2)로부터 읽어내어 DTS 레지스터(14-1)와 픽쳐 번호 레지스터 (14-2)를 업데이트한다 .When the DTS_flag signal is generated, the current DTS register 14-1 value is used. At the same time, when the DTS_flag is generated, the memory controller 12 reads the next DTS + picture number from the DTS storage unit 13-2 for the next time. Update the DTS register 14-1 and picture number register 14-2.

따라서, 비디오 디코더(15)는 현재 디코딩되고 있는 픽쳐에 해당하는 DTS를 정확하게 입력받아 비디오 비트스트림을 디코딩하게 된다.Accordingly, the video decoder 15 correctly receives the DTS corresponding to the picture currently being decoded and decodes the video bitstream.

본 발명에서, 입력 신호 처리부(11)의 카운터(11-3)와 출력 신호 처리부(14)의 카운터(14-4)에서 지정하는 값은 한 픽쳐에 대해 같으며, 픽쳐 번호와 DTS를 매칭시키기 위해서 상기 두 카운터(11-3,14-4)의 초기값은 각각 0, -1로 다르다 이는 입력 신호 처리부(11)에서는 DTS가 픽쳐의 시작 코드보다 앞에 있고, 출력 신호처리부(14)에서는 DTS가 시작 코드보다 뒤에 있기 때문이다.In the present invention, the values specified by the counter 11-3 of the input signal processing unit 11 and the counter 14-4 of the output signal processing unit 14 are the same for one picture, and matching the picture number and the DTS. For this reason, the initial values of the two counters 11-3 and 14-4 are different from 0 and -1, respectively. In the input signal processor 11, the DTS is ahead of the picture start code, and in the output signal processor 14, the DTS is used. Is behind the start code.

한편, 본 발명에 따른 비디오 디코딩 시스템을 디지털 TV에 적용하면 디지털TV의 성능을 개선할 수 있다.Meanwhile, when the video decoding system according to the present invention is applied to a digital TV, the performance of the digital TV can be improved.

이상에서와 같이 본 발명에 따른 비디오 디코딩 시스템에 의하면, PTS/DTS를입력으로 받아 이것으로부터 DTS를 얻어낸 후 이것을 픽쳐 번호와 함께 메모리에 저장하고, 디코딩 픽쳐 번호와 메모리에서 읽어 일시 저장된 픽쳐 번호를 비교하여 같은 경우에만 메모리에서 읽어 일시 저장된 DTS를 비디오 비트 스트림과 함께 비디오 디코더로 출력하여 비디오 디코더에서 이 DTS를 기준으로 비디오 비트 스트림을 디코딩하도록 함으로써, 비디오 디코딩 타이밍 제어를 정확하게 구현할 수 있고 더불어 A/V 립 싱크를 정확하게 맞출 수 있다As described above, according to the video decoding system according to the present invention, after receiving a PTS / DTS as an input, obtain a DTS from it, store it in a memory with a picture number, and compare the decoded picture number with the temporarily stored picture number by reading from the memory. In this case, the video decoding timing control can be accurately implemented and A / V can be realized by outputting the temporarily stored DTS along with the video bit stream to the video decoder so that the video decoder can decode the video bit stream based on the DTS. I can precisely match a lip sync

Claims (14)

다중화되어 입력되는 비디오 비트 스트림 및 표시 타임/디코딩 타임 스탬프(PTS/DTS)를 분리하여 일시 저장하고 저장된 비디오 비트스트림의 픽쳐 번호를 계산하여 상기 DTS와 다중시키는 입력신호 처리부와 상기 입력 신호 처리부에서 출력되는 비디오 비트 스트림과 다중화된 DTS+픽쳐 번호를 저장하는 메모리와, 상기 메모리에서 읽은 DTS로부터 픽쳐 번호를 분리하여 각각 일시 저장하고 메모리부에서 읽은 비디오 비트 스트림으로부터 디코딩 픽쳐 번호를 계산한 후 계산된 픽쳐 번호와 저장된 픽쳐 번호가 같은 경우에만 저장된 DTS를 비디오 비트 스트림과 함께 출력하는 출력 신호 처리부와, 상기 출력 신호 처리부로부터 출력되는 DTS를 기준으로 비디오 비트 스트림을 디코딩하는 비디오 디코더와, 상기 입력 신호 처리부로부터 출력되는 데이터의 저장 및 상기 메모리로부터 출력 신호 처리부로의 데이터 읽기를 제어한는 메모리 제어부로 구성됨을 특징으로 하는 비디오 디코딩 시스템.The input signal processor and the input signal processor output the video bit stream and the display time / decoding time stamp (PTS / DTS) which are multiplexed and separated, and store the picture bit of the stored video bitstream. A picture number calculated after storing a video bit stream and a multiplexed DTS + picture number, and separately storing the picture number from the DTS read from the memory, and calculating the decoded picture number from the video bit stream read from the memory. And an output signal processor for outputting the stored DTS together with the video bit stream only when the stored picture numbers are the same, a video decoder for decoding the video bit stream based on the DTS output from the output signal processor, and outputting from the input signal processor. Of the data being generated And a video decoding system, characterized by consisting of a an an memory controller controls the data read portion of the processed output signal from the memory. 제1항에 있어서, 상기 입력 신호 처리부는 외부로부터 입력되는 인에이블 신호에 의해 입력되는 데이터 버스의 데이터가 비디오 비트 스트림을 나타내면 입력되는 비디오 비트스트림을 일시 저장하는 비디오 비트스트림 레지스터와, 외부로부터 입력되는 윈도우 신호에 의해 데이터 버스의 데이터가 PTS/DTS를나타내면 이로부터 DTS를 얻어내어 일시 저장하는 DTS 레지스터와, 상기 비디오 비트스트림 레지스터로부터 픽쳐 시작 코드가 검출될 때마다 1씩 증가함에 의해 픽쳐 번호를 구하는 카운터와, 상기 비디오 비트스트림 레지스터에서 출력되는 비디오 비트스트림과 다중화된 DTS+픽쳐 번호를 선택 신호에 의해 다시 다중화하는 멀티플렉서로 구성됨을 특징으로 하는 비디오 디코딩 시스템.The video bitstream register of claim 1, wherein the input signal processor is configured to temporarily store an input video bitstream when data of a data bus input by an enable signal input from an external device represents a video bitstream, and input from an external device. When the data on the data bus indicates PTS / DTS due to the window signal, the DTS register obtains and temporarily stores a DTS from the data bus, and increases the picture number by one each time a picture start code is detected from the video bitstream register. And a multiplexer for multiplexing the video bitstream output from the video bitstream register and the multiplexed DTS + picture number by a selection signal. 제 2항에 있어서, 상기 입력 신호 처리부는 상기 비디오 비트스트림 레지스터로 입력되는 인에이블 신호를 소정시간 지연시켜 상기 멀티플렉서의 선택 신호로 출력하는 지연기가 더 구비됨을 특징으로 하는 비디오 디코딩 시스템.The video decoding system of claim 2, wherein the input signal processor further includes a delayer configured to delay an enable signal input to the video bitstream register by a predetermined time and output the delayed signal as a selection signal of the multiplexer. 제 2항에 있어서, 상기 DTS레지스터는 PTS와 DTS가 모두 입력되는 경우에는 PTS를 저장한 후 연이어 입력되는 DTS를 오버 라이트함을 특징으로 하는 비디오 디코딩 시스템.The video decoding system of claim 2, wherein the DTS register overwrites the DTSs that are sequentially input after storing the PTSs when both the PTSs and the DTSs are input. 제 2 항에 있어서, 상기 DTS 레지스터의 윈도우 신호는 PTS와 DTS를 구분하지 않는 신호임을 특징으로 하는 비디오 디코딩 시스템.The video decoding system of claim 2, wherein the window signal of the DTS register is a signal that does not distinguish between PTS and DTS. 제 2 항에 있어서, 상기 카운터는 초기값이 0으로 설정됨을 특징으로 하는 비디오 디코딩 시스템.3. The video decoding system of claim 2, wherein the counter is set to an initial value of zero. 제 1 항에 있어서, 상기 메모리는 비디오 비트 스트림을 저장하는 비트스트림 저장부와, DTS+픽쳐 번호를 저장하는 DTS 저장하는 DTS저장부로 영역이 구분되어 있고, 메모리 제어부의 제어에 의해 저장 및 읽기가 제어됨을 특징으로 하는 비디오 디코딩 시스템,The memory of claim 1, wherein the memory is divided into a bitstream storage unit for storing a video bit stream, and a DTS storage unit for storing a DTS + picture number, and storing and reading are controlled by a memory controller. Video decoding system, characterized in that 제 1 항에 있어서, 상기 출력 신호 처리부는 상기 메모리 제어부로부터 입력되는 윈도우 신호에 의해 상기 메모리로부터 읽어진 데이타가 다중화된 DTS+픽쳐 번호를 나타내면 DTS와 픽쳐 번호를 분리하여 각각 일시 저장하는 DTS 레지스터 및 픽쳐 번호 레지스터와, 반전된 윈도우 신호에 의해 상기 메모리로부터 읽어진 데이터가 비디오 스트림을 나타내면 이를 일시 저장하는 비디오 비트스트림 레지스터와, 상기 비디오 비트스트림 레지스터에서 픽쳐 시작 코드가 검출될 때마다 1씩 증가함에 의해 픽쳐 번호를 구하는 카운터와, 상기 카운터에서 구한 픽쳐 번호와 상기 픽쳐 번호 레지스터에 저장된 픽쳐번호를 비교하여 두 픽쳐 번호가 일치하는 경우에만 DTS 플래그(DTS_flag) 신호를 발생시켜 상기 비디오 디코더와 메모리 제어부로 출력하는 비교기로 구성되는 비디오 디코딩 시스템.The DTS register and the picture of claim 1, wherein the output signal processing unit separately stores the DTS and the picture number when the data read from the memory is multiplexed by the window signal input from the memory control unit. A number bit, a video bitstream register for temporarily storing the data read from the memory by the inverted window signal representing the video stream, and incrementing by one each time a picture start code is detected in the video bitstream register. A counter for obtaining a picture number, a picture number obtained from the counter, and a picture number stored in the picture number register are compared to generate a DTS flag (DTS_flag) signal only when the two picture numbers match, and are output to the video decoder and the memory controller. Phrase as comparator Video decoding system. 제 8 항에 있어서, 상기 7비 디 오 디코더는 상기 비교기에서 DTS 플래그(DTS_flag) 신호가 발생되면 DTS 레지스터에 저장된 DTS를 읽어와 일시 저장한 후 현재의 헤더 디코딩이 끝나면 이 DTS를 기준으로 픽쳐 데이터를 디코딩함을 특징으로 하는 비디오 디코딩 시스템.10. The apparatus of claim 8, wherein the 7 video decoder reads and temporarily stores a DTS stored in a DTS register when a DTS flag (DTS_flag) signal is generated in the comparator, and then, when decoding of a current header is completed, picture data based on the DTS. And a video decoding system. 제 8 항에 있어서, 상기 메모리 제어부는 상기 비교기에서 DTS 플래그(DTS_flag) 신호가 발생되면 상기 메모리로부터 다음 DTS+픽쳐 번호를 읽어와 상기 DTS 레지스터와 픽쳐 번호 레지스터를 업데이트시킴을 특징으로 하는 비디오 디코딩 시스템.The video decoding system of claim 8, wherein when the comparator generates a DTS flag (DTS_flag) signal, the memory controller reads a next DTS + picture number from the memory and updates the DTS register and the picture number register. 제 8 항에 있어서, 상기 카운터는 초기값이 -1로 설정됨을 특징으로 하는 비디오 디코딩 시스템.10. The video decoding system of claim 8, wherein the counter has an initial value set to -1. 제 8 항에 있어서, 상기 DTS 레지스터와 픽쳐 레지스터는 초기에 한 번은 첫 번째 픽쳐의 DTS와 픽쳐 번호값이 자동으로 로드됨을 특징으로 하는 비디오 디코딩 시스템.9. The video decoding system of claim 8, wherein the DTS register and the picture register are loaded with the DTS and picture number of the first picture automatically once. 디지털 방송이 안테나를 통해 수신되면 튜닝에 의해 원하는 채널의 주파수를 선택 하여 복조하는 튜너와, 한 채널에 포함된 다수의 프로그램들중 원하는 한 프로그램을 선택하여 패킷화되어 있는 오디오와 비디오 비트스트림으로 분리하는 디멀티플렉서와,상기 디멀티플렉서로부터 다중화되어 입력되는 비디오 비트 스트림 및 표시 타임 스탬프/디코딩 타임 스탬프(PTS/DTS)를 분리하여 일시 저장하고 저장된 비디오 비트스트림의 픽쳐 번호를 계산하여 상기 DTS와 다중시키는 입력 신호 처리부와, 상기 입력 신호 처리부에서 출력되는 비디오 비트 스트림과 다중환된 DTS+픽쳐 번호를 저장하는 메모리와, 상기 메모리에서 읽은 DTS로부터 픽쳐 번호를 분리하여 각각 일시 저장하고 메모리에서 읽은 비디오 비트 스트림으로부터 디코딩 픽쳐 번호를 계산한 후 계산된 퍽쳐 번호와 저장된 픽척 번호가 같은 경우에만 저장된 DTS를 비디오 비트 스트림과 함께 출력하는 출력 신호 처리부와, 상기 출력 신호 처리부로부터 출력되는 DTS를 기준으로 비디오 비트 스트림을 디코딩하는 비디오 디코더와, 상기 입력 신호 처리부로부터 출력되는 데이터의 저장 및 상기 메모리로부터 출력 신호 처리부로의 데이터 읽기를 제어하는 메모리 제어부와, 상기 비디오 디코더에서 디코딩된 픽쳐의 픽셀 데이터를 디스플레이하는 디스플레이부를 포함하여 구성됨을 특징으로 하는 디지털 티브이 시스템.When digital broadcasting is received through an antenna, the tuner selects and demodulates a frequency of a desired channel by tuning, and selects a desired program among a plurality of programs included in one channel and separates it into a packetized audio and video bitstream. A demultiplexer and a video bit stream multiplexed from the demultiplexer and an input time signal / display time stamp / decoding time stamp (PTS / DTS) which are separately stored and temporarily stored, and a picture number of the stored video bitstream is calculated and multiplexed with the DTS. A processing unit, a memory for storing the video bit stream output from the input signal processing unit and a multi-ring DTS + picture number, and separately storing the picture numbers from the DTS read from the memory, and temporarily storing the picture numbers from the video bit stream read from the memory. Counted An output signal processor for outputting the stored DTS together with the video bit stream only when the calculated puncher number and the stored picture number are the same; a video decoder for decoding the video bit stream based on the DTS output from the output signal processor; And a memory controller for controlling storage of data output from the signal processor and reading of data from the memory to the output signal processor, and a display unit for displaying pixel data of a picture decoded by the video decoder. system. 제 13 항에 있어서, 상기 메모리 제어부는 상기 출력 신호 처리부에서 계산된 픽쳐 번호와 저장된 픽쳐 번호가 같으면 상기 메모리로부터 다음 DTS+픽쳐 번호를 읽어와 출력 신호 처리부에 저장된 DTS와 픽쳐 번호를 업데이트시킴을 특징으로 하는 디지털 티브이 시스템.15. The method of claim 13, wherein the memory controller reads the next DTS + picture number from the memory and updates the DTS and the picture number stored in the output signal processor when the picture number calculated by the output signal processor is the same as the stored picture number. Digital TV system.
KR1019970077140A 1997-12-29 1997-12-29 Video decoding system KR100236014B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970077140A KR100236014B1 (en) 1997-12-29 1997-12-29 Video decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970077140A KR100236014B1 (en) 1997-12-29 1997-12-29 Video decoding system

Publications (2)

Publication Number Publication Date
KR19990057099A KR19990057099A (en) 1999-07-15
KR100236014B1 true KR100236014B1 (en) 1999-12-15

Family

ID=19529490

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970077140A KR100236014B1 (en) 1997-12-29 1997-12-29 Video decoding system

Country Status (1)

Country Link
KR (1) KR100236014B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101114749B1 (en) 2005-11-11 2012-03-05 삼성전자주식회사 Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010102899A (en) * 2001-10-23 2001-11-17 박영남 Apparatus and method for implementing multi-display of mpeg2 file in mpeg2 file reproducing system
KR100826170B1 (en) * 2002-04-08 2008-04-30 엘지전자 주식회사 Method for managing presentation time stamp in digital broadcasting receiver
KR100964671B1 (en) * 2003-05-23 2010-06-22 엘지전자 주식회사 Method for playing of digital video stream
KR100686051B1 (en) * 2005-03-22 2007-02-22 엘지전자 주식회사 Method of Audio/Video Decoding in Digital Multimedia Broadcasting
KR101868203B1 (en) * 2015-01-28 2018-07-20 한국전자통신연구원 Method and apparatus for processing stream

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101114749B1 (en) 2005-11-11 2012-03-05 삼성전자주식회사 Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof

Also Published As

Publication number Publication date
KR19990057099A (en) 1999-07-15

Similar Documents

Publication Publication Date Title
KR100226528B1 (en) Decoder for compressed and multiplexed video and audio data
US5905768A (en) MPEG audio synchronization system using subframe skip and repeat
US5654805A (en) Multiplexing/demultiplexing method for superimposing sub-images on a main image
US5588029A (en) MPEG audio synchronization system using subframe skip and repeat
US6157674A (en) Audio and video data transmitting apparatus, system, and method thereof
US5289276A (en) Method and apparatus for conveying compressed video data over a noisy communication channel
US7675876B2 (en) Transport demultiplexor with bit maskable filter
KR100301826B1 (en) Video decoder
US20050259946A1 (en) Video editing apparatus and video editing method
KR100203262B1 (en) Interface device of video decoder for syncronization of picture
EP1643772B1 (en) System, method and apparatus for clean channel change
KR19980070568A (en) Waveform Generator for Inserting Data into Digital Television Signals
US6980732B1 (en) Data reproduction transmission apparatus and data reproduction transmission method
KR100294663B1 (en) Mpeg decoder and decoding control method
KR100301825B1 (en) Mpeg video decoding system and method of processing overflow of mpeg video decoding system
JPH11340938A (en) Data multiplexer and its method
KR0185927B1 (en) Image decoding apparatus and method changing the frame rate of input bit stream
KR100236014B1 (en) Video decoding system
KR100617221B1 (en) Method for audio/video signal synchronizing of digital broadcasting receiver
US20080198921A1 (en) Method and apparatus for reproducing digital broadcasting
US7805053B2 (en) Exploitation of discontinuity indicator for trick mode operation
JPH08275151A (en) Distribution decoder for multiplexed compressed image-audio data
US6970514B1 (en) Signal processing device, signal processing method, decoding device, decoding method and recording medium
JPH1093841A (en) Video synchronizing signal correction device
KR19980027646A (en) Video and Audio Synchronization Method Using Timestamp Compensation and MPEG-2 Encoder Device Using It

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: 20060616

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee