摘要:
The present invention is related to decoding of block wise coded video pictures in general purpose processors. It relates to implementing a de-blocking filter algorithm or the like in a SIMD environment, especially for processors with 128-bit vector registers. The SIMD concept is a method of improving performance in applications where highly repetitive operations need to be performed. Strictly speaking, SIMD is a technique of performing the same operation on multiple pieces of data simultaneously. The present invention exploits the parallelism of SIMD and the fact that register size fits perfectly to the macroblock size disclosed in the H.264 and MPEG-4 standards.
摘要:
A process for calculating run-and-level representations of quantized transform coefficients includes packing each quantized transform coefficients in a value interval (Max, Min) by setting all quantized transform coefficients greater than Max equal to Max, and all quantized transform coefficients less than Min equal to Min; reordering the quantized transform coefficients resulting in an array C of reordered quantized transform coefficients; masking C by generating an array M containing ones in positions corresponding to positions of C having non-zero values, and zeros in positions corresponding to positions of C having zero values; and for each position containing a one in M, generating a run and a level representation by setting the level value equal to an occurring value in a corresponding position C, and setting the run value equal to the number of proceeding positions relative to a current position in M since a previous occurrence of one in M.
摘要:
A method for calculating pixel values of interpolated pixel positions located between integer pixel positions in frames of a video picture by a predefined filter operation, the method including: storing the pixel values of the integer pixel position; determining to which of a number of predefined resolution formats the video picture is adapted; defining a fixed width (W) and fixed height value (H) for the frames corresponding to a resolution format determined by the determining; loading a first set of memory addresses for the memory of the video processing apparatus corresponding to a plurality of the pixel values of integer pixel positions; and executing a filter operation on the plurality of the pixel values of integer pixel positions and calculating a plurality of the pixel values of the interpolated pixel positions.