mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-02 05:56:46 +08:00
slightly faster decode_cabac_mb_mvd()
Originally committed as revision 6735 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -6003,8 +6003,7 @@ static int decode_cabac_mb_mvd( H264Context *h, int list, int n, int l ) {
|
|||||||
mvd += 1 << k;
|
mvd += 1 << k;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( get_cabac_bypass( &h->cabac ) ) return -mvd;
|
return get_cabac_bypass_sign( &h->cabac, -mvd );
|
||||||
else return mvd;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int inline get_cabac_cbf_ctx( H264Context *h, int cat, int idx ) {
|
static int inline get_cabac_cbf_ctx( H264Context *h, int cat, int idx ) {
|
||||||
|
Reference in New Issue
Block a user