Lines Matching defs:va_config
424 * Set *va_config and the frames_ref fields from the current codec parameters
429 VAConfigID *va_config,
523 va_config);
536 hwconfig->config_id = *va_config;
573 *va_config, frames);
604 if (*va_config != VA_INVALID_ID) {
605 vaDestroyConfig(hwctx->display, *va_config);
606 *va_config = VA_INVALID_ID;
618 VAConfigID va_config = VA_INVALID_ID;
625 err = vaapi_decode_make_config(avctx, hw_frames->device_ref, &va_config,
630 if (va_config != VA_INVALID_ID)
631 vaDestroyConfig(hwctx->display, va_config);
642 ctx->va_config = VA_INVALID_ID;
655 &ctx->va_config, NULL);
659 vas = vaCreateContext(ctx->hwctx->display, ctx->va_config,
673 "%#x/%#x.\n", ctx->va_config, ctx->va_context);
695 if (ctx->va_config != VA_INVALID_ID) {
696 vas = vaDestroyConfig(ctx->hwctx->display, ctx->va_config);
700 ctx->va_config, vas, vaErrorStr(vas));