KR100362911B1 - The video decoding processor using huffman code - Google Patents

The video decoding processor using huffman code Download PDF

Info

Publication number
KR100362911B1
KR100362911B1 KR1020000033061A KR20000033061A KR100362911B1 KR 100362911 B1 KR100362911 B1 KR 100362911B1 KR 1020000033061 A KR1020000033061 A KR 1020000033061A KR 20000033061 A KR20000033061 A KR 20000033061A KR 100362911 B1 KR100362911 B1 KR 100362911B1
Authority
KR
South Korea
Prior art keywords
data
signal
decoding
unit
huffman code
Prior art date
Application number
KR1020000033061A
Other languages
Korean (ko)
Other versions
KR20010112805A (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 KR1020000033061A priority Critical patent/KR100362911B1/en
Publication of KR20010112805A publication Critical patent/KR20010112805A/en
Application granted granted Critical
Publication of KR100362911B1 publication Critical patent/KR100362911B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/436Methods 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 using parallelised computational arrangements
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code

Abstract

본 발명은 허프만코드를 사용하는 비디오 디코딩 처리 장치에 관한 것이다. 특히, 디코딩 과정중에서, 다수개의 사이즈디텍터에 의해 디코딩된 다수개의 디코딩 정보에서 현재단계에 필요한 디코딩 정보를 결정하여 카운터부로 전송을 함으로써 다음단계의 디코딩과정을 수행할 수 있도록 하는 파이프라인 구조에 의한 디코딩 처리속도가 향상된 비디오 디코딩 처리 장치에 관한것이다. 종래의 디코딩 과정은 디코더부에서 디코딩된 정보를 제어부로 공급하여 만들어진 데이터선택신호를 디코더부로 재전송하여, 다음단계에 디코딩할 정보를 디코더부에 래치하고, 또한 상기 디코더부에서 데이터크기신호를 카운터부로 전송을 하여야만 다음 디코딩 단계를 수행하는 구조인 반면에, 본 발명은 사이즈디텍터부에서 다수개의 사이즈디텍터에 의해 허프만코드데이타를 디코딩하여 얻어진 디코딩정보중 데이터크기신호를 카운터부, 제어부, 메모리/레지스터부로 동시에 전송을 함으로써, 데이타 저장장소 결정, 데이타 저장을 각각 수행할 때, 멀티플렉서부는 허프만코드데이터를 선택하고, 선택된 허프만코드데이터를 사이즈디텍터부로 전송하도록 하는 파이프라인구조에 의한 디코딩 처리속도가 개선된 비디오 디코딩장치를 제시하고 있다.The present invention relates to a video decoding processing apparatus using Huffman code. In particular, during the decoding process, decoding by pipeline structure is performed to determine the decoding information necessary for the current step from the plurality of decoding information decoded by the plurality of size detectors and transmits the decoding information to the counter. The present invention relates to a video decoding processing apparatus having improved processing speed. In the conventional decoding process, the data selection signal generated by supplying the information decoded by the decoder unit to the control unit is retransmitted to the decoder unit to latch the information to be decoded in the next step to the decoder unit, and the data size signal from the decoder unit to the counter unit. On the other hand, the present invention is a structure in which the next decoding step is performed only after the transmission. However, the present invention converts the data size signal of the decoding information obtained by decoding Huffman code data by the plurality of size detectors to the counter unit, the control unit, and the memory / register unit. By simultaneously transmitting, when the data storage location is determined and the data is stored, the multiplexer unit selects Huffman code data and transmits the selected Huffman code data to the size detector unit. Presenting a decoding device have.

Description

허프만코드를 사용하는 비디오 디코딩 처리 장치{The video decoding processor using huffman code}The video decoding processor using huffman code}

본 발명은 허프만코드를 사용하는 비디오 디코딩 처리 장치에 관한 것이다. 특히, 디코딩 과정중에서, 다수개의 사이즈디텍터에 의해 디코딩된 다수개의 디코딩 정보에서 현재단계에 필요한 디코딩 정보를 결정하여 카운터부로 전송을 함으로써 다음단계의 디코딩과정을 수행할 수 있도록 하는 파이프라인 구조에 의한 디코딩 처리속도가 향상된 비디오 디코딩 처리 장치에 관한것이다.The present invention relates to a video decoding processing apparatus using Huffman code. In particular, during the decoding process, decoding by pipeline structure is performed to determine the decoding information necessary for the current step from the plurality of decoding information decoded by the plurality of size detectors and transmits the decoding information to the counter. The present invention relates to a video decoding processing apparatus having improved processing speed.

종래기술은 도면을 참조하여 설명한다. 도 1은 종래의 허프만 코드데이터를 디코딩하는 비디오 디코딩 장치의 구성 블록도이다.The prior art will be described with reference to the drawings. 1 is a block diagram of a video decoding apparatus for decoding conventional Huffman code data.

상기 도 1에 도시되지는 않았지만 최초 입력되는 비트스트림(Bitstream)은 직렬데이터(Serial data)로서 메모리부, 또는 레지스터부에 저장된다.Although not shown in FIG. 1, the first input bitstream is stored as a serial data and stored in a memory unit or a register unit.

상기 도 1에 도시한 레지스터부(1)는 직렬데이터로 저장된 비트스트림을 병렬데이터(parallel data)로 저장한다.The register unit 1 shown in FIG. 1 stores bit streams stored as serial data as parallel data.

멀티플렉서부(Multiplexer)(2)는 카운터부(Counter)(6)로 부터 공급된 데이터 시작위치신호에 의해 상기 레지스터부(1)로 부터 허프만코드데이터를 선택하여 디코더부(Decoder)(3)로 이동시킨다.The multiplexer section (2) selects Huffman code data from the register section (1) according to the data start position signal supplied from the counter section (6) to the decoder section (3). Move it.

디코더부(3)는 상기 멀티플렉서부(2)에서 공급된 허프만코드데이터를 디코딩할 때, 허프만 코드의 특성상 디코딩되는 데이터의 종류에 따라, 허프만 코드 테이블이 각기 틀리기 때문에 제어부(Controller)(5)로부터 이전단계에서 디코딩된 데이터와 현재동작상황을 참조하여 만들어진 디코딩할 데이터의 종류를 결정하여 주는 데이터크기신호가 공급 되어 있어야지만 디코딩을 할 수 있도록 구성되어진다.When the decoder unit 3 decodes the Huffman code data supplied from the multiplexer unit 2, the Huffman code table is different according to the type of data to be decoded due to the characteristics of the Huffman code. The data size signal that determines the type of data to be decoded by referring to the data decoded in the previous step and the current operation status is supplied, but is configured to be decoded.

또한, 디코더부(3)는 상기 디코딩된 데이터를 메모리/레지스터부(Memory/ Register)(4)와 제어부(Controller)(5)에 각각 공급한다.In addition, the decoder unit 3 supplies the decoded data to a memory / register unit 4 and a controller 5, respectively.

메모리/레지스터부(4)는 상기 디코더부(3)에서 전송된 디코딩된 데이터를 메모리, 또는 레지스터 중 데이터의 종류에 따라 임의의 한곳에 저장한다.The memory / register section 4 stores the decoded data transmitted from the decoder section 3 in any one place according to the type of data in the memory or register.

제어부(5)는 허프만 코드의 길이와 엔코딩(Encoding)된 값이 종류에 따라 데이타의 크기가 다르기 때문에, 상기 디코더부(3)로 부터 전송된 디코딩된 데이터와 현재동작상황을 참조하여, 디코더부(3)가 다음 단계에 디코딩할 허프만코드데이터 정보를 알려주는 데이터선택신호를 디코더부(3)로 공급한다. 즉, 비트스트림에 기록되어 있는 허프만코드데이터의 순서가 MBA, MBT, CBP의 순서로 정해져 있다면 제어부(5)는 상기와 같은 순서로 디코딩하도록 데이터선택신호를 디코더부(3)로 공급한다.Since the size of the data varies depending on the type of the length of the Huffman code and the encoded value, the control unit 5 refers to the decoded data transmitted from the decoder unit 3 and the current operation state. (3) supplies to the decoder unit 3 a data selection signal informing the Huffman code data information to be decoded in the next step. That is, if the order of the Huffman code data recorded in the bitstream is determined in the order of MBA, MBT, and CBP, the control section 5 supplies the data selection signal to the decoder section 3 to decode in the above order.

또한 디코더부(3)는 상기 제어부(5)에서 공급된 데이터선택신호를 참조하여 만들어진 데이터크기신호를 카운터부(6)로 다시 공급 한다.In addition, the decoder unit 3 supplies the data size signal generated by referring to the data selection signal supplied from the control unit 5 to the counter unit 6 again.

카운터부(6)는 상기 디코더부(3)로부터 공급된 전단계 까지의 데이터크기신호가 누적되어 있어서, 디코더부(3)로 부터 현단계에서 디코딩할 데이터의 크기를 알려주는 데이터크기신호를 공급 받은 후, 전단계까지 누적된 데이타 크기부터 현단계에서 공급 받은 데이터 크기를 조사하여 멀티플렉서부(2)가 현단계에 디코딩될데이타를 선택할 수 있도록 데이터 시작위치신호를 멀티플렉서부(2)로 공급한다.The counter unit 6 accumulates data size signals from the decoder unit 3 up to the previous stage, and receives a data size signal from the decoder unit 3 indicating the size of data to be decoded at this stage. After that, the data start position signal is supplied to the multiplexer 2 so that the multiplexer 2 can select the data to be decoded at this stage by checking the data size accumulated up to the previous stage.

상기 일련의 과정으로 한 개의 가변길이의 허프만 코드 디코딩이 완료가 되며, 상기 과정의 반복에 의해 허프만코드 데이터들은 디코딩되어 순차적으로 저장되어진다.Huffman code decoding of one variable length is completed by the series of processes, and Huffman code data is decoded and stored sequentially by repeating the above process.

그러나 상기 종래의 구조인 허프만코드 데이터를 디코딩하는 비디오 디코딩 장치의 구조는 카운터부(6)로 부터 출력되는 데이터 시작위치신호를 멀티플렉서부 (2)로 공급이 되어야만 다음 디코딩 단계를 수행한다.However, the structure of the video decoding apparatus for decoding the Huffman code data, which is the conventional structure, performs the next decoding step only when the data start position signal output from the counter section 6 is supplied to the multiplexer section 2.

즉, 도 2의 종래기술인 비디오 디코딩 장치의 구성블록도를 참조하여 설명하면,That is, referring to the configuration block diagram of the conventional video decoding apparatus of FIG.

카운터부(6)는 디코더부(3)에서 디코딩할 허프만코드데이터를 선정할 수 있도록, 디코딩할 데이터의 크기를 계산하여 멀티플렉서부(2)로 데이터 시작위치신호를 전송하는 단계(S100)와,The counter unit 6 calculates the size of the decoded data so as to select the Huffman code data to be decoded by the decoder unit 3, and transmits a data start position signal to the multiplexer unit 2 (S100);

멀티플렉서부(2)는 카운터부(6)로부터 전송된 데이터 시작위치신호에 의해 레지스터부(1)로 부터 허프만코드데이터를 선택하는 단계(S110)와,The multiplexer unit 2 selects Huffman code data from the register unit 1 by the data start position signal transmitted from the counter unit 6 (S110),

선택된 허프만코드데이터를 디코더부(3)로 전송하는 단계(S120)와,Transmitting the selected Huffman code data to the decoder 3 (S120);

전송된 허프만코드데이터를 디코더부(3)에서 디코딩하는 단계(S130)와,Decoding the transmitted Huffman code data by the decoder 3 (S130),

디코딩된 데이터를 메모리/레지스터부(4)에 저장하는 단계(S140)와,Storing the decoded data in the memory / register section 4 (S140),

상기 S130단계에서 디코딩된 데이터에 의해 제 2데이터선택신호를 결정하는 단계(S150)와,Determining a second data selection signal based on the data decoded in step S130 (S150);

다음단계에 디코더부(3)가 디코딩을 할 수 있도록 제어부(5)부로 부터 제 2데이터선택신호를 디코더(3)부로 전송하는 단계(S160)와,Transmitting a second data selection signal from the control section 5 to the decoder 3 section so that the decoder section 3 can decode in the next step (S160);

다음단계에 디코딩할 데이터 시작위치신호를 선정할 수 있도록 디코더부(3)로 부터 데이터크기신호를 카운터부(6)로 전송하는 단계(S170)로 완료된다.In step S170, the data size signal is transmitted from the decoder unit 3 to the counter unit 6 so that the data start position signal to be decoded can be selected.

상기 S140단계에서 메모리, 또는 레지스터 중 디코딩된 데이터를 임의의 하나에 저장하는데 있어서, 상기 S130단계에서 저장장소를 결정하여 메모리/레지스터부(4)로 전송하도록 구성되어진다.In storing the decoded data of the memory or the register in any one in step S140, the storage location is determined and transmitted to the memory / register unit 4 in step S130.

상기 S150단계에서 제어부(5)는 상기 디코더부(3)에서 공급받은 디코딩된 데이터와 현재 상태를 나타내는 동작상황을 참조하여 다음단계에서 디코딩할 데이터선택신호를 결정하는 것으로 구성되어진다.In step S150, the control unit 5 is configured to determine the data selection signal to be decoded in the next step by referring to the decoded data supplied from the decoder unit 3 and an operation state indicating the current state.

여기서 S140단계와 S150단계는 동시에 이루어지도록 구성되어진다.Here, step S140 and step S150 are configured to be performed at the same time.

또한, 상기 S150단계에서, 제어부(5)는 상기 디코더부(3)에서 전송받은 디코딩된 정보를 참조하여 다음 단계에 디코딩될 입력데이타를 결정하여 주는 데이터선택신호를 디코더부(3)에 공급하며, 디코더부(3)는 상기 공급된 데이터선택신호를 참조하여, 디코딩된 정보중 데이터크기신호를 카운터부(6)로 전송을 함으로써, S170단계가 완료되기 전까지 다른 단계들은 주기적인 신호인 클럭신호와 동기를 맞추기 위하여 정지가 되며, S170단계가 완료된 후에, 다음 디코딩할 단계인 S100단계 부터 순차적으로 클럭신호와 동기를 취하면서 수행하기 때문에 디코딩 처리속도가 지연되는 문제점이 있었다.Further, in step S150, the control unit 5 supplies a data selection signal for determining the input data to be decoded in the next step by referring to the decoded information received from the decoder unit 3, The decoder unit 3 transmits the data size signal of the decoded information to the counter unit 6 with reference to the supplied data selection signal, so that other steps are periodic signals until the step S170 is completed. After the step S170 is completed, the decoding processing speed is delayed because the step is performed while synchronizing with the clock signal sequentially from the next step S100 after the step S170 is completed.

즉, 상기 일련의 과정에서 동기를 취하기 위하여 소비되는 클럭신호는 S110단계인 허프만코드선택 단계에서 첫번째 클럭신호, S130단계인 디코딩 단계에서 두번째 클럭신호, S140단계 및, S150단계인 데이터 저장단계 및 데이터선택신호 결정 단계에서 세번째 클럭신호로서, 한 개의 가변길이의 허프만 코드 디코딩이 완료되기 까지 소비되는 클럭신호는 총 ‘3 ’클럭신호가 소비된다.That is, the clock signal consumed for synchronization in the series of processes is the first clock signal in the Huffman code selection step in step S110, the second clock signal in the decoding step in step S130, the data storage step and step S150 in step S150. As the third clock signal in the selection signal determination step, a total of '3' clock signals are consumed until the Huffman code decoding of one variable length is completed.

본 발명은 상기 디코딩 처리속도가 지연되는 문제점을 해결하기 위한 것으로써, 본 발명의 목적은 디코딩 과정에서, 제어부가 데이터의 저장장소를 결정하고, 메모리/레지스터부에서 데이터 저장을 각각 수행할 때, 카운터부, 멀티플렉서부, 디코딩과정을 수행하는 사이즈디텍터부에서도 각각의 역할을 수행하는 파이프라인 구조에 의해, 다음단계의 디코딩과정을 수행하는 허프만코드를 사용하는 비디오 디코딩 처리 장치를 제공하는데 있다.The present invention is to solve the problem that the decoding processing speed is delayed, an object of the present invention is to determine the storage location of the data in the decoding process, when performing the data storage in the memory / register unit, The present invention provides a video decoding processing apparatus using a Huffman code that performs a decoding process of a next step by a pipeline structure in which a counter unit, a multiplexer unit, and a size detector unit that performs a decoding process each play a role.

상기 본 발명의 목적을 달성하기 위한 일실시예로써, 본 발명은 카운터부가 이전단계의 디코딩된 정보신호인 데이터크기신호를 참조하여, 디코딩할 데이타 길이를 계산하여 멀티플렉서부로 테이터 시작위치신호를 전송하고, 멀티플렉서부는 카운터부로부터 전송된 데이터 시작위치신호에 의해 레지스터부로 부터 디코딩할 허프만코드데이터를 선택하고, 상기 선택된 허프만코드데이터를 사이즈디텍터부로 전송하고, 사이즈디텍터부는 상기 전송된 허프만코드데이터를 다수개의 사이즈디텍터를 사용하여 디코딩을 수행하고, 상기 디코딩된 다수개의 정보중에 제어부로 부터 공급된 데이터선택신호에 의해 하나의 디코딩된 정보를 카운터부, 제어부, 메모리/레지스터부로 각각 전송하고, 카운터부는 상기 사이즈디텍터부로 부터 전송된 디코딩된 정보인 데이타크기신호를 참조하여 다음단계에 디코딩할 허프만코드데이터의 길이를 계산하여 데이터 시작위치신호를 멀티플렉서부로 전송하며, 또한 제어부는 상기 사이즈디텍터부로 부터 전송된 디코딩된 정보인 데이터크기신호와 현재상태신호를 참조하여 저장수단인 메모리, 또는 레지스터 중 하나를 결정하여 메모리/레지스터부에 데이터 저장장소를 결정하여 주는 데이터저장신호를 전송하고, 메모리/레지스터부는 상기 사이즈디텍터부로 부터 전송된 디코딩 정보인 디코딩된 데이터를 상기 제어부로 부터 전송된 데이터저장신호를 참조하여 디코딩된 데이터를 저장한다. 여기서 사이즈디텍터부는 동기를 취하기 위하여 사용되는 클럭(Clock)신호의 소비가 필요 하지 않는 조합(Combinational)으로 구성되어짐으로써 클럭신호의 소비를 줄이고, 또한 상기 사이즈디텍터부로 부터 카운터부와 제어부로 전송되는 데이터크기신호에 의해, 각 클럭신호마다 다음 단계에 디코딩할 데이터에 대한 정보를 처리할 수 있도록 하는 파이프라인(Pipe Line) 구조에 의해 디코딩 처리 속도가 개선된 허프만 코드를 사용하는 비디오 디코딩 처리 장치를 제시한다.According to an embodiment of the present invention, the counter unit calculates a data length to be decoded by referring to a data size signal which is a decoded information signal of a previous step, and transmits a data start position signal to a multiplexer unit. The multiplexer unit selects the Huffman code data to be decoded from the register unit according to the data start position signal transmitted from the counter unit, transmits the selected Huffman code data to the size detector unit, and the size detector unit transmits the plurality of Huffman code data. Decoding is performed using a size detector, and one piece of decoded information is transmitted to a counter unit, a control unit, and a memory / register unit, respectively, by a data selection signal supplied from a control unit among the plurality of decoded pieces of information. Decoded information sent from the detector The data start position signal is transmitted to the multiplexer unit by calculating the length of the Huffman code data to be decoded in the next step with reference to the data size signal, and the control unit also includes the data size signal and the current state as the decoded information transmitted from the size detector unit. Determining one of a memory or a register as a storage means with reference to a signal, and transmitting a data storage signal for determining a data storage location in a memory / register section, wherein the memory / register section decodes decoding information transmitted from the size detector section. The decoded data is stored with reference to the data storage signal transmitted from the controller. In this case, the size detector unit is composed of a combination which does not require the consumption of the clock signal used for synchronization, thereby reducing the consumption of the clock signal, and also transferring data from the size detector unit to the counter unit and the control unit. A video decoding processing apparatus using a Huffman code whose decoding process speed is improved by a pipe line structure that can process information on data to be decoded in a next step by a magnitude signal, according to each clock signal. do.

도 1은 종래 기술인 비디오 디코딩 장치의 구성 블록도.1 is a block diagram of a conventional video decoding apparatus.

도 2는 제 1도의 일실시예로서 허프만코드데이타가 디코딩되는 과정을 단계별로 나타낸 블록도.FIG. 2 is a block diagram illustrating a process of decoding Huffman code data as an embodiment of FIG.

도 3은 본 발명의 주요부인 비디오 디코딩 장치의 구성 블록도.3 is a block diagram of a video decoding apparatus which is an essential part of the present invention;

도 4는 본 발명의 주요부인 사이즈디텍터부를 설명하는 구성 블록도.4 is a block diagram illustrating a size detector unit, which is a main part of the present invention;

도 5은 본 발명의 주요부인 제어부를 설명하는 구성 블록도.5 is a block diagram illustrating a control unit which is a main part of the present invention.

도 6는 제 3도의 일실시예로서 허프만코드데이터가 디코딩되는 과정을 단계별로 나타낸 블록도.FIG. 6 is a block diagram illustrating a process of decoding Huffman code data as an embodiment of FIG.

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

1 : 레지스터부 2 : 멀티플렉서부1: register section 2: multiplexer section

3 : 디코더부 4 : 메모리/레지스터부3: decoder section 4: memory / register section

5 : 제어부 6 : 카운터부5: control unit 6: counter unit

7 : 사이즈 디텍터부 8 : 메모리/레지스터부7: Size detector unit 8: Memory / register unit

9 : 제어부 10 : 디코딩 제어부9 control unit 10 decoding control unit

11 : 현재상태부 12 : 다음상태부11: current state part 12: next state part

13 : 스테이트머신13: State Machine

이하에서는 본 발명의 목적을 달성하기 위한 실시예의 구성 및 작용에 관하여 첨부된 도면을 참조하여 설명하기로 한다.Hereinafter, with reference to the accompanying drawings, the configuration and operation of the embodiment for achieving the object of the present invention will be described.

하기 도 3은 상기, 도 1에서 기재한 구성요소와 동일한 구성 및 작용을 하는 구성요들에 대한 설명은 제외하고, 본 발명의 실시예를 설명하는데 있어서 필요한 구성요소만 기재하기로 한다.3 below, only the components necessary for describing the embodiments of the present invention will be described, except for the description of the components having the same configuration and function as those described in FIG. 1.

도 3은 본 발명의 일실시예인 파이프라인에 의해 디코딩 처리 속도가 향상된 비디오 디코딩 장치의 구성 블록도이다.3 is a block diagram illustrating a video decoding apparatus having an improved decoding processing speed by a pipeline, which is an embodiment of the present invention.

도 3에 도시한 바와 같이, 사이즈디텍터부(Size Detector)(7)는 멀티플렉서부(2)로 부터 공급되는 허프만코드데이터를 디코딩할 때, 클럭(Clock)과 동기를 취하지 않는 조합(Combinational)구조로 구성되며, 디코딩된 데이터크기신호메모리/레지스터부(8)와 제어부(9), 카운터부(6)에 각각 공급한다.As shown in FIG. 3, the Size Detector 7 is a combination structure that does not synchronize with a clock when decoding Huffman code data supplied from the multiplexer 2. The decoded data size signal is supplied to the memory / register unit 8, the control unit 9, and the counter unit 6, respectively.

카운터부(6)는 상기 사이즈디텍터부(7)에서 공급된 데이터크기신호에 의해, 다음단계에서 디코딩될 허프만코드데이터를 선택할 수 있도록, 데이터시작위치신호를 멀티플렉서부(2)로 공급한다.The counter section 6 supplies the data start position signal to the multiplexer section 2 so that the Huffman code data to be decoded in the next step can be selected by the data size signal supplied from the size detector 7.

제어부(9)는 사이즈디텍터부(7)에서 공급되는 데이터크기신호와 현재상태부 (11)에 래치되어 있는 현상태의 동작상황을 나타내는 현재상태신호를 참조하여, 다음 디코딩 단계에서 사이즈디텍터부(7)의 다수개의 사이즈디텍터에 의해서 디코딩되어지는 다수개의 데이터 및 다수개의 데이터크기신호중에서 각각 하나를 결정할 수 있도록, 데이터선택신호를 사이즈디텍터부(7)에 공급을 하며, 또한, 상기 데이타 크기신호와 현상태의 동작상황을 참조하여 데이타 저장수단인 메모리, 또는 레지스터중 데이터의 종류에 따라, 임의의 하나의 저장장소를 결정하여 주는 데이터저장신호를 메모리/레지스터부(8)로 공급한다.The control unit 9 refers to the data size signal supplied from the size detector unit 7 and the current state signal indicating the operation status of the current state latched in the current state unit 11, and the size detector unit 7 in the next decoding step. Multiple data to be decoded by multiple size detectors And a memory for supplying a data selection signal to the size detector unit 7 so as to determine one of the plurality of data size signals, and also referring to the data size signal and the operation state of the current state. According to the type of data in the register, a data storage signal for determining any one storage location is supplied to the memory / register section 8.

메모리/레지스터부(8)는 상기 제어부(9)로 부터 전송된 데이타저장신호를 참조하여, 상기 사이즈디텍터부(7)로 부터 전송된 디코딩된 데이터를 저장한다.The memory / register unit 8 stores the decoded data transmitted from the size detector unit 7 with reference to the data storage signal transmitted from the control unit 9.

도 4는 사이즈디텍터부에서 허프만코드데이터를 디코딩하는 과정을 설명하는 구성 블록도이다.4 is a block diagram illustrating a process of decoding Huffman code data in the size detector.

상기 도 4에서 도시한 것처럼, 멀티플렉서부(2)로 부터 허프만코드데이터가 사이즈디텍터부(7)에 입력이 되면, 사이즈디텍터부(7)내에 구성되어 있는 다수개의 사이즈디텍터에 의해, 허프만코드데이터는 다수개의 디코딩된 데이터와 데이터크기신호로 디코딩이 되어지며, 상기 디코딩 정보중 다수개의 데이터크기신호중, 멀티플렉서가 이전단계에서 제어부(9)로 부터 공급된 데이터선택신호에 의해, 하나의 데이터 크기신호를 선택한다.As shown in FIG. 4, when the Huffman code data is input from the multiplexer section 2 to the size detector section 7, the Huffman code data is formed by a plurality of size detectors configured in the size detector section 7. Is decoded into a plurality of decoded data and data size signals. Of the plurality of data size signals among the decoded information, the multiplexer provides one data size signal by a data selection signal supplied from the controller 9 in a previous step. Select.

상기 선택된 데이터크기신호는 제어부(9), 카운터부(6)에 각각 공급된다.The selected data magnitude signal is supplied to the control section 9 and the counter section 6, respectively.

도 5는 데이터크기신호의 공급에 의해, 제어부(9)의 구성요소인 현재상태부, 다음상태부, 스테이트 머신, 디코딩 제어부의 상호작용에 의해 데이터선택신호를 사이즈디텍터부, 메모리부에 공급하는 것을 나타낸 구성블록도이다.FIG. 5 shows the supply of the data size signal to supply the data selection signal to the size detector unit and the memory unit by the interaction of the current state unit, the next state unit, the state machine, and the decoding control unit which are components of the control unit 9. It is a block diagram showing this.

도 5에서 도시한 바와 같이, 사이즈디텍터부(7)에서 공급되는 데이터크기신호는 디코딩제어부(10) 및 스테이트 머신(State Machine)(13)에 각각 공급된다.As shown in FIG. 5, the data size signal supplied from the size detector unit 7 is supplied to the decoding control unit 10 and the state machine 13, respectively.

디코딩제어부(10)부는 상기 사이즈디텍터부(7)로 부터 공급된 데이터크기신호와 현재상태부(Current state)(11)에서 전송된 현재상태신호에 의해, 데이터 저장수단인 메모리, 또는 레지스터중 임의의 하나를 결정하여 주는 데이터저장신호를 메모리/레지스터부(8)로 공급한다.The decoding control unit 10 uses a data size signal supplied from the size detector unit 7 and a current state signal transmitted from the current state unit 11 to select any one of a memory or a register which is data storage means. The data storage signal for determining one of the signals is supplied to the memory / register section 8.

또한, 디코딩제어부(10)는 상기 사이즈디텍터부(7)에서 공급되는 데이터크기신호와 현재상태부(11)에 래치되어 있는 현상태의 동작상황을 참조하여, 다음 디코딩 단계에서 사이즈디텍터부(7)의 다수개의 사이즈디텍터에 의해 디코딩되어질 다수개의 데이터 및 다수개의 데이터크기신호중에서 하나를 결정할 수 있도록 데이터선택신호를 사이즈디텍터부(7)에 공급한다.In addition, the decoding control unit 10 refers to the data size signal supplied from the size detector unit 7 and the operation status of the current state latched in the current state unit 11, and the size detector unit 7 in the next decoding step. Multiple data to be decoded by multiple size detectors And a data selection signal to the size detector unit 7 so as to determine one of the plurality of data size signals.

스테이트머신(13)은 상기 사이즈디텍터(7)로 부터 전송된 데이터크기신호와 상기 현재상태부(11)로 부터 전송된 현재상태신호에 의해, 다음단계에 디코딩할 동작상황을 나타내는 다음상태신호를 결정하여 다음상태부(Next state)(12)로 공급한다.The state machine 13 uses the data size signal transmitted from the size detector 7 and the current state signal transmitted from the current state unit 11 to output a next state signal indicating an operation state to be decoded in the next step. Determine and supply to the next state (12).

다음상태부(12)는 상기 스테이트머신(13)으로 부터 공급된 다음단계에 디코딩할 동작상황을 나타내는 다음상태신호를 현재상태부(11)로 공급을 한다.The next state unit 12 supplies the current state unit 11 with a next state signal indicating an operation state to be decoded in the next step supplied from the state machine 13.

여기서 현재상태부(11)의 현재상태신호가 디코딩제어부(10)로 공급이 된후에 다음상태부(12)의 다음상태신호가 현재상태부(11)로 공급이 되도록 구성되어질 것이다.Here, after the current state signal of the current state unit 11 is supplied to the decoding control unit 10, the next state signal of the next state unit 12 will be configured to be supplied to the current state unit 11.

도 6는 본 발명의 일실시예로서 허프만코드데이터가 디코딩되는 과정을 단계별로 나타낸 블록도이다.FIG. 6 is a block diagram illustrating a process of decoding Huffman code data according to an embodiment of the present invention.

카운터부(6)는 사이즈디텍터부(7)로 부터 전송받은 이전단계의 디코딩된 정보신호인 데이터크기신호를 참조하여, 디코딩할 데이터 길이를 계산하여 멀티플렉서부(2)로 데이터 시작위치신호를 전송하는 단계(S200)와,The counter unit 6 refers to the data size signal which is the decoded information signal of the previous stage received from the size detector unit 7, calculates the data length to be decoded, and transmits the data start position signal to the multiplexer unit 2. Step (S200) and

멀티플렉서부(2)는 카운터부(6)로부터 전송된 데이터 시작위치신호에 의해 레지스터부(1)로부터 디코딩할 허프만코드데이터를 선택하는 단계(S210)와,The multiplexer unit 2 selects Huffman code data to be decoded from the register unit 1 by the data start position signal transmitted from the counter unit 6 (S210),

선택된 허프만코드데이터를 사이즈디텍터부(7)로 전송하는 단계(S220)와,Transmitting the selected Huffman code data to the size detector unit 7 (S220);

사이즈디텍터부(7)는 전송된 허프만코드데이터를 다수개의 사이즈디텍터를 사용하여 디코딩을 하는 단계(S230)와,The size detector unit 7 decodes the transmitted Huffman code data using a plurality of size detectors (S230);

제어부(9)는 상기 사이즈디텍터부(7)로 부터 전송된 데이터길이신호와 현재상태부에서 전송된 현재 상태 신호를 참조하여 데이터 저장신호를 결정하는 단계(S240)와,The control unit 9 determines the data storage signal by referring to the data length signal transmitted from the size detector unit 7 and the current state signal transmitted from the current state unit (S240);

제어부(9)로 부터 전송된 데이터저장신호를 참조하여, 사이즈디텍터부(7)로 부터 전송된 디코딩된 데이터를 메모리, 또는 레지스터 중의 하나에 저장하는 단계(S250)와,Storing the decoded data transmitted from the size detector 7 in one of a memory or a register with reference to the data storage signal transmitted from the controller 9 (S250);

상기 S230단계에서 제어부(9)는 전송된 데이터크기신호와 현재상태부(11)에서 전송된 현재상태신호에 의해 다음단계에서 디코딩되어질 정보를 선택하도록 데이터선택신호를 사이즈디텍터부(7)로 전송하는 단계(S260)로 완료된다.In step S230, the control unit 9 transmits the data selection signal to the size detector unit 7 to select the information to be decoded in the next step based on the transmitted data size signal and the current state signal transmitted from the current state unit 11. The process is completed in step S260.

상기 S230단계에서 디코딩된 정보는 카운터부(6), 제어부(9), 메모리/레지스터부(8)로 동시에 공급이 되도록 구성되어질 것이다.The information decoded in step S230 may be configured to be simultaneously supplied to the counter 6, the controller 9, and the memory / register 8.

또한 상기 S230단계에서 공급받은 허프만코드데이터를 다수개의 사이즈디텍터에 의해 데이터크기신호를 판독하여 카운터부(6)로 전송을 함으로써, 제어부(9)에서 디코딩된 데이타의 저장장소 결정, 다음단계의 디코딩 정보 선택과, 메모리/레지스터부(8)에서 디코딩된 데이터를 저장할 때, 멀티플렉서부(2)는 허프만코드데이터를 선택하고, 사이즈디텍터부(7)로 상기 선택된 허프만코드데이터를 전송할 수 있도록 구성되어질 것이다.In addition, the Huffman code data supplied in step S230 is read by a plurality of size detectors and transmitted to the counter unit 6 to determine the storage location of the decoded data, and the next stage of decoding. When selecting the information and storing the decoded data in the memory / register section 8, the multiplexer section 2 is configured to select the Huffman code data and to transmit the selected Huffman code data to the size detector section 7. will be.

즉, 종래에서 구현되어 왔던 디코딩할 허프만코드의 길이를 계산하여 멀티플렉서부(2)로 데이터 시작위치신호를 전송하는 단계(S100)로 부터 다음단계에 디코딩할 허프만코드데이터를 선정할 수 있도록 디코더부(3)로 부터 데이터크기신호를 카운터부(8)로 전송하는 단계(S170)가 완료가 되어야 다시 S100단계로 넘어가는 과정인 반면에, 본 발명의 디코딩 단계에서는 사이즈디텍터부(7)가 전송된 허프만코드데이터를 다수개의 사이즈디텍터를 사용하여 디코딩을 하는 단계(S230)로 부터 카운터부(6)에서 디코딩할 허프만코드데이터를 선정할 수 있도록, 데이터 시작위치신호를 S200단계로 공급하여 파이프라인에 의한 디코딩 처리 속도를 개선하도록 구성되어질 것이다.That is, the decoder unit may select the Huffman code data to be decoded in the next step from the step (S100) of transmitting the data start position signal to the multiplexer unit 2 by calculating the length of the Huffman code to be decoded. While the step (S170) of transmitting the data size signal from the (3) to the counter unit 8 is completed, the process proceeds to step S100 again, while the size detector unit 7 transmits the decoding step of the present invention. In order to select the Huffman code data to be decoded by the counter unit 6 from the step S230 of decoding the Huffman code data using a plurality of size detectors, the data start position signal is supplied to the step S200 to provide a pipeline. It will be configured to improve the decoding processing speed by.

즉, 종래에서 구현되어 왔던 허프만코드를 사용하는 비디오 디코딩 처리 장치의 디코딩과정은 동기를 취하기 위해 사용되는 주기적인 클럭신호의 인가가 있어야만 허프만 코드를 디코딩 할 수 있어서, 상기 도 2의 S110단계인 허프만코드선택 단계에서 첫번째 클럭신호, S130단계인 디코딩 단계에서 두번째 클럭신호, S150단계인 데이터선택신호 결정 단계에서 세번째 클럭신호의 인가 후에 다음 디코딩과정을 수행하는 반면에, 본 발명의 허프만코드를 사용하는 비디오 디코딩 과정은 동기를 취하는 클럭신호와는 무관한 조합(Combinational)으로 구성되어 상기 S210단계인 허프만코드데이터 선택단계에서 첫번째 클럭신호 인가 후, 클럭신호와 무관한 사이즈디텍터부에서 디코딩을 수행하여, 상기 디코딩된 정보 중 데이터 크기신호를 S200단계로 전송하여 다음단계의 디코딩과정을 수행함으로써, 한 개의 가변길이 허프만 코드의 디코딩이 완료되기 까지 ‘1 ’클럭신호만 소비하도록 구성되어질 것이다.That is, the decoding process of the video decoding processing apparatus using the Huffman code, which has been conventionally implemented, can decode the Huffman code only when the periodic clock signal used for synchronization is applied. While the next decoding process is performed after application of the first clock signal in the code selection step, the second clock signal in the decoding step S130 and the third clock signal in the data selection signal determination step S150, the Huffman code of the present invention is used. The video decoding process is composed of a combination that is not related to the clock signal to be synchronized. After the first clock signal is applied in the Huffman code data selection step of step S210, decoding is performed by a size detector unit independent of the clock signal. By transmitting the data size signal of the decoded information to step S200 and then By performing the decoding process of the step, it will be configured to consume only '1' clock signal until decoding of one variable length Huffman code is completed.

이상에서 설명한 바와 같이, 본 발명은 디코딩 과정을 수행하는데 있어서, 사이즈디텍터부는 클럭신호와는 무관한 조합(Combinational)으로 구성되고, 제어부는 데이터크기신호와 현상태의 동작상황을 나타내는 현재상태신호를 참조하여, 다음단계에서 디코딩 되어지는 다수개의 데이터크기신호 중에서 하나를 결정할 수 있도록, 데이터선택신호를 사이즈디텍터부에 공급을 함으로써, 상기 사이즈디텍터부에서 디코딩을 수행할 때, 클럭신호의 인가 없이 디코딩과정을 수행하고, 상기 제어부에서 전송된 데이터선택신호에 의해 디코딩된 다수개의 데이터크기신호중, 하나를 선택하여 다음단계에서 디코딩될 허프만코드데이터를 선택할 수 있도록, 데이터시작위치신호를 멀티플렉서부로 공급함으로써, 한 개의 가변길이 허프만코드의 디코딩과정이 완료되기 까지 단지‘ 1 ’클럭신호만 소비하도록 구성되어져, 종래의 한 개의 가변길이 허프만코드의 디코딩과정이 완료되기 까지 ‘ 3 ’클럭신호가 소비되는것에 비해 클럭신호의 소비를 ⅓로 제어하여, 디코딩과정시 처리속도를 3배 이상으로 향상시키는 효과가 있다.As described above, in the present invention, in performing the decoding process, the size detector unit is composed of a combination that is independent of the clock signal, and the control unit refers to the data size signal and the current state signal indicating the operation status of the current state. By supplying a data selection signal to the size detector so as to determine one of the plurality of data size signals to be decoded in the next step, when decoding is performed at the size detector, the decoding process is performed without application of a clock signal. By supplying a data start position signal to the multiplexer so as to select one of the plurality of data size signals decoded by the data selection signal transmitted from the control unit so as to select Huffman code data to be decoded in the next step. Decoding process of two variable length Huffman codes It is configured to consume only '1' clock signal until the conventional decoding process of one variable length Huffman code is completed. It has the effect of improving the processing speed more than three times during the process.

또한, 클럭신호에 동기동작되는 비디오 디코딩장치의 전력소비를 절감할 수 있는 효과가 있다.In addition, the power consumption of the video decoding apparatus synchronized with the clock signal can be reduced.

Claims (4)

직렬로 입력되는 허프만코드데이터를 병렬로 변환하여 저장하는 제 1저장수단;First storage means for converting the Huffman code data input in serial and storing in parallel; 상기 저장된 허프만코드데이터를 데이터 시작위치신호에 의해 절단하여, 상기 절단된 허프만코드데이터를 출력하는 출력수단;Outputting means for cutting the stored Huffman code data by a data start position signal and outputting the truncated Huffman code data; 상기 출력수단의 절단된 허프만코드데이터를 다수개의 디코딩장치를 이용하여 생성되는 다수개의 디코딩된 데이터 및 다수개의 디코딩된 데이터크기신호 중, 데이터선택신호에 의해 하나의 디코딩된 데이터 및 하나의 디코딩된 데이터 크기신호를 선택하는 디코딩수단;One decoded data and one decoded data by a data selection signal, among the plurality of decoded data and a plurality of decoded data size signals generated by using the plurality of decoding apparatuses, the truncated Huffman code data of the output means. Decoding means for selecting a magnitude signal; 상기 디코딩된 데이터크기신호에 응답하여 데이터 시작위치신호를 발생하는 신호발생수단;Signal generating means for generating a data start position signal in response to the decoded data magnitude signal; 상기 디코딩된 데이터를 적어도 하나 이상의 데이터 저장장소 중, 데이터저장신호에 응답하여 임의의 하나에 저장하는 제 2저장수단; 및Second storage means for storing the decoded data in any one of at least one data storage place in response to a data storage signal; And 상기 디코딩 수단 및 제 2저장수단을 제어하기 위해 디코딩된 데이터크기신호와 현재동작상황을 제어하는 현재상태신호에 의해 데이터선택신호 및 데이터저장신호를 발생하는 제어수단을;Control means for generating a data selection signal and a data storage signal by the decoded data size signal and the current state signal for controlling a current operation state to control the decoding means and the second storage means; 포함하는 허프만코드를 사용하는 비디오 디코딩 처리 장치.A video decoding processing device using a Huffman code. 청구항 1에 있어서, 상기 디코딩수단은 클럭신호와 동기를 취하지 않는 조합구조로 구성되는 것을 특징으로 하는 허프만코드를 사용하는 비디오 디코딩 처리장치.The video decoding processing apparatus according to claim 1, wherein the decoding means has a combination structure that is not synchronized with a clock signal. 청구항 1 또는 청구항 2에 있어서, 상기 디코딩수단에서 생성되는 데이터크기신호는 제어수단, 제 2저장수단, 신호발생수단으로 동시에 전송이 되는 것을 특징으로 하는 허프만코드를 사용하는 비디오 디코딩 처리 장치.The apparatus of claim 1 or 2, wherein the data size signal generated by the decoding means is simultaneously transmitted to the control means, the second storage means, and the signal generating means. 청구항 1에 있어서, 상기 제어수단은;The method of claim 1, wherein the control means; 상기 현재동작상황을 제어하는 현재상태신호를 래치하는 현재상태부와,A current state unit for latching a current state signal for controlling the current operation state; 상기 디코딩수단으로부터 공급되는 데이터크기신호와 현재상태부에 래치되어 있는 현재상태신호에 의해 데이터선택신호 및 데이터저장신호를 발생하는 디코딩제어부와,A decoding control unit for generating a data selection signal and a data storage signal by a data size signal supplied from the decoding means and a current state signal latched in the current state unit; 상기 디코팅수단으로부터 공급되는 데이터크기신호와 현재상태부로부터 공급되는 현재상태신호에 의해 다음의 동작상황을 제어하도록 하는 다음상태신호를 생성하는 스테이트머신과,A state machine for generating a next state signal for controlling a next operation state by means of a data size signal supplied from said decoating means and a current state signal supplied from a current state unit; 상기 스테이트머신에서 생성된 다음상태신호를 래치하는 다음상태부로 구성되는 것을 특징으로 하는 허프만코드를 사용하는 비디오 디코딩 처리 장치.And a next state portion for latching a next state signal generated by said state machine.
KR1020000033061A 2000-06-15 2000-06-15 The video decoding processor using huffman code KR100362911B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000033061A KR100362911B1 (en) 2000-06-15 2000-06-15 The video decoding processor using huffman code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000033061A KR100362911B1 (en) 2000-06-15 2000-06-15 The video decoding processor using huffman code

Publications (2)

Publication Number Publication Date
KR20010112805A KR20010112805A (en) 2001-12-22
KR100362911B1 true KR100362911B1 (en) 2002-11-29

Family

ID=19672101

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000033061A KR100362911B1 (en) 2000-06-15 2000-06-15 The video decoding processor using huffman code

Country Status (1)

Country Link
KR (1) KR100362911B1 (en)

Also Published As

Publication number Publication date
KR20010112805A (en) 2001-12-22

Similar Documents

Publication Publication Date Title
JP5031972B2 (en) Method for reducing time delay with respect to received information in transmission of coded information
KR100748485B1 (en) A variable length codeword decoder and a variable length codeword decoding method
US20120002732A1 (en) Single-Wire Asynchronous Serial Interface
US5822689A (en) Circuit and method using data synchronization for battery power conservation in a paging receiver
US6285789B1 (en) Variable length code decoder for MPEG
KR0179103B1 (en) High speed variable length decoder apparatus
KR100362911B1 (en) The video decoding processor using huffman code
JP2007104194A (en) Decoding system
US7397401B2 (en) Arithmetic decode without renormalization costs
JPWO2005088840A1 (en) Variable length code decoding device
JP2000059238A (en) Code synchronization discriminating circuit of viterbi decoder
EP2259432A1 (en) Variable-length code decoding apparatus and method
WO2010125616A1 (en) Coded stream decoding apparatus
JP4329479B2 (en) Remote control signal receiver
JP3254899B2 (en) Image decoding processor
JP4615317B2 (en) Encoder
KR100531321B1 (en) Audio decoding system and audio format detecting method
KR20010091867A (en) Uart clock wake-up sequence
US6134288A (en) Apparatus and method for generating a decoding clock signal in response to a period of write and read clock signals
KR0124600B1 (en) Variable length code decoder in hdtv
JP2003198378A (en) Decoding apparatus and method therefor, record medium, and program
JP2007201802A (en) Data transfer circuit
JP4182862B2 (en) Encoding apparatus and encoding method
KR100209881B1 (en) Memory controller in high speed variable length decoder
EP1199809A1 (en) Encoding rate detection method and encoding rate detection device

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

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20131031

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20141021

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20151102

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20161101

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20171012

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 17

FPAY Annual fee payment

Payment date: 20191001

Year of fee payment: 18