Ignore:
Timestamp:
01/20/07 21:43:42 (18 years ago)
Author:
r2d
Message:
  • added more precision to encoding quality information
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libmpcenc/encode_sv7.c

    r179 r201  
    129129// writes encoder signature
    130130void writeEncoderInfo ( mpc_encoder_t * e,
    131                                                 const int profile,
     131                                                const float profile,
    132132                                                const int PNS_on,
    133133                                                const int version_major,
     
    136136                                                const int version_build )
    137137{
    138         writeBits ( e, profile,  4 );
     138        writeBits ( e, (mpc_uint32_t)(profile * 8 + .5),  7 );
    139139        writeBits ( e, PNS_on,  1 );
    140         writeBits ( e, 0,  3 ); // unused
    141140        writeBits ( e, version_major,  4 );
    142141        writeBits ( e, version_minor,  8 );
     
    145144}
    146145
    147 // formatting and writing SV7-bitstream for one frame
     146// formatting and writing SV8-bitstream for one frame
    148147void
    149148writeBitstream_SV8 ( mpc_encoder_t* e, int MaxBand, const SubbandQuantTyp*  Q )
Note: See TracChangeset for help on using the changeset viewer.