[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.432, 1.433 h264.c, 1.169, 1.170

Jindrich Makovicka CVS henry
Sun Dec 18 14:29:12 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv13229

Modified Files:
	avcodec.h h264.c 
Log Message:
new qscale type to distinguish H264

Index: avcodec.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/avcodec.h,v
retrieving revision 1.432
retrieving revision 1.433
diff -u -d -r1.432 -r1.433
--- avcodec.h	18 Dec 2005 13:17:44 -0000	1.432
+++ avcodec.h	18 Dec 2005 13:29:09 -0000	1.433
@@ -648,6 +648,7 @@
 
 #define FF_QSCALE_TYPE_MPEG1	0
 #define FF_QSCALE_TYPE_MPEG2	1
+#define FF_QSCALE_TYPE_H264	2
 
 #define FF_BUFFER_TYPE_INTERNAL 1
 #define FF_BUFFER_TYPE_USER     2 ///< Direct rendering buffers (image is (de)allocated by user)

Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- h264.c	17 Dec 2005 18:14:27 -0000	1.169
+++ h264.c	18 Dec 2005 13:29:09 -0000	1.170
@@ -7552,6 +7552,7 @@
 
     if(!s->current_picture_ptr) return buf_index; //no frame
 
+    s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264;
     s->current_picture_ptr->pict_type= s->pict_type;
     s->current_picture_ptr->key_frame= s->pict_type == I_TYPE && h->nal_unit_type == NAL_IDR_SLICE;
 





More information about the ffmpeg-cvslog mailing list