Home
last modified time | relevance | path

Searched refs:SHELL_CODEC_FRAME_LENGTH (Results 1 – 6 of 6) sorted by relevance

/external/libopus/silk/
Dencode_pulses.c86 silk_assert( 1 << LOG2_SHELL_CODEC_FRAME_LENGTH == SHELL_CODEC_FRAME_LENGTH ); in silk_encode_pulses()
88 if( iter * SHELL_CODEC_FRAME_LENGTH < frame_length ) { in silk_encode_pulses()
91 silk_memset( &pulses[ frame_length ], 0, SHELL_CODEC_FRAME_LENGTH * sizeof(opus_int8)); in silk_encode_pulses()
95 ALLOC( abs_pulses, iter * SHELL_CODEC_FRAME_LENGTH, opus_int ); in silk_encode_pulses()
96 silk_assert( !( SHELL_CODEC_FRAME_LENGTH & 3 ) ); in silk_encode_pulses()
97 for( i = 0; i < iter * SHELL_CODEC_FRAME_LENGTH; i+=4 ) { in silk_encode_pulses()
124 for( k = 0; k < SHELL_CODEC_FRAME_LENGTH; k++ ) { in silk_encode_pulses()
132 abs_pulses_ptr += SHELL_CODEC_FRAME_LENGTH; in silk_encode_pulses()
178 silk_shell_encoder( psRangeEnc, &abs_pulses[ i * SHELL_CODEC_FRAME_LENGTH ] ); in silk_encode_pulses()
187 pulses_ptr = &pulses[ i * SHELL_CODEC_FRAME_LENGTH ]; in silk_encode_pulses()
[all …]
Ddecode_pulses.c56 silk_assert( 1 << LOG2_SHELL_CODEC_FRAME_LENGTH == SHELL_CODEC_FRAME_LENGTH ); in silk_decode_pulses()
58 if( iter * SHELL_CODEC_FRAME_LENGTH < frame_length ) { in silk_decode_pulses()
85 …silk_shell_decoder( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], psRangeDec, sum_pulses[… in silk_decode_pulses()
87 …silk_memset( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], 0, SHELL_CODEC_FRAME_LENGTH * … in silk_decode_pulses()
97 pulses_ptr = &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ]; in silk_decode_pulses()
98 for( k = 0; k < SHELL_CODEC_FRAME_LENGTH; k++ ) { in silk_decode_pulses()
Dcode_signs.c59 length = silk_RSHIFT( length + SHELL_CODEC_FRAME_LENGTH/2, LOG2_SHELL_CODEC_FRAME_LENGTH ); in silk_encode_signs()
64 for( j = 0; j < SHELL_CODEC_FRAME_LENGTH; j++ ) { in silk_encode_signs()
70 q_ptr += SHELL_CODEC_FRAME_LENGTH; in silk_encode_signs()
93 length = silk_RSHIFT( length + SHELL_CODEC_FRAME_LENGTH/2, LOG2_SHELL_CODEC_FRAME_LENGTH ); in silk_decode_signs()
98 for( j = 0; j < SHELL_CODEC_FRAME_LENGTH; j++ ) { in silk_decode_signs()
113 q_ptr += SHELL_CODEC_FRAME_LENGTH; in silk_decode_signs()
Ddefine.h164 #define SHELL_CODEC_FRAME_LENGTH 16 macro
166 #define MAX_NB_SHELL_BLOCKS ( MAX_FRAME_LENGTH / SHELL_CODEC_FRAME_LENGTH )
Ddecode_frame.c55 ALLOC( pulses, (L + SHELL_CODEC_FRAME_LENGTH - 1) & in silk_decode_frame()
56 ~(SHELL_CODEC_FRAME_LENGTH - 1), opus_int ); in silk_decode_frame()
Dshell_coder.c86 silk_assert( SHELL_CODEC_FRAME_LENGTH == 16 ); in silk_shell_encoder()
128 silk_assert( SHELL_CODEC_FRAME_LENGTH == 16 ); in silk_shell_decoder()