• Home
  • Raw
  • Download

Lines Matching refs:Fs

59    opus_int32   Fs;          /** Sampling rate (at the API level) */  member
85 …celt_assert(st->Fs == 48000 || st->Fs == 24000 || st->Fs == 16000 || st->Fs == 12000 || st->Fs == … in validate_opus_decoder()
86 celt_assert(st->DecControl.API_sampleRate == st->Fs); in validate_opus_decoder()
116 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) in opus_decoder_init() argument
122 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000) in opus_decoder_init()
139 st->Fs = Fs; in opus_decoder_init()
140 st->DecControl.API_sampleRate = st->Fs; in opus_decoder_init()
148 ret = celt_decoder_init(celt_dec, Fs, channels); in opus_decoder_init()
154 st->frame_size = Fs/400; in opus_decoder_init()
159 OpusDecoder *opus_decoder_create(opus_int32 Fs, int channels, int *error) in opus_decoder_create() argument
163 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000) in opus_decoder_create()
177 ret = opus_decoder_init(st, Fs, channels); in opus_decoder_create()
190 const opus_val16 *window, opus_int32 Fs) in smooth_fade() argument
193 int inc = 48000/Fs; in smooth_fade()
255 F20 = st->Fs/50; in opus_decode_frame()
265 frame_size = IMIN(frame_size, st->Fs/25*3); in opus_decode_frame()
375 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs); in opus_decode_frame()
562 pcm+st->channels*(frame_size-F2_5), F2_5, st->channels, window, st->Fs); in opus_decode_frame()
572 pcm+st->channels*F2_5, F2_5, st->channels, window, st->Fs); in opus_decode_frame()
582 st->channels, window, st->Fs); in opus_decode_frame()
591 st->channels, window, st->Fs); in opus_decode_frame()
640 if ((decode_fec || len==0 || data==NULL) && frame_size%(st->Fs/400)!=0) in opus_decode_native()
662 packet_frame_size = opus_packet_get_samples_per_frame(data, st->Fs); in opus_decode_native()
877 st->frame_size = st->Fs/400; in opus_decoder_ctl()
887 *value = st->Fs; in opus_decoder_ctl()
1012 opus_int32 Fs) in opus_packet_get_nb_samples() argument
1020 samples = count*opus_packet_get_samples_per_frame(packet, Fs); in opus_packet_get_nb_samples()
1022 if (samples*25 > Fs*3) in opus_packet_get_nb_samples()
1031 return opus_packet_get_nb_samples(packet, len, dec->Fs); in opus_decoder_get_nb_samples()