Changeset 195 for libmpc/branches/r2d/libmpcdec/synth_filter.c
- Timestamp:
- 12/29/06 15:21:35 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcdec/synth_filter.c
r68 r195 36 36 /// \todo document me 37 37 #include <string.h> 38 #include <mpc dec/mpcdec.h>38 #include <mpc/mpcdec.h> 39 39 #include "decoder.h" 40 40 #include "math.h" … … 283 283 A15 = MPC_SCALE_CONST_SHL((B14 - B15) , 0.7071067691f , 31, MPC_FIXED_POINT_SYNTH_FIX); 284 284 285 // mehrfach verwendete Ausdr ücke: A04+A06+A07, A09+A13+A15285 // mehrfach verwendete Ausdrcke: A04+A06+A07, A09+A13+A15 286 286 pV[ 5] = (pV[11] = (pV[13] = A07 + (pV[15] = A15)) + A11) + A05 + A13; 287 287 pV[ 7] = (pV[ 9] = A03 + A11 + A15) + A13; … … 289 289 pV[35] = -(pV[ 3] = A05 + A07 + A09 + A13 + A15) - A06 - A14; 290 290 pV[37] = (tmp = -(A10 + A11 + A13 + A14 + A15)) - A05 - A06 - A07; 291 pV[39] = tmp - A02 - A03; // abh ängig vom Befehl drüber292 pV[41] = (tmp += A13 - A12) - A02 - A03; // abh ängig vom Befehl 2 drüber293 pV[43] = tmp - A04 - A06 - A07; // abh ängig von Befehlen 1 und 3 drüber291 pV[39] = tmp - A02 - A03; // abhï¿œgig vom Befehl drber 292 pV[41] = (tmp += A13 - A12) - A02 - A03; // abhï¿œgig vom Befehl 2 drber 293 pV[43] = tmp - A04 - A06 - A07; // abhï¿œgig von Befehlen 1 und 3 drber 294 294 pV[47] = (tmp = -(A08 + A12 + A14 + A15)) - A00; 295 pV[45] = tmp - A04 - A06 - A07; // abh ängig vom Befehl drüber295 pV[45] = tmp - A04 - A06 - A07; // abhï¿œgig vom Befehl drber 296 296 297 297 pV[32] = -pV[ 0]; … … 329 329 } 330 330 331 static void 331 static void 332 332 mpc_synthese_filter_float_internal(MPC_SAMPLE_FORMAT* p_out, MPC_SAMPLE_FORMAT* pV, const MPC_SAMPLE_FORMAT* pY) 333 333 { … … 356 356 357 357 void 358 mpc_decoder_synthese_filter_float(mpc_decoder* p_dec, MPC_SAMPLE_FORMAT* p_out) 358 mpc_decoder_synthese_filter_float(mpc_decoder* p_dec, MPC_SAMPLE_FORMAT* p_out) 359 359 { 360 360 /********* left channel ********/ … … 411 411 */ 412 412 mpc_uint32_t 413 mpc_random_int(mpc_decoder* p_dec) 413 mpc_random_int(mpc_decoder* p_dec) 414 414 { 415 415 #if 1
Note: See TracChangeset
for help on using the changeset viewer.