Changeset 185
- Timestamp:
- 12/23/06 13:38:05 (18 years ago)
- Location:
- libmpc/branches/r2d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/common/huffman.c
r161 r185 103 103 static void _Huffman_MakeCodes(huff_sym_t * sym, unsigned int num_symbols) 104 104 { 105 unsigned int code = 0 ;106 int i,bits;105 unsigned int code = 0, i; 106 int bits; 107 107 108 108 qsort(sym, num_symbols, sizeof(huff_sym_t), … … 185 185 } 186 186 187 #ifdef __GNUC__ 188 187 189 /** 188 190 * Print the huffman tables … … 198 200 void _Huffman_PrintCodes(huff_sym_t * sym, unsigned int num_symbols, int print_type, int offset) 199 201 { 200 unsigned int total_cnt = 0, total_size = 0, optim_size = 0 ;201 int i,packs[4];202 unsigned int total_cnt = 0, total_size = 0, optim_size = 0, i; 203 int packs[4]; 202 204 203 205 switch( print_type ) { … … 274 276 } 275 277 276 277 278 #endif 279 280 -
libmpc/branches/r2d/include/mpcdec/mpcdec.h
r161 r185 57 57 58 58 typedef struct mpc_frame_info_t { 59 mpc_uint32_t samples; /// number of samples in the frame 59 mpc_uint32_t samples; /// number of samples in the frame (counting once for multiple channels) 60 60 mpc_int32_t bits; /// number of bits consumed by this frame (-1) if end of stream 61 MPC_SAMPLE_FORMAT * buffer; /// frame samples buffer (size = samples * channels * sizeof(MPC_SAMPLE_FORMAT) 61 MPC_SAMPLE_FORMAT * buffer; /// frame samples buffer (size = samples * channels * sizeof(MPC_SAMPLE_FORMAT)) 62 62 mpc_bool_t is_key_frame; /// 1 if this frame is a key frame (first in block) 0 else. Set by the demuxer. 63 63 } mpc_frame_info;
Note: See TracChangeset
for help on using the changeset viewer.