Displaying 1 result from an estimated 1 matches for "mask_metric".
2013 Dec 09
1
incorrect use of MAX16
...max-30))/20); */
- *tf_estimate = celt_sqrt(MAX16(0,
SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28)));
+ *tf_estimate = celt_sqrt(MAX32(0,
SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28)));
/*printf("%d %f\n", tf_max, mask_metric);*/
--