Changeset 68 for libmpcdec/branches/zorg/src/decoder.h
- Timestamp:
- 10/06/06 17:14:05 (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
libmpcdec/branches/zorg/src/decoder.h
r63 r68 32 32 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 33 */ 34 /// \file decoder.h 35 #ifndef _MPCDEC_DECODER_H_ 36 #define _MPCDEC_DECODER_H_ 37 #ifdef WIN32 38 #pragma once 39 #endif 34 40 35 /// \file decoder.h 41 #include <mpcdec/reader.h> 36 42 37 #ifndef _mpcdec_decoder_h_ 38 #define _mpcdec_decoder_h_ 39 40 #include "huffman.h" 41 #include "math.h" 42 #include "mpcdec.h" 43 #include "reader.h" 44 #include "streaminfo.h" 45 46 #define MPC_SUPPORT_SV456 43 #ifdef __cplusplus 44 extern "C" { 45 #endif 47 46 48 47 #define SEEKING_TABLE_SIZE 256u … … 53 52 54 53 enum { 55 MPC_V_MEM = 2304,54 MPC_V_MEM = 2304, 56 55 MPC_DECODER_MEMSIZE = 16384, // overall buffer size 57 56 }; 58 57 59 typedef struct {58 typedef struct mpc_quantizer { 60 59 mpc_int32_t L [36]; 61 60 mpc_int32_t R [36]; 62 } QuantTyp;61 } mpc_quantizer; 63 62 64 typedefstruct mpc_decoder_t {63 struct mpc_decoder_t { 65 64 mpc_reader *r; 66 65 … … 101 100 mpc_int32_t SCF_Index_L [32] [3]; 102 101 mpc_int32_t SCF_Index_R [32] [3]; // holds scalefactor-indices 103 QuantTypQ [32]; // holds quantized samples102 mpc_quantizer Q [32]; // holds quantized samples 104 103 mpc_int32_t Res_L [32]; 105 104 mpc_int32_t Res_R [32]; // holds the chosen quantizer for each subband … … 110 109 mpc_bool_t MS_Flag[32]; // MS used? 111 110 #ifdef MPC_FIXED_POINT 112 unsigned charSCF_shift[256];111 mpc_uint8_t SCF_shift[256]; 113 112 #endif 114 113 … … 120 119 //@} 121 120 122 } mpc_decoder;121 }; 123 122 124 #endif // _mpc_decoder_h 123 #ifdef __cplusplus 124 } 125 #endif 126 #endif
Note: See TracChangeset
for help on using the changeset viewer.