00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _CONFORMANCE_H_
00016 #define _CONFORMANCE_H_
00017
00018 extern void ProfileCheck (InputParameters *p_Inp);
00019 extern void LevelCheck (ImageParameters *p_Img, InputParameters *p_Inp);
00020 extern void update_mv_limits (ImageParameters *p_Img, InputParameters *p_Inp, byte is_field);
00021 extern void clip_mv_range (ImageParameters *p_Img, int search_range, MotionVector *mv, int res);
00022 extern int out_of_bounds_mvs (ImageParameters *p_Img, short mv[2]);
00023 extern void test_clip_mvs (ImageParameters *p_Img, short mv[2], Boolean write_mb);
00024 extern Boolean CheckPredictionParams(Macroblock *currMB, Block8x8Info *b8x8info, int mode);
00025
00026 extern unsigned int getMaxMBPS(unsigned int levelIdc);
00027 extern unsigned int getMinCR (unsigned int levelIdc);
00028 extern unsigned int getMaxBR (unsigned int levelIdc);
00029 extern unsigned int getMaxCPB (unsigned int levelIdc);
00030
00031 #endif
00032