Mercurial > libavcodec.hg
comparison motion_est.c @ 2834:fd5d7c732c6b libavcodec
kill a bunch of compiler warnings
author | mru |
---|---|
date | Sun, 14 Aug 2005 15:42:40 +0000 |
parents | c6ab4b91a5c5 |
children | 40765c51a7a9 |
comparison
equal
deleted
inserted
replaced
2833:1f117208d20f | 2834:fd5d7c732c6b |
---|---|
173 } | 173 } |
174 d = cmp_func(s, c->temp, src[0], stride, 16); | 174 d = cmp_func(s, c->temp, src[0], stride, 16); |
175 }else | 175 }else |
176 d= 256*256*256*32; | 176 d= 256*256*256*32; |
177 }else{ | 177 }else{ |
178 int uvdxy; | 178 int uvdxy; /* no, it might not be used uninitialized */ |
179 if(dxy){ | 179 if(dxy){ |
180 if(qpel){ | 180 if(qpel){ |
181 c->qpel_put[size][dxy](c->temp, ref[0] + x + y*stride, stride); //FIXME prototype (add h) | 181 c->qpel_put[size][dxy](c->temp, ref[0] + x + y*stride, stride); //FIXME prototype (add h) |
182 if(chroma){ | 182 if(chroma){ |
183 int cx= hx/2; | 183 int cx= hx/2; |
1561 //FIXME better f_code prediction (max mv & distance) | 1561 //FIXME better f_code prediction (max mv & distance) |
1562 //FIXME pointers | 1562 //FIXME pointers |
1563 MotionEstContext * const c= &s->me; | 1563 MotionEstContext * const c= &s->me; |
1564 uint8_t * const mv_penalty= c->mv_penalty[s->f_code] + MAX_MV; // f_code of the prev frame | 1564 uint8_t * const mv_penalty= c->mv_penalty[s->f_code] + MAX_MV; // f_code of the prev frame |
1565 int stride= c->stride; | 1565 int stride= c->stride; |
1566 int uvstride= c->uvstride; | |
1567 uint8_t *dest_y = c->scratchpad; | 1566 uint8_t *dest_y = c->scratchpad; |
1568 uint8_t *ptr; | 1567 uint8_t *ptr; |
1569 int dxy; | 1568 int dxy; |
1570 int src_x, src_y; | 1569 int src_x, src_y; |
1571 int fbmin; | 1570 int fbmin; |