[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.144,1.145
Michael Niedermayer CVS
michael
Thu Jul 14 23:57:26 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.406, 1.407 h261.c, 1.26, 1.27 h263dec.c, 1.168, 1.169 h264.c, 1.143, 1.144 mpeg12.c, 1.240, 1.241 mpegvideo.c, 1.485, 1.486 svq1.c, 1.56, 1.57 svq3.c, 1.27, 1.28
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.407, 1.408 adpcm.c, 1.27, 1.28 allcodecs.c, 1.107, 1.108
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv29932
Modified Files:
h264.c
Log Message:
more fine grained skip_frame
Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- h264.c 14 Jul 2005 21:39:35 -0000 1.144
+++ h264.c 14 Jul 2005 21:57:22 -0000 1.145
@@ -7267,7 +7267,11 @@
av_log(h->s.avctx, AV_LOG_ERROR, "decode_slice_header error\n");
break;
}
- if(h->redundant_pic_count==0 && s->hurry_up < 5 && avctx->skip_frame < AVDISCARD_ALL)
+ if(h->redundant_pic_count==0 && s->hurry_up < 5
+ && (avctx->skip_frame < AVDISCARD_NONREF || h->nal_ref_idc)
+ && (avctx->skip_frame < AVDISCARD_BIDIR || h->slice_type!=B_TYPE)
+ && (avctx->skip_frame < AVDISCARD_NONKEY || h->slice_type==I_TYPE)
+ && avctx->skip_frame < AVDISCARD_ALL)
decode_slice(h);
break;
case NAL_DPA:
@@ -7289,7 +7293,11 @@
h->inter_gb_ptr= &h->inter_gb;
if(h->redundant_pic_count==0 && h->intra_gb_ptr && s->data_partitioning
- && s->hurry_up < 5 && avctx->skip_frame < AVDISCARD_ALL)
+ && s->hurry_up < 5
+ && (avctx->skip_frame < AVDISCARD_NONREF || h->nal_ref_idc)
+ && (avctx->skip_frame < AVDISCARD_BIDIR || h->slice_type!=B_TYPE)
+ && (avctx->skip_frame < AVDISCARD_NONKEY || h->slice_type==I_TYPE)
+ && avctx->skip_frame < AVDISCARD_ALL)
decode_slice(h);
break;
case NAL_SEI:
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.406, 1.407 h261.c, 1.26, 1.27 h263dec.c, 1.168, 1.169 h264.c, 1.143, 1.144 mpeg12.c, 1.240, 1.241 mpegvideo.c, 1.485, 1.486 svq1.c, 1.56, 1.57 svq3.c, 1.27, 1.28
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.407, 1.408 adpcm.c, 1.27, 1.28 allcodecs.c, 1.107, 1.108
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list