00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _MC_PREDICTION_H_
00016 #define _MC_PREDICTION_H_
00017 #include "mbuffer.h"
00018
00019 void LumaPrediction ( Macroblock* currMB, int, int, int, int, int, int, int, short, short, short );
00020 void LumaPredictionBi ( Macroblock* currMB, int, int, int, int, int, int, short, short, int );
00021 void ChromaPrediction ( Macroblock* currMB, int, int, int, int, int, int, int, int, short, short, short );
00022 void ChromaPrediction4x4 ( Macroblock* currMB, int, int, int, int, int, int, short, short, short);
00023
00024
00025 void (*OneComponentChromaPrediction4x4) (imgpel* , int , int , short*** , StorablePicture *listX, int );
00026 void OneComponentChromaPrediction4x4_regenerate (imgpel* , int , int , short*** , StorablePicture *listX, int );
00027 void OneComponentChromaPrediction4x4_retrieve (imgpel* , int , int , short*** , StorablePicture *listX, int );
00028
00029 void IntraChromaPrediction ( Macroblock *currMB, int*, int*, int*);
00030 void IntraChromaRDDecision ( Macroblock *currMB, RD_PARAMS);
00031
00032 void ComputeResidue (imgpel **curImg, imgpel **mb_pred, int **mb_rres, int mb_y, int mb_x, int opix_y, int opix_x, int width, int height);
00033 void SampleReconstruct (imgpel **curImg, imgpel **mb_pred, int **mb_rres, int mb_y, int mb_x, int opix_y, int opix_x, int width, int height, int max_imgpel_value, int dq_bits);
00034 #endif
00035