Commit 8e4e27da authored by michael's avatar michael

Skip chroma handling when there is no coded chroma.

0.5% overall speedup for the cathedral sample.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16201 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7923b389
......@@ -2547,7 +2547,7 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple){
}
}
if(simple || !ENABLE_GRAY || !(s->flags&CODEC_FLAG_GRAY)){
if((simple || !ENABLE_GRAY || !(s->flags&CODEC_FLAG_GRAY)) && (h->cbp&0x30)){
uint8_t *dest[2] = {dest_cb, dest_cr};
if(transform_bypass){
idct_add = idct_dc_add = s->dsp.add_pixels4;
......
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