[FFmpeg-soc] [soc]: r2656 - mlp/mlpdec.c
ramiro
subversion at mplayerhq.hu
Wed Jul 2 14:12:53 CEST 2008
Author: ramiro
Date: Wed Jul 2 14:12:53 2008
New Revision: 2656
Log:
Clarify comment.
Modified:
mlp/mlpdec.c
Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c (original)
+++ mlp/mlpdec.c Wed Jul 2 14:12:53 2008
@@ -710,9 +710,11 @@ static int read_decoding_params(MLPDecod
"FIR and IIR filters must use same precision\n");
return -1;
}
- /* Both filters must have the same precision, so the filtering
- * code always use the FIR precision. If only IIR is used, we copy
- * its precision to FIR. */
+ /* The FIR and IIR filters must have the same precision.
+ * To simplify the filtering code, only the precision of the
+ * FIR filter is considered. If only the IIR filter is employed,
+ * the FIR filter precision is set to that of the IIR filter, so
+ * that the filtering code can use it. */
if (!m->filter_order[ch][FIR] && m->filter_order[ch][IIR])
m->filter_coeff_q[ch][FIR] = m->filter_coeff_q[ch][IIR];
More information about the FFmpeg-soc
mailing list