|
|
@ -104,9 +104,6 @@ static int get_flags(MotionEstContext *c, int direct, int chroma){ |
|
|
|
+ (chroma ? FLAG_CHROMA : 0); |
|
|
|
+ (chroma ? FLAG_CHROMA : 0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*! \brief compares a block (either a full macroblock or a partition thereof)
|
|
|
|
|
|
|
|
against a proposed motion-compensated prediction of that block |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
static av_always_inline int cmp_direct_inline(MpegEncContext *s, const int x, const int y, const int subx, const int suby, |
|
|
|
static av_always_inline int cmp_direct_inline(MpegEncContext *s, const int x, const int y, const int subx, const int suby, |
|
|
|
const int size, const int h, int ref_index, int src_index, |
|
|
|
const int size, const int h, int ref_index, int src_index, |
|
|
|
me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, int qpel){ |
|
|
|
me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, int qpel){ |
|
|
@ -251,6 +248,9 @@ static int cmp_internal(MpegEncContext *s, const int x, const int y, const int s |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*! \brief compares a block (either a full macroblock or a partition thereof)
|
|
|
|
|
|
|
|
against a proposed motion-compensated prediction of that block |
|
|
|
|
|
|
|
*/ |
|
|
|
static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby, |
|
|
|
static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby, |
|
|
|
const int size, const int h, int ref_index, int src_index, |
|
|
|
const int size, const int h, int ref_index, int src_index, |
|
|
|
me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags){ |
|
|
|
me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags){ |
|
|
|