Home | History | Annotate | Download | only in src

Lines Matching refs:Fs

396       opus_int32 Fs,
433 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 2, application);
441 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 1, application);
458 opus_int32 Fs,
466 return opus_multistream_encoder_init_impl(st, Fs, channels, streams, coupled_streams, mapping, application, 0);
471 opus_int32 Fs,
516 return opus_multistream_encoder_init_impl(st, Fs, channels, *streams, *coupled_streams,
521 opus_int32 Fs,
546 ret = opus_multistream_encoder_init(st, Fs, channels, streams, coupled_streams, mapping, application);
558 opus_int32 Fs,
583 ret = opus_multistream_surround_encoder_init(st, Fs, channels, mapping_family, streams, coupled_streams, mapping, application);
602 opus_int32 Fs;
610 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs));
616 stream_offset += 60*(Fs/frame_size-50);
620 lfe_offset = 3500 + 60*(Fs/frame_size-50);
629 channel_rate = Fs+60*Fs/frame_size;
647 if (st->variable_duration==OPUS_FRAMESIZE_VARIABLE && frame_size != Fs/50)
650 bonus = 60*(Fs/frame_size-50);
680 opus_int32 Fs;
706 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs));
716 delay_compensation -= Fs/400;
718 st->variable_duration, channels, Fs, st->bitrate_bps,
726 if (400*frame_size < Fs)
733 if (400*frame_size != Fs && 200*frame_size != Fs &&
734 100*frame_size != Fs && 50*frame_size != Fs &&
735 25*frame_size != Fs && 50*frame_size != 3*Fs)
747 surround_analysis(celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_channel_in);
760 max_data_bytes = IMIN(max_data_bytes, 3*st->bitrate_bps/(3*8*Fs/frame_size));
776 if (frame_size*50 < Fs)
777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels;
850 opus_encoder_ctl(enc, OPUS_SET_BITRATE(curr_max*(8*Fs/frame_size)));