Searched refs:rshifts (Results 1 – 4 of 4) sorted by relevance
/external/libopus/silk/fixed/ |
D | burg_modified_FIX.c | 57 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 …]
|
D | corrMatrix_FIX.c | 45 …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_ADD_RSHIFT32( inner_prod, silk_SMULBB( ptr1[ i ], ptr2[i] ), rshifts ); in silk_corrVector_FIX() 67 silk_assert( rshifts == 0 ); in silk_corrVector_FIX() 82 …opus_int *rshifts, /* O Right shifts of co… in silk_corrMatrix_FIX() argument 91 silk_sum_sqr_shift( nrg, rshifts, x, L + order - 1 ); in silk_corrMatrix_FIX() 97 energy -= silk_RSHIFT32( silk_SMULBB( x[ i ], x[ i ] ), *rshifts ); in silk_corrMatrix_FIX() 106 …rgy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr1[ L - j ] ), *rshifts ) ); in silk_corrMatrix_FIX() 107 … energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr1[ -j ] ), *rshifts ) ); in silk_corrMatrix_FIX() 114 if( *rshifts > 0 ) { in silk_corrMatrix_FIX() [all …]
|
D | main_FIX.h | 224 …opus_int *rshifts, /* O Right shifts of co… 235 …const opus_int rshifts, /* I Right shifts of co…
|
/external/libopus/silk/fixed/x86/ |
D | burg_modified_FIX_sse4_1.c | 62 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 …]
|