Claims (13)
인가된 영상정보를 소정 블록단위로 구성하고, 상기 구분된 블록의 정보를 이산여현변환방식에 의하여 변환부호화하여 출력된 변환계수를 가변길이로 압축부호화정보를 처리하는 디지털영상신호처리장치의 최적의 양자화값을 설정하기 위하여 영상정보압축정보량을 추정하기 위한 회로에 있어서; 상기 변환계수를 가산하여, 상기 블록당 허프만코드 워드길이의 합을 구하기 위한 허프만코드 워드길이 가산부; 상기 허프만코드 워드길이를 통하여 상기 블록당 상기 변환계수의 사각형모양지표(Zonal Index) 정보를 발생하기 위한 모양지표정보발생부; 상기 허프만코드워드길이가 산부와 모양지표정보발생부의 출력신호를 누적연산하여 매크로블럭당 테이터량의 총합을 구하고, 상기 총합을 소정의 기준양자화값과 비교하기 위한 비교부; 상기 비교부의 비교결과를 양자기의 값 순서대로 배열하고, 우선엔코더(Priority Encoder) 방식을 이용하여 최적의 양자기를 선택하여 상기 가변길이가 압축 부호화가 이루어지도록 출력하기 위한 양자화자표발생부를 포함함을 특징으로 하는 영상정보압축정보량추정제어 회로.Optimal digital image signal processing apparatus for processing compressed encoding information with variable length by converting the applied image information into predetermined block units and converting and encoding the information of the divided blocks by the discrete cosine transform method. A circuit for estimating a video information compression information amount to set a quantization value; A Huffman code word length adder for adding the Hfman code word lengths per block by adding the transform coefficients; A shape index information generation unit for generating rectangular index information of the conversion coefficient per block through the Huffman code word length; A comparison unit for accumulating the output signals of the Huffman codeword length unit and the shape index information generation unit to obtain a total amount of data per macroblock, and comparing the total with a predetermined reference quantization value; And a quantizer table generator for arranging the comparison results of the comparator in the order of the values of the quantizer, first outputting the variable length to be compressed by selecting an optimal quantizer using a Priority Encoder scheme. An image information compression information quantity estimation control circuit.
제1항에 있어서, 상기 허프만코드워드길이가산부는 상기 블록 단위로 상기 변환계수를 가산하는 가산기와, 상기 가산기의 출력신호와 상기 변환계수를 상기 변환계수가 AC냐 DC냐에 따라 선택적으로 출력시키기 위한 멀티플렉서와, 상기 멀티플렉서의 출력을 일시 저장하면서 저장된 신호는 상기 가산기의 다른 입력단으로 궤환하여 다음에 인가되는 상기 변환계수에 가산하기 위한 제1래치로 구성됨을 특징으로 하는 영상정보압축정보량추정제어 회로.The Huffman codeword length adder of claim 1, wherein the Huffman codeword length adder adds the transform coefficient to the block unit, and selectively outputs the output signal and the transform coefficient of the adder according to whether the transform coefficient is AC or DC. And a first latch for feeding back a multiplexer and a signal stored while temporarily storing the output of the multiplexer to another input terminal of the adder to add to the conversion coefficient applied next.
제2항에 있어서, 상기 허프만코드워드길이가 산부는 기준클럭신호를 카운팅하여 상기 제1래치출력신호와 함께 상기 비교부로 카운팅값을 출력하기 위한 제1카운터와, 상기 제1카운터의 출력을 카운트하여 상기 제1카운터와 같이 비교기로 출력하기 위한 제2카운터를 더 포함함을 특징으로 하는 영상정보압축정보량추정제어회로.3. The apparatus of claim 2, wherein the Huffman code word length-counting unit counts a reference clock signal and counts a first counter for outputting a counting value together with the first latch output signal to the comparator, and the output of the first counter. And a second counter for outputting to a comparator, such as the first counter.
제3항에 있어서, 상기 제1,2카운터는 상기 허프만코드워드길이 가산부의 1블럭당 합이 소정치 이상의 정보량을 초과함으로 발생되는 오버플로우신호를 상기 비교부로 동시에 전송함을 특징으로 하는 영상 정보압축정보량추정제어회로.The image information of claim 3, wherein the first and second counters simultaneously transmit an overflow signal generated by the Huffman codeword length adder to which the sum per block exceeds a predetermined amount of information. Compression information amount estimation control circuit.
제1항에 있어서, 상기 모양지표정보발생부의 사각형모양지표는 상기 변환계수의 1픽셀정보가 레벨0에 대한 코드길이가 아닌 영역에 한하여 어드레스발생기에서 제공되는 수평과 수직방향으로 할당된 소정비트로 설정된 최대블럭과 비교하여 그 결과값으로 설정됨을 특징으로 하는 영상 정보압축정보추정제어회로.The rectangular shape indicator of claim 1, wherein the rectangular shape index of the shape index information generating unit is set to predetermined bits allocated in the horizontal and vertical directions provided from the address generator only in a region in which 1 pixel information of the conversion coefficient is not a code length for level 0. An image information compression information estimation control circuit, characterized in that it is set as a result value in comparison with the maximum block.
제5항에 있어서, 상기 모양지표정보발생부는 어드레스발생기에서 출력되는 소정비트를 입력신호로 하고 최종 모양지표정보를 상기 비교부로 출력하기 위한 래치와, 상기 소정비트를 일측입력단에 인가하고 상기 래치의 출력을 다른 입력단에 인가하여 전입력과 현입력을 비교하기 위한 비교기와, 상기 변환계수 모두가 레벨0인 아닌 경루를 검출하기 위한 검출 소자와, 상기 검출소자의 출력과 비교기의 출력신호에 의하여 상기 래치 회로를 인에 이블하기 위한 게이트소자로 이루어짐을 특징으로 하는 영상 정보압축정보량추정제어회로.The method of claim 5, wherein the shape indicator information generation unit is a latch for outputting a predetermined bit output from the address generator as the input signal and the final shape indicator information to the comparison unit, and applying the predetermined bit to one side input terminal of the latch The comparator for applying the output to the other input terminal to compare the current input with the current input, the detection element for detecting the impairment of which the conversion coefficient is not all at level 0, and the output signal of the detection element and the output signal of the comparator. An image information compression information quantity estimation control circuit comprising a gate element for enabling a latch circuit.
제1항에 있어서, 상기 영상정보압축정보량추정제어회로는 상기 모양 지표정보발생부와 비교기사이에 상기래치회로에서 출력되는 모양지표 정보에 의하여 소정 비트의 양자화지표와 모양지표를 부가비트로 발생하는 부가비트발생부를 더 포함함을 특징으로 하는 영상정보압축 정보량주정제어회로.The image information compression information amount estimation control circuit is further configured to generate, as an additional bit, a quantization index and a shape index of a predetermined bit according to shape index information output from the latch circuit between the shape index information generating unit and the comparator. The image information compression information amount control circuit further comprises a bit generator.
제7항에 있어서, 상기 양자하지표와 모양지표는 상기 블록의 최소 정보량을 갖는 블록의 크기를 제공함을 특징으로 하는 영상정보압출 정보량추정제어회로.The image information compression information amount estimation control circuit according to claim 7, wherein the quantum base mark and the shape index provide a size of a block having a minimum amount of information of the block.
제1항에 있어서, 상기 비교부는 상기 허프만코드워드 길이 가산부의 출력신호와 상기 모양지표발생부의 출력신호를 상기 변환계수값이 AC냐 DC냐에 따라 선택적으로 출력하기 위한 멀티플렉서와, 상기 멀티플렉서에서 출력신호를 입력신호로 하여 초기화된 후 매트로블럭단위로 누적 연산을 수행하기 위한 가산기와, 상기 가산기의 출력을 일시 저장하고 출력신호를 상기 가산기의 다른 일측 입력단으로 피드백시키기 위한 래치와, 상기 래치의 출력과 소정의 양자와 기준값과 비교하여 검출된 테이터량과 크기를 비교하기 위한 비교기와, 상기 비교기의 출력이 임의의 블록에서 원하는 양자화값을 초과하게 되면 상기 매크로블럭 기간이 완료될때까지 상기 비교기의 출력을 유지하기 위한 제어부로 이루어짐을 특징으로 하는 영상정보압축정보추정제어회로.The multiplexer of claim 1, wherein the comparator is configured to selectively output an output signal of the Huffman codeword length adder and an output signal of the shape indicator generator according to whether the conversion coefficient is AC or DC, and an output signal from the multiplexer. An adder for performing a cumulative operation in units of macroblocks after initialization as an input signal, a latch for temporarily storing the output of the adder and feeding an output signal back to the other input terminal of the adder, and an output of the latch; A comparator for comparing the detected amount of data with a predetermined quantum and a reference value, and outputting the comparator until the macroblock period is completed if the output of the comparator exceeds a desired quantization value in an arbitrary block. Image information compression information estimator characterized by consisting of a control unit for maintaining Circuit.
제9항에 있어서, 상기 제어부는 비교기의 출력신호를 반전한 신호와 상기 가산기의 캐리출력신호를 논리합하기 위한 게이트소자와, 상기 게이트소자의 출력신호를 입력신호로 하여 카운트하고 그 출력을 궤환시켜 인에이블입력단에 인가하기 위한 카운터와, 상기 카운터의 출력을 반전시킨 신호와 상기 비교기의 출력을 부논리곱하기 위한 게이트로 이루어짐을 특징으로 하는 영상정보압축정보추정제어회로.10. The apparatus of claim 9, wherein the controller counts a gate device for performing a logical sum of the inverted output signal of the comparator and the carry output signal of the adder, counts the output signal of the gate device as an input signal, and returns the output signal. And a counter for applying to an enable input, a signal for inverting the output of the counter, and a gate for negative logic of the output of the comparator.
제1항에 있어서, 상기 양자화지표발생부는 상기 우선엔코더를 수행하기 위한 32×5엔코더를 포함함을 특징으로 하는 영상정보압축 정보량추정제어회로.The image information compression information quantity estimation control circuit according to claim 1, wherein the quantization index generator comprises a 32x5 encoder for performing the preferential encoder.
제1항에 있어서, 상기 영상정보압축정보산출제어회로는 상기 양자화지표발생부에서 출력되는 신호에 제어되어 모양지표발생부에서 발생되는 모양지표정보중 해당정보를 적응적 양자화기로 출력함을 특징으로 하는 영상정보량추정제어회로.The image information compression information calculation control circuit is controlled by a signal output from the quantization index generator to output the corresponding information among the shape index information generated from the shape index generator to the adaptive quantizer. Image information quantity estimation control circuit.
제12항에 있어서, 상기 모양지표발생부에서 발생되는 정보는 병렬로 발생됨을 특징으로 하는 영상정보압축정보량추정제어회로.The image information compression information amount estimation control circuit according to claim 12, wherein the information generated by the shape indicator generator is generated in parallel.
※ 참고사항: 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the original application.