Lines Matching refs:MIN16
369 …*tf_estimate = celt_sqrt(MAX16(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONS… in transient_analysis()
779 sum = MIN16(QCONST16(1.f, 10), ABS16(sum)); in alloc_trim_analysis()
787 minXC = MIN16(minXC, ABS16(EXTRACT16(SHR32(partial, 18)))); in alloc_trim_analysis()
789 minXC = MIN16(QCONST16(1.f, 10), ABS16(minXC)); in alloc_trim_analysis()
810 *stereo_saving = MIN16(*stereo_saving + QCONST16(0.25f, 8), -HALF16(logXC2)); in alloc_trim_analysis()
830 …trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8), SHR16(diff+QCONST16(1.f, DB_SHIFT),DB_SHI… in alloc_trim_analysis()
836 trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8), in alloc_trim_analysis()
933 …follower[c*nbEBands+i] = MIN16(follower[c*nbEBands+i-1]+QCONST16(1.5f,DB_SHIFT), bandLogE2[c*nbEBa… in dynalloc_analysis()
936 …follower[c*nbEBands+i] = MIN16(follower[c*nbEBands+i], MIN16(follower[c*nbEBands+i+1]+QCONST16(2.f… in dynalloc_analysis()
973 follower[i] = MIN16(follower[i], QCONST16(4, DB_SHIFT)); in dynalloc_analysis()
1172 stereo_saving = MIN16(stereo_saving, QCONST16(1.f, 8)); in compute_vbr()
1228 rate_factor = MIN16(rate_factor, QCONST16(0.67f, 15)); in compute_vbr()
1578 mask = MAX16(MIN16(st->energy_mask[nbEBands*c+i], in celt_encode_with_ec()
1605 unmask = MIN16(unmask, QCONST16(.0f, DB_SHIFT)); in celt_encode_with_ec()
1652 temporal_vbr = MIN16(QCONST16(3.f, DB_SHIFT), MAX16(-QCONST16(1.5f, DB_SHIFT), temporal_vbr)); in celt_encode_with_ec()
2066 oldLogE[i] = MIN16(oldLogE[i], oldBandE[i]); in celt_encode_with_ec()