Abstract:
A method and an apparatus for generating a coded block pattern for highpass coefficients are provided. The method includes receiving a quantized highpass coefficient (HP), wherein the HP includes a macroblock data; dividing the macroblock into a plurality of blocks; performing lapped transform (LT) operations of two stages on the said block data, concurrently calculating a plurality of coded block patterns of the blocks corresponding to all possible HP prediction directions; performing a calculation to obtain selection information of the HP prediction directions according to lowpass coefficients (LPs) generated through LT operations of the two stages; selecting a corresponding coded block pattern among the said coded block patterns according to the above-mentioned selection information of the HP prediction directions and outputting the selected coded block pattern.
Abstract:
An entropy decoding circuit, an entropy decoding method, and an entropy decoding method using a pipeline manner are provided. The entropy decoding circuit includes a coefficient register unit, a first entropy decoder, a read/write control circuit, and a second entropy decoder. The first entropy decoder reads a first stream to be decoded to perform a first entropy decoding process thereupon and writes it to the coefficient register unit in an adaptive scan order through the read/write control circuit. The second entropy decoder reads a second stream to be decoded and performs a decoding process thereupon according to a normalization parameter and whether a normalized coefficient is zero or not. Meanwhile, the normalized coefficient in the coefficient register unit is read out in a fixed scan order through the read/write control circuit to complete the decoding process.
Abstract:
An entropy encoding circuit having two entropy encoders is provided. A first encoding procedure performs an adaptive scan on the encoding coefficient, and the second encoding procedure performs a fixed scan on the encoding coefficient. One of the entropy encoders receives a first encoding coefficient and performs the first encoding procedure on the first encoding coefficient to output a first encoded stream data. The other entropy encoder receives a second encoding coefficient and a normalization signal and performs the second encoding procedure on the second encoding coefficient according to the normalization signal to output a second encoded stream data. The entropy encoding circuit alternatively outputs the first encoded stream data and the second encoded stream data.
Abstract:
A method and an apparatus for generating a coded block pattern for highpass coefficients are provided. The method includes receiving a quantized highpass coefficient (HP), wherein the HP includes a macroblock data; dividing the macroblock into a plurality of blocks; performing lapped transform (LT) operations of two stages on the said block data, concurrently calculating a plurality of coded block patterns of the blocks corresponding to all possible HP prediction directions; performing a calculation to obtain selection information of the HP prediction directions according to lowpass coefficients (LPs) generated through LT operations of the two stages; selecting a corresponding coded block pattern among the said coded block patterns according to the above-mentioned selection information of the HP prediction directions and outputting the selected coded block pattern.
Abstract:
A picture decoder having a stream buffer, an H.264/AVC decoder, and a processor is provided. The stream buffer stores stream data. The H.264/AVC decoder decodes the stream data and performs an operation on a slice layer specified in the H.264/AVC standard to reorder reference pictures recorded in a reference picture list according to the stream data and generate a plurality of decoded pictures. The processor executes a program to perform an operation on a sequence layer specified in the H.264/AVC standard and mark the decoded pictures.