Changeset 104 for libmpcdec/branches/zorg/src/decoder.h
- Timestamp:
- 11/08/06 00:20:07 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpcdec/branches/zorg/src/decoder.h
r81 r104 62 62 63 63 struct mpc_decoder_t { 64 mpc_reader *r;65 66 64 /// @name internal state variables 67 65 //@{ 66 mpc_uint32_t SampleRate; // Sample frequency 67 mpc_uint32_t StreamVersion; // version of bitstream 68 mpc_uint32_t Max_Band; 69 mpc_uint32_t MS_used; // MS-coding used ? 70 mpc_uint32_t TrueGaplessPresent; 71 mpc_uint32_t OverallFrames; // number of frames in the stream, 0 = unknow 72 mpc_uint32_t LastFrameSamples; // number of samples in the last frame 68 73 69 mpc_uint32_t dword; /// currently decoded 32bit-word 70 mpc_uint32_t pos; /// bit-position within dword 71 mpc_uint32_t Speicher[MPC_DECODER_MEMSIZE]; /// read-buffer 72 mpc_uint32_t Zaehler; /// actual index within read-buffer 73 74 mpc_uint32_t samples_to_skip; 75 76 mpc_uint32_t DecodedFrames; 77 mpc_uint32_t OverallFrames; 78 mpc_int32_t SampleRate; // Sample frequency 79 80 mpc_uint32_t StreamVersion; // version of bitstream 81 mpc_int32_t Max_Band; 82 mpc_uint32_t MPCHeaderPos; // AB: needed to support ID3v2 83 84 mpc_uint32_t FrameWasValid; 85 mpc_uint32_t MS_used; // MS-coding used ? 86 mpc_uint32_t TrueGaplessPresent; 87 88 mpc_uint32_t WordsRead; // counts amount of decoded dwords 89 mpc_uint32_t BlockBits; // block bits left to read 74 mpc_uint32_t samples_to_skip; 75 mpc_uint32_t DecodedFrames; 90 76 91 77 // randomizer state variables 92 78 mpc_uint32_t __r1; 93 79 mpc_uint32_t __r2; 94 95 // seeking96 mpc_uint32_t seeking_table[SEEKING_TABLE_SIZE];97 mpc_uint32_t seeking_pwr; // distance between 2 frames in seeking_table = 2^seeking_pwr98 mpc_uint32_t seeking_table_frames; // last frame in seaking table99 mpc_uint32_t seeking_window; // number of frames to look for scalefactors100 80 101 81 mpc_int32_t SCF_Index_L [32] [3]; … … 119 99 MPC_SAMPLE_FORMAT SCF[256]; ///< holds adapted scalefactors (for clipping prevention) 120 100 //@} 121 122 101 }; 123 102
Note: See TracChangeset
for help on using the changeset viewer.