Patent ID: 8411756

Claim:
A computerized method for generating a block mode conversion table for selecting transcoding block modes required for transcoding a sequence of input images, each input image comprising one or more input macroblocks of pixels encoded in a first format into a sequence of output images, each output image comprising one or more output macroblocks of pixels encoded in a second format, the method comprising: (a1) providing training images, each training image comprising one or more training macroblocks of pixels encoded in the first format; (b1) transcoding each training macroblock (MB) into a transcoded training MB encoded in the second format by using a codec device; and (c1) generating the block mode conversion table containing multi-tuples, each multi-tuple having a first tuple, a second tuple, and a third tuple, each said first tuple including a first training block mode for a sub-set of the training MBs encoded using the first training block mode, each said second tuple including a class identifier for the training MBs, identifying those MBs in the sub-set, whose residual information satisfies a predetermined set of constraints, and each said third tuple including a list of second training block modes used by the codec device in transcoding those training macroblocks in the sub-set that have the class identifier indicated in the corresponding said second tuple.