Mercurial > libavcodec.hg
comparison avcodec.h @ 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 | ade627a74709 |
children | 058194d7ade6 |
comparison
equal
deleted
inserted
replaced
848:c075abb7fb3c | 849:a6ed9b34a650 |
---|---|
3 | 3 |
4 #include "common.h" | 4 #include "common.h" |
5 | 5 |
6 #define LIBAVCODEC_VERSION_INT 0x000406 | 6 #define LIBAVCODEC_VERSION_INT 0x000406 |
7 #define LIBAVCODEC_VERSION "0.4.6" | 7 #define LIBAVCODEC_VERSION "0.4.6" |
8 #define LIBAVCODEC_BUILD 4637 | 8 #define LIBAVCODEC_BUILD 4638 |
9 #define LIBAVCODEC_BUILD_STR "4637" | 9 #define LIBAVCODEC_BUILD_STR "4638" |
10 | 10 |
11 enum CodecID { | 11 enum CodecID { |
12 CODEC_ID_NONE, | 12 CODEC_ID_NONE, |
13 CODEC_ID_MPEG1VIDEO, | 13 CODEC_ID_MPEG1VIDEO, |
14 CODEC_ID_H263, | 14 CODEC_ID_H263, |
406 int misc_bits; | 406 int misc_bits; |
407 | 407 |
408 /** | 408 /** |
409 * number of bits used for the previously encoded frame | 409 * number of bits used for the previously encoded frame |
410 * encoding: set by lavc | 410 * encoding: set by lavc |
411 * decoding: unused | 411 * decoding: - for audio - bits_per_sample |
412 */ | 412 */ |
413 int frame_bits; | 413 int frame_bits; |
414 | 414 |
415 /** | 415 /** |
416 * private data of the user, can be used to carry app specific stuff | 416 * private data of the user, can be used to carry app specific stuff |
750 /** | 750 /** |
751 * QP table of the currently decoded frame | 751 * QP table of the currently decoded frame |
752 * encoding; unused | 752 * encoding; unused |
753 * decoding: set by lavc | 753 * decoding: set by lavc |
754 */ | 754 */ |
755 int8_t *current_qscale_table; | 755 int8_t *current_qscale_table; |
756 /** | 756 /** |
757 * QP table of the currently displayed frame | 757 * QP table of the currently displayed frame |
758 * encoding; unused | 758 * encoding; unused |
759 * decoding: set by lavc | 759 * decoding: set by lavc |
760 */ | 760 */ |
761 int8_t *display_qscale_table; | 761 int8_t *display_qscale_table; |
762 | |
763 /** | 762 /** |
764 * force specific pict_type. | 763 * force specific pict_type. |
765 * encoding; set by user (I/P/B_TYPE) | 764 * encoding; set by user (I/P/B_TYPE) |
766 * decoding: unused | 765 * decoding: unused |
767 */ | 766 */ |
768 int force_type; | 767 int force_type; |
768 /** | |
769 * dsp_mask could be used to disable unwanted | |
770 * CPU features (i.e. MMX, SSE. ...) | |
771 */ | |
772 unsigned dsp_mask; | |
769 } AVCodecContext; | 773 } AVCodecContext; |
770 | 774 |
771 typedef struct AVCodec { | 775 typedef struct AVCodec { |
772 char *name; | 776 char *name; |
773 int type; | 777 int type; |