Home | History | Annotate | Download | only in src

Lines Matching refs:Fs

429       opus_int32 Fs,
467 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 2, application);
475 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 1, application);
492 opus_int32 Fs,
500 return opus_multistream_encoder_init_impl(st, Fs, channels, streams,
507 opus_int32 Fs,
575 return opus_multistream_encoder_init_impl(st, Fs, channels, *streams,
581 opus_int32 Fs,
606 ret = opus_multistream_encoder_init(st, Fs, channels, streams, coupled_streams, mapping, application);
618 opus_int32 Fs,
651 ret = opus_multistream_surround_encoder_init(st, Fs, channels, mapping_family, streams, coupled_streams, mapping, application);
666 opus_int32 Fs
680 stream_offset += 60*(Fs/frame_size-50);
684 lfe_offset = 3500 + 60*(Fs/frame_size-50);
693 channel_rate = Fs+60*Fs/frame_size;
711 if (st->variable_duration==OPUS_FRAMESIZE_VARIABLE && frame_size != Fs/50)
714 bonus = 60*(Fs/frame_size-50);
735 opus_int32 Fs
750 total_rate = num_channels * (20000 + st->layout.nb_streams*(Fs+60*Fs/frame_size));
769 if (st->variable_duration==OPUS_FRAMESIZE_VARIABLE && frame_size != Fs/50)
771 opus_int32 bonus = 60*(Fs/frame_size-50);
792 opus_int32 Fs;
796 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs));
800 ambisonics_rate_allocation(st, rate, frame_size, Fs);
804 surround_rate_allocation(st, rate, frame_size, Fs);
830 opus_int32 Fs;
858 opus_encoder_ctl((OpusEncoder*)ptr, OPUS_GET_SAMPLE_RATE(&Fs));
868 delay_compensation -= Fs/400;
870 st->variable_duration, channels, Fs, st->bitrate_bps,
878 if (400*frame_size < Fs)
885 if (400*frame_size != Fs && 200*frame_size != Fs &&
886 100*frame_size != Fs && 50*frame_size != Fs &&
887 25*frame_size != Fs && 50*frame_size != 3*Fs)
907 surround_analysis(celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_channel_in, st->arch);
917 max_data_bytes = IMIN(max_data_bytes, 3*rate_sum/(3*8*Fs/frame_size));
921 3*st->bitrate_bps/(3*8*Fs/frame_size)));
938 if (frame_size*50 < Fs)
939 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels;
1020 opus_encoder_ctl(enc, OPUS_SET_BITRATE(curr_max*(8*Fs/frame_size)));