[FFmpeg-soc] [soc]: r2805 - aacenc/aacpsy.c
kostya
subversion at mplayerhq.hu
Thu Jul 17 07:38:18 CEST 2008
Author: kostya
Date: Thu Jul 17 07:38:17 2008
New Revision: 2805
Log:
Cosmetics: remove unwanted extra space in indentation
Modified:
aacenc/aacpsy.c
Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c (original)
+++ aacenc/aacpsy.c Thu Jul 17 07:38:17 2008
@@ -495,14 +495,14 @@ static void psy_3gpp_process(AACPsyConte
//modify thresholds - spread, threshold in quiet - 5.4.3
for(ch = 0; ch < apc->avctx->channels; ch++){
- for(g = 1; g < apc->num_bands1024; g++)
- pctx->band[ch][g].thr = FFMAX(pctx->band[ch][g].thr, pctx->band[ch][g-1].thr * pctx->s_low[g-1]);
- for(g = apc->num_bands1024 - 2; g >= 0; g--)
- pctx->band[ch][g].thr = FFMAX(pctx->band[ch][g].thr, pctx->band[ch][g+1].thr * pctx->s_hi[g+1]);
- for(g = 0; g < apc->num_bands1024; g++){
- pctx->band[ch][g].thr_quiet = FFMAX(pctx->band[ch][g].thr, pctx->ath[g] *0.5);
- pctx->band[ch][g].thr = fmaxf(PSY_3GPP_RPEMIN*pctx->band[ch][g].thr_quiet, fminf(pctx->band[ch][g].thr_quiet, PSY_3GPP_RPELEV*pctx->prev_band[ch][g].thr_quiet));
- }
+ for(g = 1; g < apc->num_bands1024; g++)
+ pctx->band[ch][g].thr = FFMAX(pctx->band[ch][g].thr, pctx->band[ch][g-1].thr * pctx->s_low[g-1]);
+ for(g = apc->num_bands1024 - 2; g >= 0; g--)
+ pctx->band[ch][g].thr = FFMAX(pctx->band[ch][g].thr, pctx->band[ch][g+1].thr * pctx->s_hi[g+1]);
+ for(g = 0; g < apc->num_bands1024; g++){
+ pctx->band[ch][g].thr_quiet = FFMAX(pctx->band[ch][g].thr, pctx->ath[g] *0.5);
+ pctx->band[ch][g].thr = fmaxf(PSY_3GPP_RPEMIN*pctx->band[ch][g].thr_quiet, fminf(pctx->band[ch][g].thr_quiet, PSY_3GPP_RPELEV*pctx->prev_band[ch][g].thr_quiet));
+ }
}
// M/S detection - 5.5.2
More information about the FFmpeg-soc
mailing list