changeset 378:7875553fc63b libavcodec

I was too lazy to be a hero ;)
author nickols_k
date Sun, 12 May 2002 15:30:10 +0000
parents 0d73175fbded
children 47c878305986
files avcodec.h
diffstat 1 files changed, 46 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Sun May 12 02:55:48 2002 +0000
+++ b/avcodec.h	Sun May 12 15:30:10 2002 +0000
@@ -230,6 +230,35 @@
     enum CodecType codec_type; /* see CODEC_TYPE_xxx */
     enum CodecID codec_id; /* see CODEC_ID_xxx */
     unsigned int codec_tag;  /* codec tag, only used if unknown codec */
+    /*
+	Note: Below are located reserved fields for further usage
+	It requires for ABI !!!
+	If you'll perform some changes then borrow new space from these fields
+	(void * can be safety replaced with struct * ;)
+	P L E A S E ! ! !
+	IMPORTANT: Never change order of already declared fields!!!
+    */
+    unsigned long long int
+	    ull_res0,ull_res1,ull_res2,ull_res3,ull_res4,ull_res5,
+	    ull_res6,ull_res7,ull_res8,ull_res9,ull_res10,ull_res11,ull_res12;
+    float
+	    flt_res0,flt_res1,flt_res2,flt_res3,flt_res4,flt_res5,
+	    flt_res6,flt_res7,flt_res8,flt_res9,flt_res10,flt_res11,flt_res12;
+    void
+	    *ptr_res0,*ptr_res1,*ptr_res2,*ptr_res3,*ptr_res4,*ptr_res5,
+	    *ptr_res6,*ptr_res7,*ptr_res8,*ptr_res9,*ptr_res10,*ptr_res11,*ptr_res12;
+    unsigned long int
+	    ul_res0,ul_res1,ul_res2,ul_res3,ul_res4,ul_res5,
+	    ul_res6,ul_res7,ul_res8,ul_res9,ul_res10,ul_res11,ul_res12;
+    unsigned int
+	    ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5,
+	    ui_res6,ui_res7,ui_res8,ui_res9,ui_res10,ui_res11,ui_res12;
+    unsigned short int
+	    us_res0,us_res1,us_res2,us_res3,us_res4,us_res5,
+	    us_res6,us_res7,us_res8,us_res9,us_res10,us_res11,us_res12;
+    unsigned char
+	    uc_res0,uc_res1,uc_res2,uc_res3,uc_res4,uc_res5,
+	    uc_res6,uc_res7,uc_res8,uc_res9,uc_res10,uc_res11,uc_res12;    
 } AVCodecContext;
 
 typedef struct AVCodec {
@@ -244,6 +273,23 @@
                   UINT8 *buf, int buf_size);
     int capabilities;
     struct AVCodec *next;
+    /*
+	Note: Below are located reserved fields for further usage
+	It requires for ABI !!!
+	If you'll perform some changes then borrow new space from these fields
+	(void * can be safety replaced with struct * ;)
+	P L E A S E ! ! !
+	IMPORTANT: Never change order of already declared fields!!!
+    */
+    unsigned long long int
+	    ull_res0,ull_res1,ull_res2,ull_res3,ull_res4,ull_res5,
+	    ull_res6,ull_res7,ull_res8,ull_res9,ull_res10,ull_res11,ull_res12;
+    float
+	    flt_res0,flt_res1,flt_res2,flt_res3,flt_res4,flt_res5,
+	    flt_res6,flt_res7,flt_res8,flt_res9,flt_res10,flt_res11,flt_res12;
+    void
+	    *ptr_res0,*ptr_res1,*ptr_res2,*ptr_res3,*ptr_res4,*ptr_res5,
+	    *ptr_res6,*ptr_res7,*ptr_res8,*ptr_res9,*ptr_res10,*ptr_res11,*ptr_res12;
 } AVCodec;
 
 /* three components are given, that's all */