summaryrefslogtreecommitdiff
path: root/libavcodec/g729dec.c
diff options
context:
space:
mode:
authorVladimir Voroshilov <voroshil@gmail.com>2009-06-23 12:39:33 +0700
committerMichael Niedermayer <michaelni@gmx.at>2011-09-24 21:10:59 +0200
commitb29e5a6780737f8a11c47714bf1a697a98966a51 (patch)
treeb8b8852b11bd352ab6c1098e68294124d493ffbf /libavcodec/g729dec.c
parentcd3e2820d38790da71911669fe75a6e2f0e6fb03 (diff)
doxy comments for LSF array
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r--libavcodec/g729dec.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c
index 7305ebb4af..b8dba4282f 100644
--- a/libavcodec/g729dec.c
+++ b/libavcodec/g729dec.c
@@ -128,6 +128,15 @@ static inline int get_parity(uint8_t value)
return (0x6996966996696996ULL >> (value >> 2)) & 1;
}
+/*
+ * Decodes LSF (Line Spectral Frequencies) from L0-L3 (3.2.4).
+ * @param lsfq [out] (2.13) quantized LSF coefficients
+ * @param past_quantizer_outputs [in/out] (2.13) quantizer outputs from previous frames
+ * @param ma_predictor switched MA predictor of LSP quantizer
+ * @param vq_1st first stage vector of quantizer
+ * @param vq_2nd_low second stage lower vector of LSP quantizer
+ * @param vq_2nd_high second stage higher vector of LSP quantizer
+ */
static void lsf_decode(int16_t* lsfq, int16_t* past_quantizer_outputs[MA_NP + 1],
int16_t ma_predictor,
int16_t vq_1st, int16_t vq_2nd_low, int16_t vq_2nd_high)