union codec_state *codec_state,
struct hw_context *hw_context);
+extern struct hw_context *
+i965_proc_context_init(VADriverContextP ctx,
+ struct object_config *obj_config);
+
static VAStatus
gen75_vpp_fmt_cvt(VADriverContextP ctx,
VAProfile profile,
}
i965_proc_picture(ctx, profile, codec_state,
- (struct hw_context *) proc_ctx->vpp_fmt_cvt_ctx);
+ proc_ctx->vpp_fmt_cvt_ctx);
return va_status;
}
VADriverContextP ctx = (VADriverContextP)(proc_ctx->driver_context);
if(proc_ctx->vpp_fmt_cvt_ctx){
- proc_ctx->vpp_fmt_cvt_ctx->base.destroy(proc_ctx->vpp_fmt_cvt_ctx);
+ proc_ctx->vpp_fmt_cvt_ctx->destroy(proc_ctx->vpp_fmt_cvt_ctx);
proc_ctx->vpp_fmt_cvt_ctx = NULL;
}