Sanitize unimplemented functions
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+3
-1
@@ -204,4 +204,6 @@ VAStatus SunxiCedrusBufferSetNumElements(VADriverContextP context,
|
|||||||
|
|
||||||
VAStatus SunxiCedrusBufferInfo(VADriverContextP context, VABufferID buffer_id,
|
VAStatus SunxiCedrusBufferInfo(VADriverContextP context, VABufferID buffer_id,
|
||||||
VABufferType *type, unsigned int *size, unsigned int *count)
|
VABufferType *type, unsigned int *size, unsigned int *count)
|
||||||
{ return VA_STATUS_ERROR_UNIMPLEMENTED; }
|
{
|
||||||
|
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|||||||
+9
-3
@@ -129,15 +129,21 @@ VAStatus SunxiCedrusQueryImageFormats(VADriverContextP context,
|
|||||||
|
|
||||||
VAStatus SunxiCedrusSetImagePalette(VADriverContextP context,
|
VAStatus SunxiCedrusSetImagePalette(VADriverContextP context,
|
||||||
VAImageID image_id, unsigned char *palette)
|
VAImageID image_id, unsigned char *palette)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusGetImage(VADriverContextP context, VASurfaceID surface_id,
|
VAStatus SunxiCedrusGetImage(VADriverContextP context, VASurfaceID surface_id,
|
||||||
int x, int y, unsigned int width, unsigned int height,
|
int x, int y, unsigned int width, unsigned int height,
|
||||||
VAImageID image_id)
|
VAImageID image_id)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusPutImage(VADriverContextP context, VASurfaceID surface_id,
|
VAStatus SunxiCedrusPutImage(VADriverContextP context, VASurfaceID surface_id,
|
||||||
VAImageID image, int src_x, int src_y, unsigned int src_width,
|
VAImageID image, int src_x, int src_y, unsigned int src_width,
|
||||||
unsigned int src_height, int dst_x, int dst_y, unsigned int dst_width,
|
unsigned int src_height, int dst_x, int dst_y, unsigned int dst_width,
|
||||||
unsigned int dst_height)
|
unsigned int dst_height)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|||||||
+27
-10
@@ -28,43 +28,60 @@
|
|||||||
|
|
||||||
VAStatus SunxiCedrusCreateSubpicture(VADriverContextP context,
|
VAStatus SunxiCedrusCreateSubpicture(VADriverContextP context,
|
||||||
VAImageID image_id, VASubpictureID *subpicture_id)
|
VAImageID image_id, VASubpictureID *subpicture_id)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusDestroySubpicture(VADriverContextP context,
|
VAStatus SunxiCedrusDestroySubpicture(VADriverContextP context,
|
||||||
VASubpictureID subpicture_id)
|
VASubpictureID subpicture_id)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusQuerySubpictureFormats(VADriverContextP context,
|
VAStatus SunxiCedrusQuerySubpictureFormats(VADriverContextP context,
|
||||||
VAImageFormat *formats, unsigned int *flags,
|
VAImageFormat *formats, unsigned int *flags,
|
||||||
unsigned int *formats_count)
|
unsigned int *formats_count)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusSetSubpictureImage(VADriverContextP context,
|
VAStatus SunxiCedrusSetSubpictureImage(VADriverContextP context,
|
||||||
VASubpictureID subpicture_id, VAImageID image_id)
|
VASubpictureID subpicture_id, VAImageID image_id)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusSetSubpicturePalette(VADriverContextP context,
|
VAStatus SunxiCedrusSetSubpicturePalette(VADriverContextP context,
|
||||||
VASubpictureID subpicture_id, unsigned char *palette)
|
VASubpictureID subpicture_id, unsigned char *palette)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusSetSubpictureChromakey(VADriverContextP context,
|
VAStatus SunxiCedrusSetSubpictureChromakey(VADriverContextP context,
|
||||||
VASubpictureID subpicture_id, unsigned int chromakey_min,
|
VASubpictureID subpicture_id, unsigned int chromakey_min,
|
||||||
unsigned int chromakey_max, unsigned int chromakey_mask)
|
unsigned int chromakey_max, unsigned int chromakey_mask)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusSetSubpictureGlobalAlpha(VADriverContextP context,
|
VAStatus SunxiCedrusSetSubpictureGlobalAlpha(VADriverContextP context,
|
||||||
VASubpictureID subpicture_id, float global_alpha)
|
VASubpictureID subpicture_id, float global_alpha)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusAssociateSubpicture(VADriverContextP context,
|
VAStatus SunxiCedrusAssociateSubpicture(VADriverContextP context,
|
||||||
VASubpictureID subpicture_id, VASurfaceID *surfaces_ids,
|
VASubpictureID subpicture_id, VASurfaceID *surfaces_ids,
|
||||||
int surfaces_count, short src_x, short src_y, unsigned short src_width,
|
int surfaces_count, short src_x, short src_y, unsigned short src_width,
|
||||||
unsigned short src_height, short dst_x, short dst_y,
|
unsigned short src_height, short dst_x, short dst_y,
|
||||||
unsigned short dst_width, unsigned short dst_height, unsigned int flags)
|
unsigned short dst_width, unsigned short dst_height, unsigned int flags)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusDeassociateSubpicture(VADriverContextP context,
|
VAStatus SunxiCedrusDeassociateSubpicture(VADriverContextP context,
|
||||||
VASubpictureID subpicture_id, VASurfaceID *surfaces_ids,
|
VASubpictureID subpicture_id, VASurfaceID *surfaces_ids,
|
||||||
int surfaces_count)
|
int surfaces_count)
|
||||||
{ return VA_STATUS_SUCCESS; }
|
{
|
||||||
|
return VA_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|||||||
+6
-2
@@ -285,8 +285,12 @@ VAStatus SunxiCedrusLockSurface(VADriverContextP context,
|
|||||||
unsigned int *chroma_u_stride, unsigned int *chroma_v_stride,
|
unsigned int *chroma_u_stride, unsigned int *chroma_v_stride,
|
||||||
unsigned int *luma_offset, unsigned int *chroma_u_offset,
|
unsigned int *luma_offset, unsigned int *chroma_u_offset,
|
||||||
unsigned int *chroma_v_offset, unsigned int *buffer_name, void **buffer)
|
unsigned int *chroma_v_offset, unsigned int *buffer_name, void **buffer)
|
||||||
{ return VA_STATUS_ERROR_UNIMPLEMENTED; }
|
{
|
||||||
|
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
VAStatus SunxiCedrusUnlockSurface(VADriverContextP context,
|
VAStatus SunxiCedrusUnlockSurface(VADriverContextP context,
|
||||||
VASurfaceID surface_id)
|
VASurfaceID surface_id)
|
||||||
{ return VA_STATUS_ERROR_UNIMPLEMENTED; }
|
{
|
||||||
|
return VA_STATUS_ERROR_UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user