diff avcodec.h @ 706:e65798d228ea libavcodec

idct permutation cleanup, idct can be selected per context now fixing some threadunsafe code
author michaelni
date Sun, 29 Sep 2002 22:44:22 +0000
parents 65f9e32225ba
children e74a563eb643
line wrap: on
line diff
--- a/avcodec.h	Sun Sep 29 15:14:28 2002 +0000
+++ b/avcodec.h	Sun Sep 29 22:44:22 2002 +0000
@@ -5,8 +5,8 @@
 
 #define LIBAVCODEC_VERSION_INT 0x000406
 #define LIBAVCODEC_VERSION     "0.4.6"
-#define LIBAVCODEC_BUILD       4628
-#define LIBAVCODEC_BUILD_STR   "4628"
+#define LIBAVCODEC_BUILD       4629
+#define LIBAVCODEC_BUILD_STR   "4629"
 
 enum CodecID {
     CODEC_ID_NONE, 
@@ -684,6 +684,21 @@
      */
     int fourcc;
 
+    /**
+     * idct algorithm, see FF_IDCT_* below
+     * encoding: set by user
+     * decoding: set by user
+     */
+    int idct_algo;
+#define FF_IDCT_AUTO         0
+#define FF_IDCT_INT          1
+#define FF_IDCT_SIMPLE       2
+#define FF_IDCT_SIMPLEMMX    3
+#define FF_IDCT_LIBMPEG2MMX  4
+#define FF_IDCT_PS2          5
+#define FF_IDCT_MLIB         6
+#define FF_IDCT_ARM          7
+
     //FIXME this should be reordered after kabis API is finished ...
     //TODO kill kabi
     /*