KR940001717A - Variable length encoding / decoding method and apparatus - Google Patents

Variable length encoding / decoding method and apparatus Download PDF

Info

Publication number
KR940001717A
KR940001717A KR1019920010502A KR920010502A KR940001717A KR 940001717 A KR940001717 A KR 940001717A KR 1019920010502 A KR1019920010502 A KR 1019920010502A KR 920010502 A KR920010502 A KR 920010502A KR 940001717 A KR940001717 A KR 940001717A
Authority
KR
South Korea
Prior art keywords
scanning
address
scan
generating
diagonal
Prior art date
Application number
KR1019920010502A
Other languages
Korean (ko)
Other versions
KR0152015B1 (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 KR1019920010502A priority Critical patent/KR0152015B1/en
Publication of KR940001717A publication Critical patent/KR940001717A/en
Application granted granted Critical
Publication of KR0152015B1 publication Critical patent/KR0152015B1/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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

정보신호를 N×N블록단위로 디지탈부호화하는 방법 및 장치에 있어서, 매크로블록내의 서브블록들에서로 대칭인 복수의 지그재그 주사방법을 이용하여 길 이/크기 변환을 수행함으로써, 한 매크로블록내의 데이타패턴(분포)에 따라 가변장 부호화되어 출력되는 데이타량의 변화를 안정화하며, 출력데이타를 저장하는 버퍼의 제어를 용이하게 하는 효과가 있다.A method and apparatus for digitally encoding an information signal in units of N × N blocks, wherein the length / size conversion is performed using a plurality of zigzag scanning methods that are symmetrical to subblocks in a macroblock, thereby performing data in one macroblock. According to the pattern (distribution), the variation in the amount of data output by variable length coding is stabilized, and the effect of facilitating control of the buffer for storing the output data is provided.

Description

가변창 부호화/복호화방법 및 그 장치Variable window encoding / decoding method and apparatus

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is an open matter, no full text was included.

제5도는 본 발명의 일 실시예에 따른 가변장 부호화장치.5 is a variable length encoding apparatus according to an embodiment of the present invention.

제6도는 본 발명의 일 실시예에 따른 2차원데이타의 지그재그주사방식.6 is a zigzag scanning method of two-dimensional data according to an embodiment of the present invention.

제8도는 본 발명의 일 실시예에 따른 가변장 복호화장치.8 is a variable length decoding apparatus according to an embodiment of the present invention.

Claims (15)

영상신호를 N×N블록(N은 정수)의 변환계수로 변환하여 부호화하는 방법에 있어서, 변환계수 데이타를 N×N블록단위로 저장하는 단계와, 서로 대칭인 복수개의 대각선 주사방법에 의해 발생하는 주사번지를 상기 단계에서 저장되는 변환계수 데이타의 가로방향 또는 세로방향으로 인접하는 블록들에 대하여 N×N블록 단위로 번갈아 인가하여 인가되는 번지에 대응하는 데이타를 출력하는 변환계수 데이타 출력단계와, 상기 단계에서 출력하는 데이타를 길이(Run Length)/크기(Level)변환하는 단계와, 길이/크기 변환된 데이타를 소정의 부호를 이용하여 부호화하는 단계를 포함하는 가변장 부호화방법.A method of converting and encoding a video signal into a transform coefficient of an N × N block (where N is an integer), the method comprising: storing transform coefficient data in units of N × N blocks and generating a plurality of diagonally symmetrical scanning methods. A conversion coefficient data output step of outputting data corresponding to the applied address by alternately applying a scanning address to blocks adjacent in the horizontal or vertical direction of the conversion coefficient data stored in the step in N × N block units; And a run length / level conversion of the data output in the step, and encoding the length / size converted data by using a predetermined code. 제1항에 있어서, 저장단계는 두개의 주파수성분을 번지로하는 2차원 데이타형태로 저장하는 것을 특징으로 하는 가변장 부호화방법.The variable length encoding method according to claim 1, wherein the storing step stores two frequency components in a two-dimensional data form having addresses. 제1항에 있어서, 저장단계에서 저장되는 데이타는 양자화된 변환계수 데이타인 것을 특징으로 하는 가변장 부호화방법.The variable length encoding method of claim 1, wherein the data stored in the storing step is quantized transform coefficient data. 제1항에 있어서, 변환계수 데이타 출력단계는 소정의 대각선 주사방법에 따른 주사번지를 발생하는 제1주사번지 발생단계와, 소정의 다른 대각선 주사방법에 따른 주사번지를 발생하는 제2주사번지 발생단계와, 상기 두개의 주사번지 발생단계에서 발생하는 주사번지를 N×N블록단위로 절환하는 단계와, 절환단계에서 출력 하는 주사번지를 이용하여 상기 저장단계의 변환계수 데이타를 출력하는 주사번지 인가단계를 포함하는 것을 특징으로 하는 가변장 부호화방법.The method of claim 1, wherein the conversion coefficient data outputting step includes generating a first scan address for generating a scan address according to a predetermined diagonal scanning method and generating a second scan address for generating a scan address according to a predetermined diagonal scanning method. And a scanning address for outputting the conversion coefficient data of the storage step by using the scanning address output in the converting step by switching the scanning addresses generated in the two scanning address generating steps by N × N block units. Variable length encoding method comprising the step. 제1항 또는 제4항에 있어서, 대각선 주사방법은 하나의 대각선에서 다음의 대각선으로 바뀔 때 그 주사순서가 연속되는 지그재그주사(Zigzag Scan)인 것을 특징으로 하는 가변장 부호화방법.The variable length coding method according to claim 1 or 4, wherein the diagonal scanning method is a zigzag scan in which the scanning order is continuous when one diagonal line is changed from one diagonal line to the next diagonal line. 제1항에 있어서, 부호화단계는 2차원 허프만부호(2-Dim. Huffman Code)를 이용하는 것을 특징으로 하는 가변장 부호화방법.The variable length encoding method of claim 1, wherein the encoding step uses a two-dimensional Huffman code (2-Dim. Huffman Code). N×N블록단위로 부호화한 영상신호를 복호화하는 방법에 있어서, 상기 제1항의 방법에 따라 부호화된 신호를 인가받아 소정의 부호를 이용하여 복호화하는 단계와, 상기 단계에서 복호화된 데이타를 길이/크기 역변환하는 단계와, 서로 대칭인 복수개의 대각선 주사방법에 의해 발생하는 주사번지를 N×N블록단위로 번갈아 출력하는 대각선주사번지 출력단계와, 상기 길이/크기 역변환단계에서 발생하는 데이타를 대각선주사번지 출력단계의 주사번지에 맞추어 저장하는 단계를 포함하는 가변장 복호화방법.A method of decoding a video signal encoded in units of N × N blocks, the method comprising: receiving a signal encoded according to the method of claim 1 and decoding using a predetermined code; A step of inversely transforming the size, a diagonal scan address output step of alternately outputting scan addresses generated by a plurality of symmetrical diagonal scanning methods in units of N × N blocks, and a diagonal scan of data generated in the length / size inverse conversion step And storing the data according to the scanning address of the address output step. 제7항에 있어서, 복호화단계는 2차원 허프만 부호를 이용하여 복호화하는 것을 특징으로 하는 가변장 복호화방법.8. The variable length decoding method of claim 7, wherein the decoding step is performed by using a two-dimensional Huffman code. 제7항에 있어서, 대각선주사번지 출력단계는 소정의 대각선 주사방법에 따른 주사번지를 발생하는 제3주사번지 발생단계와, 소정의 다른 대각선 주사방법에 따른 주사번지를 발생하는 제4주사번지 발생단계와, 상기 두개의 주사번지 발생 단계 에서 발생하는 주사번지를 N×N블록단위로 절환하는 단계를 포함하는 가변장 복호화방법.8. The method of claim 7, wherein the diagonal scanning address outputting step includes generating a third scanning address for generating a scanning address according to a predetermined diagonal scanning method, and generating a fourth scanning address for generating a scanning address according to another predetermined diagonal scanning method. And switching the scanning addresses generated in the two scanning address generation steps by N × N block units. 제7항에 있어서, 저장단계는 두개의 주파수성분을 번지로하는 2차원 데이타형태로 저장하는 것을 특징으로 하는 가변장 복호화방법.8. The variable length decoding method according to claim 7, wherein the storing step stores two frequency components in a two-dimensional data form having addresses. 영상신호를 N×N블록의 변환계수로 변환하여 부호화하는 장치에 있어서, 변환계수 데이타를 N×N블록단위로 저장하는 수단과 서로 저장수단에 저장되는 변환계수 데이타에서로 다른 복수개의 주사번지를 N×N블록 단위로 번갈아 인가하는 주사번지 발생수단과, 주사번지 발생수단에서 주사번지에 의하여 저장수단으로부터 출력되는 데이타를 길이/크기 변환하는 수단과, 길이/크기 변환된 데이타를 부호화하는 수단을 포함하는 가변장 부호화장치.An apparatus for converting and encoding a video signal into a transform coefficient of an N × N block, the apparatus comprising: means for storing transform coefficient data in units of N × N blocks and a plurality of scanning addresses different from the transform coefficient data stored in the storage means; Scanning address generating means alternately applied in units of N × N blocks, means for converting the length / size of the data output from the storage means by the scanning address from the scanning address generating means, and means for encoding the length / size converted data; Variable length encoding apparatus comprising. 제11항에 있어서, 저장수단은 N×N블록의 변환계수 데이타를 저장함에 있어서 두개의 주파수성분을 변환계수 데이타의 번지로하여 저장하는 것을 특징으로 하는 가변장 부호화장치.12. The variable length encoding apparatus according to claim 11, wherein the storage means stores two frequency components as addresses of the transform coefficient data in storing the transform coefficient data of the N × N block. 제11항에 있어서, 주사번지 발생수단은 입력클럭신호를 카운팅하는 제1카운터와, 상기 카운터의 출력신호를 인가받아 N×N크기의 변환계수 데이타블록에서 최초의 주사위치로부터 가로방향으로 주사위치를 이동함으로써 주사를 시작하여 2차원 대각선 지그재그주사에 따른 주사번지를 출력하는 제1주사번지 발생부와, 상기 카운터의 출력신호를 인가받아 N×N크기의 변환계수 데이타블록에서 최초의 주사위치로부터 세로방향으로 주사위치를 이동함으로써 주사를 시작하는 2차원 대각선 지그재그주사에 따른 주사번지를 출력하는 제2주사번지 발생부와, 상기 주사번지 발생부들이 출력신호를 N×N블록단위로 절환하여 저장수단에 인가하는 절환부를 구비함을 특징으로 하는 가변장 복호화장치.12. The scanning address generating means according to claim 11, wherein the scanning address generating means receives a first counter counting an input clock signal and an output signal of the counter, and performs horizontal dice from the first dice in an N × N size conversion coefficient data block. The first scan address generator which starts scanning by moving the scan address and outputs the scan address according to the two-dimensional diagonal zigzag scan, and receives the output signal of the counter from the first dice in the N × N transform coefficient data block. A second scan address generator for outputting a scan address according to a two-dimensional diagonal zigzag scan to start scanning by moving the dice in the longitudinal direction, and the scan address generators convert the output signal in units of N × N blocks And a switching unit for applying to the means. N×N블록단위로 부호화한 영상신호를 복화하는 장치에 있어서, 상기 제1항의 방법에 따라 부호화된 영상신호를 인가받아 복호화하는 수단과, 복호화수단의 출력 데이타를 길이/크기 역변환하는 수단과, 서로 다른 복수개의 주사번지를 N×N블록단위로 번갈아 발생하는 주사번지 발생수단과, 길이/크기 역변환수단의 출력신호를 주사번지 발생수단의 주사번지에 맞추어 저장하는 저장수단을 포함하는 가변장 복화장치.An apparatus for decoding a video signal encoded in N × N block units, comprising: means for receiving and decoding a video signal encoded according to the method of claim 1, means for inversely converting length / size of output data of the decoding means, Variable length multiplexing comprising scanning address generating means for generating a plurality of different scanning addresses alternately in units of N × N blocks, and storing means for storing the output signal of the length / size inverse conversion means in accordance with the scanning address of the scanning address generating means. Device. 제14항에 있어서, 주사번지 발생수단은 입력클럭신호를 카운팅하는 제2카운터와. 상기 카운터의 출력신호를 인가받아 N×N크기의 변환계수 데이타블록에서 최초의 주사위치로부터 가로방향으로 주사위치를 이동함으로써 주사를 시작하는 2차원 대각선 지그재그주사에 따른 주사번지를 출력하는 제3주사번지 발생부와, 상기 카운터의 출력신호를 인가받아 N×N크기의 변환계수 데이타블록에서 최초의 주사위치로부터 세로방향으로 주사위치를 이동함으로써 주사를 시작하는 2차원 대각선 지그재그주사에 따른 주사번지를 출력하는 제4주사번지 발생부와, 상기 주사번지 발생부들의 출력신호를 N×N블록단위로 전환하여 저장수단에 인가하는 절환부를 구비함을 특징으로 하는 가변장 복호화장치.15. The apparatus of claim 14, wherein the scanning address generating means includes a second counter for counting an input clock signal. A third scan that outputs a scan address according to a two-dimensional diagonal zigzag scan that starts scanning by moving the dice from the first dice in the N × N-sized conversion coefficient data block in the horizontal direction by receiving the output signal of the counter A scan address according to the two-dimensional diagonal zigzag scan that starts scanning by moving the dice from the first dice in the N × N size conversion coefficient data block by receiving the address generator and the output signal of the counter. And a switching unit for converting an output signal of the fourth scanning address generating unit and an output signal of the scanning address generating units into N × N block units and applying them to the storage unit. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019920010502A 1992-06-17 1992-06-17 Variable length encode/decode method and apparatus KR0152015B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920010502A KR0152015B1 (en) 1992-06-17 1992-06-17 Variable length encode/decode method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920010502A KR0152015B1 (en) 1992-06-17 1992-06-17 Variable length encode/decode method and apparatus

Publications (2)

Publication Number Publication Date
KR940001717A true KR940001717A (en) 1994-01-11
KR0152015B1 KR0152015B1 (en) 1998-10-15

Family

ID=19334804

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920010502A KR0152015B1 (en) 1992-06-17 1992-06-17 Variable length encode/decode method and apparatus

Country Status (1)

Country Link
KR (1) KR0152015B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100798446B1 (en) * 2001-09-26 2008-01-28 에스케이 텔레콤주식회사 Adaptive double scan method in the H.26L
WO2018117657A1 (en) 2016-12-20 2018-06-28 에스케이이노베이션 주식회사 Pouch-type secondary battery

Also Published As

Publication number Publication date
KR0152015B1 (en) 1998-10-15

Similar Documents

Publication Publication Date Title
KR950010913B1 (en) Vlc & vld system
JP3992303B2 (en) Signal compression apparatus, signal expansion apparatus, signal compression method, and signal expansion method
US6100826A (en) Symbol decoding method and apparatus
KR930018878A (en) Digital image signal transmission device and frame method
KR940010791A (en) Adaptive Variable Length Coder
KR920019105A (en) Device for encoding and decoding variable length data
JP4442891B2 (en) Variable length coding apparatus and variable length coding method
KR960006644A (en) Digital coding device and digital code decoding device
KR940025350A (en) Method and apparatus for generating variable length code table
KR970078658A (en) An apparatus for encoding an object region of a video signal using a rearranged block-based coding scheme
KR100357126B1 (en) Generation Apparatus for memory address and Wireless telephone using the same
KR940001717A (en) Variable length encoding / decoding method and apparatus
KR920005014A (en) Image data restoration method and device
JP3984877B2 (en) Image processing apparatus, image processing method, program, and storage medium
KR100233536B1 (en) Run-level symbol decoder and the method
KR0180163B1 (en) An inverse scanner in an image decoder
JPH0310486A (en) Moving picture encoder
JP3011811B2 (en) Decoding device for variable length code of image data
KR930015861A (en) Scanning method and device according to energy distribution of two-dimensional data
JPH04200173A (en) Coding data converter
KR0152027B1 (en) Encoder and decoder for moving vector using by differential pulse code modulation
JPH0563992A (en) Image data encoder and image data restoring device
JP4314280B2 (en) Inverse quantization apparatus, inverse quantization method, program, and storage medium
JP3216741B2 (en) Image coding method
JP2003309848A (en) Image encoding apparatus and control method thereof

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

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee