KR100565651B1 - Apparatus for decoding video user data in DTV and for the same - Google Patents

Apparatus for decoding video user data in DTV and for the same Download PDF

Info

Publication number
KR100565651B1
KR100565651B1 KR1020030098954A KR20030098954A KR100565651B1 KR 100565651 B1 KR100565651 B1 KR 100565651B1 KR 1020030098954 A KR1020030098954 A KR 1020030098954A KR 20030098954 A KR20030098954 A KR 20030098954A KR 100565651 B1 KR100565651 B1 KR 100565651B1
Authority
KR
South Korea
Prior art keywords
user data
video
start code
memory
data
Prior art date
Application number
KR1020030098954A
Other languages
Korean (ko)
Other versions
KR20050067919A (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 KR1020030098954A priority Critical patent/KR100565651B1/en
Publication of KR20050067919A publication Critical patent/KR20050067919A/en
Application granted granted Critical
Publication of KR100565651B1 publication Critical patent/KR100565651B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/43Hardware specially adapted for motion estimation or compensation
    • H04N19/433Hardware specially adapted for motion estimation or compensation characterised by techniques for memory access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder

Abstract

본 발명은 디지털 티브이의 비디오 디코더에 관한 것으로, 특히 유저 데이터 영역의 데이터를 디코딩하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치 및 방법에 관한 것이다. 본 발명은 디지털 티브이를 초기화하여 호스트 프로세서가 유저 데이터 디코딩 모드를 선택적으로 설정하고; 유저 데이터가 입력되면 스타트 코드를 검출하고; 상기 스타트 코드가 검출되면 상기 설정 모드에 부합되는지 여부를 판단하여 부합되면 상기 유저 데이터를 디코딩하여 디코딩된 유저 데이터를 바이트 단위로 FIFO에 임시 저장하고; 상기 FIFO에 일정한 크기의 유저 데이터가 저장되면 메모리에 저장하고; 상기 메모리에 저장된 유저 데이터의 시퀀스를 검사하여 마지막일 경우 특정 유저 데이터를 호스트 프로세서로 선택적으로 읽어내도록 함으로써, 유저 데이터의 디코딩을 호스트 프로세서의 요구에 맞게 그리고 필요한 데이터 만을 선택적으로 디코딩할 수 있으므로 유저 데이터를 저장할 메모리를 감축할 수 있으며, 또한 호스트 프로세서가 전체 시스템을 효율적으로 관리 제어할 수 있다.The present invention relates to a video decoder of a digital TV, and more particularly, to an apparatus and method for decoding a video of a digital TV video user data. The present invention initializes the digital TV so that the host processor selectively sets the user data decoding mode; Detecting start code when user data is input; If the start code is detected, determine whether or not the setting mode is matched, and if so, decode the user data and temporarily store the decoded user data in a FIFO in units of bytes; Storing user data of a predetermined size in the FIFO and storing it in a memory; By checking the sequence of user data stored in the memory and selectively reading out specific user data to the host processor at the end, the user data can be decoded to suit the needs of the host processor and only the necessary data can be decoded selectively. It can reduce the memory to store the data, and also allows the host processor to efficiently manage and control the entire system.

신텍스 파서, 유저 데이터, 디코딩, FIFOSyntax Parser, User Data, Decode, FIFO

Description

디지털 티브이의 비디오 유저 데이터 디코딩 장치 및 방법{Apparatus for decoding video user data in DTV and for the same}Apparatus for decoding video user data in DTV and for the same}

도 1은 본 발명에 따른 디지털 티브이의 비디오 유저 데이터 디코딩 장치를 나타낸 도면1 is a diagram showing an apparatus for decoding video user data of a digital TV according to the present invention.

도 2는 본 발명에 따른 디지털 티브이의 비디오 유저 데이터 디코딩 방법을 나타낸 흐름도 2 is a flowchart illustrating a method of decoding video user data of a digital TV according to the present invention.

*도면의 간단한 설명** Brief description of drawings *

11 : 신텍스 파서 12 : 호스트 프로세서11: syntax parser 12: host processor

13 : 유저 데이터 디코더 14 : FIFO13: user data decoder 14: FIFO

15 : 메모리 16 : 비디오 디코더15: memory 16: video decoder

본 발명은 디지털 티브이의 비디오 디코더에 관한 것으로, 특히 유저 데이터 영역의 데이터를 디코딩하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치 및 방법에 관한 것이다. The present invention relates to a video decoder of a digital TV, and more particularly, to an apparatus and method for decoding a video of a digital TV video user data.

현재 MPEG(Moving Picture Expert Group) 규격으로 압축된 동영상 시퀀스(Sequence)에는 자막 방송(Closed Caption), 화면 표시 정보(Display Information), 3:2 풀다운(Pull-down) 정보 등의 다양한 유저 데이터(user data)가 포함되어 있다.  Currently, a movie sequence compressed to the Moving Picture Expert Group (MPEG) standard includes various user data such as closed caption, display information, and 3: 2 pull-down information. data) is included.

이러한 유저 데이터의 디코딩과 수신된 정보에 상응하는 디코딩 방법은 수신 시스템에 따라 다르게 구현되며 필요에 따라서 하드웨어 또는 소프트웨어에 의해 디코딩된다.The decoding of such user data and the decoding method corresponding to the received information are implemented differently depending on the receiving system and decoded by hardware or software as necessary.

상기 유저 데이터는 비디오나 오디오 데이터에 비해 데이터 양이 많지 않으며 이에 따라 전송되는 비트 레이트도 그리 높은 편이 아니다. The user data does not have much data compared with video or audio data, and thus the bit rate transmitted is not very high.

따라서, 대부분의 비디오 디코더는 비디오 레벨의 유저 데이터의 탐색과 디코딩은 하드웨어로 처리하며 자세한 데이터 분석에 의한 정보 가공 또는 데이터 내용에 의한 시스템 측면에서의 각 구성 블록 제어는 소프트웨어에 의해 처리된다. Accordingly, most video decoders handle hardware search and decoding of video data at the video level, and control of each component block in terms of system processing by data processing or information processing by detailed data analysis is performed by software.

MPEG 규격에 의하면 비디오 비트 스트림상의 유저 데이터는 여러 레벨에 나뉘어 전송될 수가 있다. According to the MPEG standard, user data on a video bit stream can be transmitted in various levels.

즉, 시퀀스 헤더 레벨(Sequence Header Level), GOP 헤더 레벨 그리고 픽처 헤더 레벨 등에 삽입되어 전송되는데 용도에 따라 그 삽입 레벨이 결정된다. That is, it is inserted and transmitted in the sequence header level, the GOP header level, the picture header level, and the like. The insertion level is determined according to the purpose.

예를 들면, 비디오 시퀀스의 특성을 나타내는 텍스트 정보는 시퀀스 레벨에 전송되며 각 픽처의 자막 정보인 DTV-CC(Closed Caption)의 정보는 픽처 레벨에 전송된다. For example, text information indicating characteristics of a video sequence is transmitted at a sequence level, and information of a closed caption (DTV-CC), which is caption information of each picture, is transmitted at a picture level.

유저 데이터는 레벨에 따라 전송 방식을 달리하는 것 이외에도 각 디지털 티브이 방송 규격의 특성에 따라 다른 정보를 삽입하여 전송하기도 한다. User data may be transmitted by inserting different information according to the characteristics of each digital TV broadcasting standard in addition to different transmission methods according to the level.

이렇게 다른 방송 규격에 따른 유저 데이터를 삽입할 경우 특정 식별자(Identifier)를 삽입한 후에 유효 데이터를 삽입하는 것이 일반적이다. When inserting user data according to other broadcasting standards, it is common to insert valid data after inserting a specific identifier.

비디오 유저 데이터의 용도를 몇 가지 예를 들어 살펴보면, 우선 북미의 위성 디지털 방송 규격인 DSS(Digital Satellite System)에서는 SD 전송 방식, HD 전송 방식의 상이함에 따른 규격의 호환문제, 기존의 컨텐츠(contents)를 새로운 방송 규격으로 전송함에 따라 호환성을 확보하기 위한 방법으로 유저 데이터를 이용한다. As examples of the use of video user data, first of all, DSS (Digital Satellite System), a North American satellite digital broadcasting standard, has a problem of compatibility between SD transmission method, HD transmission method, and existing content. The user data is used as a method for ensuring compatibility as a new broadcast standard is transmitted.

예를 들면, 이전에 만들어진 컨텐츠에 프레임 레이트를 조절하기 위한 3:2 풀다운 정보 또는 디스플레이 오프셋(offset)을 나타내는 팬-스캔(Pan-scan) 정보가 적절치 못할 경우 이 정보를 픽처 레벨의 유저 데이터에 삽입하여 전송한다. For example, if the content that was created is not appropriate for 3: 2 pulldown information to adjust the frame rate or pan-scan information indicating the display offset, this information may be added to the picture level user data. Insert and send

다른 예를 들면, 북미의 지상파 디지털 방송 규격인 ATSC(Advanced Television Standard Committee)의 디지털 자막 방송인 DTV-CC 규격에서는 각 픽처 레벨의 유저 데이터 영역에 ATSC 식별자를 삽입한 후 각 픽처에 해당하는 자막 정보 데이터를 삽입한다.In another example, in the DTV-CC standard, which is a digital caption broadcasting of ATSC (Advanced Television Standard Committee), a terrestrial digital broadcasting standard in North America, subtitle information data corresponding to each picture is inserted after inserting an ATSC identifier into a user data area of each picture level. Insert

또 다른 예를 들면, 유럽의 디지털 방송 규격인 DVB(Digital Video Brodcasting) 규격에서는 각 비디오 화면의 디스플레이 표시 정보인 화면 비(aspect ratio), 화면 크기 등이 픽처 레벨의 유저 데이터 영역에 AFD(Active Format Descriptor) 식별자를 가지고 삽입한다. For example, in the European Digital Broadcasting Standard (DVB) standard, the aspect ratio, screen size, and the like, which are display indication information of each video screen, are displayed in the user data area of the picture level with AFD (Active Format). Descriptor) Inserted with identifier.

이와 같이 유저 데이터는 MPEG 시퀀스의 여러 레벨에 삽입되어, 그 내용과 용도에 따라 다양한 정보가 전송되는데 이를 효과적으로 관리 제어하지 못하는 문 제가 있다. As such, user data is inserted at various levels of the MPEG sequence, and various types of information are transmitted according to its contents and uses.

따라서, 본 발명의 목적은 이상에서 언급한 종래 기술의 문제점을 감안하여 안출한 것으로서, 다양한 종류의 유저 데이터를 호스트 프로세서가 수신기 시스템을 제어하거나 상응한 데이터를 디스플레이하기 위해 필요한 정보를 빠르게 그리고 오류 없이 디코딩하여 안정적으로 전달하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치 및 방법을 제공하기 위한 것이다. Accordingly, an object of the present invention has been made in view of the above-mentioned problems of the prior art, and it is possible to quickly and error-freely obtain various types of user data for a host processor to control a receiver system or display corresponding data. Disclosed is an apparatus and method for decoding a video user data of a digital TV that are stably transmitted.

이상과 같은 목적을 달성하기 위한 본 발명의 일 특징에 따르면, 송신단으로부터 수신된 비디오 시퀀스를 검색하여 비디오 신호와 유저 데이터를 추출하는 신텍스 파서와; 상기 신텍스 파서로부터 추출된 비디오 신호 부호화 압축 데이터로부터 동영상을 복원하는 비디오 디코더부와; 상기 신텍스 파서에서 추출된 유저 데이터를 디코딩하는 유저 데이터 디코더부와; 상기 유저 데이터 디코더부에서 디코딩된 유저 데이터를 임시 보관하는 FIFO와; 상기 FIFO에 보관된 데이터를 일정 단위로 모아서 저장하는 메모리와; 초기화시 유저 데이터 디코딩 모드를 설정하고, 상기 신텍스 파서에서 입력된 유저 데이터에서 스타트 코드가 검출되면, 상기 설정 모드에 부합되는지 여부를 판단하여 부합될 경우에 상기 유저 데이터를 디코딩하도록 상기 유저 데이터 디코딩부를 제어하고, 상기 메모리에 저장된 유저 데이터의 시퀀스를 검사하여 마지막일 경우 특정 유저 데이터를 선택적으로 읽어내도록 하는 호스트 프로세서를 포함하는 것을 특징으로 한다.
상기 호스트 프로세서는, 상기 유저 데이터 디코더부의 기능을 레벨 단위로 제어하거나, 상기 메모리에 저장된 유저 데이터의 자막 정보를 읽어내어 상기 비디오 디코더에 전달하여 디스플레이 화면에 표시하도록 제어한다.
상기 비디오 디코더부는, 상기 유저 데이터에 포함된 디코딩 정보나 자막 방송을 상기 호스트로 프로세서로부터 입력받아 디스플레이 화면에 대해 각 화면 요소간의 구성을 조정, 변경하거나 화면 크기를 조정한다.
상기 유저 데이터는 각 데이터간의 구분을 위한 스타트 코드를 가지며, 상기 유저 데이터의 1번째 스타트 코드 다음의 바이트 데이터로부터 2번째 스타트 코드가 검출되기 전까지의 데이터를 하나의 유저 데이터로 구분하는 것이 바람직하다.
According to an aspect of the present invention for achieving the above object, a syntax parser for retrieving the video sequence received from the transmitter to extract the video signal and the user data; A video decoder for reconstructing a moving picture from the video signal encoded compressed data extracted from the syntax parser; A user data decoder which decodes user data extracted by the syntax parser; A FIFO for temporarily storing user data decoded by the user data decoder; A memory for collecting and storing data stored in the FIFO in predetermined units; When the user data decoding mode is set during initialization, and a start code is detected from the user data input from the syntax parser, the user data decoding unit is configured to determine whether or not the setting mode is matched and to decode the user data if it is matched. And a host processor for controlling and checking a sequence of user data stored in the memory and selectively reading specific user data in the last case.
The host processor controls the function of the user data decoder in units of levels or reads caption information of user data stored in the memory and transfers the caption information to the video decoder to display on the display screen.
The video decoder unit receives decoding information or subtitle broadcasting included in the user data from the processor to the host to adjust or change the configuration of each screen element for the display screen or to adjust the screen size.
The user data has a start code for distinguishing each data, and preferably, data until the second start code is detected from the byte data after the first start code of the user data is divided into one user data.

삭제delete

삭제delete

삭제delete

이상과 같은 목적을 달성하기 위한 본 발명의 다른 특징에 따르면, 디지털 티브이를 초기화하여 호스트 프로세서가 유저 데이터 디코딩 모드를 선택적으로 설정하는 단계; 유저 데이터가 입력되면 스타트 코드를 검출하는 단계; 상기 스타트 코드가 검출되면 상기 설정 모드에 부합되는지 여부를 판단하여 부합되면 상기 유저 데이터를 디코딩하여 디코딩된 유저 데이터를 바이트 단위로 FIFO에 임시 저장하는 단계; 상기 FIFO에 일정한 크기의 유저 데이터가 저장되면 메모리에 저장하는 단계; 상기 메모리에 저장된 유저 데이터의 시퀀스를 검사하여 마지막일 경우 특정 유저 데이터를 호스트 프로세서로 선택적으로 읽어내도록 하는 단계를 포함하는 것을 특징으로 한다.
상기 유저 데이터 디코딩 모드는, 유저 데이터 레벨에 따른 디코딩 여부, 선택된 식별자에 따른 디코딩 여부, 식별자 설정, 유저 데이터를 저장할 메모리의 위치 및 유저 데이터 헤더를 삽입할 지의 여부 중 적어도 어느 하나 이상을 포함한다.
상기 전송 레벨은 설정된 레벨에 속하지 않을 경우, 유저 데이터가 전송될 수 있는 레벨인 시퀀스 스타트 코드, 그룹 스타트 코드 및 픽처 스타트 코드중 적어도 어느 하나 이상을 분리하여 검출한다.
상기 유저 데이터의 시퀀스를 검사하여 일정 단위로 FIFO에 유저 데이터를 모으는 동작을 계속 수행할지를 결정하는 단계를 더 포함한다.
상기 호스트 프로세서에서는 해당 유저 데이터가 저장된 메모리 위치와 유저 데이터 개수를 확인한 후 이를 상기 메모리로부터 읽어내어 시스템 제어에 이용한다.
상기 유저 데이터를 상기 메모리에 저장할 때에는 오류 방지 및 각 유저 데이터의 특징을 표시하는 각각의 헤더를 더 삽입하여 저장한다.
이하 본 발명의 바람직한 일 실시 예에 따른 구성 및 작용을 첨부된 도면을 참조하여 설명한다.
According to another aspect of the present invention for achieving the above object, the step of initializing the digital TV to the host processor to selectively set the user data decoding mode; Detecting a start code when user data is input; If the start code is detected, determining whether the set mode is matched, and if the start code is matched, decoding the user data and temporarily storing the decoded user data in a FIFO in units of bytes; Storing user data of a predetermined size in the FIFO; And checking the sequence of user data stored in the memory to selectively read specific user data into the host processor when the last time.
The user data decoding mode includes at least one of whether to decode according to a user data level, whether to decode according to a selected identifier, an identifier setting, a location of a memory to store user data, and whether to insert a user data header.
When the transmission level does not belong to the set level, at least one or more of a sequence start code, a group start code, and a picture start code, which are levels at which user data can be transmitted, are separated and detected.
Checking the sequence of user data and determining whether to continue collecting user data in a FIFO on a predetermined basis.
The host processor checks the memory location and the number of user data in which the user data is stored and reads it from the memory to use for system control.
When storing the user data in the memory, a header for displaying error prevention and characteristics of each user data is further inserted and stored.
Hereinafter, the configuration and operation according to an embodiment of the present invention will be described with reference to the accompanying drawings.

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

도 1은 본 발명에 따른 디지털 티브이의 비디오 유저 데이터 디코딩 장치를 나타낸 도면이다. 1 is a diagram illustrating an apparatus for decoding video user data of a digital TV according to the present invention.

도 1을 참조하면, 본 발명에 따른 디지털 티브이의 비디오 유저 데이터 디코딩 장치는 송신단으로부터 수신된 비디오 시퀀스를 검색하여 비디오 신호와 유저 데이터를 추출하는 신텍스 파서(11)와, 상기 신텍스 파서로부터 추출된 부호화인 압축 데이터로부터 동영상을 복원하는 비디오 디코더부(16)와, 상기 추출된 유저 데이터를 디코딩하는 유저 데이터 디코더(13)와, 상기 디코딩된 유저 데이터를 임시 보관하는 FIFO(14)와, 상기 FIFO(14)에 보관된 데이터를 일정 단위로 모아서 저장하는 메모리(15)와, 상기 유저 데이터 디코더(13)를 제어하고 메모리(15)에 저장된 데이터를 읽어내는 호스트 프로세서(12)로 구성된다. Referring to FIG. 1, the apparatus for decoding video user data of a digital TV according to the present invention includes a syntax parser 11 which searches for a video sequence received from a transmitter and extracts a video signal and user data, and the encoding extracted from the syntax parser. A video decoder unit 16 for restoring a moving picture from the compressed data, a user data decoder 13 for decoding the extracted user data, a FIFO 14 for temporarily storing the decoded user data, and the FIFO ( And a host processor 12 which controls the user data decoder 13 and reads out the data stored in the memory 15.

상기와 같이 구성된 디지털 티브이의 비디오 유저 데이터 디코딩 장치를 설명하면 다음과 같다. Referring to the video user data decoding apparatus of the digital TV configured as described above is as follows.

상기 신텍스 파서(11)는 비디오 시퀀스를 검색하여 비디오 디코딩에 필요한 각종 데이터들을 추출해 낸다. 실제 동영상 복원에 필요한 DCT 계수, 움직임 벡터, 헤더 정보 등의 비디오 데이터들은 비디오 디코더(16)로 전달하며 비디오 유저 데 이터는 유저 데이터 디코더(13)로 전달된다. The syntax parser 11 retrieves a video sequence and extracts various data necessary for video decoding. Video data such as DCT coefficients, motion vectors, and header information necessary for actual video reconstruction are transmitted to the video decoder 16, and the video user data is transferred to the user data decoder 13.

그리고, 상기 호스트 프로세서(12)는 신텍스 파서(11), 유저 데이터 디코더(13) 그리고 비디오 디코더(16)의 기본적인 기능 설정에서부터 시스템 전체의 원할 한 동작을 위한 각 요소들의 유기적인 기능 설정 등을 담당하는데, 예를 들면, 유저 데이터 디코더(13)의 기능을 레벨 단위로 제어하는 설정이라든지 메모리(15)에 저장된 유저 데이터의 자막 정보를 읽어 내어 비디오 디코더(16)에 전달하며 디스플레이 화면에 표시되게 한다. The host processor 12 is responsible for the basic function setting of the syntax parser 11, the user data decoder 13, and the video decoder 16, and the organic function setting of each element for a desired operation of the entire system. For example, settings for controlling the function of the user data decoder 13 in units of levels or caption information of user data stored in the memory 15 are read and transmitted to the video decoder 16 and displayed on the display screen. .

그리고, 비디오 디코더(16)는 신텍스 파서(11)로부터 전달된 주요 데이터인 부호화인 압축 데이터로부터 동영상을 복원하여 디스플레이 한다. 또한 유저 데이터에 포함된 디코딩 정보나 자막 방송을 호스트[교정] 프로세서(12)로부터 입력받아 디스플레이 화면에 대해 각 화면 요소간의 구성을 조정, 변경하거나 화면 크기를 조정한다. The video decoder 16 reconstructs and displays a moving image from compressed data, which is encoding, which is main data transmitted from the syntax parser 11. In addition, the decoding information or subtitle broadcast included in the user data is input from the host processor 12, and the configuration of each screen element is adjusted or changed for the display screen, or the screen size is adjusted.

또한, 상기 FIFO(14)는 유저 데이터 디코더(13)에 의해 디코딩 된 유저 데이터를 바이트 단위로 임시 보관한다. 이는 데이터를 일정 단위로 모아서 메모리(15)에 접근하는 것이 메모리 접근 블록이 여러 개 일 경우 효율적으로 메모리 접근 권한에 대한 중재, 조정이 가능하다. In addition, the FIFO 14 temporarily stores the user data decoded by the user data decoder 13 in units of bytes. It is possible to efficiently arbitrate and adjust the memory access authority when the data is collected in a certain unit to access the memory 15 when there are several memory access blocks.

여기서, 상기 유저 데이터 디코더(13)를 통해 디코딩 되는 유저 데이터는 아래의 [표 1] 과 같이 정해진 스타트 코드(Start Code)값을 가지는데, 스타트 코드는 23비트의 '0'과 뒤따르는 '1'값으로 이루어지는 스타트 코드 선행 값과, 8비트의 스타트 코드 값으로 구성된 총 32비트의 값을 나타낸다. Here, the user data decoded by the user data decoder 13 has a start code value defined as shown in Table 1 below. The start code has 23 bits of '0' followed by '1'. It represents a 32-bit value consisting of a start code leading value consisting of a value and an 8-bit start code value.

유저 데이터의 시작은 유저 데이터 스타트 코드 다음의 바이트 데이터로부터 다음 스타트 코드가 검출되기 전까지의 데이터를 나타낸다. 또한 유저 데이터는 항상 바이트 단위로 부호화되어야 한다.
Name Start Code Value(Hexadecimal) picture_start_code 00 slice_start_code 01-AF reserved B0 reserved B1 user_data_start_code B2 sequence_start_code B3 sequence_start_code B4 extension_error_code B5 reserved B6 sequenced B7 group_start_code B8 system start code B9~FF
The start of the user data indicates data until the next start code is detected from the byte data following the user data start code. In addition, user data should always be encoded in byte units.
Name Start Code Value (Hexadecimal) picture_start_code 00 slice_start_code 01-AF reserved B0 reserved B1 user_data_start_code B2 sequence_start_code B3 sequence_start_code B4 extension_error_code B5 reserved B6 sequenced B7 group_start_code B8 system start code B9-FF

삭제delete

도 2는 본 발명에 따른 디지털 티브이의 비디오 유저 데이터 디코딩 방법을 나타낸 흐름도이다. 2 is a flowchart illustrating a method of decoding video user data of a digital TV according to the present invention.

먼저, 디지털 티브이를 초기화하면, 호스트 프로세서(12)가 유저 데이터 디코딩 모드를 설정한다 (S11).First, when the digital TV is initialized, the host processor 12 sets the user data decoding mode (S11).

여기서 상기 호스트 프로세서(12)에 의해 설정되는 유저 데이터 디코딩 모드는 유저 데이터 레벨에 따른 디코딩 여부, 선택된 식별자에 따른 디코딩 여부, 식별자 설정, 유저 데이터를 저장할 메모리의 위치, 유저 데이터 헤더를 삽입할 지의 여부 등을 포함한다. In this case, the user data decoding mode set by the host processor 12 may be decoded according to a user data level, decoded according to a selected identifier, identifier setting, a location of a memory to store user data, or whether to insert a user data header. And the like.

그리고, 상기 유저 데이터 디코딩 모드가 설정되면(S11), 유저 데이터를 디코딩 하기 위해 스타트 코드를 검출하고 유저 데이터 스타트 코드인지 검사한다 (S12)~(S13). When the user data decoding mode is set (S11), the start code is detected to check the user data start code to decode the user data (S12) to (S13).

상기 검사 결과(S13), 유저 데이터 스타트 코드이면, 상기 S11에서 설정한 디코딩 레벨에 따라 입력된 유저 데이터가 설정된 레벨에 속하는지 검사(S14)하며, 유저 데이터 스타트 코드가 아니면, 유저 데이터 스타트 코드를 다시 검사한다 (S12)If the result of the check (S13) or the user data start code, the user data start code is checked whether the input user data belongs to the set level according to the decoding level set in step S11 (S14). Inspect again (S12)

이어서, 상기 검사 결과(S14), 입력된 유저 데이터가 설정된 레벨에 속하면, 선택된 식별자인지 검사한다 (S15).Subsequently, if the check result (S14), the input user data belongs to the set level, it is checked whether the selected identifier (S15).

상기 식별자 검사는 식별자를 구분하여 디코딩 할지 여부와, 식별자가 부합되는지를 검사하여 디코딩 여부를 결정한다. The identifier check determines whether to decode the identifier separately and checks whether the identifier matches.

여기서, 대부분의 유저 데이터는 방송 규격과 삽입되는 정보의 종류에 따라 식별자를 달리한다. 일반적으로 식별자는 유저 데이터 스타트 코드 이후에 32비트의 특정 비트를 삽입한다. Here, most user data have different identifiers depending on the broadcast standard and the type of information to be inserted. In general, the identifier inserts a 32-bit specific bit after the user data start code.

예를 들면, ATSC 규격에서는 유저 데이터 스타트 코드 이후에 0x47413934라는 32비트의 식별자를 삽입하며 DVB 규격의 디스플레이 정보를 제어하기 위해 전송하는 AFD(Active Format Descriptor)에는 0x44544731 라는 식별자를 삽입한다. For example, in the ATSC standard, a 32-bit identifier of 0x47413934 is inserted after a user data start code, and an identifier of 0x44544731 is inserted into an AFD (Active Format Descriptor) transmitted to control display information of the DVB standard.

이어서, 상기 검사 결과(S15), 선택된 식별자이면, 유저 데이터를 디코딩하고(S16) 디코딩 된 유저 데이터들을 일정 단위인 바이트 단위로 FIFO에 모은 다음(S17) 메모리에 저장한다 (S18). Subsequently, if the check result (S15), if the selected identifier, the user data is decoded (S16), the decoded user data is collected in a FIFO in units of bytes (S17) and stored in the memory (S18).

상기 FIFO의 크기는 메모리를 효율적으로 이용할 수 있는 단위로 선택한다. The size of the FIFO is selected in units that can efficiently use the memory.

그리고 상기 저장된 현재 유저 데이터의 시퀀스가 끝났는지를 검사하여 일정단위로 FIFO에 유저 데이터를 모으는 동작을 계속 수행할 지를 결정한다 (S19)In operation S19, it is determined whether the stored sequence of the current user data is finished and whether to continue collecting the user data in the FIFO.

상기 검사 결과(S19), 마지막 시퀀스 유저 데이터이면 인터럽트를 발생하여 디코딩이 완료되었음을 호스트에 알리고(S20), 마지막 시퀀스 유저 데이터가 아니 면 FIFO에 유저 데이터를 계속 모은다. If the check result (S19), the last sequence user data, an interrupt is generated to inform the host that decoding is completed (S20), and if not the last sequence user data, the user data is continuously collected in the FIFO.

그리고 상기 디코딩이 완료됨을 안 호스트는 해당 유저 데이터가 저장된 메모리 위치와 유저 데이터의 개수를 확인한 후 이를 메모리로부터 읽어 내어 시스템 제어에 이용한다. After the decoding is completed, the host checks the memory location where the user data is stored and the number of user data, and reads it from the memory to use the system for control.

그리고, 유저 데이터를 호스트 프로세서에 전달하는데 있어서 오류 방지와 각 유저 데이터의 특징을 표시하는 수단으로 데이터를 메모리에 저장할 때 [표 2]와 같은 헤더를 삽입한다. As a means for preventing error and displaying characteristics of each user data in transferring the user data to the host processor, a header shown in Table 2 is inserted when the data is stored in the memory.

유저 데이터 헤더User data header FieldField widthwidth DescriptionDescription temporal counttemporal count 8 bit8 bit user data 마다 1씩 증가하는 count 값 count value incremented by 1 for each user data user data leveluser data level 2bits2 bits user data가 포함 되어 있는 레벨 the level containing the user data "00" "00" Sequence levelSequence level "01" "01" GOP levelGOP level "10" "10" Picture levelPicture level "11" "11" reservedreserved picture coding typepicture coding type 3bits3bits Picture level에 포함되어 있는 user data일 경우 유효한 값을 가진다.  It is valid for the user data included in the picture level. "001" "001" I picture I picture "010" "010" Ppicture Ppicture "011" "011" Bpicture Bpicture "100" "100" Dpicture Dpicture other other reserved reserved

삭제delete

상기 [표 2]의 내용을 보면 템포럴 카운터(temporal count)는 유저 데이터 간의 구분 목적으로 삽입된 순차적으로 증가하는 8비트 카운트 값이다. 호스트 프로세서가 유저 데이터 인터럽트를 제대로 처리하지 못하는 경우 전달 오류가 발생한 데이터 개수를 파악한다. As shown in Table 2, a temporal counter is a sequentially increasing 8-bit count value inserted for the purpose of distinguishing between user data. If the host processor does not handle user data interrupts properly, determine the number of data that has a transfer error.

그리고, 유저 데이터 레벨은 유저 데이터가 포함되어 전송된 비디오 시퀀스의 레벨에 관한 정보이다. 디코딩 모드를 레벨에 따른 디코딩으로 설정하지 않은 상태에서 유저 데이터를 호스트가 분석할 때 이용한다. The user data level is information about the level of the video sequence in which the user data is transmitted. It is used when the host analyzes user data without setting the decoding mode to decoding according to the level.

또한, 픽처 코딩 타입(picture coding type)은 픽처 레벨의 유저 데이터일 때 의미를 가지는 값이며, 자막 방송의 경우 각 픽처와 디스플레이 할 자막간에 동기를 맞춘다. In addition, a picture coding type is a value that is meaningful when the picture level is user data, and in the case of closed captioning, synchronization between each picture and the caption to be displayed is synchronized.

이상의 설명에서와 같이 본 발명은 유저 데이터의 디코딩을 호스트 프로세서의 요구에 맞게 그리고 필요한 데이터 만을 선택적으로 디코딩할 수 있으므로 유저 데이터를 저장할 메모리를 감축할 수 있으며 또한 호스트 프로세서가 전체 시스템을 효율적으로 관리 제어할 수 있는 효과가 있다. As described above, the present invention can decode user data to suit the needs of the host processor and selectively decode only necessary data, thereby reducing the memory for storing user data and allowing the host processor to efficiently manage and control the entire system. It can work.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다. 따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정하는 것이 아니라 특허 청구 범위에 의해서 정해져야 한다. Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention. Therefore, the technical scope of the present invention should not be limited to the contents described in the examples, but should be defined by the claims.

삭제delete

Claims (11)

송신단으로부터 수신된 비디오 시퀀스를 검색하여 비디오 신호와 유저 데이터를 추출하는 신텍스 파서와;A syntax parser for retrieving a video sequence received from a transmitting end and extracting a video signal and user data; 상기 신텍스 파서로부터 추출된 비디오 신호 부호화 압축 데이터로부터 동영상을 복원하는 비디오 디코더부와;A video decoder for reconstructing a moving picture from the video signal encoded compressed data extracted from the syntax parser; 상기 신텍스 파서에서 추출된 유저 데이터를 디코딩하는 유저 데이터 디코더부와;A user data decoder which decodes user data extracted by the syntax parser; 상기 유저 데이터 디코더부에서 디코딩 된 유저 데이터를 임시 보관하는 FIFO와;A FIFO for temporarily storing user data decoded by the user data decoder; 상기 FIFO에 보관된 데이터를 일정 단위로 모아서 저장하는 메모리와;A memory for collecting and storing data stored in the FIFO in predetermined units; 초기화시 유저 데이터 디코딩 모드를 설정하고, 상기 신텍스 파서에서 입력된 유저 데이터에서 스타트 코드가 검출되면, 상기 설정 모드에 부합되는지 여부를 판단하여 부합될 경우에 상기 유저 데이터를 디코딩하도록 상기 유저 데이터 디코딩부를 제어하고, 상기 메모리에 저장된 유저 데이터의 시퀀스를 검사하여 마지막일 경우 특정 유저 데이터를 선택적으로 읽어내도록 하는 호스트 프로세서를 포함하는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치.When the user data decoding mode is set during initialization, and a start code is detected from the user data input from the syntax parser, the user data decoding unit is configured to determine whether or not the setting mode is matched and to decode the user data if it is matched. And a host processor for controlling and checking a sequence of user data stored in the memory to selectively read specific user data when the last time. 제 1 항에 있어서, The method of claim 1, 상기 호스트 프로세서는,The host processor, 상기 유저 데이터 디코더부의 기능을 레벨 단위로 제어하거나, Control the function of the user data decoder in units of levels; 상기 메모리에 저장된 유저 데이터의 자막 정보를 읽어내어 상기 비디오 디코더에 전달하여 디스플레이 화면에 표시하도록 제어하는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치.And subtitle information of the user data stored in the memory is transferred to the video decoder to be displayed on a display screen. 제 1 항에 있어서,The method of claim 1, 상기 비디오 디코더부는,The video decoder unit, 상기 유저 데이터에 포함된 디코딩 정보나 자막 방송을 상기 호스트로 프로세서로부터 입력받아 디스플레이 화면에 대해 각 화면 요소간의 구성을 조정, 변경하거나 화면 크기를 조정하는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치.Digital TV video user data decoding apparatus characterized in that for receiving the decoding information or subtitle broadcast included in the user data from the processor to adjust the configuration of each screen element or adjust the screen size for the display screen . 제 1 항에 있어서,The method of claim 1, 상기 유저 데이터는 The user data 각 데이터간의 구분을 위한 스타트 코드를 가지는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치 Digital user video user data decoding apparatus characterized by having a start code for distinguishing each data 제 4 항에 있어서,The method of claim 4, wherein 상기 유저 데이터의 1번째 스타트 코드 다음의 바이트 데이터로부터 2번째 스타트 코드가 검출되기 전까지의 데이터를 하나의 유저 데이터로 구분하는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 장치Digital video video user data decoding apparatus characterized by dividing the data until the second start code is detected from the byte data after the first start code of the user data into one user data 디지털 티브이를 초기화하여 호스트 프로세서가 유저 데이터 디코딩 모드를 선택적으로 설정하는 단계;Initializing the digital TV to selectively set a user data decoding mode by the host processor; 유저 데이터가 입력되면 스타트 코드를 검출하는 단계;Detecting a start code when user data is input; 상기 스타트 코드가 검출되면 상기 설정 모드에 부합되는지 여부를 판단하여 부합되면 상기 유저 데이터를 디코딩하여 디코딩된 유저 데이터를 바이트 단위로 FIFO에 임시 저장하는 단계;If the start code is detected, determining whether the set mode is matched, and if the start code is matched, decoding the user data and temporarily storing the decoded user data in a FIFO in units of bytes; 상기 FIFO에 일정한 크기의 유저 데이터가 저장되면 메모리에 저장하는 단계;Storing user data of a predetermined size in the FIFO; 상기 메모리에 저장된 유저 데이터의 시퀀스를 검사하여 마지막일 경우 특정 유저 데이터를 호스트 프로세서로 선택적으로 읽어내도록 하는 단계를 포함하는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 방법. And inspecting the sequence of user data stored in the memory to selectively read specific user data into a host processor when it is the last. 제 6 항에 있어서,The method of claim 6, 상기 유저 데이터 디코딩 모드는 The user data decoding mode is 유저 데이터 레벨에 따른 디코딩 여부, 선택된 식별자에 따른 디코딩 여부, 식별자 설정, 유저 데이터를 저장할 메모리의 위치 및 유저 데이터 헤더를 삽입할 지의 여부 중 적어도 어느 하나 이상을 포함하는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 방법.At least one of whether to decode according to a user data level, whether to decode according to a selected identifier, an identifier setting, a location of a memory in which to store user data, and whether to insert a user data header. User data decoding method. 제 7항에 있어서,The method of claim 7, wherein 상기 전송 레벨은 The transmission level is 설정된 레벨에 속하지 않을 경우, 유저 데이터가 전송될 수 있는 레벨인 시퀀스 스타트 코드, 그룹 스타트 코드 및 픽처 스타트 코드중 적어도 어느 하나 이상을 분리하여 검출하는 것을 특징으로 하는 디지털 티브이의 비디오 유저 데이터 디코딩 방법.And at least one of a sequence start code, a group start code, and a picture start code, which are levels at which user data can be transmitted, is separately detected when not belonging to a set level. 제 6 항에 있어서, The method of claim 6, 상기 유저 데이터의 시퀀스를 검사하여 일정 단위로 FIFO에 유저 데이터를 모으는 동작을 계속 수행할지를 결정하는 단계를 더 포함하는 것을 특징으로 하는 디지털 티브이의 유저 데이터 디코딩 방법.And determining whether to continue the operation of collecting user data in the FIFO on a predetermined basis by examining the sequence of user data. 제 6 항에 있어서, The method of claim 6, 상기 호스트 프로세서에서는 해당 유저 데이터가 저장된 메모리 위치와 유저 데이터 개수를 확인한 후 이를 상기 메모리로부터 읽어내어 시스템 제어에 이용하는 것을 특징으로 디지털 티브이의 유저 데이터 디코딩 방법The host processor checks the memory location and the number of user data in which the user data is stored, and reads it from the memory to use for system control. 제 6항에 있어서,The method of claim 6, 상기 유저 데이터를 상기 메모리에 저장할 때에는 오류 방지 및 각 유저 데이터의 특징을 표시하는 각각의 헤더를 더 삽입하여 저장하는 것을 특징으로 하는 디지털 티브이의 유저 데이터 디코딩 방법.And storing the user data in the memory, further inserting and storing respective headers indicating error prevention and characteristics of each user data.
KR1020030098954A 2003-12-29 2003-12-29 Apparatus for decoding video user data in DTV and for the same KR100565651B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030098954A KR100565651B1 (en) 2003-12-29 2003-12-29 Apparatus for decoding video user data in DTV and for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030098954A KR100565651B1 (en) 2003-12-29 2003-12-29 Apparatus for decoding video user data in DTV and for the same

Publications (2)

Publication Number Publication Date
KR20050067919A KR20050067919A (en) 2005-07-05
KR100565651B1 true KR100565651B1 (en) 2006-03-29

Family

ID=37258533

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030098954A KR100565651B1 (en) 2003-12-29 2003-12-29 Apparatus for decoding video user data in DTV and for the same

Country Status (1)

Country Link
KR (1) KR100565651B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101727033B1 (en) * 2010-02-09 2017-04-14 엘지전자 주식회사 Digital broadcast receiver and method for displaying a image
KR102090308B1 (en) * 2019-10-16 2020-03-17 주식회사 스마트시티코리아 Image storing system and method based on gop unit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000057621A (en) * 1996-12-19 2000-09-25 크리트먼 어윈 엠 Television apparatus for simultaneous decoding of auxiliary data included in multiple television signals

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000057621A (en) * 1996-12-19 2000-09-25 크리트먼 어윈 엠 Television apparatus for simultaneous decoding of auxiliary data included in multiple television signals

Also Published As

Publication number Publication date
KR20050067919A (en) 2005-07-05

Similar Documents

Publication Publication Date Title
US5371547A (en) Apparatus for excising (and reinserting) specific data from a compressed video data stream to reduce its transmission bandwidth
US5452006A (en) Two-part synchronization scheme for digital video decoders
USRE37620E1 (en) Bandwidth efficient communication of user data in digital television data stream
US9380337B2 (en) Command packets for personal video recorder
US8472531B2 (en) Error concealment for MPEG decoding with personal video recording functionality
US7675876B2 (en) Transport demultiplexor with bit maskable filter
US7895618B2 (en) Emergency alert message data structure, emergency alert message signaling method, and cable broadcasting system
EP0730384A2 (en) Acquisition of desired data from a packetized data stream and synchronization thereto
US8923688B2 (en) Performing personal video recording (PVR) functions on digital video streams
US7839925B2 (en) Apparatus for receiving packet stream
JP2000511025A (en) A flexible multiplexed signal transmission system.
US6097439A (en) Omnibus closed captioning decoder for encoded video
KR100565651B1 (en) Apparatus for decoding video user data in DTV and for the same
KR100598360B1 (en) Apparatus to reduce an image display delay time in channel conversion and method thereof
US20100220233A1 (en) Closed caption data processing system and method
US9398319B2 (en) System, method, and apparatus for playing back a plurality of video elementary streams with one playback channel
WO2016157724A1 (en) Video decoding device
Anderson et al. Design of an MPEG-2 transport demultiplexor core
KR200156496Y1 (en) Television for displaying program information
Bridgewater et al. Grand Alliance transport stream demultiplexer design and implementation

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

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee