[FFmpeg-soc] [soc]: r3595 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Sun Aug 24 22:52:57 CEST 2008
Author: ramiro
Date: Sun Aug 24 22:52:57 2008
New Revision: 3595
Log:
Generate noise channels outside of lossless_matrix_coeffs().
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Sun Aug 24 22:52:57 2008
@@ -974,8 +974,6 @@ static void lossless_matrix_coeffs(MLPEn
return;
}
- generate_2_noise_channels(ctx);
-
mode = estimate_stereo_mode(ctx);
switch(mode) {
@@ -1709,6 +1707,7 @@ static void analyze_sample_buffer(MLPEnc
ctx->cur_decoding_params = &ctx->decoding_params[ctx->frame_index][0][1][substr];
ctx->cur_channel_params = ctx->channel_params[ctx->frame_index][0][1];
+ generate_2_noise_channels(ctx);
lossless_matrix_coeffs (ctx);
rematrix_channels (ctx);
determine_quant_step_size(ctx);
More information about the FFmpeg-soc
mailing list