[FFmpeg-soc] [soc]: r2883 - aacenc/aacpsy.c
kostya
subversion at mplayerhq.hu
Mon Jul 28 12:58:59 CEST 2008
Author: kostya
Date: Mon Jul 28 12:58:59 2008
New Revision: 2883
Log:
Update perceptual entropy for M/S bands
Modified:
aacenc/aacpsy.c
Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c (original)
+++ aacenc/aacpsy.c Mon Jul 28 12:58:59 2008
@@ -564,7 +564,8 @@ static void psy_3gpp_process(AACPsyConte
pctx->band[1][g2].energy = en_s;
pctx->band[0][g2].thr = en_m * 0.001258925f;
pctx->band[1][g2].thr = en_s * 0.001258925f;
- //TODO: minSnr update
+ calc_pe(&pctx->band[0][g2], cpe->ch[0].ics.swb_sizes[g]);
+ calc_pe(&pctx->band[1][g2], cpe->ch[1].ics.swb_sizes[g]);
}
}
}
More information about the FFmpeg-soc
mailing list