OSDN Git Service

define BI frame type along with other frame types
authorAurelien Jacobs <aurel@gnuage.org>
Wed, 5 Mar 2008 15:19:26 +0000 (15:19 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Wed, 5 Mar 2008 15:19:26 +0000 (15:19 +0000)
Originally committed as revision 12336 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h
libavcodec/utils.c
libavcodec/vc1.h

index 32dd4da..de94d8e 100644 (file)
@@ -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.
index 26f776e..4aaedb1 100644 (file)
@@ -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 '?';
     }
 }
index 12f3816..3e92d6c 100644 (file)
@@ -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,