KR100238687B1 - Digital apparatus for controlling buffer - Google Patents

Digital apparatus for controlling buffer Download PDF

Info

Publication number
KR100238687B1
KR100238687B1 KR1019920009689A KR920009689A KR100238687B1 KR 100238687 B1 KR100238687 B1 KR 100238687B1 KR 1019920009689 A KR1019920009689 A KR 1019920009689A KR 920009689 A KR920009689 A KR 920009689A KR 100238687 B1 KR100238687 B1 KR 100238687B1
Authority
KR
South Korea
Prior art keywords
mode
determined
buffer
value
threshold
Prior art date
Application number
KR1019920009689A
Other languages
Korean (ko)
Other versions
KR940001729A (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 KR1019920009689A priority Critical patent/KR100238687B1/en
Publication of KR940001729A publication Critical patent/KR940001729A/en
Application granted granted Critical
Publication of KR100238687B1 publication Critical patent/KR100238687B1/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/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/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

Abstract

본 발명은 고화질 텔레비젼 등과 같은 영상신호처리 장치의 엔코더에 관한 것으로, 특히 코딩된 디지탈 영상데이터의 전송율을 일정수준으로 유지시키기 위한 디지탈 버퍼 제어장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoder of a video signal processing apparatus such as a high-definition television, and more particularly, to a digital buffer control apparatus for maintaining a transmission rate of coded digital video data at a constant level.

본 발명은 영상데이터를 이산여현변환하는 이산여현변환기와, 상기 이산여현변환기를 통해 변환된 영상데이터를 양자화하는 양자화기를 구비한 디지탈 버퍼 제어장치에 있어서, 코딩된 영상데이터를 메모리 영역상에 저장 및 출력하기 위한 버퍼와, 상기 버퍼의 영상데이터 저장상태를 검사하여 그 저장상태가 제1구간에 해당할 경우 스레쉬홀드 모드로 판정하고, 제2구간에 해당할 경우 강제신규화 모드로 판정하고, 제3구간에 해당할 경우 정상 모드로 판정하고, 제4구간에 해당할 경우 스탑모드로 판정하는 판정수단과, 상기 판정수단이 판정한 모드를 입력하여 그 판정한 모드에 미리 할당되어 있는 스레쉬 홀드값을 결정하여 상기 이산여현변환기로 출력하는 스레쉬홀드값 결정부와, 상기 판정수단이 판정한 모드를 입력하여 그 판정한 모드에 미리 할당되어 있는 양자화 스템 사이즈를 결정하여 상기 양자화기로 출력하는 양자화 스텝사이즈 값 결정부로 구성된다.A digital buffer control device comprising a discrete cosine transformer for discrete cosine transforming image data and a quantizer for quantizing the image data converted through the discrete cosine transformer, the coded image data being stored and stored in a memory area. A buffer for output and an image data storage state of the buffer are inspected, and when the storage state corresponds to the first section, the threshold mode is determined; when the storage state corresponds to the second section, a forced newization mode is determined; Judging means for determining the normal mode in the case of the third section, and determining the stop mode in the case of the fourth section, and inputting a mode determined by the judging means, and a threshold previously assigned to the determined mode. A threshold value determination unit for determining a hold value and outputting the hold value to the discrete cosine converter; By determining the quantization size of the system is assigned is composed of a determined quantization step size value and outputting the quantized groups.

Description

디지탈 버퍼 제어 장치Digital buffer controller

본 발명은 고화질 텔레비젼(HDTV)등과 같은 영상신호처리 장치의 엔코더에 관한 것으로, 특히 코딩된 디지탈 영상데이터의 전송율을 일정수준으로 유지시키기 위한 디지탈 버퍼 제어장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoder of a video signal processing apparatus such as a high definition television (HDTV) and the like, and more particularly, to a digital buffer control apparatus for maintaining a transmission rate of coded digital video data at a constant level.

전형적으로, 영상신호처리 장치의 디지탈 버퍼는 지상방송의 VHF/UHF, 위성방송, CATV, 디지탈 VTR의 기록매체등과 같은 한정된 채널을 통하여 데이터를 전송하기 위해 사용된다.Typically, a digital buffer of a video signal processing apparatus is used to transmit data through a limited channel such as VHF / UHF of terrestrial broadcasting, satellite broadcasting, CATV, recording media of digital VTR, and the like.

이러한 디지탈 버퍼에서 발생되는 비트를 일정하게 조절하기 위한 기술은 최적화질 유지에 대한 선결 과제이다.The technique for constantly adjusting the bits generated in such a digital buffer is a prerequisite for maintaining optimal quality.

일반적인 동보상 부호화기에 대한 부호화기의 일예는 제1도에 나타낸 바와 같은 구성을 가지는데, 이는 MPEG(Motion Picture Expert Group)혹은 MCPIC(Motion Comprensated Prediction and Interpolation Coding) 규격에 개시되어 있다.An example of an encoder for a general compensating encoder has a configuration as shown in FIG. 1, which is disclosed in a Motion Picture Expert Group (MPEG) or Motion Comprensated Prediction and Interpolation Coding (MCPIC) standard.

제1도는 종래의 동보상 부호화기의 블럭도이다.1 is a block diagram of a conventional compensating encoder.

상기 제1도와 같은 구성은 그간 TV-폰이나 비디오코텍 분야에서 주로 사용되어 왔으며, 디지탈 HDTV 분야로의 응용은 미진하다. 특히, 버퍼(10)에서 VLC(8)나 양자화기(Q;6)의 제어등에 대한 구체적인 회로나 제어 방법에 대해서는 개시되어 있지 않다.The configuration as shown in FIG. 1 has been mainly used in the field of TV-phone or videocote, and its application to the field of digital HDTV is insufficient. In particular, no specific circuit or control method for controlling the VLC 8 or the quantizer Q 6 in the buffer 10 is disclosed.

그러므로, 종래에는 상기 버퍼(10)로부터 출력되는 코딩된 영상데이터의 전송비트는 가변장코딩기(VLC;8)의 출력에 따라 오버플로우(Over Flow)나 언더플로우(Under Flow)가 발생하게 되어 버퍼(10)의 효율적인 활용을 할 수 없었을 뿐만 아니라, 수신측에서의 복원된 화질에 영향을 미치는 문제점이 있었다.Therefore, in the related art, the transmission bit of the coded image data output from the buffer 10 is caused to overflow or underflow according to the output of the variable length coder VLC 8. Not only did the buffer 10 not be utilized efficiently, but there was a problem that affected the restored picture quality at the receiving side.

따라서, 본 발명의 목적은 상기한 종래의 문제점을 해결할 수 있는 디지탈 버퍼 제어장치를 제공함에 있다.Accordingly, it is an object of the present invention to provide a digital buffer control apparatus that can solve the above-mentioned problems.

본 발명의 다른 목적은 코딩된 영상테이터의 전송비트를 일정 수준으로 유지하여 화질개선을 꾀할 수 있는 디지탈 버퍼 제어장치를 제공함에 있다.Another object of the present invention is to provide a digital buffer control apparatus capable of improving image quality by maintaining a transmission bit of coded image data at a constant level.

상기한 목적을 달성하기 위한 본 발명은, 영상데이터를 이산여현변환하는 이산여현변환기와, 상기 이산여현변환기를 통해 변환된 영상데이터를 양자화하는 양자화기를 구비한 디지탈 버퍼 제어장치에 있어서, 코딩된 영상데이터를 메모리 영역상에 저장 및 출력하기 위한 버퍼와, 상기 버퍼의 영상데이터 저장상태를 검사하여 그 저장상태가 제1구간에 해당할 경우 스레쉬홀드 모드로 판정하고, 제2구간에 해당할 경우 강제신규화 모드로 판정하고, 제3구간에 해당할 경우 정상 모드로 판정하고, 제4구간에 해당할 경우 스탑모드로 판정하는 판정수단과, 상기 판정수단이 판정한 모드를 입력하여 그 판정한 모드에 미리 할당되어 있는 스레쉬 홀드값을 결정하여 상기 이산여현변환기로 출력하는 스레쉬홀드값 결정부와, 상기 판정수단이 판정한 모드를 입력하여 그 판정한 모드에 미리 할당되어 있는 양자화 스템 사이즈를 결정하여 상기 양자화기로 출력하는 양자화 스텝사이즈 값 결정부로 구성됨을 특징으로 한다.According to an aspect of the present invention, there is provided a digital buffer control device including a discrete cosine transform for discrete cosine transform and a quantizer for quantizing the video data converted through the discrete cosine transform. A buffer for storing and outputting data on the memory area, and an image data storage state of the buffer are examined, and when the storage state corresponds to the first section, it is determined to be a threshold mode, and when it corresponds to the second section. Judging means for judging to a forced newizing mode, judging to a normal mode in the case of the third section, and determining to stop mode in the case of the fourth section, and inputting the judging mode determined by the judging means. A threshold value determination unit for determining a threshold value pre-assigned to a mode and outputting the threshold value to the discrete cosine converter, and a mode determined by the determination means. And a quantization step size value determination unit which determines a quantization stem size previously allocated to the determined mode and outputs the quantization stem size to the quantizer.

제1도는 종래의 동보상 부호화기의 블럭도.1 is a block diagram of a conventional compensating encoder.

제2도는 본 발명에 적용된 파라메타 및 모드저항의 일예도.2 is an example of parameters and mode resistance applied to the present invention.

제3도는 본 발명의 디지탈 버퍼 제어 흐름도.3 is a digital buffer control flowchart of the present invention.

제4도는 본 발명에 따른 디지탈 버퍼 제어장치의 블럭도.4 is a block diagram of a digital buffer control apparatus according to the present invention.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 그리고 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

제2도는 본 발명에 적용된 파라메타 및 모드저항의 일예도이다.2 is an example of the parameters and mode resistance applied to the present invention.

상기 제2도중 (2a)도는 버퍼내에 저장된 영상데이터의 저장 상태에 따라 해당모드 각각의 스레쉬홀드 값 및 양자화 스텝사이즈 값을 할당한 것을 나타낸 것이고, (2b)도는 버퍼의 사이즈를 512Kbit로 한 경우에 이를 4개의 모드로 구분하여 각 모드별 전송데이터 범위를 설정하여, 이에 따라 T와 N값을 구분 제어토록 하는 것을 설명하기 위한 일예도이다.(2a) of FIG. 2 shows that the threshold value and the quantization step size value of each mode are allocated according to the storage state of the image data stored in the buffer, and (2b) shows that the buffer size is 512 Kbit. This is an example for explaining that the transmission data range for each mode is set by dividing it into four modes, and accordingly, T and N values are divided and controlled.

제3도는 각 모드에 따라 버퍼 제어를 하기 위한 제어흐름도를 나타낸 것으로, 4가지 모드에 따라 단계1~단계16까지를 보이고 있다.3 shows a control flow chart for controlling the buffer according to each mode, and shows steps 1 to 16 according to the four modes.

제4도는 본 발명에 따른 디지탈 버퍼 제어장치의 하드웨어 블록도로서, 상기 제3도의 제어흐름을 수행할 수 있는 버퍼제어블럭(100)을 점선으로 도시하였다.4 is a hardware block diagram of a digital buffer control apparatus according to the present invention, and shows a buffer control block 100 capable of performing the control flow of FIG.

제4도에서 상기 버퍼제어블럭(100) 외부에 도시된 각 블럭들은 제1도와 동일한 수단들이므로 동일 인용 번호를 부여하였다.In FIG. 4, the blocks shown outside the buffer control block 100 are the same means as in FIG.

상기 버퍼제어블럭(100)내의 S/P(101) 및 P/S(102)는 각기 직병렬 변환기 및 병직렬 변환기를 나타낸 것이며, 라이트 어드레스 카운터(104)는 샘플링 클럭(fs)을 입력하여 버퍼(10) 및 ALU(108)에 라이트 어드레스를 인가하며, 리드 어드레스 카운터(106)는 전송클럭을 입력하여 버퍼(10) 및 상기 ALU(108)에 리드 어드레스를 인가한다.The S / P 101 and the P / S 102 in the buffer control block 100 represent a serial and a parallel converter, respectively, and the write address counter 104 inputs a sampling clock f s . The write address is applied to the buffer 10 and the ALU 108, and the read address counter 106 inputs the transmission clock to apply the read address to the buffer 10 and the ALU 108.

상기 ALU(Arithmatic Logic Unit ; 108)는 카운팅된 상기 라이트 및 리드어드레스를 서로 감산하여 버퍼 모드 판정부(110)로 출력한다.The ALU (Arithmatic Logic Unit) 108 subtracts the counted write and read addresses from each other and outputs the counted output to the buffer mode determiner 110.

상기 버퍼 모드 판정부(110)는 상기 ALU(108)의 감산출력에 응답하여 미리 설정된 테이블 영역에서 상기 버퍼(10)의 모드를 판정하게 된다.The buffer mode determination unit 110 determines the mode of the buffer 10 in a preset table area in response to the subtraction output of the ALU 108.

여기서 상기 카운터(104, 106), ALU(108), 버퍼 모드 판정부(110)는 상기 모드 판정 수단에 상응한다.Here, the counters 104 and 106, the ALU 108, and the buffer mode determining unit 110 correspond to the mode determining means.

상기 버퍼 모드 판정부(110)의 모드 판정에 따라 스레쉬홀드 값 결정부(112)및 양자화 스텝사이즈 값 결정부(114)는 미리 할당될 스레쉬홀드(Threshold) 값 및 양자화 스텝사이즈 값을 각기 출력하여 DCT(4) 및 양자화기(Q;6)로 각기 인가한다.According to the mode determination of the buffer mode determining unit 110, the threshold value determining unit 112 and the quantization step size value determining unit 114 respectively set threshold values and quantization step size values to be pre-assigned. Output to DCT 4 and quantizer Q 6, respectively.

상기한 제2도 내지 제4도를 참도하여 본 발명을 상세히 설명한다.The present invention will be described in detail with reference to FIGS. 2 to 4 described above.

먼저, 30MHz 정도의 대역폭을 갖는 HDTV 영상정보를 서브밴드 코딩이나 DCT 변환등을 통하여 대역압축을 하여 6MHz의 전송채널로 전송하기 위해서는 16QAM 변조방식이 사용될 수 있고, 또한 이때의 전송해야 할 영상정보는 대체로 15Mbps 정도가 된다.First, in order to transmit HDTV video information having a bandwidth of about 30 MHz to a 6 MHz transmission channel through band compression or DCT conversion, a 16QAM modulation method can be used. Generally, it is about 15Mbps.

이때, 부호화기에 발생하는 데이터량은 부호화기의 입력영상의 특성에 따라 불규칙하게 된다.At this time, the amount of data generated by the encoder is irregular depending on the characteristics of the input image of the encoder.

이와 같이 불규칙하게 발생하는 데이터를 일정한 전송 속도를 갖는 채널을 통하여 전송하기 위해서는 버퍼가 필요하게 된다. 이러한 경우에서의 버퍼를 사용해야 할 때 고려되어야 할 점은 버퍼의 크기이다.As described above, a buffer is required to transmit irregularly generated data through a channel having a constant transmission rate. When using a buffer in this case, the size of the buffer should be considered.

만일 버퍼의 크기가 너무 작아 오버플로우(Over Flow)가 발생할 경우 데이터의 손실이 생겨 재생 영상화질에 심각한 영향을 주게되며, 반대로 버퍼의 크기가 너무 큰 경우에는 전송되는 데이터의 지연이 너무 커서 음성과 영상이 서로 일치하지 않게 된다.If the size of the buffer is too small and overflow occurs, data loss occurs, which seriously affects the playback image quality. On the contrary, if the size of the buffer is too large, the delay of the transmitted data is too large for the audio and audio. The images will not match each other.

따라서 버퍼사이즈는 하기 수학식 1과 같이 결정하게 된다.Therefore, the buffer size is determined as in Equation 1 below.

디지탈 HDTV인 경우를 적용하면,가 되므로 본 실시예에서는 버퍼 사이즈를 대략 500Kbit로 하였다. 현재 입력되고 있는 영상시퀀스S(m, n), 이전에 입력된 영상시퀀스를 S(m, n-1), 버퍼의 라이트 어드레스(Write Address)를 W, 전송비이트 레이트와 일치하는 리드 어드레스(Read Address)를 R이라고 하면 하기의 수학식 2가 성립된다.If you apply a digital HDTV case, In this embodiment, the buffer size is approximately 500 Kbit. The currently input image sequence S (m, n), the previously input image sequence S (m, n-1), the buffer's write address W, and the read address corresponding to the transfer bit rate ( If Read Address) is R, Equation 2 below is established.

버퍼의 크기가 결정되면 버퍼 상태에 따라서 부호화기에서 발생되는 데이터량을 조절하는 방법을 결정해야 한다. 데이터 발생량을 조절하는 파라메타로는 스레쉬 홀드 값 T와 양자화 스텝 N, 3차원 프리필터(Prefilter)의 통과대역들을 제어하거나, 프레임 혹은 필드 뛰어넘기(Skipping)를 할 수 있으며, 미세정보량을 조절하기 위해서는 양자화한 계수를 가면장 부호화 할때 0의 행역(Zero Run Length)을 늘이기 위하여 0의 행열에 가장 가까운 계수를 0으로 대체하므로서 전송 비트 속도를 줄일수 있고 필요시 반복할 수도 있으며 이때 더욱 전송속도를 줄일수 있다.Once the size of the buffer is determined, it is necessary to determine how to adjust the amount of data generated by the encoder according to the buffer state. Parameters for adjusting the amount of data generation can control the threshold value T, the quantization step N, and passbands of the three-dimensional prefilter, frame or field skipping, and adjust the amount of fine information. When masking the quantized coefficients, the transmission bit rate can be reduced and repeated if necessary by replacing the coefficient closest to the zero matrix with 0 to increase the zero run length. Can be reduced.

이와 같이 전송속도를 제어하기 위한 여러가지 파라메타가 있으나, 가장 기본적이면서 효과가 좋은 스레쉬 홀드 T 및 양자화 스텝 N을 여기서는 파라메타로서 사용하였다.Although there are various parameters for controlling the transmission rate as described above, the most basic and effective threshold hold T and quantization step N are used here as parameters.

제(2a)도에서 보는 바와 같이 버퍼사이즈를 500Kbit의 영상정보를 충분히 수용할 수 있는 512Kbit로 정하였으며, 입력 영상정보에 따라 각기 제(2b)도와 같이 발생되는 정보량을 스레쉬 홀드 모드(0~256Kbit구간: 제1구간), 강제 신규화(Forced Updating Mode) 모드(257~448Kbit구간: 제2구간), 정상모드(449K~496Kbit 구간: 제3구간), 스탑 모드(497K~512Kbit 구간: 제4구간)로 구분하여, 각각의 모드에 따라 T와 N의 값의 크기를 정하여, 이를 피이드 제어코드로서 4가지 경우로 코드 할당하였다.As shown in (2a), the buffer size is set to 512 Kbit which can sufficiently accommodate 500 Kbit of image information, and the amount of information generated as shown in (2b) according to the input image information is set in the threshold hold mode (0 to 0). 256 Kbit section: 1st section, Forced Updating Mode mode (257 ~ 448Kbit section: 2nd section), Normal mode (449K-496Kbit section: 3rd section), Stop mode (497K ~ 512Kbit section: 1st section) 4 sections), and the size of T and N values were determined according to the respective modes, and the codes were assigned to four cases as feed control codes.

물론, 보다 정밀한 제어를 위해서는 8모드, 16모드로 증가시킬 수 있지만 복잡도가 증가하는 만큼의 큰 기대효과가 없고, 하드웨어의 간단화를 위하여 4가지 모드만을 선정하였다.Of course, it can be increased to 8 modes and 16 modes for more precise control, but there is no expectation effect as the complexity increases, and only 4 modes are selected for simplicity of hardware.

제3도를 참조하면, 먼저 버퍼에 데이터가 입력되면 이때의 버퍼의 라이트 어드레스에서 리드 어드레스를 ALU에 의해 단계2에서 감산하여 된다. 감산한 결과를 단계3의 비트할당 단계에서 적정비트(예를 들면 4bit)로 Truncation(LSB 비트 버리기)하여 단계4의 노말모드(Normal Mode) 검색단계로 입력된다.Referring to FIG. 3, first, when data is input to the buffer, the read address is subtracted from the write address of the buffer in step 2 by the ALU. The subtracted result is truncated to an appropriate bit (for example, 4 bits) in the bit allocation step of step 3 and discarded into the normal mode search step of step 4.

상기 단계4의 검색기는 ROM으로 구성되며 단계3의 ALU 연산결과가 (2b)도에서와 같이 노말모드 범위 448K~496Kbit 내에 있으며 단계5에서 스레쉬 홀드 값을 고정하고 아울러 단계6의 양자화 스텝사이즈로 고정하여 그 결과를 단계7에서 버퍼 출력으로 내보낸다.The searcher of step 4 is composed of a ROM, and the ALU operation result of step 3 is within the normal mode range 448K to 496Kbit as shown in (2b), and the threshold hold value is fixed in step 5, and the quantization step size of step 6 Fix and export the result to the buffer output in step 7.

만약 단계4의 노말모드가 정상모드 즉, 노말모드가 아니라고 판정되면 단계8에서 상기 노말모드보다 적은 스레쉬 홀드 모드인지를 단계9의 스레쉬 홀드 모드 검색단계에서 점검하며, 맞을 경우는 단계10의 스레쉬 홀드 값 저하에서 스레쉬 홀드 값 T가 (2a)도와 같이 줄어든 후, 다시 단계9의 스레쉬 홀드 검색단계로 리턴한다.If it is determined that the normal mode of step 4 is not the normal mode, i.e., the normal mode, in step 8, it is checked in the threshold hold mode search step of step 9 if it is less than the normal mode. The threshold value T decreases as shown in (2a) at the threshold hold value drop, and then returns to the threshold hold search step of step 9.

이때, 비트가 증가하면 자연히 단계11의 강제신규화 모드로 넘어가며, 사익모드(Forced Updating Mode)에서는 반드시 단계12의 양자화 스텝사이즈다운(Quantize Step Size Down)에 의하여 결과적으로 전송비이트 레이트를 증가시키는 방향으로 유도한다.At this time, if the bit is increased, it is naturally shifted to the forced newization mode of step 11, and in the forced updating mode, the transmission bit rate is increased as a result of the quantization step size down of step 12. Guide in the direction of

한편 단계9의 노말모드가 아닌 상태 즉 정상 상태보다 오우버 플로우가 생긴 단계13의 스탑모드로 넘어가면 비이트 레이트를 줄이기 위하여 먼저 단계 14의 스레쉬 홀드 상승단계에서 상기 T값이 올라간다.On the other hand, if the transition to the non-normal mode of step 9, i.e., the stop mode of step 13 in which the overflow occurs than the normal state, the T value is first increased in the threshold hold rising step of step 14 to reduce the bit rate.

따라서 비이트 레이크가 줄어들기 시작하면 단계15의 노말모드 검색단계에서 정상 상태 여부를 판단하며, 맞는 상태이면 단계 5, 6, 7의 과정을 거쳐 출력되고 아니면 두 번째로 단계 16의 양자화 스텝사이즈 확장단계를 통하여 다시 한 번 비이트 레이트를 저하시키는 시도를 하며 그 결과를 단계4의 노말모드 입력으로 피이드백시켜 노말모드가 되도록 유도한다.Therefore, when the beet rake starts to decrease, the normal mode search step of step 15 determines whether it is in a normal state, and if it is correct, it is output through the steps 5, 6, and 7, or secondly, the quantization step size expansion of step 16 is performed. The step again attempts to lower the bit rate and feeds the result back to the normal mode input of step 4 to induce normal mode.

상기 제3도에 따라 구현된 제4도를 참조하면, S/R(101)은 VLC(8)로부터 나오는 데이터가 1바이트 스츠림(Stream)이므로 이를 병렬 8비트로 변환하여 버퍼(10)에 입력시키며, 병렬 직렬 변환기(P/S;102)는 상기 병렬 8비트를 다시 직렬로 변환하여 출력한다.Referring to FIG. 4 implemented according to FIG. 3, since the data coming from the VLC 8 is a one-byte stream, the S / R 101 converts the data into parallel 8 bits and inputs the same to the buffer 10. The parallel serial converter (P / S) 102 converts the parallel 8 bits back into serial and outputs them.

상기 버퍼(10)에 데이터를 입력시키기 위해서는 라이트 어드레스 카운터(104)가 필요하며, 출력시키기 위해서는 리드 어드레스 카운터(106)가 필요하다.The write address counter 104 is required to input data into the buffer 10, and the read address counter 106 is required to output the data.

상기 라이트 어드레스는 입력되는 비트 레이트에 해당되며 리드 어드레스는 채널 전송 가능한 전송속도(500Kbit)에 해당된다.The write address corresponds to an input bit rate and the read address corresponds to a channel transfer rate (500 Kbit).

ALU(108)는 상기 어드레스간의 차를 구한 다음 버퍼모드 판정부(110)으로 인가한다. 상기 버퍼모드 판정부(110)는 제3도의 제어내용에 일치하여 4가지 모드 상태를 판단하며, 이에 따라 스레쉬 홀드 값 결정부(112) 및 양자화 스텝사이즈 값 결정부(114)는 스레쉬 홀드값 및 양자화 스텝값을 제2a도의 테이블과 같이 출력함으로써 전송비트는 일정한 수준으로 조절되어 진다.The ALU 108 obtains the difference between the addresses and then applies the buffer mode determination unit 110. The buffer mode determiner 110 determines four mode states in accordance with the control content of FIG. 3, and accordingly, the threshold hold value determiner 112 and the quantization step size value determiner 114 perform a threshold hold. By outputting the values and the quantization step values as shown in the table of FIG. 2A, the transmission bit can be adjusted to a constant level.

상술한 바와 같이 본 발명은 엔코더 측의 버퍼 출력을 일정하게 제어할 수 있는 이점이 있으므로 화질 개선을 꾀할 수 있다.As described above, the present invention has an advantage in that the buffer output on the encoder side can be constantly controlled, thereby improving image quality.

Claims (3)

영상데이터를 이산여현변환하는 이상여현변환기와, 상기 이산여현변환기를 통해 변환된 영상데이터를 양자화하는 양자화기를 구비한 디지탈 버퍼 제어 장치에 있어서, 코딩된 영상데이터를 메모리 영역상에 저장 및 출력하기 위한 버퍼와, 상기 버퍼의 영상데이터 저장상태를 검사하여 그 저장상태가 제1구간에 해당 할 경우 스레쉬홀드 모드로 판정하고, 제2구간에 해당할 경우 강제신규화 모드로 판정하고, 제3구간에 해당할 경우 정상 모드로 판정하고, 제4구간에 해당할 경우 스탑모드로 판정하는 판정수단과, 상기 판정수단이 판정한 모드를 입력하여 그 판정한 모드에 미리 할당되어 있는 스레쉬 홀드값을 결정하여 상기 이산여현변환기로 출력하는 스레쉬홀드값 결정부와, 상기 판정수단이 판정한 모드를 입력하여 그 판정한 모드에 미리 할당되어 있는 양자화 스텝 사이즈를 결정하여 상기 양자화기로 출력하는 양자화 스텝사이즈 값 결정부로 구성됨을 특징으로 하는 디지탈 버퍼 제어장치.A digital buffer control device having an ideal cosine transform for discrete cosine transform and a quantizer for quantizing the video data converted through the discrete cosine transform, for storing and outputting coded image data in a memory area. Examine the buffer and the image data storage state of the buffer, and if the storage state corresponds to the first section, determine the threshold mode; if the second section corresponds to the forced newization mode, the third section Is determined to be the normal mode, and the stop means is determined to be the stop mode, the mode determined by the determination means is input, and the threshold hold value previously assigned to the determined mode is input. A threshold value determination unit for determining and outputting to the discrete cosine converter and a mode determined by the determination means, and is preassigned to the determined mode. And a quantization step size value determiner for determining a predetermined quantization step size and outputting the quantization step size to the quantizer. 제1항에 있어서, 상기 버퍼의 영상데이터 저장상태는 상기 버퍼의 라이트 어드레스에서 리드 어드레스를 감산하여 검출함을 특징으로 하는 디지탈 버퍼 제어장치.The digital buffer control apparatus according to claim 1, wherein the image data storage state of the buffer is detected by subtracting a read address from a write address of the buffer. 제2항에 있어서, 상기 판정 수단이 판정한 모드가 스레쉬 홀드 모드일 경우 상기 스레쉬 홀드 값은 0, 양자화 스텝값은 1로 미리 할당되어 있으며, 상기 판정 수단이 판정한 모드가 강제 신규화 모드일 경우 상기 스레쉬 홀드 값은 1, 양자화 스텝값은 1로 미리 할당되어 있으며, 상기 판정 수단이 판정한 모드가 정상 모드일 경우 상기 스레쉬 홀드값은 2, 양자화 스텝값은 2로 미리 할당되어 있으며, 상기 판정 수단이 판정한 모드가 스탑 모드일 경우 상기 스레쉬 홀드값은 3, 양자화 스텝값은 3으로 미리 할당되어 있음을 특징으로 하는 디지탈 버퍼 제어장치.3. The method according to claim 2, wherein when the mode determined by the determination means is a threshold hold mode, the threshold hold value is previously assigned to 0 and the quantization step value is 1, and the mode determined by the determination means is forcibly updated. In the case of the mode, the threshold hold value is pre-assigned to 1, and the quantization step value is preassigned to 1. When the mode determined by the determination means is the normal mode, the threshold hold value is 2 and the quantization step value is preassigned to 2. And the threshold hold value is 3 and the quantization step value is pre-assigned when the mode determined by the determination means is the stop mode.
KR1019920009689A 1992-06-04 1992-06-04 Digital apparatus for controlling buffer KR100238687B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920009689A KR100238687B1 (en) 1992-06-04 1992-06-04 Digital apparatus for controlling buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920009689A KR100238687B1 (en) 1992-06-04 1992-06-04 Digital apparatus for controlling buffer

Publications (2)

Publication Number Publication Date
KR940001729A KR940001729A (en) 1994-01-11
KR100238687B1 true KR100238687B1 (en) 2000-01-15

Family

ID=19334174

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920009689A KR100238687B1 (en) 1992-06-04 1992-06-04 Digital apparatus for controlling buffer

Country Status (1)

Country Link
KR (1) KR100238687B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0310486A (en) * 1989-06-07 1991-01-18 Matsushita Electric Ind Co Ltd Moving picture encoder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0310486A (en) * 1989-06-07 1991-01-18 Matsushita Electric Ind Co Ltd Moving picture encoder

Also Published As

Publication number Publication date
KR940001729A (en) 1994-01-11

Similar Documents

Publication Publication Date Title
AU650219B2 (en) Statistical multiplexer for a multichannel image compression system
KR100610520B1 (en) Video data encoder, video data encoding method, video data transmitter, and video data recording medium
EP0385654B1 (en) Highly efficient coding apparatus
US5805220A (en) System for transmitting a plurality of video programs simultaneously through a transmission channel
EP0475251B1 (en) Coding apparatus for digital image data
JP3814321B2 (en) Quantization parameter determination apparatus and method
EP0519962B1 (en) Digital image coding using a random scanning of image frames
EP0535960B1 (en) Coding signal processor
US5650782A (en) Variable length coder using two VLC tables
US5416604A (en) Image compression method for bit-fixation and the apparatus therefor
CA2039734C (en) Control system for encoding image
EP0945021B1 (en) Data efficient quantization table for a digital video signal processor
US5202770A (en) Picture coding apparatus including a coding controller for selecting coding between blocks and frames of image data
US5966181A (en) Video coding system with buffer control quantization step size
CN1308464A (en) Bit rate controlling method and device for video and audio coder
KR100238687B1 (en) Digital apparatus for controlling buffer
KR20030083109A (en) apparatus for transcoding bit rate
KR100338725B1 (en) Pictures coding method approximating coding bits to target coding bits and apparatus therefor
KR100522121B1 (en) MPEG encoder to limit DCT coefficient according to buffer status
KR100335435B1 (en) Compression coder and / or decoder of video signal and method thereof
JPH04322561A (en) Variable rate picture coding system
KR0128877B1 (en) Method for decision central value of quantizer in moving image ending system51 h 04 n 7/24
KR960003093B1 (en) Coder with information control
KR0183030B1 (en) Digital image signal data compression method
GB2313245A (en) Video signal encoder

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

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee