Home
last modified time | relevance | path

Searched refs:supported_samplerates (Results 1 – 25 of 30) 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.c166 if ((*codec)->supported_samplerates) { in add_stream()
167 c->sample_rate = (*codec)->supported_samplerates[0]; in add_stream()
168 for (i = 0; (*codec)->supported_samplerates[i]; i++) { in add_stream()
169 if ((*codec)->supported_samplerates[i] == 44100) in add_stream()
/third_party/ffmpeg/libavcodec/
Dlibcodec2.c185 .p.supported_samplerates = (const int[]){ 8000, 0 },
203 .p.supported_samplerates = (const int[]){ 8000, 0 },
Dsbcenc.c262 for (int i = 0; avctx->codec->supported_samplerates[i]; i++) in sbc_encode_init()
263 if (avctx->sample_rate == avctx->codec->supported_samplerates[i]) in sbc_encode_init()
365 .p.supported_samplerates = (const int[]) { 16000, 32000, 44100, 48000, 0 },
Dmpegaudioenc_fixed.c36 .p.supported_samplerates = (const int[]){
Dmpegaudioenc_float.c37 .p.supported_samplerates = (const int[]){
Dencode.c501 if (avctx->codec->supported_samplerates) { in encode_preinit_audio()
502 for (i = 0; avctx->codec->supported_samplerates[i] != 0; i++) in encode_preinit_audio()
503 if (avctx->sample_rate == avctx->codec->supported_samplerates[i]) in encode_preinit_audio()
505 if (avctx->codec->supported_samplerates[i] == 0) { in encode_preinit_audio()
Dcodec.h219 …const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unkn… member
Daptxenc.c265 .p.supported_samplerates = (const int[]) {8000, 16000, 24000, 32000, 44100, 48000, 0},
287 .p.supported_samplerates = (const int[]) {8000, 16000, 24000, 32000, 44100, 48000, 0},
Dac3enc_fixed.c137 .p.supported_samplerates = ff_ac3_sample_rate_tab,
Dac3enc_float.c140 .p.supported_samplerates = ff_ac3_sample_rate_tab,
Dlibshine.c146 .p.supported_samplerates = libshine_sample_rates,
Ds302menc.c186 .p.supported_samplerates = (const int[]) { 48000, 0 },
Dpcm-dvdenc.c186 .p.supported_samplerates = (const int[]) { 48000, 96000, 0},
Dpcm-blurayenc.c284 .p.supported_samplerates = (const int[]) { 48000, 96000, 192000, 0 },
Dlibtwolame.c242 .p.supported_samplerates = twolame_samplerates,
Dlibspeexenc.c372 .p.supported_samplerates = (const int[]){ 8000, 16000, 32000, 0 },
Deac3enc.c266 .p.supported_samplerates = ff_ac3_sample_rate_tab,
Dlibmp3lame.c346 .p.supported_samplerates = libmp3lame_sample_rates,
Dsbcdec.c387 .p.supported_samplerates = (const int[]) { 16000, 32000, 44100, 48000, 0 },
Dlibfdk-aacenc.c493 .p.supported_samplerates = aac_sample_rates,
Dlibopusenc.c599 .p.supported_samplerates = libopus_sample_rates,
Dra144enc.c551 .p.supported_samplerates = (const int[]){ 8000, 0 },
Dopusenc.c741 .p.supported_samplerates = (const int []){ 48000, 0 },
/third_party/ffmpeg/libavcodec/tests/
Davcodec.c82 codec->supported_samplerates) in main()

12