Mercurial > libavcodec.hg
comparison ac3.h @ 6529:5542d0c04a55 libavcodec
using stream type in eac3 parser
author | bwolowiec |
---|---|
date | Mon, 24 Mar 2008 21:25:49 +0000 |
parents | 4f8fcb40bf2c |
children | b0d44aec1ec0 |
comparison
equal
deleted
inserted
replaced
6528:28d0e7dac45d | 6529:5542d0c04a55 |
---|---|
82 uint16_t crc1; | 82 uint16_t crc1; |
83 uint8_t sr_code; | 83 uint8_t sr_code; |
84 uint8_t bitstream_id; | 84 uint8_t bitstream_id; |
85 uint8_t channel_mode; | 85 uint8_t channel_mode; |
86 uint8_t lfe_on; | 86 uint8_t lfe_on; |
87 uint8_t stream_type; | |
87 /** @} */ | 88 /** @} */ |
88 | 89 |
89 /** @defgroup derived Derived values | 90 /** @defgroup derived Derived values |
90 * @{ | 91 * @{ |
91 */ | 92 */ |
95 uint8_t channels; | 96 uint8_t channels; |
96 uint16_t frame_size; | 97 uint16_t frame_size; |
97 /** @} */ | 98 /** @} */ |
98 } AC3HeaderInfo; | 99 } AC3HeaderInfo; |
99 | 100 |
101 typedef enum { | |
102 EAC3_STREAM_TYPE_INDEPENDENT = 0, | |
103 EAC3_STREAM_TYPE_DEPENDENT, | |
104 EAC3_STREAM_TYPE_AC3_CONVERT, | |
105 EAC3_STREAM_TYPE_RESERVED | |
106 } EAC3StreamType; | |
100 | 107 |
101 void ac3_common_init(void); | 108 void ac3_common_init(void); |
102 | 109 |
103 /** | 110 /** |
104 * Calculates the log power-spectral density of the input signal. | 111 * Calculates the log power-spectral density of the input signal. |