mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Remove FIXMEs for cases that are disallowed by the spec.
Originally committed as revision 21669 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1c3ce2cd3e
commit
668fd14287
@ -172,7 +172,7 @@ void ff_h264_pred_direct_motion(H264Context * const h, int *mb_type){
|
|||||||
mb_type_col[1] = h->ref_list[1][0].mb_type[mb_xy + s->mb_stride];
|
mb_type_col[1] = h->ref_list[1][0].mb_type[mb_xy + s->mb_stride];
|
||||||
b8_stride *= 3;
|
b8_stride *= 3;
|
||||||
b4_stride *= 6;
|
b4_stride *= 6;
|
||||||
//FIXME IS_8X8(mb_type_col[0]) && !h->sps.direct_8x8_inference_flag
|
|
||||||
if( (mb_type_col[0] & MB_TYPE_16x16_OR_INTRA)
|
if( (mb_type_col[0] & MB_TYPE_16x16_OR_INTRA)
|
||||||
&& (mb_type_col[1] & MB_TYPE_16x16_OR_INTRA)
|
&& (mb_type_col[1] & MB_TYPE_16x16_OR_INTRA)
|
||||||
&& !is_b8x8){
|
&& !is_b8x8){
|
||||||
@ -357,7 +357,6 @@ single_col:
|
|||||||
ref_offset += 16;
|
ref_offset += 16;
|
||||||
|
|
||||||
if(IS_INTERLACED(*mb_type) != IS_INTERLACED(mb_type_col[0])){
|
if(IS_INTERLACED(*mb_type) != IS_INTERLACED(mb_type_col[0])){
|
||||||
/* FIXME assumes direct_8x8_inference == 1 */
|
|
||||||
int y_shift = 2*!IS_INTERLACED(*mb_type);
|
int y_shift = 2*!IS_INTERLACED(*mb_type);
|
||||||
assert(h->sps.direct_8x8_inference_flag);
|
assert(h->sps.direct_8x8_inference_flag);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user