Home
last modified time | relevance | path

Searched refs:avr (Results 1 – 25 of 74) sorted by relevance

123

/third_party/ffmpeg/libavresample/
Dutils.c36 int avresample_open(AVAudioResampleContext *avr) in avresample_open() argument
40 if (avresample_is_open(avr)) { in avresample_open()
41 av_log(avr, AV_LOG_ERROR, "The resampling context is already open.\n"); in avresample_open()
46 avr->in_channels = av_get_channel_layout_nb_channels(avr->in_channel_layout); in avresample_open()
47 if (avr->in_channels <= 0 || avr->in_channels > AVRESAMPLE_MAX_CHANNELS) { in avresample_open()
48 av_log(avr, AV_LOG_ERROR, "Invalid input channel layout: %"PRIu64"\n", in avresample_open()
49 avr->in_channel_layout); in avresample_open()
52 avr->out_channels = av_get_channel_layout_nb_channels(avr->out_channel_layout); in avresample_open()
53 if (avr->out_channels <= 0 || avr->out_channels > AVRESAMPLE_MAX_CHANNELS) { in avresample_open()
54 av_log(avr, AV_LOG_ERROR, "Invalid output channel layout: %"PRIu64"\n", in avresample_open()
[all …]
Davresample.h214 int avresample_open(AVAudioResampleContext *avr);
226 int avresample_is_open(AVAudioResampleContext *avr);
245 void avresample_close(AVAudioResampleContext *avr);
258 void avresample_free(AVAudioResampleContext **avr);
307 int avresample_get_matrix(AVAudioResampleContext *avr, double *matrix,
332 int avresample_set_matrix(AVAudioResampleContext *avr, const double *matrix,
366 int avresample_set_channel_mapping(AVAudioResampleContext *avr,
386 int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta,
403 int avresample_get_out_samples(AVAudioResampleContext *avr, int in_nb_samples);
451 int avresample_convert(AVAudioResampleContext *avr, uint8_t **output,
[all …]
Dresample.c120 ResampleContext *ff_audio_resample_init(AVAudioResampleContext *avr) in ff_audio_resample_init() argument
123 int out_rate = avr->out_sample_rate; in ff_audio_resample_init()
124 int in_rate = avr->in_sample_rate; in ff_audio_resample_init()
125 double factor = FFMIN(out_rate * avr->cutoff / in_rate, 1.0); in ff_audio_resample_init()
126 int phase_count = 1 << avr->phase_shift; in ff_audio_resample_init()
129 if (avr->internal_sample_fmt != AV_SAMPLE_FMT_S16P && in ff_audio_resample_init()
130 avr->internal_sample_fmt != AV_SAMPLE_FMT_S32P && in ff_audio_resample_init()
131 avr->internal_sample_fmt != AV_SAMPLE_FMT_FLTP && in ff_audio_resample_init()
132 avr->internal_sample_fmt != AV_SAMPLE_FMT_DBLP) { in ff_audio_resample_init()
133 av_log(avr, AV_LOG_ERROR, "Unsupported internal format for " in ff_audio_resample_init()
[all …]
Daudio_mix.c34 AVAudioResampleContext *avr; member
93 av_log(am->avr, AV_LOG_DEBUG, "audio_mix: found function: [fmt=%s] " in ff_audio_mix_set_func()
332 av_log(am->avr, AV_LOG_ERROR, "audio_mix: NO FUNCTION FOUND: [fmt=%s] " in mix_function_init()
341 AudioMix *ff_audio_mix_alloc(AVAudioResampleContext *avr) in ff_audio_mix_alloc() argument
349 am->avr = avr; in ff_audio_mix_alloc()
351 if (avr->internal_sample_fmt != AV_SAMPLE_FMT_S16P && in ff_audio_mix_alloc()
352 avr->internal_sample_fmt != AV_SAMPLE_FMT_FLTP) { in ff_audio_mix_alloc()
353 av_log(avr, AV_LOG_ERROR, "Unsupported internal format for " in ff_audio_mix_alloc()
355 av_get_sample_fmt_name(avr->internal_sample_fmt)); in ff_audio_mix_alloc()
359 am->fmt = avr->internal_sample_fmt; in ff_audio_mix_alloc()
[all …]
Doptions.c98 AVAudioResampleContext *avr; in avresample_alloc_context() local
100 avr = av_mallocz(sizeof(*avr)); in avresample_alloc_context()
101 if (!avr) in avresample_alloc_context()
104 avr->av_class = &av_resample_context_class; in avresample_alloc_context()
105 av_opt_set_defaults(avr); in avresample_alloc_context()
107 return avr; in avresample_alloc_context()
Daudio_convert.c49 AVAudioResampleContext *avr; member
128 av_log(ac->avr, AV_LOG_DEBUG, "audio_convert: found function: %-4s " in ff_audio_convert_set_func()
260 AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr, in ff_audio_convert_alloc() argument
273 ac->avr = avr; in ff_audio_convert_alloc()
279 if (avr->dither_method != AV_RESAMPLE_DITHER_NONE && in ff_audio_convert_alloc()
282 ac->dc = ff_dither_alloc(avr, out_fmt, in_fmt, channels, sample_rate, in ff_audio_convert_alloc()
322 av_log(ac->avr, AV_LOG_TRACE, "%d samples - audio_convert: %s to %s (dithered)\n", in ff_audio_convert()
340 av_log(ac->avr, AV_LOG_TRACE, "%d samples - audio_convert: %s to %s (%s)\n", len, in ff_audio_convert()
346 ChannelMapInfo *map = &ac->avr->ch_map_info; in ff_audio_convert()
349 av_log(ac->avr, AV_LOG_ERROR, "cannot remap packed format during conversion\n"); in ff_audio_convert()
Ddither.c345 DitherContext *ff_dither_alloc(AVAudioResampleContext *avr, in ff_dither_alloc() argument
356 av_log(avr, AV_LOG_ERROR, "dithering %s to %s is not supported\n", in ff_dither_alloc()
367 c->ch_map_info = &avr->ch_map_info; in ff_dither_alloc()
369 if (avr->dither_method == AV_RESAMPLE_DITHER_TRIANGULAR_NS && in ff_dither_alloc()
371 av_log(avr, AV_LOG_WARNING, "sample rate must be 48000 or 44100 Hz " in ff_dither_alloc()
373 avr->dither_method = AV_RESAMPLE_DITHER_TRIANGULAR_HP; in ff_dither_alloc()
375 c->method = avr->dither_method; in ff_dither_alloc()
397 c->ac_out = ff_audio_convert_alloc(avr, out_fmt, AV_SAMPLE_FMT_S16P, in ff_dither_alloc()
410 c->ac_in = ff_audio_convert_alloc(avr, AV_SAMPLE_FMT_FLTP, in_fmt, in ff_dither_alloc()
Dresample.h29 AVAudioResampleContext *avr; member
66 ResampleContext *ff_audio_resample_init(AVAudioResampleContext *avr);
Ddither.h66 DitherContext *ff_dither_alloc(AVAudioResampleContext *avr,
Daudio_convert.h64 AudioConvert *ff_audio_convert_alloc(AVAudioResampleContext *avr,
Daudio_mix.h68 AudioMix *ff_audio_mix_alloc(AVAudioResampleContext *avr);
/third_party/ffmpeg/libavfilter/
Daf_resample.c40 AVAudioResampleContext *avr; member
82 if (s->avr) { in uninit()
83 avresample_close(s->avr); in uninit()
84 avresample_free(&s->avr); in uninit()
126 if (s->avr) { in config_output()
127 avresample_close(s->avr); in config_output()
128 avresample_free(&s->avr); in config_output()
140 if (!(s->avr = avresample_alloc_context())) in config_output()
149 ret = av_opt_set_dict(s->avr, &s->options); in config_output()
154 av_opt_set_int(s->avr, "in_channel_layout", inlink ->channel_layout, 0); in config_output()
[all …]
/third_party/ffmpeg/libavresample/aarch64/
Dneontest.c25 wrap(avresample_convert(AVAudioResampleContext *avr, uint8_t **output, in wrap() argument
29 testneonclobbers(avresample_convert, avr, output, out_plane_size, in wrap()
/third_party/ffmpeg/libavresample/arm/
Dneontest.c25 wrap(avresample_convert(AVAudioResampleContext *avr, uint8_t **output, in wrap() argument
29 testneonclobbers(avresample_convert, avr, output, out_plane_size, in wrap()
/third_party/ffmpeg/libavresample/x86/
Dw64xmmtest.c25 wrap(avresample_convert(AVAudioResampleContext *avr, uint8_t **output, in wrap() argument
29 testxmmclobbers(avresample_convert, avr, output, out_plane_size, in wrap()
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dfr_MA.txt25 "avr.",
41 "avr.",
/third_party/skia/third_party/externals/icu/source/data/locales/
Dfr_MA.txt25 "avr.",
41 "avr.",
/third_party/icu/icu4c/source/data/locales/
Dfr_MA.txt25 "avr.",
41 "avr.",
Dku.txt200 "avr",
228 "avrêlê",
244 "avr",
272 "avrêl",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/TargetInfo/
DAVRTargetInfo.cpp19 llvm::RegisterTarget<llvm::Triple::avr> X(llvm::getTheAVRTarget(), "avr", in LLVMInitializeAVRTargetInfo()
/third_party/libsnd/tests/
Dtest_wrapper.sh.in291 ./tests/write_read_test@EXEEXT@ avr
292 ./tests/header_test@EXEEXT@ avr
293 ./tests/misc_test@EXEEXT@ avr
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DREADME.md8 * [Architecture notes](https://github.com/avr-llvm/architecture)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTriple.cpp32 case avr: return "avr"; in getArchTypeName()
95 case avr: return "avr"; in getArchTypePrefix()
275 .Case("avr", avr) in getArchTypeForLLVMName()
409 .Case("avr", Triple::avr) in parseArch()
674 case Triple::avr: in getDefaultFormat()
1238 case llvm::Triple::avr: in getArchPointerBitWidth()
1315 case Triple::avr: in get32BitArchVariant()
1380 case Triple::avr: in get64BitArchVariant()
1450 case Triple::avr: in getBigEndianArchVariant()
1535 case Triple::avr: in isLittleEndian()
/third_party/flutter/skia/third_party/externals/icu/source/data/brkitr/
Dfr.txt54 "avr.",
/third_party/icu/icu4c/source/data/brkitr/
Dfr.txt54 "avr.",

123