KR100202306B1 - Moving information variable coder for mpeg-2 image compression apparatus - Google Patents

Moving information variable coder for mpeg-2 image compression apparatus Download PDF

Info

Publication number
KR100202306B1
KR100202306B1 KR1019960080012A KR19960080012A KR100202306B1 KR 100202306 B1 KR100202306 B1 KR 100202306B1 KR 1019960080012 A KR1019960080012 A KR 1019960080012A KR 19960080012 A KR19960080012 A KR 19960080012A KR 100202306 B1 KR100202306 B1 KR 100202306B1
Authority
KR
South Korea
Prior art keywords
register
motion
variable length
cbp
output
Prior art date
Application number
KR1019960080012A
Other languages
Korean (ko)
Other versions
KR19980060649A (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 KR1019960080012A priority Critical patent/KR100202306B1/en
Publication of KR19980060649A publication Critical patent/KR19980060649A/en
Application granted granted Critical
Publication of KR100202306B1 publication Critical patent/KR100202306B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/007Transform coding, e.g. discrete cosine transform
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • Multimedia (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 MPEG표준에 따른 영상 부호화장치에 사용되는 움직임정보의 가변장 부호화장치의 구조에 관한 것이다.The present invention relates to a structure of a variable length encoding apparatus of motion information used in a video encoding apparatus according to the MPEG standard.

본 발명의 구성은 상태천이에 따라 제어신호를 발생하는 내부제어기와; 움직임추정/보상부로부터의 직렬의 움직임데이터를 병렬로 변환하는 직병렬변환부와; 상기 직병렬변환부로부터 매크로블럭데이터를 병렬로 수신하는 제1레지스터와; 상기 제1레지스터와 동일한 구성이며, 상기 제1레지스터로부터 데이터를 수신하는 제2레지스터와; 상기 제1레지스터와 동일한 구성이며, 상기 제2레지스터로부터 데이터를 수신하는 제3레지스터와; 상기 제2레지스터 및 제3레지스터의 움직임정보의 차분치를 계산하여 이 차분치를 룩업테이블을 참조하여 가변장부호화하는 차분계산부와; 상기 차분계산부의 출력이 입력되고, 외부 입력제어신호 및 움직임 정보에 따라 부가정보를 부가하는 부가정보제어부와; 입력 CBP정보를 가변장부호화하는 CBP룩업테이블; 및, 상기 부가정보제어부 및 CBP룩업테이블의 출력을 출력부로 선택출력하는 출력부를 포함한다.The configuration of the present invention is an internal controller for generating a control signal in accordance with the state transition; A serial-to-parallel conversion unit for converting serial motion data from the motion estimation / compensation unit in parallel; A first register for receiving the macroblock data in parallel from the serial-to-parallel converter; A second register having the same configuration as the first register and receiving data from the first register; A third register having the same configuration as the first register and receiving data from the second register; A difference calculator which calculates a difference between motion information of the second and third registers and variably encodes the difference with reference to a lookup table; An additional information controller which receives an output of the difference calculator and adds additional information according to an external input control signal and motion information; A CBP lookup table for variable length encoding the input CBP information; And an output unit for selectively outputting the outputs of the additional information controller and the CBP lookup table to an output unit.

Description

MPEG-2 영상압축장치용 움직임정보 가변장 부호화장치Motion information variable length encoder for MPEG-2 video compressor

본 발명은 영상 신호 압축알고리즘 중 MPEG-2 표준을 따르는 영상 부호화장치에 이용되는 가변장 부호화(VLC : Variable Length Coding)장치에 채용되는 움직임정보 가변장부호화장치에 관한 것이다.The present invention relates to a motion information variable length coding apparatus employed in a variable length coding (VLC) apparatus used in a video encoding apparatus that conforms to the MPEG-2 standard among video signal compression algorithms.

최근 들어 반도체 기술의 급격한 발달에 힘입어 신호처리 분야의 각 핵심 장치들이 기존의 대형 시스템이나 보드 수준에서 단일 ASIC(application specific integrated circuit) 칩으로 구현되는 추세이다. 이에 따라 고속 대용량의 하드웨어를 고집적 반도체(이하 VLSI) 구현에 적합하게 설계하는 것이 필요하다. 본 발명에서 제시하는 가변장 부호화장치의 구조는 시스템이나 보드 수준의 저속 대량의 하드웨어가 아니라 고속의 처리에 적합한 특수 구조에 관한 것으로 고속 영상 부호화기의 일부로써 효과적으로 채용될 수 있는 것이다.Recently, with the rapid development of semiconductor technology, each core device in the signal processing field is being implemented as a single application specific integrated circuit (ASIC) chip at the existing large system or board level. Accordingly, it is necessary to design high-speed, high-capacity hardware suitable for high density semiconductor (VLSI) implementation. The structure of the variable length encoder proposed by the present invention is not a system or board-level low-volume hardware but a special structure suitable for high-speed processing, and can be effectively employed as part of a high-speed video encoder.

본 발명은 디지털 TV, 고선명 텔레비젼(HDTV) 등에 응용될 수 있으며, 칩 면적을 줄이고 고속동작이 가능한 가변장 부호화장치의 VLSI 구현을 위한 하드웨어 구조를 제시하는 것을 과제로 한다.SUMMARY OF THE INVENTION An object of the present invention is to provide a hardware structure for implementing a VLSI of a variable length coding apparatus that can be applied to a digital TV, a high definition television (HDTV), and can reduce chip area and enable high speed operation.

제1도는 움직임정보 가변장 부호화장치의 입출력 신호 인터페이스 도면.1 is an input / output signal interface diagram of a motion information variable length encoder.

제2도는 움직임정보 부호화부의 입력 신호 정의도.2 is an input signal definition diagram of a motion information encoder.

제3도는 움직임정보 부호화기의 세부 블록도.3 is a detailed block diagram of a motion information encoder.

제4도는 영상 구조별 움직임 예측 타입.4 is a motion prediction type for each image structure.

제5도는 움직임벡토의 갱신.5 is an update of the movement vector.

제6도는 mv 및 pmv 레지스터 다음 단의 데이터 비트 결정 조건.6 is a data bit determination condition next to the mv and pmv registers.

제7도는 픽쳐 구조에 따른 차분계산부 결정조건.7 is a condition for determining a difference calculator according to a picture structure.

제8도는 움직임벡터 필드 선택 결정조건.8 is a motion vector field selection decision condition.

제9도 내지 제12도는 움직임벡터의 가변장부호화.9 to 12 show variable length encoding of a motion vector.

제13도는 CBP 계수의 가변장부호화.13 shows variable length coding of CBP coefficients.

제14도는 움직임정보 부호화부의 타이밍도.14 is a timing diagram of a motion information encoder.

제15도는 움직임정보부호화부 상태도.15 is a state diagram of a motion information encoding unit.

제16도는 움직임부호화부 상태표이다.16 is a state table of the motion encoder.

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

1 : 직병렬변환부 2 : 제 1레지스터1: Serial-to-parallel conversion unit 2: First register

3 : 제 2레지스터 4 : 제 3레지스터3: 2nd register 4: 3rd register

5 : 차분계산부 6 : 룩업테이블5: difference calculation part 6: look-up table

7,8 : 부가정보제어부 9 : 움직임정보검출부7,8: additional information control unit 9: motion information detection unit

10 : CBP룩업테이블 11 : 출력부10: CBP lookup table 11: output section

12 : 내부제어기 13 : 로딩제어부12: internal controller 13: loading control unit

상기 목적을 달성하기 위해 본 발명은 MPEG-2 영상압축을 위한 움직임정보 가변장 부호화장치에 있어서; 상기 부호화장치는 :In order to achieve the above object, the present invention provides a motion information variable length encoding apparatus for MPEG-2 video compression; The encoding device is:

상태천이에 따라 제어신호를 발생하는 내부제어기(12)와;An internal controller 12 which generates a control signal in response to a state transition;

움직임추정/보상부로부터의 직렬의 움직임데이터를 병렬로 변환하는 직병렬 변환부(1)와;A serial-to-parallel converter 1 for converting serial motion data from the motion estimation / compensation part in parallel;

상기 직병렬변환부로부터 매크로블럭데이터를 병렬로 수신하는 제1레지스터(2)와;A first register (2) for receiving macroblock data in parallel from the serial-to-parallel converter;

상기 제1레지스터와 동일한 구성이며, 상기 제1레지스터로부터 데이터를 수신하는 제2레지스터와;A second register having the same configuration as the first register and receiving data from the first register;

상기 제1레지스터와 동일한 구성이며, 상기 제2레지스터로부터 데이터를 수신하는 제3레지스터와;A third register having the same configuration as the first register and receiving data from the second register;

상기 제2레지스터 및 제3레지스터의 움직임정보의 차분치를 계산하여 이 차분치를 룩업테이블(LUT, 6) 참조하여 가변장부호화하는 차분계산부(5)와;A difference calculator (5) for calculating the difference between the motion information of the second register and the third register and variably encoding the difference with reference to a lookup table (LUT) 6;

상기 차분계산부의 출력이 입력되고, 외부 입력제어신호 및 움직임 정보에 따라 부가정보를 부가하는 부가정보제어부(7,8);An additional information controller (7, 8) for inputting the output of the difference calculator and adding additional information according to an external input control signal and motion information;

입력 CBP정보를 가변장부호화하는 CBP룩업테이블(1); 및,A CBP lookup table 1 for variable length encoding the input CBP information; And,

상기 부가정보제어부 및 CBP룩업테이블의 출력을 출력부로 선택출력하는 출력부(11)로 구성되는 것을 특징으로 한다.And an output unit 11 for selectively outputting the additional information control unit and the output of the CBP lookup table to the output unit.

또한, 이에 부가하여 제2레지스터의 출력으로부터 움직임벡터 유무 신호를 생성하여 출력하는 움직임정보 검출부(9)를 더 포함할 수 있다.In addition, the apparatus may further include a motion information detector 9 which generates and outputs a motion vector presence signal from the output of the second register.

부가적으로 상기 내부제어기(12)의 제어에 의해 제1,2,3레지스터(2,3,4)에 로딩타이밍을 발생하는 로딩제어부(13)를 더 포함할 수 있다.In addition, it may further include a loading control unit 13 for generating a loading timing to the first, second, third registers (2, 3, 4) by the control of the internal controller (12).

부가적으로 상기 내부제어기(12)는 외부 입력에 따라 상태가 천이되면서, 각각의 상태에서 제어신호를 출력하는 상태천이제어기로 구성되는 것을 특징으로 한다.Additionally, the internal controller 12 may be configured as a state transition controller for outputting a control signal in each state while the state transitions according to an external input.

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

제1도는 본 발명에 따른 움직임정보 가변장부호화기의 인터페이스를 도시하며 제2도는 제1도의 부호화기에서 외부모듈(시스템 제어기, 움직임추정/보상 모듈)로부터 받는 신호와 출력부로 보내는 출력신호를 기술한다.1 illustrates an interface of a motion information variable length encoder according to the present invention, and FIG. 2 illustrates an output signal sent to an output unit and a signal received from an external module (system controller, motion estimation / compensation module) in the encoder of FIG.

제3도는 본 발명의 움직임정보 가변장부호화기의 일실시예를 블록으로 구분하여 도시한 상세도이다. 본 발명에 의해 가변장부호화되는 정보는 움직임벡터 및 CBP데이터(coded block pattern : 64개의 블록단위 정보중 '0'이 아닌 계수가 존재하는지를 체크하여 해당 블록이 코딩/논코딩되는지에 관한 정보를 '1'과 '0'의 이진정보로 표현한 데이터)이다. 제3도를 참조하면, 움직임정보 가변장부호화기는 시스템 제어부, 가변장 제어부(가변장 부호화부 전체의 제어부), 움직임추정/보상부에서 보내오는 데이터를 이용하여 현재 매크로블럭과 이전 매크로블럭의 차분, CBP값을 가변장부호화하여 그 데이터와 데이터 길이 및 인에이블신호를 출력부로 출력한다.3 is a detailed diagram illustrating an embodiment of a motion information variable length encoder according to the present invention in blocks. The variable-length coded information according to the present invention checks whether a motion vector and CBP data (coded block pattern: coefficients other than '0' among 64 block unit information are present to determine whether the corresponding block is coded or non-coded). Data represented by binary information of '1' and '0'. Referring to FIG. 3, the motion information variable length encoder uses the data transmitted from the system controller, the variable length controller (controller of the entire variable length encoder), and the motion estimation / compensator to determine the difference between the current macroblock and the previous macroblock. The variable length coding is performed on the CBP value, and the data, the data length, and the enable signal are output to the output unit.

레지스터로 입력되는 mvtype 및 mvdata는 두 매크로 블록 이전의 값이 들어오게 되므로 코딩하고자하는 매크로블럭보다 두 매크로블럭 이전의 mvtype과 mvdata값을 저정하고 있어야 한다. mvdata_en값이 유효한 동안 1 비트씩 직렬로 들어오는 mvtype 및 mvdata를 sck2를 기준으로 천이시켜 병렬의 29비트데이터로 출력한다. 4개 모두를 받을 경우 29 sck2의 시간이 소요된다.Since mvtype and mvdata inputted into registers receive values before two macroblocks, the values of mvtype and mvdata before two macroblocks should be stored rather than the macroblock to be coded. While the mvdata_en value is valid, mvtype and mvdata, which come in serial by 1 bit, are converted into parallel 29bit data by shifting sck2. If you receive all four, it will take 29 sck2.

움직임벡터 값들 중에서 수평성분은 항상 7비트 모두를 mvdata로 사용하고 수직성분은 픽쳐 구조를 나타내는 picstr 신호와 움직임벡터 타입(mvtype)의 조건에 따라 7비트 모두를 사용할 것인지, 또는 6비트의 mvdata와 1비트의 mv_field_sel값으로 사용할 것인지를 결정한다. 여기에서 한 매크로블럭 이전의 움직임벡터 값들을 이용해 mvforward, 즉 움직임벡터가 있다는 신호를 기타정보 부호화부로 출력한다. 그리고 coding_cond3와 coding_end1이 1이면 차례대로 mv 레지스터와 pmv 레지스터값들이 감산되어 룩업테이블(LUT)을 거쳐 패커로 4개 혹은 2개 각각의 데이터와 32비트 모드중 유효한 비트를 나타내는 code_len와 데이터의 유효한 구간을 표시하는 data_en신호를 출력하게 되며 그 다음에 coding_cond4에 따라 CBP값을 코딩한 후 DCT부호화부로 coding_end2신호를 출력하게 된다.Among the motion vector values, the horizontal component always uses all 7 bits as mvdata, and the vertical component uses all 7 bits according to the conditions of the motion vector type (mvtype) and the picstr signal representing the picture structure, or 6 bits of mvdata and 1 Determines whether to use the bit's mv_field_sel value. Here, the signal mvforward, that is, the motion vector is output, is output to the guitar information encoder using the motion vector values before the macroblock. If coding_cond3 and coding_end1 are 1, the values of the mv register and the pmv register are sequentially subtracted, and then code_len indicating valid bits among 4 or 2 pieces of data and 32-bit mode through the lookup table (LUT) and valid intervals of data. It outputs a data_en signal indicating a CBP value according to coding_cond4 and then outputs a coding_end2 signal to the DCT encoder.

다음은 움직임벡터의 결정 및 갱신 알고리즘에 대해 설명하기로 한다. 전술한 픽쳐 구조를 나타내는 picstr 신호와 움직임벡터 타입(mvtype)의 조건에 따른 움직임벡터의 분류는 다음과 같다.Next, a motion vector determination and update algorithm will be described. The classification of the motion vector according to the condition of the picstr signal and the motion vector type (mvtype) indicating the picture structure described above is as follows.

1) mv_type 에 따른 분류1) Classification by mv_type

-프레임 영상 움직임추정 모드(11)시-Frame video motion estimation mode (11)

'0' : 프레임 근간(frame based)예측'0': frame based prediction

'1' : 필드 근간 예측'1': Field root prediction

-필드 영상 움직임추정 모드(01, 10)시In field video motion estimation mode (01, 10)

'0' : 16 X 16 MC 예측'0': 16 X 16 MC prediction

'1' : 16 X 8 MC 예측'1': 16 X 8 MC prediction

2) mvdata2) mvdata

움직임추정 모드 및 움직임 예측양식(mvtype)에 따라 다음과 같이 정의된다.It is defined as follows according to the motion estimation mode and the motion prediction mode (mvtype).

- 움직임추정 벡터의 수평성분값 및 제4도에서 움직임추정 포맷이 프레임일 때의 수직 성분값움직임추정 벡터 성분값은 프레임상에서 화소 거리를 나타내며 -32.0에서 31.5의 0.5 단위 값을 가질 수 있다. 성분값은 반화소단위의 2의 보수로 표현된다.-Horizontal component values of the motion estimation vector and vertical component values when the motion estimation format is a frame in FIG. The motion estimation vector component value represents a pixel distance on a frame and may have a value of 0.5 unit of -32.0 to 31.5. Component values are expressed in two's complement of half pixel units.

- 제4도에서 움직임 추정 포맷이 필드일때의 수직 성분값-Vertical component values when the motion estimation format is a field in FIG.

움직임추정 벡터 성분값은 필드상에서이 화소 거리를 나타내며 -16.0 내지 15.5의 0.5 단위값을 가진다. 성분값은 반화소 단위의 2의 보수로 표현되어 상위 6비트를 구성하며 하위 1비트는 추정된 필드인 mv_field_sel 값을 나타낸다. 하위 1비트의 정의는 다음과 같다.The motion estimation vector component value represents this pixel distance on the field and has a 0.5 unit value of -16.0 to 15.5. The component value is represented by two's complement of half-pixel units and constitutes upper six bits, and the lower one bit represents an mv_field_sel value which is an estimated field. The definition of the lower 1 bit is as follows.

'0' : 상위 필드'0': parent field

'1' : 하위 필드'1': Subfield

3)움직임벡터의 갱신 및 pmv 레지스터 리셋3) Update the motion vector and reset the pmv register

해당 매크로블럭이 코딩된 후 mv레지스터의 움직임벡터 데이터를 pmv 레지스터로 갱신할 때의 조건은 제5도와 같다.The condition for updating the motion vector data of the mv register to the pmv register after the macroblock is coded is shown in FIG.

또한 pmv 레지스터는 슬라이스 클럭의 발생시 P 픽쳐에서 매크로 블럭이 스킵(skip)되었을때, 논-인트라 매크로블럭에서 mvforward=0 일때 리셋된다.The pmv register is also reset when mvforward = 0 in a non-intra macroblock when the macro block is skipped in the P picture when the slice clock is generated.

-움직임 데이터 비트 결정 조건-Moving data bit decision condition

제6도는 mv 레지스터와 pmv 레지스터를 통과한 데이터가 수평방향 성분과 수직방향 성분에 따라 6비트를 사용할 것인지, 7비트 모두를 사용할 것인지를 결정하는 조건에 대해 나타내었고, 제7도는 picstr와 mv_type의 값에 따른 차분계산부결정 조건을 나타내었으며, 제8도는 움직임벡터 필드 선택값인 mv_field_sel 값의 선택에 대해 나타내었다.FIG. 6 shows the conditions for determining whether the data passing through the mv register and the pmv register uses 6 bits or all 7 bits according to the horizontal component and the vertical component. FIG. 7 shows the conditions of picstr and mv_type. The difference calculation decision condition according to the values is shown. FIG. 8 shows the selection of the mv_field_sel value, which is the motion vector field selection value.

- 움직임벡터의 차분과 CBP값의 부호화-Coding of the difference of motion vector and CBP value

차분계산부를 통해 선택된 pmv 값과 mv값의 차분에 따라 제9도 내지 제12도에 도시된 움직임 코드(motion_code), 부호비트(sign bit), 움직임 잔량(motion_residual)을 출력하며, 입력되는 CBP값은 제13도의 테이블 참조후 출력된다.A motion code (motion_code), a sign bit, and a motion_residual shown in FIGS. 9 to 12 are output according to the difference between the pmv value and the mv value selected by the difference calculator, and the input CBP value Is printed after referring to the table in FIG.

제14도에 움직임정보 가변장 부호화부의 타이밍도를 나타내었다. vlck가 발생하면 레지스터 A, 레지스터 B, mv 레지스터, pmv 레지스터를 로드하게 되고, coding_cond3와 coding_end1이 동시에 1인 경우 mv 레지스터와 pmv 레지스터에서 출력된 mvdata값으로부터 차분계산부에서 차분을 구할때 수평성분은 그대로 7비트 모두를 차분을 구하는데 사용하고 수직성분은 pic_str 및 mvtype의 값에 따라 7비트를 사용할 것인지 6비트를 사용할 것인지를 결정하게 된다.14 is a timing diagram of a motion information variable length encoder. When vlck occurs, register A, register B, mv register and pmv register are loaded. When coding_cond3 and coding_end1 are 1 at the same time, the horizontal component remains as it is when the difference is calculated from the mvdata value output from the mv register and the pmv register. All 7 bits are used to calculate the difference, and the vertical component determines whether to use 7 bits or 6 bits according to the values of pic_str and mvtype.

이렇게 나온 데이터(mv와 pmv의 차분값)은 룩업테이블(LUT)(look up table)을 참조하여 pic_str값과 mvtype값에 따라 움직임벡터 선택신호(mv_field_sel)의 한 비트를 덧붙이거나 그대로 출력하고, 2개 또는 4개의 mvdata를 코딩한 뒤 coding_cond4를 참조하여 가변장 부호화제어부에서 입력받은 CBP값을 코딩한다.The data (difference value between mv and pmv) is added to one bit of the motion vector selection signal (mv_field_sel) according to the pic_str value and mvtype value with reference to the look up table (LUT), or output as it is. After coding four or four mvdata, the CBP value received from the variable length coding controller is coded with reference to coding_cond4.

CBP코딩이 끝난후 coding_end2신호를 DCT계수 부호화부로 출력하고 vlck가 발생하면 전에 직병렬변화부에 있는 n-1 번째 mvdata 및 mvtype을 레지스터 A에 로드한다. 동시에 vlck가 발생했을때 pmv레지스터값도 갱신되고 mv레지스터에도 해당 매크로블럭의 mvdata가 입력되게 된다. 제14도는 움직임정보 가변장 부호화장치에서 움직임벡터4개 모두가 코딩될 때의 타이밍에 대해 나타내었다. 제15도는 이러한 타이밍을 위한 내부제어기(12)의 상태천이도를 나타낸다. 본 발명의 제어기는 9개의 상태를 가지는 전용의 하드웨어 제어기로 구현된다. 제16도에서는 제15도에 도시된 각 상태의 천이의 입력조건에 따른 출력신호들 및 그 작용을 기술하였다.After the CBP coding is completed, the coding_end2 signal is output to the DCT coefficient encoding unit, and when vlck occurs, the n-1 th mvdata and mvtype in the serial / parallel change unit are loaded into register A before. At the same time, when vlck occurs, the pmv register value is also updated, and the mvdata of the macro block is input to the mv register. FIG. 14 shows the timing when all four motion vectors are coded in the motion information variable length coding apparatus. 15 shows a state transition diagram of the internal controller 12 for such timing. The controller of the present invention is implemented as a dedicated hardware controller having nine states. In FIG. 16, the output signals according to the input conditions of the transition of each state shown in FIG. 15 and their operations are described.

이상에서 상세히 기술한 바와 같이 본 발명은 MPEG-2 표준방식의 영상부호화장치에 채용되는 움직임정보의 가변장 부호화장치를 전용의 하드웨어를 사용하여 고속 ASIC에 채용될 수 있는 VLSI구조로 구현한 것으로, 9개의 상태를 가지는 전용 제어장치를 포함하여 고속의 동작이 가능하며 칩 싸이즈를 줄일 수 있는 효과가 있다.As described in detail above, the present invention implements a variable length encoder of motion information employed in an MPEG-2 standard video encoding apparatus using a VLSI structure that can be employed in a high-speed ASIC using dedicated hardware. Including a dedicated control device having nine states enables high-speed operation and reduces chip size.

아울러 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위안에서 다양한 수정, 변경, 부가 등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.In addition, a preferred embodiment of the present invention is disclosed for the purpose of illustration, those skilled in the art will be able to make various modifications, changes, additions, etc. within the spirit and scope of the present invention, such modifications and modifications belong to the following claims You will have to look.

Claims (4)

MPEG-2 영상압축을 위한 움직임정보 가변장 부호화장치에 있어서; 상기 부호화장치는 : 상태천이에 따라 제어신호를 발생하는 내부제어기와; 움직임추정/보상부로부터의 직렬의 움직임데이터를 병렬로 변환하는 직병렬변환부와; 상기 직병렬변화부로부터 매크로블럭데이터를 병렬로 수신하는 제1레지스터와; 상기 제1레지스터와 동일한 구성이며, 상기 제1레지스터로부터 데이터를 수신하는 제2레지스터와; 상기 제1레지스터와 동일한 구성이며, 상기 제2레지스터로부터 데이터를 수신하는 제3레지스터와; 상기 제2레지스터 및 제3레지스터의 움직임정보의 차분치를 계산하여 이 차분치를 룩업테이블을 참조하여 가변장부호화하는 차분계산부와; 상기 차분계산부의 출력이 입력되고, 외부 입력제어신호 및 움직임 정보에 따라 부가정보를 부가하는 부가정보제어부; 입력 CBP정보를 가변장부호화하는 CBP룩업테이블; 및, 상기 부가정보제어부 및 CBP룩업테이블의 출력을 출력부로 선택출력하는 출력부로 구성되는 것을 특징으로하는 MPEG-2 영상압축을 위한 움직임정보 가변장부호화장치.A motion information variable length encoding apparatus for MPEG-2 video compression; The encoder comprises: an internal controller for generating a control signal in response to a state transition; A serial-to-parallel conversion unit for converting serial motion data from the motion estimation / compensation unit in parallel; A first register for receiving the macroblock data in parallel from the serial / parallel change unit; A second register having the same configuration as the first register and receiving data from the first register; A third register having the same configuration as the first register and receiving data from the second register; A difference calculator which calculates a difference between motion information of the second and third registers and variably encodes the difference with reference to a lookup table; An additional information controller configured to input an output of the difference calculator and add additional information according to an external input control signal and motion information; A CBP lookup table for variable length encoding the input CBP information; And an output unit for selectively outputting the output of the additional information control unit and the CBP lookup table to an output unit. 제1항에 있어서, 추가로, 상기 제2레지스터의 출력으로부터 움직임벡터 유무 신호를 생성하여 출력하는 움직임정보 검출부를 포함하는 것을 특징으로하는 MPEG-2 영상압축을 위한 움직임정보 가변장 부호화장치.The apparatus of claim 1, further comprising a motion information detector for generating and outputting a motion vector presence signal from the output of the second register. 제1항에 있어서, 추가로, 상기 내부제어기의 제어에 의해 제1,2,3레지스터에 로딩타이밍을 발생하는 로딩제어부를 포함하는 것을 특징으로하는 MPEG-2 영상압축을 위한 움직임정보 가변장 부호화장치.The variable length coding for MPEG-2 image compression according to claim 1, further comprising a loading control unit for generating a loading timing in the first, second and third registers under the control of the internal controller. Device. 제1항에 있어서, 상기 내부제어기는 외부 입력에 따라 상태가 천이되면서, 각각의 상태에서 제어신호를 출력하는 상태천이제어기로 구성되는 것을 특징으로하는 MPEG-2 영상 압축을 위한 움직임정보 가변장 부호화장치.The variable length coding for MPEG-2 image compression according to claim 1, wherein the internal controller is configured as a state transition controller which outputs a control signal in each state while the state is changed according to an external input. Device.
KR1019960080012A 1996-12-31 1996-12-31 Moving information variable coder for mpeg-2 image compression apparatus KR100202306B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960080012A KR100202306B1 (en) 1996-12-31 1996-12-31 Moving information variable coder for mpeg-2 image compression apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960080012A KR100202306B1 (en) 1996-12-31 1996-12-31 Moving information variable coder for mpeg-2 image compression apparatus

Publications (2)

Publication Number Publication Date
KR19980060649A KR19980060649A (en) 1998-10-07
KR100202306B1 true KR100202306B1 (en) 1999-06-15

Family

ID=19493365

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960080012A KR100202306B1 (en) 1996-12-31 1996-12-31 Moving information variable coder for mpeg-2 image compression apparatus

Country Status (1)

Country Link
KR (1) KR100202306B1 (en)

Also Published As

Publication number Publication date
KR19980060649A (en) 1998-10-07

Similar Documents

Publication Publication Date Title
KR100962759B1 (en) Moving picture signal coding method and decoding method
US5453799A (en) Unified motion estimation architecture
US5657087A (en) Motion compensation encoding method and apparatus adaptive to motion amount
KR100739281B1 (en) Motion estimation method and appratus
JP6212345B2 (en) Video encoding apparatus and operation method thereof
JPH03117992A (en) Coding and transmitting apparatus of video signal with motion vector
US8311107B2 (en) Image data compression device, compressing method, image data decompression device, decompressing method, and recording medium
US6014171A (en) Image encoding and decoding methods and apparatus utilizing the elimination of invalid code
KR20000061181A (en) Bitstream decoding apparatus
US6539058B1 (en) Methods and apparatus for reducing drift due to averaging in reduced resolution video decoders
US6215823B1 (en) Motion vector decoder
KR100202306B1 (en) Moving information variable coder for mpeg-2 image compression apparatus
JP3355964B2 (en) Adaptive orthogonal transform mode determination method
JP3606597B2 (en) Motion vector detection device
JP2768669B2 (en) Motion compensation inter-frame coding device for TV signal
JPH047152B2 (en)
KR100282448B1 (en) The motion vector decoding device
JPH1013836A (en) Motion vector detector
JPH10164596A (en) Motion detector
KR100249086B1 (en) Motion detection and compensating apparatus of video encoder
KR970019631A (en) MPEG II coder
JPH10200901A (en) Moving image coder
KR100504416B1 (en) Image coding method and apparatus
KR100243464B1 (en) Dpcm of mpeg-2
JP3161076B2 (en) Image signal encoding device

Legal Events

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

Payment date: 20130305

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20140304

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee