00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _MD_COMMON_H_
00019 #define _MD_COMMON_H_
00020 #include "mv_search.h"
00021 #include "me_distortion.h"
00022
00023 extern void SetMotionVectorsMBPSlice (Macroblock* currMB, PicMotionParams *motion);
00024 extern void SetMotionVectorsMBBSlice (Macroblock* currMB, PicMotionParams *motion);
00025 extern void SetMotionVectorsMBISlice (Macroblock* currMB, PicMotionParams *motion);
00026 extern void copy_image_data (imgpel **imgBuf1, imgpel **imgBuf2, int off1, int off2, int width, int height);
00027 extern void copy_image_data_16x16 (imgpel **imgBuf1, imgpel **imgBuf2, int off1, int off2);
00028 extern void copy_image_data_8x8 (imgpel **imgBuf1, imgpel **imgBuf2, int off1, int off2);
00029 extern void copy_image_data_4x4 (imgpel **imgBuf1, imgpel **imgBuf2, int off1, int off2);
00030 extern void ResetRD8x8Data (ImageParameters *p_Img, RD_8x8DATA *rd_data);
00031 extern void SetChromaPredMode (Macroblock *currMB, RD_PARAMS enc_mb, int *mb_available, char chroma_pred_mode_range[2]);
00032 #endif
00033