Mercurial > libavcodec.hg
comparison avcodec.h @ 783:b6eefd714bf3 libavcodec
added wma decoder
author | bellard |
---|---|
date | Mon, 28 Oct 2002 00:48:55 +0000 |
parents | d4cc92144266 |
children | 08423289ec57 |
comparison
equal
deleted
inserted
replaced
782:dd7d5748d064 | 783:b6eefd714bf3 |
---|---|
28 CODEC_ID_H263P, | 28 CODEC_ID_H263P, |
29 CODEC_ID_H263I, | 29 CODEC_ID_H263I, |
30 CODEC_ID_SVQ1, | 30 CODEC_ID_SVQ1, |
31 CODEC_ID_DVVIDEO, | 31 CODEC_ID_DVVIDEO, |
32 CODEC_ID_DVAUDIO, | 32 CODEC_ID_DVAUDIO, |
33 CODEC_ID_WMAV1, | |
34 CODEC_ID_WMAV2, | |
33 | 35 |
34 /* various pcm "codecs" */ | 36 /* various pcm "codecs" */ |
35 CODEC_ID_PCM_S16LE, | 37 CODEC_ID_PCM_S16LE, |
36 CODEC_ID_PCM_S16BE, | 38 CODEC_ID_PCM_S16BE, |
37 CODEC_ID_PCM_U16LE, | 39 CODEC_ID_PCM_U16LE, |
72 enum SampleFormat { | 74 enum SampleFormat { |
73 SAMPLE_FMT_S16 = 0, /* signed 16 bits */ | 75 SAMPLE_FMT_S16 = 0, /* signed 16 bits */ |
74 }; | 76 }; |
75 | 77 |
76 /* in bytes */ | 78 /* in bytes */ |
77 #define AVCODEC_MAX_AUDIO_FRAME_SIZE 18432 | 79 #define AVCODEC_MAX_AUDIO_FRAME_SIZE 131072 |
78 | 80 |
79 /* motion estimation type, EPZS by default */ | 81 /* motion estimation type, EPZS by default */ |
80 enum Motion_Est_ID { | 82 enum Motion_Est_ID { |
81 ME_ZERO = 1, | 83 ME_ZERO = 1, |
82 ME_FULL, | 84 ME_FULL, |
524 * encoding: unused | 526 * encoding: unused |
525 * decoding: set by user | 527 * decoding: set by user |
526 */ | 528 */ |
527 int dr_ip_buffer_count; | 529 int dr_ip_buffer_count; |
528 | 530 |
529 int block_align; /* currently only for adpcm codec in wav/avi */ | 531 int block_align; /* used by some WAV based audio codecs */ |
530 | 532 |
531 int parse_only; /* decoding only: if true, only parsing is done | 533 int parse_only; /* decoding only: if true, only parsing is done |
532 (function avcodec_parse_frame()). The frame | 534 (function avcodec_parse_frame()). The frame |
533 data is returned. Only MPEG codecs support this now. */ | 535 data is returned. Only MPEG codecs support this now. */ |
534 | 536 |
833 extern AVCodec h263i_decoder; | 835 extern AVCodec h263i_decoder; |
834 extern AVCodec rv10_decoder; | 836 extern AVCodec rv10_decoder; |
835 extern AVCodec svq1_decoder; | 837 extern AVCodec svq1_decoder; |
836 extern AVCodec dvvideo_decoder; | 838 extern AVCodec dvvideo_decoder; |
837 extern AVCodec dvaudio_decoder; | 839 extern AVCodec dvaudio_decoder; |
840 extern AVCodec wmav1_decoder; | |
841 extern AVCodec wmav2_decoder; | |
838 extern AVCodec mjpeg_decoder; | 842 extern AVCodec mjpeg_decoder; |
839 extern AVCodec mp2_decoder; | 843 extern AVCodec mp2_decoder; |
840 extern AVCodec mp3_decoder; | 844 extern AVCodec mp3_decoder; |
841 | 845 |
842 /* pcm codecs */ | 846 /* pcm codecs */ |