diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-08-08 17:48:22 +0400 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-08-08 17:48:22 +0400 |
commit | 5e7f02de2c55164d8584362ad384b2d72d1cd62a (patch) | |
tree | 3324fae3f231e54bbc4339969af0cb716a05c27f /libcelt/quant_bands.h | |
parent | 908958cad5fe507219d770cd5ebf95807e826886 (diff) |
Moving intra decision to quant_coarse_energy()
Diffstat (limited to 'libcelt/quant_bands.h')
-rw-r--r-- | libcelt/quant_bands.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libcelt/quant_bands.h b/libcelt/quant_bands.h index bb60d95..7ca0347 100644 --- a/libcelt/quant_bands.h +++ b/libcelt/quant_bands.h @@ -48,9 +48,10 @@ void log2Amp(const CELTMode *m, int start, int end, int *quant_prob_alloc(const CELTMode *m); void quant_prob_free(int *freq); -int intra_decision(celt_word16 *eBands, celt_word16 *oldEBands, int start, int end, int len, int C); - -void quant_coarse_energy(const CELTMode *m, int start, int end, const celt_word16 *eBands, celt_word16 *oldEBands, int budget, int intra, int *prob, celt_word16 *error, ec_enc *enc, int _C, int LM, celt_word16 max_decay); +void quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd, + const celt_word16 *eBands, celt_word16 *oldEBands, int budget, + int *prob, celt_word16 *error, ec_enc *enc, int _C, int LM, + int nbAvailableBytes, int force_intra, int *delayedIntra); void quant_fine_energy(const CELTMode *m, int start, int end, celt_ener *eBands, celt_word16 *oldEBands, celt_word16 *error, int *fine_quant, ec_enc *enc, int _C); |