comparison h264.c @ 3219:cf233efbcece libavcodec

10l in 1.199 (write_back_motion with B-pyramid + spatial)
author lorenm
date Sat, 25 Mar 2006 09:46:43 +0000
parents 06f98047ff26
children a224d9752912
comparison
equal deleted inserted replaced
3218:b2ffd9fb4153 3219:cf233efbcece
1420 MpegEncContext * const s = &h->s; 1420 MpegEncContext * const s = &h->s;
1421 const int b_xy = 4*s->mb_x + 4*s->mb_y*h->b_stride; 1421 const int b_xy = 4*s->mb_x + 4*s->mb_y*h->b_stride;
1422 const int b8_xy= 2*s->mb_x + 2*s->mb_y*h->b8_stride; 1422 const int b8_xy= 2*s->mb_x + 2*s->mb_y*h->b8_stride;
1423 int list; 1423 int list;
1424 1424
1425 if(!USES_LIST(mb_type, 0))
1426 fill_rectangle(&s->current_picture.ref_index[0][b8_xy], 2, 2, h->b8_stride, (uint8_t)LIST_NOT_USED, 1);
1427
1425 for(list=0; list<2; list++){ 1428 for(list=0; list<2; list++){
1426 int y; 1429 int y;
1427 if(!USES_LIST(mb_type, list)) 1430 if(!USES_LIST(mb_type, list))
1428 continue; 1431 continue;
1429 1432