主权项 |
1. A transform size determination module for use in a video encoder that encodes a video signal, the transform size determination module comprising:
a transform size preprocessor configured to process residual data from a picture of the video signal to evaluate a plurality of transform block sizes and to generate candidate transform size data that indicates a selected non-null proper subset of the plurality of transform block sizes, wherein the transform size preprocessor generates the candidate transform size data to determine the selected non-null proper subset of the plurality of transform block sizes by sequentially evaluating ones of the plurality of transform block sizes in successive iterations based on the residual data from the picture, wherein each of the successive iterations includes: (a) evaluating one of the plurality of transform block sizes to determine whether block partitioning is selected; (b) when no block partitioning is selected for the one of the plurality of transform block sizes, terminating the sequentially evaluating, including the one of the plurality of transform block sizes in the selected non-null proper subset of the plurality of transform block sizes, while excluding smaller ones of the plurality of transform block sizes from the selected non-null proper subset of the plurality of transform block sizes; (c) when block partitioning is selected for the one of the plurality of transform block sizes, determine whether to include the one of the plurality of transform block sizes in the selected non-null proper subset of the plurality of transform block sizes; and (d) returning to step (a) to perform a next successive iteration on a next one of the plurality of transform block sizes; and a final transform size determination processor, coupled to the transform size preprocessor, generates final transform block size data that indicates a final transform block size, based on the candidate transform size data. |