[Libva] [PATCH] initial export_refcount for obj_buffer

Zhao, Yakui yakui.zhao at intel.com
Mon Sep 8 18:49:12 PDT 2014


On Tue, 2014-09-02 at 02:28 -0600, Zhao, Halley wrote:
> From: "Zhao, Halley" <halley.zhao at intel.com>

This looks good to me. And this patch will be applied.

Hi, Gwenole

    Do you have any further followup about the export_refcount?

Thanks.
    Yakui

> 
> ---
>  src/i965_drv_video.c | 1 +
>  1 file changed, 1 insertion(+)
>  mode change 100755 => 100644 src/i965_drv_video.c
> 
> diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
> old mode 100755
> new mode 100644
> index a628e05..b701923
> --- a/src/i965_drv_video.c
> +++ b/src/i965_drv_video.c
> @@ -1998,6 +1998,7 @@ i965_create_buffer_internal(VADriverContextP ctx,
>      obj_buffer->num_elements = num_elements;
>      obj_buffer->size_element = size;
>      obj_buffer->type = type;
> +    obj_buffer->export_refcount = 0;
>      obj_buffer->buffer_store = NULL;
>      buffer_store = calloc(1, sizeof(struct buffer_store));
>      assert(buffer_store);




More information about the Libva mailing list