OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fs_kHz
(Results
1 - 23
of
23
) sorted by null
/external/chromium_org/third_party/opus/src/silk/
decoder_set_fs.c
37
opus_int
fs_kHz
, /* I Sampling frequency (kHz) */
43
silk_assert(
fs_kHz
== 8 ||
fs_kHz
== 12 ||
fs_kHz
== 16 );
47
psDec->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS,
fs_kHz
);
51
if( psDec->
fs_kHz
!=
fs_kHz
|| psDec->fs_API_hz != fs_API_Hz ) {
52
/* Initialize the resampler for dec_API.c preparing resampling from
fs_kHz
to API_fs_Hz */
53
ret += silk_resampler_init( &psDec->resampler_state, silk_SMULBB(
fs_kHz
, 1000 ), fs_API_Hz, 0 );
58
if( psDec->
fs_kHz
!= fs_kHz || frame_length != psDec->frame_length )
[
all
...]
control_audio_bandwidth.c
41
opus_int
fs_kHz
;
44
fs_kHz
= psEncC->
fs_kHz
;
45
fs_Hz = silk_SMULBB(
fs_kHz
, 1000 );
49
fs_kHz
= silk_DIV32_16( fs_Hz, 1000 );
55
fs_kHz
= silk_DIV32_16( fs_Hz, 1000 );
64
if( silk_SMULBB( psEncC->
fs_kHz
, 1000 ) > psEncC->desiredInternal_fs_Hz )
79
fs_kHz
= psEncC->
fs_kHz
== 16 ? 12 : 8;
93
if( silk_SMULBB( psEncC->
fs_kHz
, 1000 ) < psEncC->desiredInternal_fs_Hz
[
all
...]
control_codec.c
44
opus_int
fs_kHz
/* I */
49
opus_int
fs_kHz
, /* I */
74
opus_int
fs_kHz
, ret = 0;
89
if( psEnc->sCmn.API_fs_Hz != psEnc->sCmn.prev_API_fs_Hz && psEnc->sCmn.
fs_kHz
> 0 ) {
91
ret += silk_setup_resamplers( psEnc, psEnc->sCmn.
fs_kHz
);
101
fs_kHz
= silk_control_audio_bandwidth( &psEnc->sCmn, encControl );
103
fs_kHz
= force_fs_kHz;
108
ret += silk_setup_resamplers( psEnc,
fs_kHz
);
113
ret += silk_setup_fs( psEnc,
fs_kHz
, encControl->payloadSize_ms );
137
opus_int
fs_kHz
/* I *
[
all
...]
control_SNR.c
51
if( psEncC->
fs_kHz
== 8 ) {
53
} else if( psEncC->
fs_kHz
== 12 ) {
stereo_MS_to_LR.c
40
opus_int
fs_kHz
, /* I Samples rate (kHz) */
56
denom_Q16 = silk_DIV32_16( (opus_int32)1 << 16, STEREO_INTERP_LEN_MS *
fs_kHz
);
59
for( n = 0; n < STEREO_INTERP_LEN_MS *
fs_kHz
; n++ ) {
69
for( n = STEREO_INTERP_LEN_MS *
fs_kHz
; n < frame_length; n++ ) {
encode_indices.c
134
pitch_high_bits = silk_DIV32_16( psIndices->lagIndex, silk_RSHIFT( psEncC->
fs_kHz
, 1 ) );
135
pitch_low_bits = psIndices->lagIndex - silk_SMULBB( pitch_high_bits, silk_RSHIFT( psEncC->
fs_kHz
, 1 ) );
136
silk_assert( pitch_low_bits < psEncC->
fs_kHz
/ 2 );
145
silk_assert( ( psIndices->contourIndex < 34 && psEncC->
fs_kHz
> 8 && psEncC->nb_subfr == 4 ) ||
146
( psIndices->contourIndex < 11 && psEncC->
fs_kHz
== 8 && psEncC->nb_subfr == 4 ) ||
147
( psIndices->contourIndex < 12 && psEncC->
fs_kHz
> 8 && psEncC->nb_subfr == 2 ) ||
148
( psIndices->contourIndex < 3 && psEncC->
fs_kHz
== 8 && psEncC->nb_subfr == 2 ) );
HP_variable_cutoff.c
50
pitch_freq_Hz_Q16 = silk_DIV32_16( silk_LSHIFT( silk_MUL( psEncC1->
fs_kHz
, 1000 ), 16 ), psEncC1->prevLag );
stereo_LR_to_MS.c
46
opus_int
fs_kHz
, /* I Sample rate (kHz) */
95
is10msFrame = frame_length == 10 *
fs_kHz
;
112
min_mid_rate_bps = silk_SMLABB( 2000,
fs_kHz
, 900 );
182
state->silent_side_len += frame_length - STEREO_INTERP_LEN_MS *
fs_kHz
;
183
if( state->silent_side_len < LA_SHAPE_MS *
fs_kHz
) {
202
denom_Q16 = silk_DIV32_16( (opus_int32)1 << 16, STEREO_INTERP_LEN_MS *
fs_kHz
);
206
for( n = 0; n < STEREO_INTERP_LEN_MS *
fs_kHz
; n++ ) {
219
for( n = STEREO_INTERP_LEN_MS *
fs_kHz
; n < frame_length; n++ ) {
CNG.c
93
if( psDec->
fs_kHz
!= psCNG->
fs_kHz
) {
97
psCNG->
fs_kHz
= psDec->
fs_kHz
;
structs.h
152
opus_int
fs_kHz
; /* Internal sampling frequency (kHz) */
239
opus_int
fs_kHz
;
251
opus_int
fs_kHz
;
264
opus_int
fs_kHz
; /* Sampling frequency in kHz */
enc_API.c
126
encStatus->internalSampleRate = silk_SMULBB( state_Fxx[ 0 ].sCmn.
fs_kHz
, 1000 );
128
encStatus->inWBmodeWithoutVariableLP = state_Fxx[ 0 ].sCmn.
fs_kHz
== 16 && state_Fxx[ 0 ].sCmn.sLP.mode == 0;
234
opus_int force_fs_kHz = (n==1) ? psEnc->state_Fxx[0].sCmn.
fs_kHz
: 0;
247
silk_assert( encControl->nChannelsInternal == 1 || psEnc->state_Fxx[ 0 ].sCmn.
fs_kHz
== psEnc->state_Fxx[ 1 ].sCmn.
fs_kHz
);
251
10 * nBlocksOf10ms * psEnc->state_Fxx[ 0 ].sCmn.
fs_kHz
;
255
psEnc->state_Fxx[ 0 ].sCmn.
fs_kHz
* 1000 );
260
nSamplesFromInput = silk_DIV32_16( nSamplesToBuffer * psEnc->state_Fxx[ 0 ].sCmn.API_fs_Hz, psEnc->state_Fxx[ 0 ].sCmn.
fs_kHz
* 1000 );
277
nSamplesToBuffer = silk_min( nSamplesToBuffer, 10 * nBlocksOf10ms * psEnc->state_Fxx[ 1 ].sCmn.
fs_kHz
);
402
psEnc->state_Fxx[ 0 ].sCmn.
fs_kHz
, psEnc->state_Fxx[ 0 ].sCmn.frame_length )
[
all
...]
main.h
52
opus_int
fs_kHz
, /* I Sample rate (kHz) */
62
opus_int
fs_kHz
, /* I Samples rate (kHz) */
359
opus_int
fs_kHz
, /* I Sampling frequency (kHz) */
PLC.c
72
if( psDec->
fs_kHz
!= psDec->sPLC.
fs_kHz
) {
74
psDec->sPLC.
fs_kHz
= psDec->
fs_kHz
;
153
psPLC->pitchL_Q8 = silk_LSHIFT( silk_SMULBB( psDec->
fs_kHz
, 18 ), 8 );
314
psPLC->pitchL_Q8 = silk_min_32( psPLC->pitchL_Q8, silk_LSHIFT( silk_SMULBB( MAX_PITCH_LAG_MS, psDec->
fs_kHz
), 8 ) );
dec_API.c
120
( decControl->internalSampleRate == 1000*channel_state[ 0 ].
fs_kHz
);
296
silk_stereo_MS_to_LR( &psDec->sStereo, samplesOut1_tmp[ 0 ], samplesOut1_tmp[ 1 ], MS_pred_Q13, channel_state[ 0 ].
fs_kHz
, nSamplesOutDec );
304
*nSamplesOut = silk_DIV32( nSamplesOutDec * decControl->API_sampleRate, silk_SMULBB( channel_state[ 0 ].
fs_kHz
, 1000 ) );
348
decControl->prevPitchLag = channel_state[ 0 ].lagPrev * mult_tab[ ( channel_state[ 0 ].
fs_kHz
- 8 ) >> 2 ];
decode_parameters.c
92
silk_decode_pitch( psDec->indices.lagIndex, psDec->indices.contourIndex, psDecCtrl->pitchL, psDec->
fs_kHz
, psDec->nb_subfr );
decode_indices.c
118
psDec->indices.lagIndex = (opus_int16)ec_dec_icdf( psRangeDec, silk_pitch_lag_iCDF, 8 ) * silk_RSHIFT( psDec->
fs_kHz
, 1 );
VAD.c
257
if( psEncC->frame_length == 10 * psEncC->
fs_kHz
) {
277
if( psEncC->frame_length == 10 * psEncC->
fs_kHz
) {
/external/chromium_org/third_party/opus/src/silk/float/
noise_shape_analysis_FLP.c
182
nSamples = 2 * psEnc->sCmn.
fs_kHz
;
233
flat_part = psEnc->sCmn.
fs_kHz
* 3;
314
b = 0.2f / psEnc->sCmn.
fs_kHz
+ 3.0f / psEncCtrl->pitchL[ k ];
321
b = 1.3f / psEnc->sCmn.
fs_kHz
;
encode_frame_FLP.c
121
silk_short2float_array( x_frame + LA_SHAPE_MS * psEnc->sCmn.
fs_kHz
, psEnc->sCmn.inputBuf + 1, psEnc->sCmn.frame_length );
125
x_frame[ LA_SHAPE_MS * psEnc->sCmn.
fs_kHz
+ i * ( psEnc->sCmn.frame_length >> 3 ) ] += ( 1 - ( i & 2 ) ) * 1e-6f;
295
( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.
fs_kHz
) * sizeof( silk_float ) );
find_pitch_lags_FLP.c
119
thrhld, psEnc->sCmn.
fs_kHz
, psEnc->sCmn.pitchEstimationComplexity, psEnc->sCmn.nb_subfr ) == 0 )
/external/chromium_org/third_party/opus/src/silk/fixed/
find_pitch_lags_FIX.c
130
(opus_int)thrhld_Q13, psEnc->sCmn.
fs_kHz
, psEnc->sCmn.pitchEstimationComplexity, psEnc->sCmn.nb_subfr ) == 0 )
noise_shape_analysis_FIX.c
209
nSamples = silk_LSHIFT( psEnc->sCmn.
fs_kHz
, 1 );
267
flat_part = psEnc->sCmn.
fs_kHz
* 3;
381
opus_int fs_kHz_inv = silk_DIV32_16( SILK_FIX_CONST( 0.2, 14 ), psEnc->sCmn.
fs_kHz
);
393
b_Q14 = silk_DIV32_16( 21299, psEnc->sCmn.
fs_kHz
); /* 1.3_Q0 = 21299_Q14*/
encode_frame_FIX.c
118
silk_memcpy( x_frame + LA_SHAPE_MS * psEnc->sCmn.
fs_kHz
, psEnc->sCmn.inputBuf + 1, psEnc->sCmn.frame_length * sizeof( opus_int16 ) );
303
( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.
fs_kHz
) * sizeof( opus_int16 ) );
Completed in 383 milliseconds