[Mesa-dev] [st/va] change va max_entrypoints

Christian König deathsimple at vodafone.de
Wed Jun 14 14:21:24 UTC 2017


Am 14.06.2017 um 15:40 schrieb Namburu, Chandu-babu:
>
> From: Chandu Babu N <chandu at amd.com>
>
> As encode support is added along with decode,
>
> now max_entrypoints are two.
>
> vaMaxNumEntrypoints will return correct value.
>
> Signed-off-by: Chandu Babu N <chandu at amd.com>
>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>
> src/gallium/state_trackers/va/context.c | 2 +-
>
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/va/context.c 
> b/src/gallium/state_trackers/va/context.c
>
> index ae9154a332..35be3d0745 100644
>
> --- a/src/gallium/state_trackers/va/context.c
>
> +++ b/src/gallium/state_trackers/va/context.c
>
> @@ -167,7 +167,7 @@ VA_DRIVER_INIT_FUNC(VADriverContextP ctx)
>
>     *ctx->vtable = vtable;
>
>     *ctx->vtable_vpp = vtable_vpp;
>
>     ctx->max_profiles = PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH - 
> PIPE_VIDEO_PROFILE_UNKNOWN;
>
> -   ctx->max_entrypoints = 1;
>
> +   ctx->max_entrypoints = 2;
>
>     ctx->max_attributes = 1;
>
>     ctx->max_image_formats = VL_VA_MAX_IMAGE_FORMATS;
>
>     ctx->max_subpic_formats = 1;
>
> --
>
> 2.7.4
>
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170614/5b27ad83/attachment-0001.html>


More information about the mesa-dev mailing list