[FFmpeg-soc] [soc]: r3564 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Sun Aug 24 02:28:13 CEST 2008
Author: ramiro
Date: Sun Aug 24 02:28:12 2008
New Revision: 3564
Log:
Don't do the wrong decorrelation...
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Sun Aug 24 02:28:12 2008
@@ -983,16 +983,16 @@ static void lossless_matrix_coeffs(MLPEn
break;
case MLP_CHMODE_LEFT_SIDE:
mp->count = 1;
- mp->outch[0] = 0;
- mp->coeff[0][0] = 1 << 14; mp->coeff[0][1] = 1 << 14;
+ mp->outch[0] = 1;
+ mp->coeff[0][0] = 1 << 14; mp->coeff[0][1] = -1 << 14;
mp->coeff[0][2] = 0 << 14; mp->coeff[0][2] = 0 << 14;
mp->forco[0][0] = 1 << 14; mp->forco[0][1] = -1 << 14;
mp->forco[0][2] = 0 << 14; mp->forco[0][2] = 0 << 14;
break;
case MLP_CHMODE_RIGHT_SIDE:
mp->count = 1;
- mp->outch[0] = 1;
- mp->coeff[0][0] = 1 << 14; mp->coeff[0][1] = -1 << 14;
+ mp->outch[0] = 0;
+ mp->coeff[0][0] = 1 << 14; mp->coeff[0][1] = 1 << 14;
mp->coeff[0][2] = 0 << 14; mp->coeff[0][2] = 0 << 14;
mp->forco[0][0] = 1 << 14; mp->forco[0][1] = -1 << 14;
mp->forco[0][2] = 0 << 14; mp->forco[0][2] = 0 << 14;
More information about the FFmpeg-soc
mailing list