Patent ID: 8824562

Claim:
A video encoding apparatus for encoding an image using a plurality of color formats, the apparatus comprising: a luminance component encoder configured to encode a luminance component block of a current block of the image; a color format selector configured to select a color format among the plurality of color formats; a chrominance component encoder configured to encode a chrominance component block of the current block according to the selected color format; and a bitstream output unit configured to generate a bitstream including the encoded luminance component block, the encoded chrominance component block, and information on the selected color format, wherein the color format selector is configured to down-sample the chrominance component block, up-sample the down-sampled chrominance component block, and select the color format among the plurality of color formats based on a sum of absolute differences (SAD) of at least two chrominance component blocks, wherein the at least two chrominance component blocks include the chrominance component block and the up-sampled chrominance component block.