摘要:
An MPEG2 compliant digital video encoder system employs an I-frame video encoder module having a quantization unit and variable length encoding to encode coefficients of each macroblock of a picture. Bit regulation schemes are presented for constraining selected coefficients of a macroblock if the bit rate of two prior macroblocks in a row exceeded a bit rate limit, or if the bit rate of the current nonintra macroblock is greater than a predetermined megabits per second (Mbps) limit. Pattern constraining is implemented within the quantization unit. For nonintra pictures, the conventional variable length coding process is modified to generate a Fixed Coded Block Pattern (FCBP) header for each macroblock of the picture for outputting in the bitstream prior to coding of the coefficients. The FCBP signifies that each block of the macroblock contains at least one nonzero coefficient. The regulation scheme then ensures that each block of the macroblock includes at least one nonzero coefficient by setting one of the coefficients in an all zeros block to a nonzero value.
摘要:
Method and apparatus for calculating motion vectors. The method and apparatus calculate a motion trajectory value and initial base weights such that when x is the horizontal offset of the current macroblock from the left edge of the search window, and y is the vertical offset of the current macroblock from the top edge of the search window, and this pair of x and y values are used as the initial base weights, the motion estimation provides the best matched macroblock that has the shortest distance from the current macroblock. When the initial base weights are set to 0's, then the motion estimation will produce the first best matched macroblock encountered by the search circuitry. A scheme is also provided to set the initial base weights so that the best matched macroblock closest to the motion trajectory is selected for the motion estimation.
摘要:
System for reducing power consumption in MPEG-2 compliant video encoder circuitry employs logic for controlling first clock signals input to functional I, HSU and RSU blocks and functional sub-units performing specific tasks therein. Second clock signals are continuously input to a processing detection circuits requiring continuous clock inputs throughout video encode operations for a functional sub-unit. A trigger signal is asserted by the sub-unit itself or, an external processor, to indicate idle or active processing for that particular sub-unit. The combination of the second clock signals and receipt of the trigger signal enable the sub-unit to generate a sleep signal for that sub-unit which is input to a clock control circuit to either enable input of first clock signals to the functional sub-unit during active processing or, disable input of the first clock signal during idle, in-active processing periods, for as long as the trigger signal is asserted. There are a variety of video input conditions that may be detected which will enable generation of a trigger signal indicating idle processing for one or more functional sub-units, including, for example, detection of still input pictures, fade sequences and specification of high bitstream output rates.