mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
vl: small typos and stuff
This commit is contained in:
parent
6b6310e67c
commit
fd2cbe94df
3 changed files with 60 additions and 58 deletions
|
|
@ -42,7 +42,7 @@ VAStatus vlVaConfigProfiles( VADriverContextP ctx,
|
|||
|
||||
VAStatus vlVaConfigEntrypoints( VADriverContextP ctx,
|
||||
VAProfile profile,
|
||||
VAEntypoint *entypoint_list,
|
||||
VAEntrypoint *entypoint_list,
|
||||
int *num_entrypoints)
|
||||
{
|
||||
if (!ctx)
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ VAStatus __vaDriverInit_0_31 (VADriverContextP ctx);
|
|||
|
||||
// Private functions:
|
||||
struct VADriverVTable vlVaGetVtable();
|
||||
|
||||
// Vtable functions:
|
||||
VAStatus vlVaTerminate (VADriverContextP ctx);
|
||||
VAStatus vlVaQueryConfigProfiles (VADriverContextP ctx, VAProfile *profile_list,int *num_profiles);
|
||||
VAStatus vlVaQueryConfigEntrypoints (VADriverContextP ctx, VAProfile profile, VAEntrypoint *entrypoint_list, int *num_entrypoints);
|
||||
|
|
@ -55,7 +57,7 @@ VAStatus vlVaCreateBuffer (VADriverContextP ctx,VAContextID context,VABufferType
|
|||
VAStatus vlVaBufferSetNumElements (VADriverContextP ctx,VABufferID buf_id,unsigned int num_elements);
|
||||
VAStatus vlVaMapBuffer (VADriverContextP ctx,VABufferID buf_id,void **pbuf);
|
||||
VAStatus vlVaUnmapBuffer (VADriverContextP ctx,VABufferID buf_id);
|
||||
VAStatus vlVaDestroyBuffers (VADriverContextP ctx,VABufferID buffer_id);
|
||||
VAStatus vlVaDestroyBuffer (VADriverContextP ctx,VABufferID buffer_id);
|
||||
VAStatus vlVaBeginPicture (VADriverContextP ctx,VAContextID context,VASurfaceID render_target);
|
||||
VAStatus vlVaRenderPicture (VADriverContextP ctx,VAContextID context,VABufferID *buffers,int num_buffers);
|
||||
VAStatus vlVaEndPicture (VADriverContextP ctx,VAContextID context);
|
||||
|
|
|
|||
|
|
@ -30,91 +30,91 @@
|
|||
#include "va_private.h"
|
||||
|
||||
VAStatus vlVaCreateSurfaces( VADriverContextP ctx,
|
||||
int width,
|
||||
int height,
|
||||
int format,
|
||||
int num_surfaces,
|
||||
VASurfaceID *surfaces)
|
||||
int width,
|
||||
int height,
|
||||
int format,
|
||||
int num_surfaces,
|
||||
VASurfaceID *surfaces)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VAStatus vlVaDestroySurfaces( VADriverContextP ctx,
|
||||
VASurfaceID *surface_list,
|
||||
int num_surfaces)
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
VASurfaceID *surface_list,
|
||||
int num_surfaces)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VAStatus vlVaSyncSurface( VADriverContextP ctx,
|
||||
VASurfaceID render_target)
|
||||
VASurfaceID render_target)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VAStatus vlVaQuerySurfaceStatus( VADriverContextP ctx,
|
||||
VASurfaceID render_target,
|
||||
VASurfaceStatus *status)
|
||||
VASurfaceID render_target,
|
||||
VASurfaceStatus *status)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VAStatus vlVaPutSurface( VADriverContextP ctx,
|
||||
VASurfaceID surface,
|
||||
void* draw,
|
||||
short srcx,
|
||||
short srcy,
|
||||
unsigned short srcw,
|
||||
unsigned short srch,
|
||||
short destx,
|
||||
short desty,
|
||||
unsigned short destw,
|
||||
unsigned short desth,
|
||||
VARectangle *cliprects,
|
||||
unsigned int number_cliprects,
|
||||
unsigned int flags)
|
||||
VASurfaceID surface,
|
||||
void* draw,
|
||||
short srcx,
|
||||
short srcy,
|
||||
unsigned short srcw,
|
||||
unsigned short srch,
|
||||
short destx,
|
||||
short desty,
|
||||
unsigned short destw,
|
||||
unsigned short desth,
|
||||
VARectangle *cliprects,
|
||||
unsigned int number_cliprects,
|
||||
unsigned int flags)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VAStatus vlVaLockSurface( VADriverContextP ctx,
|
||||
VASurfaceID surface,
|
||||
unsigned int *fourcc,
|
||||
unsigned int *luma_stride,
|
||||
unsigned int *chroma_u_stride,
|
||||
unsigned int *chroma_v_stride,
|
||||
unsigned int *luma_offset,
|
||||
unsigned int *chroma_u_offset,
|
||||
unsigned int *chroma_v_offset,
|
||||
unsigned int *buffer_name,
|
||||
void **buffer)
|
||||
VASurfaceID surface,
|
||||
unsigned int *fourcc,
|
||||
unsigned int *luma_stride,
|
||||
unsigned int *chroma_u_stride,
|
||||
unsigned int *chroma_v_stride,
|
||||
unsigned int *luma_offset,
|
||||
unsigned int *chroma_u_offset,
|
||||
unsigned int *chroma_v_offset,
|
||||
unsigned int *buffer_name,
|
||||
void **buffer)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
VAStatus vlVaUnlockSurface( VADriverContextP ctx,
|
||||
VASurfaceID surface)
|
||||
VASurfaceID surface)
|
||||
{
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
if (!ctx)
|
||||
return VA_STATUS_ERROR_INVALID_CONTEXT;
|
||||
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue