Home
last modified time | relevance | path

Searched refs:downmix_layout (Results 1 - 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Ddcadec.c362 av_channel_layout_uninit(&s->downmix_layout); in dcadec_init()
363 av_channel_layout_from_mask(&s->downmix_layout, avctx->request_channel_layout & ~AV_CH_LAYOUT_NATIVE); in dcadec_init()
368 if (s->downmix_layout.nb_channels) { in dcadec_init()
369 if (!av_channel_layout_compare(&s->downmix_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO) || in dcadec_init()
370 !av_channel_layout_compare(&s->downmix_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO_DOWNMIX)) in dcadec_init()
372 else if (!av_channel_layout_compare(&s->downmix_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_5POINT0)) in dcadec_init()
374 else if (!av_channel_layout_compare(&s->downmix_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_5POINT1)) in dcadec_init()
399 { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout),
H A Dlibfdk-aacdec.c67 AVChannelLayout downmix_layout; member
102 { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout), AV_OPT_TYPE_CHLAYOUT, {.str = NULL}, .flags = AD },
270 av_channel_layout_uninit(&s->downmix_layout); in fdk_aac_decode_init()
271 av_channel_layout_from_mask(&s->downmix_layout, avctx->request_channel_layout); in fdk_aac_decode_init()
275 if (s->downmix_layout.nb_channels > 0 && in fdk_aac_decode_init()
276 s->downmix_layout.order != AV_CHANNEL_ORDER_NATIVE) { in fdk_aac_decode_init()
279 switch (s->downmix_layout.u.mask) { in fdk_aac_decode_init()
H A Ddcadec.h74 AVChannelLayout downmix_layout; member
H A Dac3dec_float.c50 { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout), AV_OPT_TYPE_CHLAYOUT, {.str = NULL}, .flags = PAR },
H A Dmlpdec.c142 AVChannelLayout downmix_layout; member
305 av_channel_layout_uninit(&m->downmix_layout); in mlp_decode_init()
306 av_channel_layout_from_mask(&m->downmix_layout, avctx->request_channel_layout); in mlp_decode_init()
571 if (mlp_channel_layout_subset(&m->downmix_layout, s->mask) && in read_restart_header()
1399 { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout),
H A Dac3dec.h255 AVChannelLayout downmix_layout; member
H A Dac3dec_fixed.c161 { "downmix", "Request a specific channel layout from the decoder", OFFSET(downmix_layout), AV_OPT_TYPE_CHLAYOUT, {.str = NULL}, .flags = PAR },
H A Dac3dec.c226 av_channel_layout_uninit(&s->downmix_layout); in ac3_decode_init()
227 av_channel_layout_from_mask(&s->downmix_layout, avctx->request_channel_layout); in ac3_decode_init()
232 !av_channel_layout_compare(&s->downmix_layout, &mono)) { in ac3_decode_init()
236 !av_channel_layout_compare(&s->downmix_layout, &stereo)) { in ac3_decode_init()
1610 !av_channel_layout_compare(&s->downmix_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_MONO)) { in ac3_decode_frame()
1614 !av_channel_layout_compare(&s->downmix_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO)) { in ac3_decode_frame()
/third_party/ffmpeg/tools/
H A Dtarget_dec_fuzzer.c390 char *downmix_layout = av_mallocz(19); in LLVMFuzzerTestOneInput() local
391 if (!downmix_layout) in LLVMFuzzerTestOneInput()
393 av_strlcatf(downmix_layout, 19, "0x%"PRIx64, request_channel_layout & ~INT64_MIN); in LLVMFuzzerTestOneInput()
394 av_dict_set(&opts, "downmix", downmix_layout, AV_DICT_DONT_STRDUP_VAL); in LLVMFuzzerTestOneInput()

Completed in 9 milliseconds