remove debug printouts

This commit is contained in:
Josh Coalson
2001-06-05 22:45:50 +00:00
parent 7325329d79
commit 525c22cef3
2 changed files with 3 additions and 19 deletions

View File

@@ -339,39 +339,25 @@ FLAC__EncoderState FLAC__encoder_init(FLAC__Encoder *encoder, FLAC__EncoderWrite
#ifdef FLAC__HAS_NASM #ifdef FLAC__HAS_NASM
if(0 && encoder->guts->cpuinfo.data.ia32.sse) { /* SSE version lacks necessary resolution, plus SSE flag doesn't check for OS support */ if(0 && encoder->guts->cpuinfo.data.ia32.sse) { /* SSE version lacks necessary resolution, plus SSE flag doesn't check for OS support */
if(encoder->max_lpc_order < 4) if(encoder->max_lpc_order < 4)
{//@@@
encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386_sse_lag_4; encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386_sse_lag_4;
fprintf(stderr,"@@@ got _asm_i386_sse_lag_4 of lpc_compute_autocorrelation()\n");}
else if(encoder->max_lpc_order < 8) else if(encoder->max_lpc_order < 8)
{//@@@
encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386_sse_lag_8; encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386_sse_lag_8;
fprintf(stderr,"@@@ got _asm_i386_sse_lag_8 of lpc_compute_autocorrelation()\n");}
else if(encoder->max_lpc_order < 12) else if(encoder->max_lpc_order < 12)
{//@@@
encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386_sse_lag_12; encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386_sse_lag_12;
fprintf(stderr,"@@@ got _asm_i386_sse_lag_12 of lpc_compute_autocorrelation()\n");}
else else
{//@@@
encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386; encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386;
fprintf(stderr,"@@@ got _asm_i386 of lpc_compute_autocorrelation()\n");}
} }
else else
{//@@@
encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386; encoder->guts->local_lpc_compute_autocorrelation = FLAC__lpc_compute_autocorrelation_asm_i386;
fprintf(stderr,"@@@ got _asm_i386 of lpc_compute_autocorrelation()\n");}
if(encoder->guts->cpuinfo.data.ia32.mmx && encoder->guts->cpuinfo.data.ia32.cmov) if(encoder->guts->cpuinfo.data.ia32.mmx && encoder->guts->cpuinfo.data.ia32.cmov)
{//@@@
encoder->guts->local_fixed_compute_best_predictor = FLAC__fixed_compute_best_predictor_asm_i386_mmx_cmov; encoder->guts->local_fixed_compute_best_predictor = FLAC__fixed_compute_best_predictor_asm_i386_mmx_cmov;
fprintf(stderr,"@@@ got _asm_i386_mmx_cmov of fixed_compute_best_predictor()\n");}
if(encoder->guts->cpuinfo.data.ia32.mmx) { if(encoder->guts->cpuinfo.data.ia32.mmx) {
encoder->guts->local_lpc_compute_residual_from_qlp_coefficients = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386; encoder->guts->local_lpc_compute_residual_from_qlp_coefficients = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386;
encoder->guts->local_lpc_compute_residual_from_qlp_coefficients_16bit = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386_mmx; encoder->guts->local_lpc_compute_residual_from_qlp_coefficients_16bit = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386_mmx;
fprintf(stderr,"@@@ got _asm_i386_mmx of lpc_compute_residual_from_qlp_coefficients()\n");
} }
else { else {
encoder->guts->local_lpc_compute_residual_from_qlp_coefficients = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386; encoder->guts->local_lpc_compute_residual_from_qlp_coefficients = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386;
encoder->guts->local_lpc_compute_residual_from_qlp_coefficients_16bit = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386; encoder->guts->local_lpc_compute_residual_from_qlp_coefficients_16bit = FLAC__lpc_compute_residual_from_qlp_coefficients_asm_i386;
fprintf(stderr,"@@@ got _asm_i386 of lpc_compute_residual_from_qlp_coefficients()\n");
} }
#endif #endif
#endif #endif

View File

@@ -177,12 +177,10 @@ FLAC__StreamDecoderState FLAC__stream_decoder_init(
if(decoder->guts->cpuinfo.data.ia32.mmx) { if(decoder->guts->cpuinfo.data.ia32.mmx) {
decoder->guts->local_lpc_restore_signal = FLAC__lpc_restore_signal_asm_i386; decoder->guts->local_lpc_restore_signal = FLAC__lpc_restore_signal_asm_i386;
decoder->guts->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_asm_i386_mmx; decoder->guts->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_asm_i386_mmx;
fprintf(stderr,"@@@ got _asm_i386_mmx of lpc_restore_signal()\n");
} }
else { else {
decoder->guts->local_lpc_restore_signal = FLAC__lpc_restore_signal_asm_i386; decoder->guts->local_lpc_restore_signal = FLAC__lpc_restore_signal_asm_i386;
decoder->guts->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_asm_i386; decoder->guts->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_asm_i386;
fprintf(stderr,"@@@ got _asm_i386 of lpc_restore_signal()\n");
} }
#endif #endif
#endif #endif