KR20070048985A - Storage device of video decoder and method for controlling thereof - Google Patents

Storage device of video decoder and method for controlling thereof Download PDF

Info

Publication number
KR20070048985A
KR20070048985A KR1020050106126A KR20050106126A KR20070048985A KR 20070048985 A KR20070048985 A KR 20070048985A KR 1020050106126 A KR1020050106126 A KR 1020050106126A KR 20050106126 A KR20050106126 A KR 20050106126A KR 20070048985 A KR20070048985 A KR 20070048985A
Authority
KR
South Korea
Prior art keywords
header information
register set
video
decoder
stored
Prior art date
Application number
KR1020050106126A
Other languages
Korean (ko)
Other versions
KR100718419B1 (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 KR1020050106126A priority Critical patent/KR100718419B1/en
Publication of KR20070048985A publication Critical patent/KR20070048985A/en
Application granted granted Critical
Publication of KR100718419B1 publication Critical patent/KR100718419B1/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
    • 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

Abstract

본 발명은 비디오 디코더의 저장 장치 및 그 제어 방법에 관한 것으로, 특히 비디오 디코딩시 비디오 스트림 데이터의 임의의 헤더 정보가 레지스터 세트에 없을 경우 레지스터 세트에 기저장된 다른 헤더 정보를 외부 메모리에 저장하고, 외부 메모리에 저장된 정보들 중에서 비디오 디코딩에 요구되는 해당 헤더 정보를 찾아 레지스터 세트에 저장한 후에, 레지스터 세트에 저장된 해당 헤더 정보를 읽어내어 비디오 디코딩에 사용한다. 그러므로, 본 발명은 레지스터 세트에 저장하기 위한 헤더 정보를 디코더 내부 메모리인 레지스터 세트에 모두 저장해두지 않고서도 외부에 저장할 수 있어 디코더 칩의 면적 및 단가를 줄일 수 있다.The present invention relates to a storage device of a video decoder and a method of controlling the same. In particular, when any header information of video stream data is not in a register set during video decoding, other header information previously stored in the register set is stored in an external memory, and Among the information stored in the memory, the header information required for video decoding is found and stored in the register set, and then the header information stored in the register set is read and used for video decoding. Therefore, the present invention can store the header information for storing in the register set externally without storing all of the header information in the register set which is the decoder internal memory, thereby reducing the area and cost of the decoder chip.

비디오 디코더, 헤더 정보, 외부 메모리, 레지스터 Video decoder, header information, external memory, registers

Description

비디오 디코더의 저장 장치 및 그 제어 방법{STORAGE DEVICE OF VIDEO DECODER AND METHOD FOR CONTROLLING THEREOF} Storage device and control method of the video decoder {STORAGE DEVICE OF VIDEO DECODER AND METHOD FOR CONTROLLING THEREOF}

도 1은 종래 기술에 의한 비디오 디코더의 개략적인 구조를 나타낸 도면,1 is a view showing a schematic structure of a conventional video decoder;

도 2는 본 발명에 따른 비디오 디코더의 저장 장치의 개략적인 구조를 나타낸 도면,2 is a schematic structural diagram of a storage device of a video decoder according to the present invention;

도 3은 본 발명에 따른 비디오 디코더의 제어 방법을 순차적으로 나타낸 흐름도. 3 is a flowchart sequentially illustrating a control method of a video decoder according to the present invention;

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100 : 비디오 디코더 102 : 스트림 입력부100: video decoder 102: stream input unit

104 : 헤더 파서 106 : 디코더104: header parser 106: decoder

108 : 제어부 110 : IT/IQ108 control unit 110 IT / IQ

112 : 디블록킹 필터 114 : 예측부112: deblocking filter 114: prediction unit

116 : 합성부 118 : 레지스터 세트116: synthesis section 118: register set

120 : CPU 122 : 외부 메모리 120: CPU 122: external memory

본 발명은 비디오 디코더의 저장 기술에 관한 것으로서, 특히 비디오 영상 데이터의 디코딩시 임시 저장해야하는 정보의 저장 효율을 향상시킬 수 있는 비디오 디코더의 저장 장치 및 그 방법에 관한 것이다.The present invention relates to a storage technology of a video decoder, and more particularly, to a storage device and a method of a video decoder that can improve the storage efficiency of information to be temporarily stored when decoding video image data.

영상이나 음향이 디지털 데이터로 전환될 경우, 이 데이터들의 양은 상당히 크기 때문에 압축하지 않을 경우에는 저장 공간을 많이 차지하므로 비효율적이다. 따라서, 디지털 데이터의 정보를 줄이게 되는 압축기술을 필요로 하게되었고, 압축 기술을 통하여 저장공간 활용 및 네트워크를 통한 전송기능을 향상시킬 수가 있다. 예를들면, 이미지 압축방식으로는 GIF, JPEG등의 포맷이 있으며, 영상 및 음향압축방식으로는 MPEG, H.263, H.264 등이 있다.When video or sound is converted into digital data, the amount of data is so large that it takes up a lot of storage space if not compressed, which is inefficient. Therefore, a compression technique for reducing information of digital data is required, and the compression technique can improve storage utilization and transmission function through a network. For example, image compression methods include GIF and JPEG formats, and video and sound compression methods include MPEG, H.263, and H.264.

그 중에서 H.264 기술은 새로운 비디오 압축 코딩 표준으로 ITU와 국제표준화기구/국제전자기술위원회(ISO/IEC)가 공동 결성한 ‘조인트비디오팀(JVT)’에 의해 개발된 것으로, ‘ISO/IEC 14496 10 어드밴스드 비디오 코딩’이라고도 불리며, 급변하는 무선 환경 및 인터넷 환경 등을 고려하여 오류 강인성 및 네트워크에 친숙한 방식을 고려한 비디오 압축 표준이다.Among them, H.264 is a new video compression coding standard developed by the Joint Video Team (JVT) jointly formed by the ITU and the International Organization for Standardization / ISO (IEC). 14496 10 Advanced Video Coding 'is a video compression standard that considers error robustness and network-friendly method in consideration of rapidly changing wireless environment and Internet environment.

H.264 비디오 디코더는 비디오 영상 데이터의 디코딩을 매크로 블록(macro block : MB) 단위로 수행하며 메모리의 경우 입력 비디오 스트림과 움직임 보상을 위한 프레임들을 저장하기 위한 메모리가 존재한다.The H.264 video decoder performs decoding of video image data in units of macro blocks (MBs). In the case of a memory, there is a memory for storing an input video stream and frames for motion compensation.

입력 비디오 스트림은 GOP(Group Of Pictures)라는 일련의 픽쳐 내지 프레임의 군들로 나뉘어진다. 각각의 GOP는 다수의 픽쳐를 포함하고, 각각의 픽쳐는 다수의 슬라이스로 나뉘어진다. 각각의 슬라이스는 다수의 매크로블록을 포함하며, 각 각의 매크로블록은 4개의 8×8 명도(luminance) 블록과 2개의 8×8 색상(chrominance) 블록을 갖는다. 그리고, 한 GOP내에 2가지 종류의 픽쳐가 나타날 수 있는데, 하나는 인트라(INTRA) 모드 픽쳐(또는 I-픽쳐)이고 다른 하나는 예측 움직임 보상된 픽쳐(P-픽쳐)이다. I-픽쳐에서는 모든 매크로 블럭이 인트라 모드로, 움직임 보상을 고려하지 않고 디코딩된다. P-픽쳐는 이전의 한 프레임을 이용하여 압축된 것으로, 각 매크로블럭이 움직임 보상을 이용하는 인터(INTER) 모드로 디코딩될 수 있다.The input video stream is divided into a series of pictures or groups of frames called a group of pictures (GOP). Each GOP includes a number of pictures, and each picture is divided into a number of slices. Each slice contains a number of macroblocks, each macroblock having four 8x8 brightness blocks and two 8x8 chrominance blocks. And two kinds of pictures may appear in one GOP, one is an intra mode picture (or I-picture) and the other is a predictive motion compensated picture (P-picture). In I-picture, all macro blocks are in intra mode and decoded without considering motion compensation. The P-picture is compressed using one previous frame, and each macroblock can be decoded in an INTER mode using motion compensation.

도 1은 종래 기술에 의한 비디오 디코더의 개략적인 구조를 나타낸 도면이다.1 is a view showing a schematic structure of a video decoder according to the prior art.

도 1을 참조하면, 종래 기술에 의한 비디오 디코더는, 스트림 입력부(10)와, 헤더 파서(header parser)(12)와, 디코더(14)와, 제어부(16)와, IT/IQ부(18)와, 디블록킹 필터(deblocking filter)(20)와, 레지스터 세트(register set)(22)와, 예측부(prediction portion)(24)와, 합성부(26)와, CPU(Control Processor Unit)(28) 등을 포함한다.Referring to FIG. 1, a conventional video decoder includes a stream input unit 10, a header parser 12, a decoder 14, a control unit 16, and an IT / IQ unit 18. ), A deblocking filter 20, a register set 22, a prediction portion 24, a synthesizer 26, and a CPU (Control Processor Unit) (28) and the like.

스트림 입력부(10)는, 입력 비디오 스트림(MEM)의 바이트 포맷을 SODB로 변환하고 이 데이터를 헤더 파서(12) 및 디코더(14)에 전달한다. The stream input unit 10 converts the byte format of the input video stream MEM into SODB and transfers this data to the header parser 12 and the decoder 14.

헤더 파서(12)는, 스트림 입력부(10)의 비디오 스트림 데이터를 SPS(Sequence Parameter Set), PPS(Picture Parameter Set) 등의 슬라이스 헤더 정보, 매크로블록 헤더 정보로 분리해내고 이를 레지스터 세트(22)에 기록(write)한다.The header parser 12 separates the video stream data of the stream input unit 10 into slice header information such as sequence parameter set (SPS), picture parameter set (PPS), macroblock header information, and the like, and registers the register set 22. Write to

디코더(14)는, 스트림 입력부(10)의 비디오 스트림 데이터를 I-픽쳐, P-픽쳐 등으로 디코딩된 후에 그 결과를 SRAM 등의 메모리(미도시됨)에 저장한다.The decoder 14 decodes the video stream data of the stream input unit 10 into an I-picture, a P-picture, and the like and stores the result in a memory (not shown) such as an SRAM.

제어부(16)는, 레지스터 세트(22)에 저장된 헤더 정보 또는 그 외 정보를 비디오 디코더의 내부 구성 블록들에게 제공하거나 SRAM 등의 메모리(미도시됨)에 저장하도록 제어한다. The controller 16 controls to provide the header information or other information stored in the register set 22 to the internal component blocks of the video decoder or to store it in a memory (not shown) such as an SRAM.

IT/IQ부(18)는, SRAM 등의 메모리(미도시됨)에 저장된 디코딩된 비디오 데이터를 읽어 역정수화 변환(IT : Inverse integer Transform) 및 역양자화(IQ : Inverse Quantize)를 수행한 후에 SRAM 등의 메모리(미도시됨)에 저장한다.The IT / IQ unit 18 reads decoded video data stored in a memory (not shown) such as an SRAM, performs an Inverse integer Transform (IT) and an Inverse Quantize (IQ), and then an SRAM. To a memory (not shown).

디블록킹 필터(20)는, 합성부(26)를 통해 출력된 디코딩된 비디오 데이터가 블록화되는 현상을 제거한다.The deblocking filter 20 removes a phenomenon in which decoded video data output through the combiner 26 is blocked.

레지스터 세트(22)는, 헤더 파서(12)의 헤더 정보와 그 외 정보를 저장하고 다른 구성 블록들에 그 정보들을 제공한다.The register set 22 stores header information and other information of the header parser 12 and provides the information to other building blocks.

예측부(24)는 레지스터 세트(22)의 헤더 정보에 의해 인트라(intra) 모드 픽쳐(즉, I-픽쳐)로 예측하거나 인터(inter) 모드 픽쳐(즉, P-픽쳐)의 예측을 수행한다.The predictor 24 predicts an intra mode picture (ie, an I-picture) or an inter mode picture (ie, a P-picture) based on the header information of the register set 22. .

합성부(26)는 IT/IQ부(18)의 역정수화 변환 및 역양자화가 수행된 디코딩된 비디오 데이터와 예측부(24)의 인트라 예측(intra-prediction) 또는 인터 예측(inter-prediction) 정보를 합성하여 이를 출력한다. 즉, 디코딩된 비디오 데이터가 I-픽쳐이면 인트라 모드 픽쳐의 예측값이 합성되고, 디코딩된 비디오 데이터가 P-픽쳐이면 기준 픽쳐를 참조하여 움직임 벡터를 이용한 움직임 보상된 인터 예측 정보가 합성된다.The synthesis unit 26 decodes the video data from which the inverse transform and inverse quantization of the IT / IQ unit 18 are performed, and intra-prediction or inter-prediction information of the prediction unit 24. Synthesize and output it. That is, if the decoded video data is an I-picture, the prediction value of the intra mode picture is synthesized. If the decoded video data is the P-picture, motion compensated inter prediction information using the motion vector is synthesized with reference to the reference picture.

CPU(Control Processor Unit)(28)는 H.264 포맷 비디오 디코더 시스템을 전반적으로 제어하는 것으로서, 레지스터 세트(22)에 저장된 헤더 정보 또는 그외 정보를 읽어내어 디코딩 작동을 제어한다.The control processor unit (CPU) 28 controls the H.264 format video decoder system as a whole, and controls the decoding operation by reading header information or other information stored in the register set 22.

그런데, 이와 같은 종래 기술에 의한 H.264 비디오 디코더는, 레지스터 세트(22)에 SPS 헤더 정보를 최대 32개, PPS 헤더 정보를 최대 256개까지 저장할 수 있어야 한다.However, the H.264 video decoder according to the related art should be able to store up to 32 SPS header information and up to 256 PPS header information in the register set 22.

하지만, 종래 기술에 의한 H.264 비디오 디코더는, 디코딩시 사용되는 헤더 정보 등을 내부의 메모리인 레지스터 세트에 모두 저장할 경우 칩 면적이 증가되면서 디코더 칩의 단가가 높아지는 문제점이 있다.However, the H.264 video decoder according to the prior art has a problem in that the cost of the decoder chip increases as the chip area increases when all the header information and the like used for decoding are stored in the register set which is the internal memory.

본 발명의 목적은, 상기와 같은 종래 기술의 문제점을 해결하기 위한 것으로, 비디오 스트림 데이터의 SPS, PPS 등의 헤더 정보를 저장하기 위해 디코더와 별도로 분리된 외부 메모리를 구비함으로써 레지스터 세트에 저장하기 위한 헤더 정보 등을 내부 메모리에 저장하지 않고 외부에 저장할 수 있어 디코더 칩의 면적 및 단가를 줄일 수 있는 비디오 디코더의 저장 장치를 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems of the prior art, and to store in a register set by having an external memory separate from a decoder for storing header information such as SPS and PPS of video stream data. The present invention provides a storage device of a video decoder that can store header information and the like externally without storing the information in an internal memory, thereby reducing the area and cost of a decoder chip.

본 발명의 다른 목적은, 비디오 스트림 데이터의 SPS, PPS 등의 헤더 정보를 디코더와 분리된 외부 메모리에 저장한 후에 디코딩시 외부 메모리로부터 읽어내서 레지스터 세트에 저장함으로써 레지스터 세트에 저장하기 위한 헤더 정보 등을 내부 메모리에 저장하지 않고 외부에 저장할 수 있어 디코더 칩의 면적 및 단가를 줄 일 수 있는 비디오 디코더의 제어 방법을 제공하는데 있다.Another object of the present invention is to store header information such as SPS, PPS, etc. of video stream data in an external memory separate from a decoder, and then read from an external memory at decoding time and store the data in a register set. The present invention provides a control method of a video decoder, which can reduce the area and unit cost of a decoder chip because it can be stored externally without being stored in an internal memory.

상기 목적을 달성하기 위하여 본 발명은, 비디오 디코더에 있어서, 비디오 스트림 데이터의 헤더 정보를 분리하는 헤더 파서와, 비디오 스트림 데이터를 디코딩하는 디코더와, 헤더 정보를 이용하여 디코딩된 비디오 데이터를 역정수화 변환 및 역양자화를 수행하는 IT/IQ부와, 헤더 정보를 이용하여 비디오 픽쳐 모드를 예측하는 예측부와, 역정수화 변환 및 역양자화된 비디오 데이터와 예측된 값을 합성하여 출력하는 합성부와, 헤더 정보를 저장하는 레지스터 세트와, 비디오 디코딩시 레지스터 세트에 저장된 헤더 정보가 없을 경우 레지스터 세트에 기저장된 헤더 정보를 저장하고자 디코더와 별도로 분리된 외부 메모리와, 비디오 디코딩시 레지스터 세트에 저장된 헤더 정보가 없을 경우 레지스터 세트에 기저장된 헤더 정보를 외부 메모리에 저장시키며 디코딩에 요구되는 임의의 헤더 정보를 외부 메모리에서 찾아 이를 레지스터 세트에 전달하는 CPU를 포함한다.In order to achieve the above object, the present invention provides a video decoder comprising: a header parser for separating header information of video stream data, a decoder for decoding video stream data, and inverse integer conversion of video data decoded using the header information. And an IT / IQ unit for performing inverse quantization, a prediction unit for predicting a video picture mode using header information, a synthesizer for synthesizing and outputting inverse integer transform and dequantized video data and a predicted value, and a header; Register set to store information, header information stored in the register set when there is no video decoding, external memory separate from the decoder to store the header information previously stored in the register set, and header information stored in the register set when the video is decoded. The header information stored in the register set Kimyeo find any header information required for decoding in an external memory and a CPU, which passes it to the register set.

상기 다른 목적을 달성하기 위하여 본 발명은, 비디오 디코더의 제어 방법에 있어서, 비디오 디코딩시 비디오 스트림 데이터의 임의의 헤더 정보가 레지스터 세트에 있는지 판단하는 단계와, 판단 결과, 헤더 정보가 레지스터 세트에 없을 경우 레지스터 세트에 기저장된 다른 헤더 정보를 외부 메모리에 저장하는 단계와, 외부 메모리에 저장된 정보들 중에서 비디오 디코딩에 요구되는 해당 헤더 정보를 찾아 레지스터 세트에 저장하는 단계와, 레지스터 세트에 저장된 해당 헤더 정보를 읽어내어 비디오 디코딩에 사용하는 단계를 포함한다.In order to achieve the above another object, the present invention provides a method of controlling a video decoder, the method comprising: determining whether any header information of video stream data is in a register set when decoding a video; Storing other header information previously stored in the register set in an external memory, finding corresponding header information required for video decoding among information stored in the external memory, and storing the header information in the register set, and corresponding header information stored in the register set. Reading out and using the video for decoding.

이하, 본 발명의 가장 바람직한 실시예를 첨부한 도면을 참조하여 본 발명의 기술분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 더욱 상세히 설명하기로 한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

도 2는 본 발명에 따른 비디오 디코더의 저장 장치의 개략적인 구조를 나타낸 도면이다.2 is a diagram illustrating a schematic structure of a storage device of a video decoder according to the present invention.

도 2를 참조하면, 본 발명에 따른 비디오 디코더의 저장 장치에 있어서, 디코더(100)는 스트림 입력부(102)와, 헤더 파서(104)와, 디코더(106)와, 제어부(108)와, IT/IQ부(110)와, 디블록킹 필터(112)와, 예측부(114)와, 합성부(116)와, 레지스터 세트(118) 등을 포함한다.Referring to FIG. 2, in the storage device of a video decoder according to the present invention, the decoder 100 includes a stream input unit 102, a header parser 104, a decoder 106, a controller 108, and an IT. / IQ unit 110, deblocking filter 112, prediction unit 114, synthesis unit 116, register set 118 and the like.

그리고, 디코더(100)는 H.264 포맷 비디오 디코더 시스템을 전반적으로 제어하기 위하여 레지스터 세트(118)에 저장된 헤더 정보 또는 그 외 정보를 읽어내어 디코딩 작동을 제어하는 CPU(120)와 연결된다.The decoder 100 is connected to a CPU 120 that reads header information or other information stored in the register set 118 to control the decoding operation in order to generally control the H.264 format video decoder system.

또한 본 발명의 디코더(100)는, 비디오 스트림 데이터의 디코딩시 사용되는 헤더 정보를 디코더와 별도로 분리된 메모리에 저장하기 위하여 CPU(120)를 통해 플래시 등의 외부 메모리(122)와 연결된다.In addition, the decoder 100 of the present invention is connected to an external memory 122 such as a flash through the CPU 120 in order to store header information used when decoding video stream data in a memory separate from the decoder.

본 발명의 비디오 디코더(100)에서 스트림 입력부(102)는, 입력 비디오 스트림(MEM)의 바이트 포맷을 SODB로 변환하고 이 데이터를 헤더 파서(104) 및 디코더(106)에 전달한다. In the video decoder 100 of the present invention, the stream input unit 102 converts the byte format of the input video stream MEM into SODB and passes this data to the header parser 104 and the decoder 106.

헤더 파서(104)는, 스트림 입력부(102)의 비디오 스트림 데이터를 SPS, PPS 등의 슬라이스 헤더 정보, 매크로블록 헤더 정보로 분리해내고 이를 레지스터 세트 (118)에 기록한다.The header parser 104 separates the video stream data of the stream input unit 102 into slice header information such as SPS and PPS, macroblock header information, and writes them to the register set 118.

디코더(106)는, 스트림 입력부(102)의 비디오 스트림 데이터를 I-픽쳐, P-픽쳐 등으로 디코딩된 후에 그 결과를 SRAM 등의 메모리(미도시됨)에 저장한다.The decoder 106 decodes the video stream data of the stream input unit 102 into an I-picture, a P-picture, and the like and stores the result in a memory (not shown) such as an SRAM.

제어부(108)는, 레지스터 세트(118)에 저장된 헤더 정보 또는 그 외 정보를 비디오 디코더의 내부 구성 블록들에 제공하거나 SRAM 등의 메모리(미도시됨)에 저장하도록 제어한다.The controller 108 controls to provide the header information or other information stored in the register set 118 to the internal component blocks of the video decoder or to store it in a memory (not shown) such as an SRAM.

IT/IQ부(110)는, SRAM 등의 메모리(미도시됨)에 저장된 디코딩된 비디오 데이터를 읽어 역정수화 변환 및 역양자화를 수행한 후에 SRAM 등의 메모리(미도시됨)에 저장한다.The IT / IQ unit 110 reads decoded video data stored in a memory (not shown) such as SRAM, performs inverse integer conversion and dequantization, and stores the decoded video data in a memory (not shown) such as SRAM.

디블록킹 필터(112)는, 합성부(116)를 통해 출력된 디코딩된 비디오 데이터가 블록화되는 현상을 제거한다.The deblocking filter 112 removes a phenomenon in which decoded video data output through the combiner 116 is blocked.

예측부(114)는 레지스터 세트(118)의 헤더 정보에 의해 인트라 모드 픽쳐(즉, I-픽쳐)로 예측하거나 인터 모드 픽쳐(즉, P-픽쳐)의 예측을 수행한다.The prediction unit 114 predicts an intra mode picture (ie, I-picture) or predicts an inter mode picture (ie, P-picture) based on the header information of the register set 118.

합성부(116)는 IT/IQ부(110)의 역정수화 변환 및 역양자화가 수행된 디코딩된 비디오 데이터와 예측부(114)의 인트라 예측(intra-prediction) 또는 인터 예측(inter-prediction) 정보를 합성하여 이를 출력한다. 즉, 디코딩된 비디오 데이터가 I-픽쳐이면 인트라 모드 픽쳐의 예측값이 합성되고, 디코딩된 비디오 데이터가 P-픽쳐이면 기준 픽쳐를 참조하여 움직임 벡터를 이용한 움직임 보상된 인터 예측 정보가 합성된다.The synthesis unit 116 decodes the video data from which the inverse integer transformation and inverse quantization of the IT / IQ unit 110 are performed, and intra-prediction or inter-prediction information of the prediction unit 114. Synthesize and output it. That is, if the decoded video data is an I-picture, the prediction value of the intra mode picture is synthesized. If the decoded video data is the P-picture, motion compensated inter prediction information using the motion vector is synthesized with reference to the reference picture.

레지스터 세트(118)는, 외부 메모리(122)에 저장된 헤더 정보 중에서 헤더 파서(104)의 헤더 정보가 있을 경우 해당 SPS, PPS 등의 헤더 정보를 읽어내어 이를 저장하고 다른 구성 블록들에 그 헤더 정보들을 제공한다.When the header information of the header parser 104 is found among the header information stored in the external memory 122, the register set 118 reads and stores the header information of the corresponding SPS and PPS, and stores the header information in other configuration blocks. Provide them.

CPU(120)는 H.264 포맷의 비디오 디코더 시스템을 전반적으로 제어하는 것으로서, 디코더의 인터럽트 신호에 의해 레지스터 세트(118)에 기저장된 헤더 정보를 외부 메모리(122)에 저장한다. 그리고, CPU(120)는 디코더의 인터럽트 신호에 의해 외부 메모리(122)에 저장된 헤더 정보 중에서 임의의 헤더 정보를 레지스터 세트(118)에 저장한 후에 이를 디코딩시 디코더 내부 구성들이 참조하여 사용하도록 한다.The CPU 120 generally controls the video decoder system of the H.264 format, and stores the header information previously stored in the register set 118 in the external memory 122 by the interrupt signal of the decoder. In addition, the CPU 120 stores arbitrary header information among the header information stored in the external memory 122 by the interrupt signal of the decoder in the register set 118 so that the decoder internal components refer to and use the decoding information.

외부 메모리(122)는 H.264 포맷의 비디오 디코더와 별도로 분리되는 플래시 등의 메모리로서, 비디오 스트림 데이터의 디코딩시 참조되는 헤더 정보가 레지스터 세트(118)에 저장된 정보가 아닐 경우 이를 레지스터 세트(118)에 기저장된 헤더 정보를 입력받아 이를 저장한다. 그리고, 외부 메모리(122)에 저장된 헤더 정보를 레지스터 세트(118)에 전달하여 저장시킨다.The external memory 122 is a memory such as a flash separate from the H.264 format video decoder. If the header information referred to when decoding the video stream data is not stored in the register set 118, the external memory 122 stores the register set 118. Receive pre-stored header information and save it. The header information stored in the external memory 122 is transferred to the register set 118 and stored.

그러므로, 본 발명에 따른 비디오 디코더의 저장 장치는, 비디오 스트림 데이터의 임의의 SPS, PPS 등의 헤더 정보가 레지스터 세트(118)에 없을 경우 레지스터 세트(118)에 기저장된 헤더 정보를 디코더(100)와 별도로 분리된 외부 메모리(122)에 저장하였다가 외부 메모리(122)에 저장된 해당 헤더 정보를 찾아 레지스터 세트(118)에 저장하여 디코더의 내부 구성 블록에서 사용한다.Therefore, the storage device of the video decoder according to the present invention, if the header information such as any SPS, PPS, etc. of the video stream data does not exist in the register set 118, the decoder 100 pre-stores the header information stored in the register set 118. The header information is stored in the external memory 122 that is separated from the data, and the header information stored in the external memory 122 is found and stored in the register set 118 to be used in the internal configuration block of the decoder.

도 3은 본 발명에 따른 비디오 디코더의 제어 방법을 순차적으로 나타낸 흐름도이다.3 is a flowchart sequentially illustrating a control method of a video decoder according to the present invention.

도 2 및 도 3을 참조하면, 본 발명에 따른 비디오 디코더는 다음과 같이 작동한다.2 and 3, a video decoder according to the present invention operates as follows.

우선, CPU(120)는 스트림 입력부(102)에서 입력 비디오 스트림(MEM)의 바이트 포맷을 SODB로 변환하고 이 데이터를 헤더 파서(104) 및 디코더(106)에 전달하도록 제어한다. 헤더 파서(104)는, 스트림 입력부(102)의 비디오 스트림 데이터를 SPS, PPS 등의 슬라이스 헤더, 매크로블록 헤더 정보로 분리해낸다. 그리고 디코더(106)에서는, 스트림 입력부(102)의 비디오 스트림 데이터를 I-픽쳐, P-픽쳐 등으로 디코딩된 후에 그 결과를 SRAM 등의 메모리(미도시됨)에 저장한다.(S100)First, the CPU 120 controls the stream input unit 102 to convert the byte format of the input video stream MEM to SODB and transfer this data to the header parser 104 and the decoder 106. The header parser 104 separates the video stream data of the stream input unit 102 into slice headers such as SPS and PPS, and macroblock header information. The decoder 106 decodes the video stream data of the stream input unit 102 into an I-picture, a P-picture, and the like, and stores the result in a memory (not shown) such as an SRAM (S100).

이때, 디코더(100)의 제어부(108)는 헤더 파서(104)의 현재 슬라이스 헤더 정보가 레지스터 세트(118)에 없는 SPS, PPS 등의 헤더 정보를 참조(없을 경우)하는지 판단하고, 그 판단 결과, 레지스터 세트(118)에 없는 헤더 정보일 경우 인터럽트 신호를 발생한다.(S110∼S120)At this time, the control unit 108 of the decoder 100 determines whether the current slice header information of the header parser 104 refers to header information such as SPS and PPS that are not in the register set 118 (if none), and the determination result. If the header information is not in the register set 118, an interrupt signal is generated (S110 to S120).

그리고 CPU(120)는 인터럽트 신호에 의해 레지스터 세트(118)에 기저장된 헤더 파서(104)의 헤더 정보를 외부 메모리(122)에 저장하고, 레지스터 세트(118)에 저장된 정보를 삭제한다.(S130)The CPU 120 stores the header information of the header parser 104 previously stored in the register set 118 in the external memory 122 by the interrupt signal, and deletes the information stored in the register set 118. (S130 )

CPU(120)는 외부 메모리(122)에 저장된 헤더 정보들 중에서 상기 레지스터 세트(118)에 없는 SPS, PPS 등의 헤더 정보를 읽어내서 레지스터 세트(118)에 저장한다.(S140)The CPU 120 reads header information such as SPS and PPS that are not present in the register set 118 from among header information stored in the external memory 122 and stores the header information in the register set 118 (S140).

제어부(108)는, 레지스터 세트(118)에 새롭게 저장된 SPS, PPS 등의 헤더 정보를 읽어내어 IT/IQ부(110), 예측부(114)에 제공함으로써 IT/IQ부(110)의 역정수 화 변환 및 역양자화가 수행된 디코딩된 비디오 데이터와 예측부(114)의 인트라 예측(intra-prediction) 또는 인터 예측(inter-prediction) 정보를 합성부(116)를 통해 합성하여 출력한다.(S160)The control unit 108 reads header information such as SPS and PPS newly stored in the register set 118 and provides the information to the IT / IQ unit 110 and the prediction unit 114 to inverse the constant of the IT / IQ unit 110. The decoded video data, which has been transformed and dequantized, and the intra-prediction or inter-prediction information of the prediction unit 114 are synthesized and output through the synthesis unit 116. (S160 )

그리고, CPU(120)는 스트림 입력부(102)에서 입력 비디오 스트림(MEM)이 마지막 끝의 스트림 데이터인지를 판단한다.(S170) S170 판단 결과, 마지막 끝 스트림 데이터일 경우, 비디오 디코딩 작동을 종료한다. 하지만, 그렇지 않을 경우 S100 단계부터 반복 수행한다.The CPU 120 determines whether the input video stream MEM is the last end stream data by the stream input unit 102 (S170). If it is the last end stream data, the video decoding operation is terminated. . However, if not repeated from step S100.

한편 S110 판단 결과, 디코더(100)의 제어부(108)는 헤더 파서(104)의 현재 슬라이스 헤더 정보가 레지스터 세트(118)에 있는 SPS, PPS 등의 헤더 정보를 참조할 경우(없을 경우), 레지스터 세트(118)에 기저장된 SPS, PPS 등의 헤더 정보를 읽어내어 IT/IQ부(110), 예측부(114)에 제공함으로써 IT/IQ부(110)의 역정수화 변환 및 역양자화가 수행된 디코딩된 비디오 데이터와 예측부(114)의 인트라 예측(intra-prediction) 또는 인터 예측(inter-prediction) 정보를 합성부(116)를 통해 합성하여 출력한다.(S160)On the other hand, as a result of the determination of S110, the control unit 108 of the decoder 100 registers when the current slice header information of the header parser 104 refers to header information such as SPS and PPS in the register set 118 (if none). Inverse integer conversion and dequantization of the IT / IQ unit 110 are performed by reading header information such as SPS and PPS previously stored in the set 118 and providing the same to the IT / IQ unit 110 and the prediction unit 114. The decoded video data and intra-prediction or inter-prediction information of the prediction unit 114 are synthesized and output through the synthesis unit 116 (S160).

그러므로, 본 발명에 따른 비디오 디코더의 제어 방법은, 디코딩시 비디오 스트림 데이터의 임의의 SPS, PPS 등의 헤더 정보가 레지스터 세트(118)에 없을 경우 디코더(100)의 인터럽트 신호에 의해 레지스터 세트(118)에 기저장된 다른 헤더 정보를 디코더(100)와 별도로 분리된 외부 메모리(122)에 저장하였다가 외부 메모리(122)에 저장된 정보들 중에서 해당 헤더 정보를 찾아 레지스터 세트(118)에 저장하여 디코더의 내부 구성 블록(예를 들어, IT/IQ부(110), 예측부(114) 등)에서 사용한다. 만약, 디코딩시 비디오 스트림 데이터의 임의의 SPS, PPS 등의 헤더 정보가 레지스터 세트(118)에 있을 경우 레지스터 세트(118)에 기저장된 헤더 정보를 읽어내어 디코더의 내부 구성 블록(예를 들어, IT/IQ부(110), 예측부(114) 등)에서 사용한다.Therefore, in the method of controlling a video decoder according to the present invention, when there is no header information such as any SPS, PPS, etc. of the video stream data in the register set 118, the register set 118 is interrupted by the interrupt signal of the decoder 100. ) Is stored in the external memory 122 separately stored from the decoder 100, and the corresponding header information is found among the information stored in the external memory 122 and stored in the register set 118 to store the header information. Used in an internal component block (for example, IT / IQ unit 110, predictor 114, etc.). If the header information such as any SPS, PPS, etc. of the video stream data is present in the register set 118 during decoding, the header information stored in the register set 118 is read and the internal component block of the decoder (eg, IT / IQ unit 110, prediction unit 114, etc.).

이상 설명한 바와 같이, 본 발명은, 디코딩시 비디오 스트림 데이터의 SPS, PPS 등의 헤더 정보가 레지스터 세트에 없을 경우 디코더와 분리된 외부 메모리에 레지스터에 기저장된 다른 헤더 정보를 저장한 후에 외부 메모리로부터 해당 헤더 정보를 읽어내어 레지스터 세트에 저장함으로써 레지스터 세트에 저장하기 위한 헤더 정보를 디코더 내부 메모리인 레지스터 세트에 모두 저장해두지 않고서도 외부에 저장할 수 있어 디코더 칩의 면적 및 단가를 줄일 수 있다.As described above, according to the present invention, when header information such as SPS or PPS of video stream data does not exist in the register set during decoding, the present invention stores the other header information previously stored in the register in an external memory separated from the decoder, By reading the header information and storing it in the register set, the header information for storing in the register set can be stored externally without storing the register set, which is the internal memory of the decoder, thereby reducing the area and cost of the decoder chip.

한편, 본 발명은 상술한 실시예에 국한되는 것이 아니라 후술되는 청구범위에 기재된 본 발명의 기술적 사상과 범주내에서 당업자에 의해 여러 가지 변형이 가능하다.On the other hand, the present invention is not limited to the above-described embodiment, various modifications are possible by those skilled in the art within the spirit and scope of the present invention described in the claims to be described later.

Claims (4)

비디오 디코더에 있어서,In a video decoder, 비디오 스트림 데이터의 헤더 정보를 분리하는 헤더 파서와,A header parser that separates header information of the video stream data; 상기 비디오 스트림 데이터를 디코딩하는 디코더와,A decoder for decoding the video stream data; 상기 헤더 정보를 이용하여 상기 디코딩된 비디오 데이터를 역정수화 변환 및 역양자화를 수행하는 IT/IQ부와,An IT / IQ unit performing inverse integer conversion and dequantization on the decoded video data using the header information; 상기 헤더 정보를 이용하여 상기 비디오 픽쳐 모드를 예측하는 예측부와,A prediction unit for predicting the video picture mode using the header information; 상기 역정수화 변환 및 역양자화된 비디오 데이터와 상기 예측된 값을 합성하여 출력하는 합성부와,A synthesizer configured to synthesize the inverse transform and dequantized video data and the predicted value; 상기 헤더 정보를 저장하는 레지스터 세트와,A register set for storing the header information; 비디오 디코딩시 상기 레지스터 세트에 저장된 헤더 정보가 없을 경우 상기 레지스터 세트에 기저장된 헤더 정보를 저장하고자 상기 디코더와 별도로 분리된 외부 메모리와,An external memory separate from the decoder to store header information pre-stored in the register set when there is no header information stored in the register set during video decoding; 상기 비디오 디코딩시 상기 레지스터 세트에 저장된 헤더 정보가 없을 경우 상기 레지스터 세트에 기저장된 헤더 정보를 상기 외부 메모리에 저장시키며 상기 디코딩에 요구되는 임의의 헤더 정보를 상기 외부 메모리에서 찾아 이를 상기 레지스터 세트에 전달하는 CPUWhen there is no header information stored in the register set when decoding the video, the header information previously stored in the register set is stored in the external memory, and any header information required for the decoding is found in the external memory and transferred to the register set. CPU 를 포함하는 비디오 디코더의 저장 장치.Storage device of the video decoder comprising a. 비디오 디코더의 제어 방법에 있어서,In the control method of the video decoder, 비디오 디코딩시 비디오 스트림 데이터의 임의의 헤더 정보가 레지스터 세트에 있는지 판단하는 단계와,Determining whether any header information of the video stream data is in the register set when decoding the video; 상기 판단 결과, 상기 헤더 정보가 상기 레지스터 세트에 없을 경우 상기 레지스터 세트에 기저장된 다른 헤더 정보를 외부 메모리에 저장하는 단계와,As a result of the determination, when the header information is not in the register set, storing other header information previously stored in the register set in an external memory; 상기 외부 메모리에 저장된 정보들 중에서 비디오 디코딩에 요구되는 해당 헤더 정보를 찾아 상기 레지스터 세트에 저장하는 단계와,Finding corresponding header information required for video decoding among information stored in the external memory, and storing the corresponding header information in the register set; 상기 레지스터 세트에 저장된 해당 헤더 정보를 읽어내어 상기 비디오 디코딩에 사용하는 단계Reading corresponding header information stored in the register set and using the same for decoding the video; 를 포함하는 비디오 디코더의 저장 장치의 제어 방법.Control method of a storage device of a video decoder comprising a. 제 2항에 있어서,The method of claim 2, 상기 방법은,The method, 상기 헤더 정보가 상기 레지스터 세트에 없을 경우 상기 비디오 디코더에서 인터럽트 신호를 발생하는 단계를 더 포함하는 것을 특징으로 하는 비디오 디코더의 저장 장치의 제어 방법.And generating an interrupt signal at the video decoder if the header information is not in the register set. 제 2항에 있어서,The method of claim 2, 상기 방법은,The method, 상기 판단 결과, 상기 헤더 정보가 상기 레지스터 세트에 있을 경우 상기 레 지스터 세트에 저장된 해당 헤더 정보를 읽어내어 상기 비디오 디코딩에 사용하는 단계를 더 포함하는 것을 특징으로 하는 비디오 디코더의 저장 장치의 제어 방법.And if the header information is present in the register set, reading the corresponding header information stored in the register set and using the same for decoding the video.
KR1020050106126A 2005-11-07 2005-11-07 Storage device of video decoder and method for controlling thereof KR100718419B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050106126A KR100718419B1 (en) 2005-11-07 2005-11-07 Storage device of video decoder and method for controlling thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050106126A KR100718419B1 (en) 2005-11-07 2005-11-07 Storage device of video decoder and method for controlling thereof

Publications (2)

Publication Number Publication Date
KR20070048985A true KR20070048985A (en) 2007-05-10
KR100718419B1 KR100718419B1 (en) 2007-05-14

Family

ID=38273174

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050106126A KR100718419B1 (en) 2005-11-07 2005-11-07 Storage device of video decoder and method for controlling thereof

Country Status (1)

Country Link
KR (1) KR100718419B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2505169A (en) * 2012-08-13 2014-02-26 Gurulogic Microsystems Oy Decoding data based on header information
US10412414B2 (en) 2012-08-13 2019-09-10 Gurulogic Microsystems Oy Decoder and method for decoding encoded input data containing a plurality of blocks or packets

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100390812B1 (en) * 2000-08-19 2003-07-10 주식회사 하이닉스반도체 PSI data filtering device for MPEG-2 system and control method thereof
JP4331876B2 (en) * 2000-09-18 2009-09-16 パナソニック株式会社 Digital signal recording / playback system
JP2005065080A (en) 2003-08-19 2005-03-10 Sony Corp Header receiving circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2505169A (en) * 2012-08-13 2014-02-26 Gurulogic Microsystems Oy Decoding data based on header information
GB2505169B (en) * 2012-08-13 2016-03-16 Gurulogic Microsystems Oy decoder and method
US9538239B2 (en) 2012-08-13 2017-01-03 Gurulogic Microsystems Oy Decoder and method for decoding encoded input data containing a plurality of blocks or packets
US10412414B2 (en) 2012-08-13 2019-09-10 Gurulogic Microsystems Oy Decoder and method for decoding encoded input data containing a plurality of blocks or packets

Also Published As

Publication number Publication date
KR100718419B1 (en) 2007-05-14

Similar Documents

Publication Publication Date Title
US9532073B2 (en) Video encoding device, video decoding device, video decoding method, video decoding method, and program
US7929614B2 (en) Apparatus, medium, and method for processing neighbor information in video decoding
JP4138056B2 (en) Multi-standard decompression and / or compression device
JP4819051B2 (en) Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, and stream data
CN106412578B (en) Method and system for selectively breaking prediction in video coding
KR101147744B1 (en) Method and Apparatus of video transcoding and PVR of using the same
US7873105B2 (en) Hardware implementation of optimized single inverse quantization engine for a plurality of standards
JP2009267689A (en) Moving image coding device, and moving image coding method
JP4945513B2 (en) Variable length decoding apparatus and moving picture decoding apparatus using the same
JP2000050263A (en) Image coder, decoder and image-pickup device using them
JP3852366B2 (en) Encoding apparatus and method, decoding apparatus and method, and program
KR100718419B1 (en) Storage device of video decoder and method for controlling thereof
US11683497B2 (en) Moving picture encoding device and method of operating the same
US7801935B2 (en) System (s), method (s), and apparatus for converting unsigned fixed length codes (decoded from exponential golomb codes) to signed fixed length codes
JP2000175199A (en) Image processor, image processing method and providing medium
KR20220157455A (en) Methods and devices for image encoding and decoding
JP2008289105A (en) Image processing device and imaging apparatus equipped therewith
KR100636911B1 (en) Method and apparatus of video decoding based on interleaved chroma frame buffer
KR100556341B1 (en) Vedeo decoder system having reduced memory bandwidth
JP4676474B2 (en) Image coding method
KR100621942B1 (en) Mobile multimedia data processing method
JP5061355B2 (en) Image encoding method, apparatus and program, and image processing apparatus
EP1746838A1 (en) Moving picture coding apparatus and moving picture decoding apparatus
JP2022544950A (en) Quantization matrix prediction for video encoding and decoding
JP2001218227A (en) Moving image compressor

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

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee