Sanitize unimplemented functions

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-23 17:08:05 +02:00
parent 4b7e71668e
commit 6be573d090
4 changed files with 45 additions and 16 deletions
+27 -10
View File
@@ -28,43 +28,60 @@
VAStatus SunxiCedrusCreateSubpicture(VADriverContextP context,
VAImageID image_id, VASubpictureID *subpicture_id)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusDestroySubpicture(VADriverContextP context,
VASubpictureID subpicture_id)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusQuerySubpictureFormats(VADriverContextP context,
VAImageFormat *formats, unsigned int *flags,
unsigned int *formats_count)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusSetSubpictureImage(VADriverContextP context,
VASubpictureID subpicture_id, VAImageID image_id)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusSetSubpicturePalette(VADriverContextP context,
VASubpictureID subpicture_id, unsigned char *palette)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusSetSubpictureChromakey(VADriverContextP context,
VASubpictureID subpicture_id, unsigned int chromakey_min,
unsigned int chromakey_max, unsigned int chromakey_mask)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusSetSubpictureGlobalAlpha(VADriverContextP context,
VASubpictureID subpicture_id, float global_alpha)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusAssociateSubpicture(VADriverContextP context,
VASubpictureID subpicture_id, VASurfaceID *surfaces_ids,
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 dst_width, unsigned short dst_height, unsigned int flags)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}
VAStatus SunxiCedrusDeassociateSubpicture(VADriverContextP context,
VASubpictureID subpicture_id, VASurfaceID *surfaces_ids,
int surfaces_count)
{ return VA_STATUS_SUCCESS; }
{
return VA_STATUS_SUCCESS;
}