KR100569388B1 - Moving picture quantization apparatus and method - Google Patents
Moving picture quantization apparatus and method Download PDFInfo
- Publication number
- KR100569388B1 KR100569388B1 KR1020030043154A KR20030043154A KR100569388B1 KR 100569388 B1 KR100569388 B1 KR 100569388B1 KR 1020030043154 A KR1020030043154 A KR 1020030043154A KR 20030043154 A KR20030043154 A KR 20030043154A KR 100569388 B1 KR100569388 B1 KR 100569388B1
- Authority
- KR
- South Korea
- Prior art keywords
- quantization
- quantization parameter
- determined
- approximate
- parameter
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods 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/423—Methods 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 characterised by memory arrangements
- H04N19/426—Methods 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 characterised by memory arrangements using memory downsizing methods
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/625—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
본 발명은 규정된 다수의 양자화 파라미터들 중의 일부만을 선택적으로 설계 및 지원하는 방식을 통해 양자화를 위한 양자화 복잡도 및 반도체 칩의 크기를 절감할 수 있도록 한다는 것으로, 이를 위하여 본 발명은, 규정된 모든 양자화 파라미터를 지원할 수 있도록 칩을 설계하여 모든 양자화 파라미터를 지원하도록 하는 종래 방식과는 달리, 규정된 다수의 양자화 파라미터들 중 주로 이용되는 양자화 파라미터들만 선택적으로 지원하도록 칩을 설계하고, 지원되지 않은 양자화 파라미터가 발생할 때 작은 쪽에 가장 인접하는 규정된 양자화 파라미터를 근사 양자화 파라미터로 결정하고 이를 이용하여 해당 매크로 블록의 DCT 계수를 양자화할 수 있도록 함으로써, 양자화를 위해 사용되는 양자화의 복잡도 및 칩의 크기를 절감할 수 있는 것이다.The present invention enables to reduce the quantization complexity and the size of the semiconductor chip for quantization by way of selectively designing and supporting only some of the prescribed quantization parameters. Unlike the conventional method of designing the chip to support the parameter to support all the quantization parameters, the chip is designed to selectively support only the quantization parameters mainly used among a plurality of defined quantization parameters, and the unsupported quantization parameters In this case, the prescribed quantization parameter nearest to the smaller side is determined as an approximate quantization parameter and the quantization DCT coefficient of the corresponding macroblock can be used to reduce the complexity of the quantization and the chip size used for quantization. It can be.
Description
도 1은 본 발명에 따른 동영상 양자화 장치를 적용하는데 적합한 전형적인 동영상 부호화 시스템의 개략적인 블록구성도,1 is a schematic block diagram of a typical video encoding system suitable for applying a video quantization apparatus according to the present invention;
도 2는 본 발명의 바람직한 실시 예에 따른 동영상 양자화 장치의 블록구성도.2 is a block diagram of a video quantization apparatus according to a preferred embodiment of the present invention.
<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>
202 : 양자화 파라미터 지원 판단 블록202: quantization parameter support decision block
204 : 양자화기204: Quantizer
206 : 근사 양자화 파라미터 결정 블록206: Approximate Quantization Parameter Determination Block
208 : 근사 양자화기208: Approximate Quantizer
210 : 근사 양자화 계수 산출 블록210: Approximate quantization coefficient calculation block
본 발명은 동영상을 부호화하는 기법에 관한 것으로, 더욱 상세하게는 MC-DCT를 이용한 동영상 부호화에서 DCT 계수를 양자화하는데 적합한 동영상 양자화 장치 및 방법에 관한 것이다.The present invention relates to a technique for encoding video, and more particularly, to a video quantization apparatus and method suitable for quantizing DCT coefficients in video encoding using MC-DCT.
잘 알려진 바와 같이, 대부분의 하이브리드 부호화 기법에서는 움직임 보상 DCPM (차분 펄스 부호 변조), 2차원 DCT(이산 코사인 변환), DCT 계수의 양자화, VLC(가변장 부호화)등을 이용한다. 움직임 보상 DPCM 은 현재 프레임과 이전 프레임간의 물체의 움직임을 결정하고, 물체의 움직임에 따라 현재 프레임을 예측하여 현재 프레임과 예측 프레임간의 차이를 나타내는 차분신호를 만들어내는 방법이다.As is well known, most hybrid coding techniques use motion compensated DCPM (differential pulse code modulation), two-dimensional DCT (discrete cosine transform), quantization of DCT coefficients, VLC (variable modulation coding), and the like. The motion compensation DPCM determines a motion of an object between a current frame and a previous frame and predicts the current frame according to the motion of the object to generate a difference signal representing the difference between the current frame and the predicted frame.
일반적으로, 이차원 DCT 는 영상 데이터간의 공간적 리던던시를 이용하거나 제거하는 것으로써, 디지털 영상 데이터 블록, 예를 들면 8 X 8 블록을 DCT 계수로 변환하며, 이러한 DCT 계수는 양자화기, 지그재그 주사, VLC 등을 통해 처리됨으로써 전송할 데이터의 양을 효과적으로 감축(또는 압축)할 수 있다.In general, two-dimensional DCT uses or eliminates spatial redundancy between image data, and converts digital image data blocks, such as 8 X 8 blocks, into DCT coefficients, which are quantized, zigzag scan, VLC, etc. Through processing, the amount of data to be transmitted can be effectively reduced (or compressed).
따라서, 상술한 바와 같은 부호화 기법, 즉 움직임 보상 DPCM, 2차원 DCT, DCT 계수의 양자화 및 VLC(또는 엔트로피 부호화) 등의 부호화 기법을 통해 부호화된 영상 비트 스트림은 동영상 부호화 시스템의 출력 측에 구비된 전송 버퍼에 저장된 다음 전송시점이 되면 원격지 수신측으로의 송신을 위해 전송기로 보내진다. 이때, 여기에서의 전송시점은 전송 버퍼의 크기(즉, 용량)와 전송율에 관계되며, 전송 버퍼에서의 오동작(데이터 오버플로우(overflow) 또는 데이터 언더플로우(underflow))이 발생하지 않도록 제어된다.Therefore, an image bit stream encoded through the encoding scheme as described above, that is, the encoding scheme such as motion compensation DPCM, two-dimensional DCT, DCT coefficient quantization, and VLC (or entropy encoding) is provided at the output side of the video encoding system. The next transmission point stored in the transmission buffer is sent to the transmitter for transmission to the remote receiver. At this time, the transmission time point here is related to the size (ie, capacity) and transmission rate of the transmission buffer, and is controlled so that a malfunction (data overflow or data underflow) does not occur in the transmission buffer.
보다 상세하게, 여러 가지 요인(예를 들면, 영상의 복잡도)으로 인해 부호화시에 각 프레임마다 발생되는 비트량이 달라지게 되는데, 이러한 점을 고려하여 동영상 부호화 시스템에서는, 평균 전송율이 일정하게 유지될 수 있도록 출력측 전송 버퍼의 제어를 수행한다. 즉, 동영상 부호화 시스템에서는 출력측 전송 버퍼의 데이터 충만상태 정보에 근거하여 현재 부호화하고 있는 프레임 이전까지의 비트 발생량을 조사하고 있다가 현재 프레임에서 할당해야 하는 비트량을 조절한다.More specifically, the amount of bits generated for each frame at the time of encoding is changed due to various factors (for example, the complexity of the image). In view of this, in the video encoding system, the average bit rate may be kept constant. Control of the output buffer. That is, the video encoding system checks the bit generation amount up to the frame currently encoded based on the data fullness state information of the output transmission buffer, and adjusts the bit amount to be allocated in the current frame.
다시 말해, 종래의 전형적인 동영상 부호화 시스템에서는 출력측 전송 버퍼의 데이터 충만상태 정보에 의거하여 실질적으로 양자화 파라미터, 즉 양자화 스텝 사이즈(QP)를 조절함으로써 부호화 시스템에서의 발생 비트량을 조절, 즉 이전까지 비트 발생량이 많으면 양자화 스텝 사이즈를 크게 조절하여 비트 발생량을 줄이고, 이와 반대의 경우에는 양자화 스텝 사이즈를 작게 조절하여 비트 발생량을 늘리는 등의 방법을 통해 비트 발생량을 조절하고 있다.In other words, in the conventional typical video encoding system, the amount of bits generated in the encoding system is controlled by adjusting the quantization parameter, that is, the quantization step size (QP), based on the data fullness state information of the output transmission buffer. If the generation amount is large, the bit generation amount is controlled by largely adjusting the quantization step size to reduce the bit generation amount, and in the opposite case, the bit generation amount is controlled through the method of increasing the bit generation amount by adjusting the quantization step size smaller.
이를 위하여, DCT 계수를 양자화하기 위해서는 양자화를 위해 규정된 다수의 모든 양자화 파라미터(Qp)에 대해 양자화를 지원할 수 있도록 반도체 칩을 설계하게 되는데, 이 경우 양자화의 복잡도 및 크기가 증가하게 되는 문제가 있으며, 이러한 문제는 결국 양자화를 위한 반도체 칩의 제조 비용을 증가시키는 요인으로 작용하고 있다.To this end, in order to quantize the DCT coefficients, a semiconductor chip is designed to support quantization for all the quantization parameters Qp defined for quantization. In this case, the complexity and size of the quantization are increased. This problem, after all, is a factor that increases the manufacturing cost of the semiconductor chip for quantization.
따라서, 본 발명은 상기한 종래 기술의 문제점을 해결하기 위한 것으로, 규정된 다수의 양자화 파라미터들 중의 일부만을 선택적으로 설계 및 지원하는 방식을 통해 양자화를 위한 양자화 복잡도 및 반도체 칩의 크기를 절감할 수 있는 동영상 양자화 장치 및 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention is to solve the above problems of the prior art, it is possible to reduce the quantization complexity and the size of the semiconductor chip for the quantization through a method of selectively designing and supporting only a part of a plurality of prescribed quantization parameters An object of the present invention is to provide a video quantization apparatus and method.
상기 목적을 달성하기 위한 일 관점에 따른 본 발명은, MC-DCT, 양자화, 가 변길이 부호화를 동영상을 부호화하는 시스템에서 DCT 계수들을 양자화하는 장치에 있어서, 양자화 제어신호에 의거하여 양자화 파라미터를 결정하고, 결정된 양자화 파라미터가 기 설정된 다수의 양자화 파라미터들 중 양자화 지원 가능한 파라미터에 속하는 지의 여부를 판단하는 수단과, 상기 결정된 양자화 파라미터가 상기 양자화 지원 파라미터에 속할 때, 상기 결정된 양자화 파라미터를 이용하여 입력 DCT 계수들을 양자화하여 양자화 계수들을 발생하는 수단과, 상기 결정된 양자화 파라미터가 상기 양자화 지원 파라미터에 속하지 않을 때, 근접한 양자화 지원 파라미터를 근사 양자화 파라미터로 결정하는 수단과, 상기 결정된 근사 양자화 파라미터를 이용하여 입력 DCT 계수들을 양자화하여 근사 양자화 계수들을 발생하는 수단을 포함하는 동영상 양자화 장치를 제공한다.According to an aspect of the present invention, there is provided an apparatus for quantizing DCT coefficients in a system for encoding video using MC-DCT, quantization, and variable length coding, wherein a quantization parameter is determined based on a quantization control signal. And means for determining whether the determined quantization parameter belongs to a quantization supportable parameter among a plurality of preset quantization parameters, and when the determined quantization parameter belongs to the quantization support parameter, an input DCT using the determined quantization parameter Means for quantizing coefficients to generate quantization coefficients, means for determining an adjacent quantization support parameter as an approximate quantization parameter when the determined quantization parameter does not belong to the quantization support parameter, and an input DCT using the determined approximate quantization parameter.Quantizing number to provide a video quantization means for generating quantized approximation coefficients.
상기 목적을 달성하기 위한 다른 관점에 따른 본 발명은, MC-DCT, 양자화, 가변길이 부호화를 동영상을 부호화하는 시스템에서 DCT 계수들을 양자화하는 방법에 있어서, 양자화 제어신호에 의거하여 양자화 파라미터를 결정하는 과정과, 상기 결정된 양자화 파라미터가 기 설정된 다수의 양자화 파라미터들 중 양자화 지원 가능한 파라미터에 속하는 지의 여부를 판단하는 과정과, 상기 결정된 양자화 파라미터가 상기 양자화 지원 파라미터에 속할 때, 상기 결정된 양자화 파라미터를 이용하여 입력 DCT 계수들을 양자화하여 양자화 계수를 발생하는 과정과, 상기 결정된 양자화 파라미터가 상기 양자화 지원 파라미터에 속하지 않을 때, 상기 결정된 양자화 파라미터에 근접한 양자화 지원 파라미터를 근사 양자화 파라미터로 결정하는 과정과, 상기 결정된 근사 양자화 파라미터를 이용하여 입력 DCT 계수들을 근사 양 자화하여 근사 양자화 계수들을 발생하는 과정을 포함하는 동영상 양자화 방법을 제공한다.According to another aspect of the present invention, there is provided a method of quantizing DCT coefficients in a system for encoding video using MC-DCT, quantization, and variable length encoding, wherein the quantization parameter is determined based on a quantization control signal. Determining whether the determined quantization parameter belongs to a quantization supportable parameter among a plurality of preset quantization parameters, and when the determined quantization parameter belongs to the quantization support parameter, using the determined quantization parameter Quantizing the input DCT coefficients to generate a quantization coefficient; when the determined quantization parameter does not belong to the quantization support parameter, determining a quantization support parameter close to the determined quantization parameter as an approximate quantization parameter; The present invention provides a video quantization method including approximating quantizing input DCT coefficients using an approximate quantization parameter to generate approximate quantization coefficients.
본 발명의 상기 및 기타 목적과 여러 가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시 예로부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명의 핵심 기술요지는, 규정된 모든 양자화 파라미터를 지원할 수 있도록 칩을 설계하여 모든 양자화 파라미터를 지원하도록 하는 전술한 종래 방식과는 달리, 규정된 다수의 양자화 파라미터들 중 주로 이용되는 양자화 파라미터들만 선택적으로 지원하도록 칩을 설계하고, 지원되지 않은 양자화 파라미터가 발생할 때 작은 쪽에 인접하는 규정된 양자화 파라미터를 근사 양자화 파라미터로 결정하고 이를 이용하여 해당 매크로 블록의 DCT 계수를 양자화할 수 있도록 한다는 것으로, 이러한 기술적 수단을 통해 본 발명에서 목적으로 하는 바를 쉽게 달성할 수 있다.A key technical aspect of the present invention is that, unlike the aforementioned conventional scheme of designing a chip to support all defined quantization parameters to support all quantization parameters, only the quantization parameters mainly used among the plurality of defined quantization parameters are provided. By designing the chip to support selectively, and when an unsupported quantization parameter occurs, it is possible to determine the prescribed quantization parameter adjacent to the smaller side as an approximate quantization parameter and use it to quantize the DCT coefficients of the corresponding macroblock. Through technical means, it is easy to achieve the object of the present invention.
도 1은 본 발명에 따른 동영상 양자화 장치를 적용하는데 적합한 전형적인 동영상 부호화 시스템의 개략적인 블록구성도로서, 제 1 프레임 메모리(102), 감산기(104), DCT 블록(106), 양자화 블록(108), 가변길이 부호화(VLC) 블록(110), 영상 복원 블록(112), 가산기(114), 제 2 프레임 메모리(116) 및 현재 프레임 예측 블록(118)을 포함한다.1 is a schematic block diagram of a typical video encoding system suitable for applying a video quantization apparatus according to the present invention, and includes a
도 1을 참조하면, 부호화를 위해 제 1 프레임 메모리(102)에 저장된 현재 프레임 신호는 라인 L11을 통해 감산기(104)와 현재 프레임 예측 블록(118)에 각각 제공된다.Referring to FIG. 1, the current frame signal stored in the
먼저, 감산기(104)에서는 라인 L11을 통해 제 1 프레임 메모리(102)에서 제공되는 현재 프레임 신호로부터 라인 L13을 통해 후술되는 현재 프레임 예측 블록(218)으로부터 제공되는 움직임 추정 및 보상을 통해 예측된 현재 프레임 신호를 감산하며, 그 결과 데이터, 즉 차분화소 값을 나타내는 에러신호는 DCT 블록(106)으로 전달되어 이산코사인 변환된 후 다음 단의 양자화 블록(108)으로 전달된다.First, the
다음에, 양자화 블록(108)은, 본 발명에 따라 적응적인 양자화, 즉 도시 생략된 출력측 버퍼로부터 제공되는 양자화 제어신호에 따라 결정된 임의의 양자화 파라미터(Qp)(양자화 스텝 사이즈) 또는 근사 양자화 파라미터를 이용하여 DCT 계수들을 양자화하는 것으로, 여기에서 발생하는 양자화된 DCT 계수들은 가변길이 부호화 블록(110)과 영상 복원 블록(112)으로 전달된다. 여기에서, 양자화 블록(108)에 제공되는 양자화 제어신호는 출력측 전송 버퍼의 데이터 충만 상태 정보에 따라 발생하는 것으로, 이러한 양자화 제어신호가 양자화 파라미터(Qp)를 결정함으로써, 최종적으로 발생하는 부호화된 비트 발생량이 조절된다.Next, the
상기와 같이 양자화 블록(108)을 통해 본 발명에 따라 양자화 파라미터와 근사 양자화 파라미터를 이용하여 적응적인 양자화를 수행하는 구체적인 과정에 대해서는 첨부된 도 2를 참조하여 후에 상세하게 기술될 것이다.As described above, a detailed process of performing adaptive quantization using the quantization parameter and the approximate quantization parameter according to the present invention through the
이어서, 가변길이 부호화 블록(110)에서는 양자화 블록(108)으로부터 제공되는 양자화된 DCT 계수들을 가변길이 부호화하며, 이와 같이 가변길이 부호화된 비디오 신호는 수신측으로의 전송을 위해 도시 생략된 출력측 버퍼로 전달된다.Subsequently, the variable
한편, 영상 복원 블록(112)에서는 양자화된 DCT 계수들은 역양자화 및 역이산 코사인 변환(IDCT)을 통해 다시 DCT 및 양자화 이전의 프레임 신호로 복원하여 가산기(114)의 일측 입력으로 제공하며, 가산기(114)에서는 일측 입력으로 제공되는 복원된 프레임 신호와 라인 L13을 통해 후술되는 현재 프레임 예측 블록(118)으로부터 제공되는 예측된 현재 프레임 신호를 가산하여 재구성된 이전 프레임 신호를 생성하며, 이와 같이 재구성된 이전 프레임 신호는 제 2 프레임 메모리(116)에 저장된다. 따라서, 이러한 경로를 통해 부호화 처리되는 매 프레임에 대한 바로 이전 프레임 신호가 계속적으로 갱신되며, 이와 같이 갱신되는 재구성된 이전 프레임 신호는 움직임 추정 및 보상을 통한 현재 프레임의 예측을 위해 후술되는 현재 프레임 예측 블록(118)으로 제공된다.Meanwhile, in the
다음에, 현재 프레임 예측 블록(118)에서는, 전술한 제 1 프레임 메모리(102)로부터 제공되는 라인 L11 상의 현재 프레임 신호와 상기한 제 2 프레임 메모리(116)로부터 제공되는 재구성된 이전 프레임 신호에 기초하여, 예를 들면 블록 매칭 알고리즘 등의 기법을 이용하는 움직임 추정 및 보상, 즉 재구성된 이전 프레임의 기 설정된 탐색범위(예를 들면, 16×16 탐색범위)에서 소정의 블록(예를 들면, 8×8 DCT 블록)단위로 현재 프레임을 예측한 다음 라인 L13 상에 예측된 현재 프레임 신호를 발생하여 상술한 감산기(104)와 가산기(114)에 각각 제공한다.Next, in the current
따라서, 전형적인 동영상 부호화 시스템에서는 상술한 바와 같은 일련의 부호화 처리 과정을 통해 동영상에 대해 MC-DCT, 양자와, 가변길이 부호화 등을 적용하여 소정의 비트 레이트로 부호화한다.Therefore, in a typical video encoding system, the video is encoded at a predetermined bit rate by applying MC-DCT, protons, variable length encoding, and the like to the video through a series of encoding processes as described above.
다음에, 상술한 바와 같은 구성을 갖는 전형적인 동영상 부호화 시스템에 적용 가능한 본 발명의 동영상 양자화 장치에 대하여 설명한다.Next, the moving picture quantization device of the present invention applicable to a typical moving picture coding system having the above-described configuration will be described.
도 2는 본 발명의 바람직한 실시 예에 따른 동영상 양자화 장치의 블록구성도로서, 양자화 파라미터(Qp) 지원 판단 블록(202), 양자화기(204), 근사 양자화 파라미터 결정 블록(206), 근사 양자화기(208) 및 근사 양자화 계수 산출 블록(210)을 포함한다.2 is a block diagram of a video quantization apparatus according to an exemplary embodiment of the present invention, which includes a quantization parameter (Qp)
도 2를 참조하면, 양자화 파라미터(Qp) 지원 판단 블록(202)에서는 양자화 제어신호에 의거하여 양자화 파라미터를 결정하고, 이 결정된 양자화 파라미터가 규정된 양자화 파라미터(즉, 양자화의 지원을 위해 칩에 설계된 양자화 파라미터)인지의 여부를 판단한다.Referring to FIG. 2, in the quantization parameter (Qp)
여기에서의 판단 결과, 결정된 양자화 파라미터가 지원되는 양자화 파라미터인 경우 결정된 양자화 파라미터를 양자화기(204)로 제공하고, 그 결과 양자화기(204)에서는 통상의 방법에서와 동일하게 결정된 양자화 파라미터를 이용하여 도 1의 DCT 블록(106)으로부터 제공되는 DCT 계수를 양자화하며, 이와 같이 양자화된 DCT 계수들은 도 1의 가변길이 부호화 블록(110)과 영상 복원 블록(112)으로 각각 전달된다.As a result of the determination here, if the determined quantization parameter is a supported quantization parameter, the determined quantization parameter is provided to the
다음에, 결정된 양자화 파라미터가 지원되지 않는 양자화 파라미터인 경우, 양자화 파라미터(Qp) 지원 판단 블록(202)에서는 그에 상응하는 양자화 파라미터 조정 제어신호를 발생하여 근사 양자화 파라미터 결정 블록(206)으로 전달하고, 이에 응답하여 근사 양자화 파라미터 결정 블록(206)에서는 결정된 양자화 파라미터에 가장 인접하는 지원 가능한 양자화 파라미터(보다 상세하게, 결정된 양자화 파라미터보다 값이 작은 방향으로 가장 인접하는 지원 가능한 양자화 파라미터)를 근사 양자화 파라미터(Qp2)로 결정한 후, 결정된 근사 양자화 파라미터를 근사 양자화기(208)로 제공한다.Next, if the determined quantization parameter is an unsupported quantization parameter, the quantization parameter (Qp)
그 결과, 근사 양자화기(208)에서는 결정된 근사 양자화 파라미터(Qp2)를 이용하여 도 1의 DCT 블록(106)으로부터 제공되는 DCT 계수를 양자화하며, 이와 같이 양자화된 DCT 계수들은 다음 단의 근사 양자화 계수 산출 블록(210)으로 전달된다.As a result, the
이어서, 근사 양자화 계수 산출 블록(210)에서는 입력 DCT 계수 값, 양자화 파라미터(Qp) 및 근사 양자화 파라미터(Qp2)로 입력 DCT 계수를 양자화한 몫을 이용하여 최종적인 양자화 계수, 즉 근사 양자화 계수를 산출한다.Next, the approximate quantization
즉, 양자화를 위한 입력 DCT 계수가 TCO이고, 양자화 파라미터가 Qp이며, 근사 양자화 파라미터가 Qp2이고, 근사 양자화 파라미터로 양자화한 DCT 계수의 몫이 Q2이며, 최종 양자화 계수가 TCO'라고 가정할 때, 최종적인 양자화 계수(근사 양자화 계수)는 아래의 수학식과 같이 구해진다.That is, assuming that the input DCT coefficient for quantization is TCO, the quantization parameter is Qp, the approximate quantization parameter is Qp2, the quotient of the DCT coefficient quantized with the approximate quantization parameter is Q2, and the final quantization coefficient is TCO '. The final quantization coefficient (approximate quantization coefficient) is obtained by the following equation.
temp' = temp - Qp (temp'가 제로보다 작아질 때까지 카운터(C)를 증가시켜 가면서 진행)temp '= temp-Qp (increasing counter C until temp' is less than zero)
TCO' = Q2 + CTCO '= Q2 + C
일 예로서, 입력 DCT 계수가 350이고, 양자화 파라미터(Qp)가 31이며, 근사 양자화 파라미터(Qp2)가 30이라고 가정할 때 근사 양자화 파라미터(Qp2)로 입력 DCT 계수를 양자화한 몫(Q2)은 11이 된다. 따라서, 최종적인 양자화 계수(TCO')는 아래의 수학식 2와 같이 계산된다.As an example, assuming that the input DCT coefficient is 350, the quantization parameter Qp is 31, and the approximate quantization parameter Qp2 is 30, the quotient Q2 of quantizing the input DCT coefficient with the approximate quantization parameter Qp2 is Becomes 11. Therefore, the final quantization coefficient TCO 'is calculated as shown in Equation 2 below.
temp' = 9 - 31 = -22temp '= 9-31 = -22
TCO' = 11 + 0 = 11TCO '= 11 + 0 = 11
따라서, 근사 양자화 계수 산출 블록(210)에서는 상술한 바와 같은 일련의 과정을 통해 근사 양자화 계수를 산출하며, 이와 같이 산출된 근사 양자화 계수는 도 1의 가변길이 부호화 블록(110)과 영상 복원 블록(112)으로 각각 전달된다.Therefore, the approximate quantization
이상 설명한 바와 같이 본 발명에 따르면, 규정된 모든 양자화 파라미터를 지원할 수 있도록 칩을 설계하여 모든 양자화 파라미터를 지원하도록 하는 전술한 종래 방식과는 달리, 규정된 다수의 양자화 파라미터들 중 주로 이용되는 양자화 파라미터들만 선택적으로 지원하도록 칩을 설계하고, 지원되지 않은 양자화 파라미터가 발생할 때 작은 쪽에 가장 인접하는 규정된 양자화 파라미터를 근사 양자화 파라미터로 결정하고 이를 이용하여 해당 매크로 블록의 DCT 계수를 양자화할 수 있도록 함으로써, 양자화를 위해 사용되는 양자화의 복잡도 및 칩의 크기를 절감할 수 있다.As described above, according to the present invention, unlike the aforementioned conventional method of designing a chip to support all defined quantization parameters to support all quantization parameters, the quantization parameter mainly used among a plurality of defined quantization parameters By designing the chip to selectively support only the quantization parameter, and when the unsupported quantization parameter occurs, the prescribed quantization parameter closest to the smaller side is determined as an approximate quantization parameter and used to quantize the DCT coefficient of the corresponding macroblock. The complexity of quantization and chip size used for quantization can be reduced.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030043154A KR100569388B1 (en) | 2003-06-30 | 2003-06-30 | Moving picture quantization apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030043154A KR100569388B1 (en) | 2003-06-30 | 2003-06-30 | Moving picture quantization apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050003028A KR20050003028A (en) | 2005-01-10 |
KR100569388B1 true KR100569388B1 (en) | 2006-04-07 |
Family
ID=37218273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020030043154A KR100569388B1 (en) | 2003-06-30 | 2003-06-30 | Moving picture quantization apparatus and method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100569388B1 (en) |
-
2003
- 2003-06-30 KR KR1020030043154A patent/KR100569388B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20050003028A (en) | 2005-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6037987A (en) | Apparatus and method for selecting a rate and distortion based coding mode for a coding system | |
US7418147B2 (en) | Cauchy-distribution based coding system and method | |
KR100238066B1 (en) | Method for controlling bit quantity and apparatus for encoding image using quantized activities | |
EP1551186B1 (en) | Video coding apparatus with resolution converter | |
US5461422A (en) | Quantizer with automatic pre-threshold | |
JP2005507587A (en) | Spatial scalable compression | |
KR20060036934A (en) | Video data encoder and video data encoding method | |
KR100961760B1 (en) | Motion Estimation Method and Apparatus Which Refer to Discret Cosine Transform Coefficients | |
Moscheni et al. | Entropy criterion for optimal bit allocation between motion and prediction error information | |
KR0162203B1 (en) | Adaptive encoding method and device using quantization step size | |
CN1659890A (en) | A method and system for optimizing image sharpness during coding | |
KR0178195B1 (en) | Apparatus for encoding an image signal using vector quantization technique | |
US20050036548A1 (en) | Method and apparatus for selection of bit budget adjustment in dual pass encoding | |
KR101058524B1 (en) | Bit quantity control device and control method | |
KR100569388B1 (en) | Moving picture quantization apparatus and method | |
KR19990067016A (en) | Method and apparatus for selecting a coding mode in a block-based coding system | |
US5737021A (en) | Transform coefficient selection method and apparatus for a transform coding system | |
JPH04329089A (en) | Dynamic image coding device | |
KR100555750B1 (en) | Very low bit rate image coding apparatus and method | |
KR100207419B1 (en) | Method and apparatus for controlling generation of bit rate in video encoding | |
KR100266708B1 (en) | Conditional replenishment coding method for b-picture of mpeg system | |
KR100207418B1 (en) | Method and apparatus for controlling generation of bit rate in video encoding | |
Chang et al. | A novel rate predictor based on quantized DCT indices and its rate control mechanism | |
KR100207416B1 (en) | Method and apparatus for controlling generation of bit rate in video encoding | |
KR100207417B1 (en) | Method and apparatus for controlling generation of bit rate in video encoding |
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: 20130401 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20140402 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |