Lines Matching refs:MIN16
366 …*tf_estimate = celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONS… in transient_analysis()
778 sum = MIN16(QCONST16(1.f, 10), ABS16(sum)); in alloc_trim_analysis()
785 minXC = MIN16(minXC, ABS16(EXTRACT16(SHR32(partial, 18)))); in alloc_trim_analysis()
787 minXC = MIN16(QCONST16(1.f, 10), ABS16(minXC)); in alloc_trim_analysis()
800 *stereo_saving = MIN16(*stereo_saving + QCONST16(0.25f, 8), -HALF16(logXC2)); in alloc_trim_analysis()
812 …trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8), SHR16(diff+QCONST16(1.f, DB_SHIFT),DB_SHI… in alloc_trim_analysis()
818 trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8), in alloc_trim_analysis()
899 return MIN16(t2, t3); in median_of_5()
901 return MIN16(t4, t1); in median_of_5()
904 return MIN16(t1, t3); in median_of_5()
906 return MIN16(t2, t4); in median_of_5()
977 f[i] = MIN16(f[i-1]+QCONST16(1.5f,DB_SHIFT), bandLogE2[c*nbEBands+i]); in dynalloc_analysis()
980 f[i] = MIN16(f[i], MIN16(f[i+1]+QCONST16(2.f,DB_SHIFT), bandLogE2[c*nbEBands+i])); in dynalloc_analysis()
1031 follower[i] = MIN16(follower[i], QCONST16(4, DB_SHIFT)); in dynalloc_analysis()
1232 stereo_saving = MIN16(stereo_saving, QCONST16(1.f, 8)); in compute_vbr()
1294 rate_factor = MIN16(rate_factor, QCONST16(0.67f, 15)); in compute_vbr()
1651 mask = MAX16(MIN16(st->energy_mask[nbEBands*c+i], in celt_encode_with_ec()
1679 unmask = MIN16(unmask, QCONST16(.0f, DB_SHIFT)); in celt_encode_with_ec()
1725 temporal_vbr = MIN16(QCONST16(3.f, DB_SHIFT), MAX16(-QCONST16(1.5f, DB_SHIFT), temporal_vbr)); in celt_encode_with_ec()
2123 oldLogE[i] = MIN16(oldLogE[i], oldBandE[i]); in celt_encode_with_ec()