Home
last modified time | relevance | path

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

/external/libopus/silk/fixed/
Dburg_modified_FIX.c57 opus_int k, n, s, lz, rshifts, reached_max_gain; in silk_burg_modified_c() local
73 rshifts = 32 + 1 + N_BITS_HEAD_ROOM - lz; in silk_burg_modified_c()
74 if (rshifts > MAX_RSHIFTS) rshifts = MAX_RSHIFTS; in silk_burg_modified_c()
75 if (rshifts < MIN_RSHIFTS) rshifts = MIN_RSHIFTS; in silk_burg_modified_c()
77 if (rshifts > 0) { in silk_burg_modified_c()
78 C0 = (opus_int32)silk_RSHIFT64(C0_64, rshifts ); in silk_burg_modified_c()
80 C0 = silk_LSHIFT32((opus_int32)C0_64, -rshifts ); in silk_burg_modified_c()
85 if( rshifts > 0 ) { in silk_burg_modified_c()
90 … silk_inner_prod16_aligned_64( x_ptr, x_ptr + n, subfr_length - n, arch ), rshifts ); in silk_burg_modified_c()
105 C_first_row[ n - 1 ] += silk_LSHIFT32( xcorr[ n - 1 ], -rshifts ); in silk_burg_modified_c()
[all …]
DcorrMatrix_FIX.c45 …const opus_int rshifts, /* I Right shifts of co… in silk_corrVector_FIX() argument
56 if( rshifts > 0 ) { in silk_corrVector_FIX()
61 inner_prod += silk_RSHIFT32( silk_SMULBB( ptr1[ i ], ptr2[i] ), rshifts ); in silk_corrVector_FIX()
67 silk_assert( rshifts == 0 ); in silk_corrVector_FIX()
82 …opus_int *rshifts, /* I/O Right shifts of co… in silk_corrMatrix_FIX() argument
103 if( rshifts_local < *rshifts ) { in silk_corrMatrix_FIX()
105 energy = silk_RSHIFT32( energy, *rshifts - rshifts_local ); in silk_corrMatrix_FIX()
106 rshifts_local = *rshifts; in silk_corrMatrix_FIX()
156 *rshifts = rshifts_local; in silk_corrMatrix_FIX()
Dmain_FIX.h236 …opus_int *rshifts, /* I/O Right shifts of co…
247 …const opus_int rshifts, /* I Right shifts of co…
/external/libopus/silk/fixed/x86/
Dburg_modified_FIX_sse.c62 opus_int k, n, s, lz, rshifts, rshifts_extra, reached_max_gain; in silk_burg_modified_sse4_1() local
78 silk_sum_sqr_shift( &C0, &rshifts, x, nb_subfr * subfr_length ); in silk_burg_modified_sse4_1()
79 if( rshifts > MAX_RSHIFTS ) { in silk_burg_modified_sse4_1()
80 C0 = silk_LSHIFT32( C0, rshifts - MAX_RSHIFTS ); in silk_burg_modified_sse4_1()
82 rshifts = MAX_RSHIFTS; in silk_burg_modified_sse4_1()
87 rshifts_extra = silk_min( rshifts_extra, MAX_RSHIFTS - rshifts ); in silk_burg_modified_sse4_1()
90 rshifts_extra = silk_max( rshifts_extra, MIN_RSHIFTS - rshifts ); in silk_burg_modified_sse4_1()
93 rshifts += rshifts_extra; in silk_burg_modified_sse4_1()
97 if( rshifts > 0 ) { in silk_burg_modified_sse4_1()
102 … silk_inner_prod16_aligned_64( x_ptr, x_ptr + n, subfr_length - n, arch ), rshifts ); in silk_burg_modified_sse4_1()
[all …]