[Libva] [PATCH] gen6: MPEG2 is not supported by gen6 pipeline
Xiang, Haihao
haihao.xiang at intel.com
Tue Feb 19 18:05:24 PST 2013
Thanks for your fix to this error. Applied.
> From: Adrian Marius Negreanu <adrian.m.negreanu at intel.com>
>
> Commit 65e10683 added MPEG2 encoding for IVB but also for gen6.
> This causes a missmatch between the profile(MPEG) and the pipeline
> used(AVC).
>
> Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu at intel.com>
> ---
> src/gen6_vme.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gen6_vme.c b/src/gen6_vme.c
> index 6e0a75b..95f2d08 100644
> --- a/src/gen6_vme.c
> +++ b/src/gen6_vme.c
> @@ -991,7 +991,7 @@ Bool gen6_vme_context_init(VADriverContextP ctx, struct intel_encoder_context *e
> vme_context->vme_media_rw_surface_setup = gen7_gpe_media_rw_surface_setup;
> vme_context->vme_buffer_suface_setup = gen7_gpe_buffer_suface_setup;
> } else {
> - if (vme_context->video_coding_type == VIDEO_CODING_MPEG2) {
> + if (vme_context->video_coding_type == VIDEO_CODING_AVC) {
> i965_gpe_load_kernels(ctx,
> &vme_context->gpe_context,
> gen6_vme_kernels,
More information about the Libva
mailing list