Lines Matching refs:config
302 const AVCodecHWConfig *config;
306 config = avcodec_get_hw_config(codec, i);
307 if (!config)
309 if (!(config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX))
311 dev = hw_device_get_by_type(config->device_type);
319 const AVCodecHWConfig *config;
387 config = avcodec_get_hw_config(ist->dec, i);
388 if (!config)
390 type = config->device_type;
399 config = avcodec_get_hw_config(ist->dec, i);
400 if (!config)
402 type = config->device_type;
447 const AVCodecHWConfig *config;
464 config = avcodec_get_hw_config(ost->enc, i);
465 if (!config)
469 config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX &&
470 (config->pix_fmt == AV_PIX_FMT_NONE ||
471 config->pix_fmt == ost->enc_ctx->pix_fmt)) {
483 config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX)
484 dev = hw_device_get_by_type(config->device_type);