&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); */
return VA_STATUS_ERROR_UNIMPLEMENTED;
}
-VAStatus vlVaDestroyBuffers( VADriverContextP ctx,
+VAStatus vlVaDestroyBuffer( VADriverContextP ctx,
VABufferID buffer_id)
{
if (!ctx)
int width,
int height,
int format,
- int num_surfaces
+ int num_surfaces,
VASurfaceID *surfaces)
{
if (!ctx)
VAStatus vlVaSyncSurface( VADriverContextP ctx,
VASurfaceID render_target)
+{
if (!ctx)
return VA_STATUS_ERROR_INVALID_CONTEXT;
}
VAStatus vlVaPutSurface( VADriverContextP ctx,
- VADriverContextP ctx,
VASurfaceID surface,
void* draw,
short srcx,