Ignore:
Timestamp:
10/27/06 18:42:05 (18 years ago)
Author:
r2d
Message:
  • added crc32
  • first sv8 encodes, main changes in bitstream.c
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/r2d/src/mppenc.h

    r77 r78  
    3232#include "mppdec.h"
    3333
    34 //#define IO_BUFFERING                          // activates IO-buffer (default: off)
    35 
    3634#define WIN32_MESSAGES      1                   // support Windows-Messaging to Frontend
    3735
     
    5755
    5856// 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 );
    6457
    6558void   Init_FFT      ( PsyModel* );
     
    112105
    113106// 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 );
     107void         Init_SV8             ( mpc_encoder_t* );
     108void 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);
     115void writeBlock ( mpc_encoder_t * e, const char * key, const mpc_bool_t addCRC);
     116void writeMagic(mpc_encoder_t * e);
    116117void         WriteBitstream_SV7   ( mpc_encoder_t*, const int, const SubbandQuantTyp* );
    117 void         FinishBitstream      ( mpc_encoder_t* );
    118118
    119119
Note: See TracChangeset for help on using the changeset viewer.