Commit 470fbb87 authored by iive's avatar iive

get rid of the branch prediction


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17261 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7e224330
...@@ -226,14 +226,10 @@ void ff_xvmc_decode_mb(MpegEncContext *s) ...@@ -226,14 +226,10 @@ void ff_xvmc_decode_mb(MpegEncContext *s)
//set correct field references //set correct field references
if (s->mv_type == MV_TYPE_FIELD || s->mv_type == MV_TYPE_16X8) { if (s->mv_type == MV_TYPE_FIELD || s->mv_type == MV_TYPE_16X8) {
if (s->field_select[0][0]) mv_block->motion_vertical_field_select |= s->field_select[0][0];
mv_block->motion_vertical_field_select |= 1; mv_block->motion_vertical_field_select |= s->field_select[1][0]<<1;
if (s->field_select[1][0]) mv_block->motion_vertical_field_select |= s->field_select[0][1]<<2;
mv_block->motion_vertical_field_select |= 2; mv_block->motion_vertical_field_select |= s->field_select[1][1]<<3;
if (s->field_select[0][1])
mv_block->motion_vertical_field_select |= 4;
if (s->field_select[1][1])
mv_block->motion_vertical_field_select |= 8;
} }
}//!intra }//!intra
//time to handle data blocks; //time to handle data blocks;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment