Home
last modified time | relevance | path

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

/external/libopus/silk/
DNLSF2A.c86 opus_int32 maxabs, absval, idx=0, sc_Q16; in silk_NLSF2A() local
132 maxabs = 0; in silk_NLSF2A()
135 if( absval > maxabs ) { in silk_NLSF2A()
136 maxabs = absval; in silk_NLSF2A()
140maxabs = silk_RSHIFT_ROUND( maxabs, QA + 1 - 12 ); /* QA+… in silk_NLSF2A()
142 if( maxabs > silk_int16_MAX ) { in silk_NLSF2A()
144maxabs = silk_min( maxabs, 163838 ); /* ( silk_int32_MAX >> 14 ) + silk_int16_MAX = 163838 */ in silk_NLSF2A()
145 … sc_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ), in silk_NLSF2A()
146 silk_RSHIFT32( silk_MUL( maxabs, idx + 1), 2 ) ); in silk_NLSF2A()
/external/libopus/silk/float/
Dnoise_shape_analysis_FLP.c65 silk_float tmp, maxabs, chirp, gain_syn, gain_ana; in warped_true2monic_coefs() local
82 maxabs = -1.0f; in warped_true2monic_coefs()
85 if( tmp > maxabs ) { in warped_true2monic_coefs()
86 maxabs = tmp; in warped_true2monic_coefs()
90 if( maxabs <= limit ) { in warped_true2monic_coefs()
108 chirp = 0.99f - ( 0.8f + 0.1f * iter ) * ( maxabs - limit ) / ( maxabs * ( ind + 1 ) ); in warped_true2monic_coefs()
/external/libopus/celt/
Dpitch.c158 opus_val32 maxabs = celt_maxabs32(x[0], len); in pitch_downsample() local
162 maxabs = MAX32(maxabs, maxabs_1); in pitch_downsample()
164 if (maxabs<1) in pitch_downsample()
165 maxabs=1; in pitch_downsample()
166 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()