Mercurial > libavcodec.hg
comparison motion_est.c @ 4318:ad27265d0c15 libavcodec
i think this if() is useless lets abuse our users to test this ;)
author | michael |
---|---|
date | Thu, 21 Dec 2006 15:21:44 +0000 |
parents | 5a2ee0bc2739 |
children | 8e11023556c3 |
comparison
equal
deleted
inserted
replaced
4317:5a2ee0bc2739 | 4318:ad27265d0c15 |
---|---|
117 uint8_t * const * const ref= c->ref[ref_index]; | 117 uint8_t * const * const ref= c->ref[ref_index]; |
118 uint8_t * const * const src= c->src[src_index]; | 118 uint8_t * const * const src= c->src[src_index]; |
119 int d; | 119 int d; |
120 //FIXME check chroma 4mv, (no crashes ...) | 120 //FIXME check chroma 4mv, (no crashes ...) |
121 if(flags&FLAG_DIRECT){ | 121 if(flags&FLAG_DIRECT){ |
122 assert(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)); | |
122 if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){ | 123 if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){ |
123 const int time_pp= s->pp_time; | 124 const int time_pp= s->pp_time; |
124 const int time_pb= s->pb_time; | 125 const int time_pb= s->pb_time; |
125 const int mask= 2*qpel+1; | 126 const int mask= 2*qpel+1; |
126 if(s->mv_type==MV_TYPE_8X8){ | 127 if(s->mv_type==MV_TYPE_8X8){ |