Patent ID: 7903731
Filing Date: 2011-03-08
Classification: H04N

Abstract:
1. A method of estimating an output macroblock mode for video transcoding input macroblocks to an output macroblock, comprising: determining a spatial weight based on sizes of overlapping areas of each of the input macroblocks with a correlation area that is correlated with the output macroblock; determining a discrete cosine transform (DCT) weight based on a number of zero DCT coefficients of each of the input macroblocks that overlap the correlation area; and estimating the output macroblock mode based on the spatial weight and the DCT weight, wherein estimating the output macroblock mode comprises: estimating an intra/inter mode of the output macroblock based on the spatial weight and the DCT weight; estimating a frame/field mode of the output macroblock based on the spatial weight and the DCT weight; and estimating a motion prediction mode based on the spatial weight, and wherein estimating an intra/inter mode of the output macroblock comprises: determining a significance for each of the input macroblocks that overlap the correlation area; summing the significances for a first group of the input macroblocks that have the same intra/inter mode; and selecting an intra/inter mode of the first group of the input macroblocks having the largest sum of the significances of the first group as the inter/inter mode of the output macroblock, and wherein estimating a frame/field mode of the output macroblock comprises: summing the significances for a second group of the input macroblocks having the same frame/field mode; and selecting a frame/field mode of the second group of the input macroblocks that have the largest sum of the significances of the second group as the frame/field mode of the output macroblock, wherein the significances are substantially proportional to the spatial weight and the DCT weight of each of the input macroblocks that overlap the correlation area.