* added dsp_mask

* using frame_bits for wav bits_per_sample

Originally committed as revision 1190 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Zdenek Kabelac 22 years ago
parent 1101abfe77
commit 8350df9704
  1. 12
      libavcodec/avcodec.h

@ -5,8 +5,8 @@
#define LIBAVCODEC_VERSION_INT 0x000406 #define LIBAVCODEC_VERSION_INT 0x000406
#define LIBAVCODEC_VERSION "0.4.6" #define LIBAVCODEC_VERSION "0.4.6"
#define LIBAVCODEC_BUILD 4637 #define LIBAVCODEC_BUILD 4638
#define LIBAVCODEC_BUILD_STR "4637" #define LIBAVCODEC_BUILD_STR "4638"
enum CodecID { enum CodecID {
CODEC_ID_NONE, CODEC_ID_NONE,
@ -408,7 +408,7 @@ typedef struct AVCodecContext {
/** /**
* number of bits used for the previously encoded frame * number of bits used for the previously encoded frame
* encoding: set by lavc * encoding: set by lavc
* decoding: unused * decoding: - for audio - bits_per_sample
*/ */
int frame_bits; int frame_bits;
@ -759,13 +759,17 @@ typedef struct AVCodecContext {
* decoding: set by lavc * decoding: set by lavc
*/ */
int8_t *display_qscale_table; int8_t *display_qscale_table;
/** /**
* force specific pict_type. * force specific pict_type.
* encoding; set by user (I/P/B_TYPE) * encoding; set by user (I/P/B_TYPE)
* decoding: unused * decoding: unused
*/ */
int force_type; int force_type;
/**
* dsp_mask could be used to disable unwanted
* CPU features (i.e. MMX, SSE. ...)
*/
unsigned dsp_mask;
} AVCodecContext; } AVCodecContext;
typedef struct AVCodec { typedef struct AVCodec {

Loading…
Cancel
Save