Home
last modified time | relevance | path

Searched refs:maxabs (Results 1 – 4 of 4) sorted by relevance

/external/libopus/silk/
DLPC_fit.c44 opus_int32 maxabs, absval, chirp_Q16; in silk_LPC_fit() local
49 maxabs = 0; in silk_LPC_fit()
52 if( absval > maxabs ) { in silk_LPC_fit()
53 maxabs = absval; in silk_LPC_fit()
57 maxabs = silk_RSHIFT_ROUND( maxabs, QIN - QOUT ); in silk_LPC_fit()
59 if( maxabs > silk_int16_MAX ) { in silk_LPC_fit()
61maxabs = silk_min( maxabs, 163838 ); /* ( silk_int32_MAX >> 14 ) + silk_int16_MAX = 163838 */ in silk_LPC_fit()
62 … chirp_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ), in silk_LPC_fit()
63 silk_RSHIFT32( silk_MUL( maxabs, idx + 1), 2 ) ); in silk_LPC_fit()
/external/libopus/silk/float/
Dnoise_shape_analysis_FLP.c64 silk_float tmp, maxabs, chirp, gain; in warped_true2monic_coefs() local
78 maxabs = -1.0f; in warped_true2monic_coefs()
81 if( tmp > maxabs ) { in warped_true2monic_coefs()
82 maxabs = tmp; in warped_true2monic_coefs()
86 if( maxabs <= limit ) { in warped_true2monic_coefs()
101 chirp = 0.99f - ( 0.8f + 0.1f * iter ) * ( maxabs - limit ) / ( maxabs * ( ind + 1 ) ); in warped_true2monic_coefs()
122 silk_float tmp, maxabs, chirp; in limit_coefs() local
126 maxabs = -1.0f; in limit_coefs()
129 if( tmp > maxabs ) { in limit_coefs()
130 maxabs = tmp; in limit_coefs()
[all …]
/external/libopus/celt/
Dpitch.c151 opus_val32 maxabs = celt_maxabs32(x[0], len); in pitch_downsample() local
155 maxabs = MAX32(maxabs, maxabs_1); in pitch_downsample()
157 if (maxabs<1) in pitch_downsample()
158 maxabs=1; in pitch_downsample()
159 shift = celt_ilog2(maxabs)-10; in pitch_downsample()
/external/libpng/contrib/libtests/
Dpngvalid.c9415 double maxabs; member
9459 vi->maxabs = abserr(dp->pm, in_depth, out_depth); in init_validate_info()
9782 if (tmp < vi->maxabs) tmp = vi->maxabs; in gamma_component_validate()