Mercurial > libavcodec.hg
comparison h264_direct.c @ 11084:6e564ab180d1 libavcodec
Add assert(sps.direct_8x8_inference_flag) to FIXME comment.
author | michael |
---|---|
date | Sun, 07 Feb 2010 01:14:58 +0000 |
parents | a270b4c67089 |
children | 27b5a2bd1dfe |
comparison
equal
deleted
inserted
replaced
11083:a270b4c67089 | 11084:6e564ab180d1 |
---|---|
350 ref_offset += 16; | 350 ref_offset += 16; |
351 | 351 |
352 if(IS_INTERLACED(*mb_type) != IS_INTERLACED(mb_type_col[0])){ | 352 if(IS_INTERLACED(*mb_type) != IS_INTERLACED(mb_type_col[0])){ |
353 /* FIXME assumes direct_8x8_inference == 1 */ | 353 /* FIXME assumes direct_8x8_inference == 1 */ |
354 int y_shift = 2*!IS_INTERLACED(*mb_type); | 354 int y_shift = 2*!IS_INTERLACED(*mb_type); |
355 assert(h->sps.direct_8x8_inference_flag); | |
355 | 356 |
356 for(i8=0; i8<4; i8++){ | 357 for(i8=0; i8<4; i8++){ |
357 const int x8 = i8&1; | 358 const int x8 = i8&1; |
358 const int y8 = i8>>1; | 359 const int y8 = i8>>1; |
359 int ref0, scale; | 360 int ref0, scale; |