Method and apparatus for encoding moving picture, method and apparatus for decoding moving picture, applying adaptively an optimal prediction mode

The present invention, by the prediction optimal for the current block of each of the color components for each macroblock of the color components of the image based on the characteristics of a given image related to a method and apparatus for decoding a method for encoding a video and an apparatus, video select a mode, and the current generation of a predictive image for the image according to the prediction mode, and the like described using a prediction image for performing a coding of moving pictures, adapting the optimum prediction mode to the color component of each macroblock enemy by applying to it it is possible to increase the efficiency of video coding and decoding.