Home
last modified time | relevance | path

Searched refs:supported_samplerates (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/doc/examples/
Dencode_audio.c60 if (!codec->supported_samplerates) in select_sample_rate()
63 p = codec->supported_samplerates; in select_sample_rate()
Dmuxing.c157 if ((*codec)->supported_samplerates) { in add_stream()
158 c->sample_rate = (*codec)->supported_samplerates[0]; in add_stream()
159 for (i = 0; (*codec)->supported_samplerates[i]; i++) { in add_stream()
160 if ((*codec)->supported_samplerates[i] == 44100) in add_stream()
/third_party/ffmpeg/libavcodec/
Dlibcodec2.c193 .supported_samplerates = (const int[]){ 8000, 0 },
209 .supported_samplerates = (const int[]){ 8000, 0 },
Dsbcenc.c260 for (int i = 0; avctx->codec->supported_samplerates[i]; i++) in sbc_encode_init()
261 if (avctx->sample_rate == avctx->codec->supported_samplerates[i]) in sbc_encode_init()
358 .supported_samplerates = (const int[]) { 16000, 32000, 44100, 48000, 0 },
Dmpegaudioenc_fixed.c34 .supported_samplerates = (const int[]){
Dmpegaudioenc_float.c35 .supported_samplerates = (const int[]){
Dencode.c583 if (avctx->codec->supported_samplerates) { in ff_encode_preinit()
584 for (i = 0; avctx->codec->supported_samplerates[i] != 0; i++) in ff_encode_preinit()
585 if (avctx->sample_rate == avctx->codec->supported_samplerates[i]) in ff_encode_preinit()
587 if (avctx->codec->supported_samplerates[i] == 0) { in ff_encode_preinit()
Daptxenc.c257 .supported_samplerates = (const int[]) {8000, 16000, 24000, 32000, 44100, 48000, 0},
276 .supported_samplerates = (const int[]) {8000, 16000, 24000, 32000, 44100, 48000, 0},
Dcodec.h219 …const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unkn… member
Dac3enc_fixed.c143 .supported_samplerates = ff_ac3_sample_rate_tab,
Dac3enc_float.c146 .supported_samplerates = ff_ac3_sample_rate_tab,
Dlibshine.c145 .supported_samplerates = libshine_sample_rates,
Dpcm-dvdenc.c182 .supported_samplerates = (const int[]) { 48000, 96000, 0},
Ds302menc.c182 .supported_samplerates = (const int[]) { 48000, 0 },
Dlibtwolame.c232 .supported_samplerates = twolame_samplerates,
Deac3enc.c263 .supported_samplerates = ff_ac3_sample_rate_tab,
Dlibmp3lame.c344 .supported_samplerates = libmp3lame_sample_rates,
Dlibspeexenc.c365 .supported_samplerates = (const int[]){ 8000, 16000, 32000, 0 },
Dlibfdk-aacenc.c476 .supported_samplerates = aac_sample_rates,
Dsbcdec.c380 .supported_samplerates = (const int[]) { 16000, 32000, 44100, 48000, 0 },
Dlibopusenc.c597 .supported_samplerates = libopus_sample_rates,
Dra144enc.c554 .supported_samplerates = (const int[]){ 8000, 0 },
Dopusenc.c735 .supported_samplerates = (const int []){ 48000, 0 },
Dmlpenc.c2378 .supported_samplerates = (const int[]) {44100, 48000, 88200, 96000, 176400, 192000, 0},
2395 .supported_samplerates = (const int[]) {44100, 48000, 88200, 96000, 176400, 192000, 0},
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavcodecmap.c710 } else if (codec && codec->supported_samplerates in gst_ff_aud_caps_new()
711 && codec->supported_samplerates[0]) { in gst_ff_aud_caps_new()
715 if (!codec->supported_samplerates[1]) { in gst_ff_aud_caps_new()
717 codec->supported_samplerates[0], NULL); in gst_ff_aud_caps_new()
719 const int *rates = codec->supported_samplerates; in gst_ff_aud_caps_new()
2591 codec->sample_fmts, codec->supported_samplerates); in gst_ffmpeg_codectype_to_audio_caps()

12