Changeset 201 for libmpc/branches/r2d/libmpcenc/encode_sv7.c
- Timestamp:
- 01/20/07 21:43:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcenc/encode_sv7.c
r179 r201 129 129 // writes encoder signature 130 130 void writeEncoderInfo ( mpc_encoder_t * e, 131 const int profile,131 const float profile, 132 132 const int PNS_on, 133 133 const int version_major, … … 136 136 const int version_build ) 137 137 { 138 writeBits ( e, profile, 4);138 writeBits ( e, (mpc_uint32_t)(profile * 8 + .5), 7 ); 139 139 writeBits ( e, PNS_on, 1 ); 140 writeBits ( e, 0, 3 ); // unused141 140 writeBits ( e, version_major, 4 ); 142 141 writeBits ( e, version_minor, 8 ); … … 145 144 } 146 145 147 // formatting and writing SV 7-bitstream for one frame146 // formatting and writing SV8-bitstream for one frame 148 147 void 149 148 writeBitstream_SV8 ( mpc_encoder_t* e, int MaxBand, const SubbandQuantTyp* Q )
Note: See TracChangeset
for help on using the changeset viewer.