Changeset 78 for mppenc/branches/r2d/src/mppenc.h
- Timestamp:
- 10/27/06 18:42:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mppenc/branches/r2d/src/mppenc.h
r77 r78 32 32 #include "mppdec.h" 33 33 34 //#define IO_BUFFERING // activates IO-buffer (default: off)35 36 34 #define WIN32_MESSAGES 1 // support Windows-Messaging to Frontend 37 35 … … 57 55 58 56 // FIXME : put in lib header 59 void FlushBitstream ( FILE* fp, const mpc_uint32_t* buffer, size_t words32bit );60 void UpdateHeader ( FILE* fp, mpc_uint32_t Frames, Uint ValidSamples );61 void WriteBits ( mpc_encoder_t*, const mpc_uint32_t input, const unsigned int bits );62 void WriteBitsAt ( mpc_encoder_t*, const mpc_uint32_t input, const unsigned int bits, const BitstreamPos pos );63 void GetBitstreamPos ( mpc_encoder_t*, BitstreamPos* const pos );64 57 65 58 void Init_FFT ( PsyModel* ); … … 112 105 113 106 // FIXME : put in lib header 114 void Init_SV7 ( mpc_encoder_t* ); 115 void WriteHeader_SV7 ( mpc_encoder_t*, const unsigned int, const unsigned int, const unsigned int, const Uint32_t TotalFrames, const unsigned int SamplesRest, const unsigned int StreamVersion, const unsigned int SampleFreq ); 107 void Init_SV8 ( mpc_encoder_t* ); 108 void WriteHeader_SV8 ( mpc_encoder_t*e, const unsigned int MaxBand, 109 const unsigned int MS_on, 110 const unsigned int SamplesCount, 111 const unsigned int StreamVersion, 112 const unsigned int PNS_on, 113 const unsigned int SampleFreq, 114 const unsigned int ChannelCount); 115 void writeBlock ( mpc_encoder_t * e, const char * key, const mpc_bool_t addCRC); 116 void writeMagic(mpc_encoder_t * e); 116 117 void WriteBitstream_SV7 ( mpc_encoder_t*, const int, const SubbandQuantTyp* ); 117 void FinishBitstream ( mpc_encoder_t* );118 118 119 119
Note: See TracChangeset
for help on using the changeset viewer.