aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-11-11 09:24:15 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-11-11 09:24:15 +0000
commit8350df97043bbfb2b50f0758238ac1aed8c0c82b (patch)
tree7a9fe20ca89f52413d7fdb91b1ef639615301679 /libavcodec/avcodec.h
parent1101abfe775b2efe82964064b68a84a4c81063dc (diff)
downloadffmpeg-8350df97043bbfb2b50f0758238ac1aed8c0c82b.tar.gz
* added dsp_mask
* using frame_bits for wav bits_per_sample Originally committed as revision 1190 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e2a9a83410..8e2fc3d589 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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 @@ typedef struct AVCodecContext {
/**
* 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 @@ typedef struct AVCodecContext {
* 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 {