Revision 8c3eba7c libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
3777 3777
            }
3778 3778

  
3779 3779
            /* skip dequant / idct if we are really late ;) */
3780
            if(s->hurry_up>1) return;
3780
            if(s->hurry_up>1) goto skip_idct;
3781
            if(s->avctx->skip_idct){
3782
                if(  (s->avctx->skip_idct >= AVDISCARD_NONREF && s->pict_type == B_TYPE)
3783
                   ||(s->avctx->skip_idct >= AVDISCARD_NONKEY && s->pict_type != I_TYPE)
3784
                   || s->avctx->skip_idct >= AVDISCARD_ALL)
3785
                    goto skip_idct;
3786
            }
3781 3787

  
3782 3788
            /* add dct residue */
3783 3789
            if(s->encoding || !(   s->h263_msmpeg4 || s->codec_id==CODEC_ID_MPEG1VIDEO || s->codec_id==CODEC_ID_MPEG2VIDEO
......
3863 3869
                }//gray
3864 3870
            }
3865 3871
        }
3872
skip_idct:
3866 3873
        if(!readable){
3867 3874
            s->dsp.put_pixels_tab[0][0](s->dest[0], dest_y ,   linesize,16);
3868 3875
            s->dsp.put_pixels_tab[s->chroma_x_shift][0](s->dest[1], dest_cb, uvlinesize,16 >> s->chroma_y_shift);

Also available in: Unified diff