conformance.h
资源名称:chapter15.rar [点击查看]
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:1k
源码类别:
Audio
开发平台:
Visual C++
- /*!
- ************************************************************************
- * file conformance.h
- *
- * brief
- * Level & Profile Related definitions
- *
- * author
- * Alexis Michael Tourapis <alexismt@ieee.org> n
- *
- ************************************************************************
- */
- #ifndef _CONFORMANCE_H_
- #define _CONFORMANCE_H_
- // Vertical MV Limits (integer/halfpel/quarterpel)
- // Currently only Integer Pel restrictions are used,
- // since the way values are specified
- // (i.e. mvlowbound = (levelmvlowbound + 1) and the way
- // Subpel ME is performed, subpel will always be within range.
- extern const int LEVELMVLIMIT[17][6];
- void ProfileCheck(void);
- void LevelCheck(void);
- void update_mv_limits(ImageParameters *img, byte is_field);
- void clip_mv_range(ImageParameters *img, int search_range, short mv[2], int res);
- int out_of_bounds_mvs(ImageParameters *img, short mv[2], int res);
- #endif