[Mesa-dev] [PATCH] st/va: pass picture desc to begin and decode
Christian König
deathsimple at vodafone.de
Mon Oct 26 07:39:00 PDT 2015
Done, but you should apply for an account.
Best regards,
Christian.
On 26.10.2015 13:46, Julien Isorce wrote:
> Hi Christian,
>
> Would you mind to push this patch ? Thx
>
> Cheers
> Julien
>
> On 23 October 2015 at 14:33, Christian König <deathsimple at vodafone.de
> <mailto:deathsimple at vodafone.de>> wrote:
>
> On 23.10.2015 14:25, Julien Isorce wrote:
>
> At least vl_mpeg12_decoder uses the picture
> desc in begin_frame and decode_bitstream.
>
> https://bugs.freedesktop.org/show_bug.cgi?id=92634
>
> Signed-off-by: Julien Isorce <j.isorce at samsung.com
> <mailto:j.isorce at samsung.com>>
>
>
> Reviewed-by: Christian König <christian.koenig at amd.com
> <mailto:christian.koenig at amd.com>>
>
> ---
> src/gallium/state_trackers/va/picture.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/state_trackers/va/picture.c
> b/src/gallium/state_trackers/va/picture.c
> index 9b94b39..a0d530b 100644
> --- a/src/gallium/state_trackers/va/picture.c
> +++ b/src/gallium/state_trackers/va/picture.c
> @@ -58,7 +58,7 @@ vlVaBeginPicture(VADriverContextP ctx,
> VAContextID context_id, VASurfaceID rende
> return VA_STATUS_ERROR_INVALID_SURFACE;
> context->target = surf->buffer;
> - context->decoder->begin_frame(context->decoder,
> context->target, NULL);
> + context->decoder->begin_frame(context->decoder,
> context->target, &context->desc.base);
> return VA_STATUS_SUCCESS;
> }
> @@ -517,7 +517,7 @@ handleVASliceDataBufferType(vlVaContext
> *context, vlVaBuffer *buf)
> buffers[num_buffers] = buf->data;
> sizes[num_buffers] = buf->size;
> ++num_buffers;
> - context->decoder->decode_bitstream(context->decoder,
> context->target, NULL,
> + context->decoder->decode_bitstream(context->decoder,
> context->target, &context->desc.base,
> num_buffers, (const void * const*)buffers, sizes);
> }
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org <mailto:mesa-dev at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151026/2dbef535/attachment-0001.html>
More information about the mesa-dev
mailing list