mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
vl: morefixes to Luc's patch
This commit is contained in:
parent
664f10625a
commit
6b6310e67c
3 changed files with 4 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ static struct VADriverVTable vtable =
|
|||
&vlVaBufferSetNumElements, /* VAStatus (*vaBufferSetNumElements) (VADriverContextP ctx,VABufferID buf_id,unsigned int num_elements); */
|
||||
&vlVaMapBuffer, /* VAStatus (*vaMapBuffer) (VADriverContextP ctx,VABufferID buf_id,void **pbuf); */
|
||||
&vlVaUnmapBuffer, /* VAStatus (*vaUnmapBuffer) (VADriverContextP ctx,VABufferID buf_id); */
|
||||
&vlVaDestroyBuffers, /* VAStatus (*vaDestroyBuffer) (VADriverContextP ctx,VABufferID buffer_id); */
|
||||
&vlVaDestroyBuffer, /* VAStatus (*vaDestroyBuffer) (VADriverContextP ctx,VABufferID buffer_id); */
|
||||
&vlVaBeginPicture, /* VAStatus (*vaBeginPicture) (VADriverContextP ctx,VAContextID context,VASurfaceID render_target); */
|
||||
&vlVaRenderPicture, /* VAStatus (*vaRenderPicture) (VADriverContextP ctx,VAContextID context,VABufferID *buffers,int num_buffers); */
|
||||
&vlVaEndPicture, /* VAStatus (*vaEndPicture) (VADriverContextP ctx,VAContextID context); */
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ VAStatus vlVaUnmapBuffer( VADriverContextP ctx,
|
|||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VAStatus vlVaDestroyBuffers( VADriverContextP ctx,
|
||||
VAStatus vlVaDestroyBuffer( VADriverContextP ctx,
|
||||
VABufferID buffer_id)
|
||||
{
|
||||
if (!ctx)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ VAStatus vlVaCreateSurfaces( VADriverContextP ctx,
|
|||
int width,
|
||||
int height,
|
||||
int format,
|
||||
int num_surfaces
|
||||
int num_surfaces,
|
||||
VASurfaceID *surfaces)
|
||||
{
|
||||
if (!ctx)
|
||||
|
|
@ -53,6 +53,7 @@ VAStatus vlVaDestroySurfaces( VADriverContextP ctx,
|
|||
|
||||
VAStatus vlVaSyncSurface( VADriverContextP ctx,
|
||||
VASurfaceID render_target)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
|
|
@ -70,7 +71,6 @@ VAStatus vlVaQuerySurfaceStatus( VADriverContextP ctx,
|
|||
}
|
||||
|
||||
VAStatus vlVaPutSurface( VADriverContextP ctx,
|
||||
VADriverContextP ctx,
|
||||
VASurfaceID surface,
|
||||
void* draw,
|
||||
short srcx,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue