Mercurial > libavcodec.hg
comparison motion_est.c @ 4283:d6f83e2f8804 libavcodec
rename always_inline to av_always_inline and move to common.h
author | mru |
---|---|
date | Fri, 08 Dec 2006 00:35:08 +0000 |
parents | 9b74144471c5 |
children | ffa6f24a0c0f |
comparison
equal
deleted
inserted
replaced
4282:9d64f6eacc7b | 4283:d6f83e2f8804 |
---|---|
101 return ((c->avctx->flags&CODEC_FLAG_QPEL) ? FLAG_QPEL : 0) | 101 return ((c->avctx->flags&CODEC_FLAG_QPEL) ? FLAG_QPEL : 0) |
102 + (direct ? FLAG_DIRECT : 0) | 102 + (direct ? FLAG_DIRECT : 0) |
103 + (chroma ? FLAG_CHROMA : 0); | 103 + (chroma ? FLAG_CHROMA : 0); |
104 } | 104 } |
105 | 105 |
106 static always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby, | 106 static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby, |
107 const int size, const int h, int ref_index, int src_index, | 107 const int size, const int h, int ref_index, int src_index, |
108 me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags){ | 108 me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags){ |
109 MotionEstContext * const c= &s->me; | 109 MotionEstContext * const c= &s->me; |
110 const int stride= c->stride; | 110 const int stride= c->stride; |
111 const int uvstride= c->uvstride; | 111 const int uvstride= c->uvstride; |