Home | History | Annotate | Download | only in src

Lines Matching refs:Fs

59    opus_int32   Fs;          /** Sampling rate (at the API level) */
96 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels)
102 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)
119 st->Fs = Fs;
120 st->DecControl.API_sampleRate = st->Fs;
128 ret = celt_decoder_init(celt_dec, Fs, channels);
134 st->frame_size = Fs/400;
139 OpusDecoder *opus_decoder_create(opus_int32 Fs, int channels, int *error)
143 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)
157 ret = opus_decoder_init(st, Fs, channels);
170 const opus_val16 *window, opus_int32 Fs)
173 int inc = 48000/Fs;
234 F20 = st->Fs/50;
244 frame_size = IMIN(frame_size, st->Fs/25*3);
352 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs);
534 pcm+st->channels*(frame_size-F2_5), F2_5, st->channels, window, st->Fs);
544 pcm+st->channels*F2_5, F2_5, st->channels, window, st->Fs);
554 st->channels, window, st->Fs);
563 st->channels, window, st->Fs);
611 if ((decode_fec || len==0 || data==NULL) && frame_size%(st->Fs/400)!=0)
633 packet_frame_size = opus_packet_get_samples_per_frame(data, st->Fs);
846 st->frame_size = st->Fs/400;
856 *value = st->Fs;
961 opus_int32 Fs)
969 samples = count*opus_packet_get_samples_per_frame(packet, Fs);
971 if (samples*25 > Fs*3)
980 return opus_packet_get_nb_samples(packet, len, dec->Fs);