changeset 849:a6ed9b34a650 libavcodec

* added dsp_mask * using frame_bits for wav bits_per_sample
author kabi
date Mon, 11 Nov 2002 09:24:15 +0000
parents c075abb7fb3c
children 806dad80d142
files avcodec.h
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Sun Nov 10 18:45:36 2002 +0000
+++ b/avcodec.h	Mon Nov 11 09:24:15 2002 +0000
@@ -5,8 +5,8 @@
 
 #define LIBAVCODEC_VERSION_INT 0x000406
 #define LIBAVCODEC_VERSION     "0.4.6"
-#define LIBAVCODEC_BUILD       4637
-#define LIBAVCODEC_BUILD_STR   "4637"
+#define LIBAVCODEC_BUILD       4638
+#define LIBAVCODEC_BUILD_STR   "4638"
 
 enum CodecID {
     CODEC_ID_NONE, 
@@ -408,7 +408,7 @@
     /**
      * number of bits used for the previously encoded frame
      * encoding: set by lavc
-     * decoding: unused
+     * decoding: - for audio - bits_per_sample
      */
     int frame_bits;
                  
@@ -752,20 +752,24 @@
      * encoding; unused
      * decoding: set by lavc
      */
-     int8_t *current_qscale_table;
+    int8_t *current_qscale_table;
     /**
      * QP table of the currently displayed frame
      * encoding; unused
      * decoding: set by lavc
      */
-     int8_t *display_qscale_table;
-     
+    int8_t *display_qscale_table;
     /**
      * force specific pict_type.
      * encoding; set by user (I/P/B_TYPE)
      * decoding: unused
      */
     int force_type;
+    /**
+     * dsp_mask could be used to disable unwanted
+     * CPU features (i.e. MMX, SSE. ...)
+     */
+     unsigned dsp_mask;
 } AVCodecContext;
 
 typedef struct AVCodec {