00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _MC_PREDICTION_H_
00019 #define _MC_PREDICTION_H_
00020 #include "mbuffer.h"
00021
00022 extern void luma_prediction ( Macroblock* currMB, int, int, int, int, int, int[2], char *, short );
00023 extern void luma_prediction_bi ( Macroblock* currMB, int, int, int, int, int, int, short, short, int );
00024 extern void chroma_prediction ( Macroblock* currMB, int, int, int, int, int, int, int, int, short, short, short );
00025 extern void chroma_prediction_4x4 ( Macroblock* currMB, int, int, int, int, int, int, short, short, short);
00026
00027 extern void OneComponentChromaPrediction4x4_regenerate (Macroblock *currMB, imgpel* , int , int , short*** , StorablePicture *listX, int );
00028 extern void OneComponentChromaPrediction4x4_retrieve (Macroblock *currMB, imgpel* , int , int , short*** , StorablePicture *listX, int );
00029
00030 extern void intra_chroma_prediction (Macroblock *currMB, int*, int*, int*);
00031
00032 extern void compute_residue (imgpel **curImg, imgpel **mb_pred, int **mb_rres, int mb_x, int opix_x, int width, int height);
00033 extern void sample_reconstruct (imgpel **curImg, imgpel **mb_pred, int **mb_rres, int mb_x, int opix_x, int width, int height, int max_imgpel_value, int dq_bits);
00034 #endif
00035