Mercurial > libavcodec.hg
comparison h263dec.c @ 2792:0a8c847ad5e7 libavcodec
skip_idct
skip_frame
skip_loop_filter
author | michael |
---|---|
date | Thu, 14 Jul 2005 21:39:36 +0000 |
parents | 2b37bcabe608 |
children | f3bc39da0cc4 |
comparison
equal
deleted
inserted
replaced
2791:f191093dc8fe | 2792:0a8c847ad5e7 |
---|---|
671 | 671 |
672 /* skip B-frames if we don't have reference frames */ | 672 /* skip B-frames if we don't have reference frames */ |
673 if(s->last_picture_ptr==NULL && (s->pict_type==B_TYPE || s->dropable)) return get_consumed_bytes(s, buf_size); | 673 if(s->last_picture_ptr==NULL && (s->pict_type==B_TYPE || s->dropable)) return get_consumed_bytes(s, buf_size); |
674 /* skip b frames if we are in a hurry */ | 674 /* skip b frames if we are in a hurry */ |
675 if(avctx->hurry_up && s->pict_type==B_TYPE) return get_consumed_bytes(s, buf_size); | 675 if(avctx->hurry_up && s->pict_type==B_TYPE) return get_consumed_bytes(s, buf_size); |
676 if( (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==B_TYPE) | |
677 || (avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=I_TYPE) | |
678 || avctx->skip_frame >= AVDISCARD_ALL) | |
679 return get_consumed_bytes(s, buf_size); | |
676 /* skip everything if we are in a hurry>=5 */ | 680 /* skip everything if we are in a hurry>=5 */ |
677 if(avctx->hurry_up>=5) return get_consumed_bytes(s, buf_size); | 681 if(avctx->hurry_up>=5) return get_consumed_bytes(s, buf_size); |
678 | 682 |
679 if(s->next_p_frame_damaged){ | 683 if(s->next_p_frame_damaged){ |
680 if(s->pict_type==B_TYPE) | 684 if(s->pict_type==B_TYPE) |