Home | History | Annotate | Download | only in src

Lines Matching defs:Fs

59    opus_int32   Fs;          /** Sampling rate (at the API level) */
101 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels)
107 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)
124 st->Fs = Fs;
125 st->DecControl.API_sampleRate = st->Fs;
133 ret = celt_decoder_init(celt_dec, Fs, channels);
139 st->frame_size = Fs/400;
143 OpusDecoder *opus_decoder_create(opus_int32 Fs, int channels, int *error)
147 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)
161 ret = opus_decoder_init(st, Fs, channels);
174 const opus_val16 *window, opus_int32 Fs)
177 int inc = 48000/Fs;
237 F20 = st->Fs/50;
247 frame_size = IMIN(frame_size, st->Fs/25*3);
341 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs);
520 pcm+st->channels*(frame_size-F2_5), F2_5, st->channels, window, st->Fs);
530 pcm+st->channels*F2_5, F2_5, st->channels, window, st->Fs);
540 st->channels, window, st->Fs);
549 st->channels, window, st->Fs);
597 if ((decode_fec || len==0 || data==NULL) && frame_size%(st->Fs/400)!=0)
619 packet_frame_size = opus_packet_get_samples_per_frame(data, st->Fs);
814 st->frame_size = st->Fs/400;
824 *value = st->Fs;
908 opus_int32 Fs)
914 audiosize = (Fs<<audiosize)/400;
917 audiosize = (data[0]&0x08) ? Fs/50 : Fs/100;
921 audiosize = Fs*60/1000;
923 audiosize = (Fs<<audiosize)/100;
950 opus_int32 Fs)
958 samples = count*opus_packet_get_samples_per_frame(packet, Fs);
960 if (samples*25 > Fs*3)
969 return opus_packet_get_nb_samples(packet, len, dec->Fs);