[FFmpeg-cvslog] r12336 - in trunk/libavcodec: avcodec.h utils.c vc1.h

aurel subversion
Wed Mar 5 16:19:26 CET 2008


Author: aurel
Date: Wed Mar  5 16:19:26 2008
New Revision: 12336

Log:
define BI frame type along with other frame types

Modified:
   trunk/libavcodec/avcodec.h
   trunk/libavcodec/utils.c
   trunk/libavcodec/vc1.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	(original)
+++ trunk/libavcodec/avcodec.h	Wed Mar  5 16:19:26 2008
@@ -757,6 +757,7 @@ typedef struct AVPanScan{
 #define FF_S_TYPE  4 // S(GMC)-VOP MPEG4
 #define FF_SI_TYPE 5
 #define FF_SP_TYPE 6
+#define FF_BI_TYPE 7
 
 #define FF_BUFFER_HINTS_VALID    0x01 // Buffer hints value is meaningful (if 0 ignore).
 #define FF_BUFFER_HINTS_READABLE 0x02 // Codec will read from buffer.

Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c	(original)
+++ trunk/libavcodec/utils.c	Wed Mar  5 16:19:26 2008
@@ -1289,6 +1289,7 @@ char av_get_pict_type_char(int pict_type
     case FF_S_TYPE: return 'S';
     case FF_SI_TYPE:return 'i';
     case FF_SP_TYPE:return 'p';
+    case FF_BI_TYPE:return 'b';
     default:        return '?';
     }
 }

Modified: trunk/libavcodec/vc1.h
==============================================================================
--- trunk/libavcodec/vc1.h	(original)
+++ trunk/libavcodec/vc1.h	Wed Mar  5 16:19:26 2008
@@ -128,7 +128,7 @@ enum TransformTypes {
 //@}
 
 /** One more frame type */
-#define BI_TYPE 7
+#define BI_TYPE FF_BI_TYPE
 
 enum CodingSet {
     CS_HIGH_MOT_INTRA = 0,




More information about the ffmpeg-cvslog mailing list