image: Mark unimplemented functions as such

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-07-18 14:21:02 +02:00
parent 829abae895
commit 793a29d668
+3 -3
View File
@@ -179,14 +179,14 @@ VAStatus RequestQueryImageFormats(VADriverContextP context,
VAStatus RequestSetImagePalette(VADriverContextP context, VAImageID image_id,
unsigned char *palette)
{
return VA_STATUS_SUCCESS;
return VA_STATUS_ERROR_UNIMPLEMENTED;
}
VAStatus RequestGetImage(VADriverContextP context, VASurfaceID surface_id,
int x, int y, unsigned int width, unsigned int height,
VAImageID image_id)
{
return VA_STATUS_SUCCESS;
return VA_STATUS_ERROR_UNIMPLEMENTED;
}
VAStatus RequestPutImage(VADriverContextP context, VASurfaceID surface_id,
@@ -195,5 +195,5 @@ VAStatus RequestPutImage(VADriverContextP context, VASurfaceID surface_id,
int dst_x, int dst_y, unsigned int dst_width,
unsigned int dst_height)
{
return VA_STATUS_SUCCESS;
return VA_STATUS_ERROR_UNIMPLEMENTED;
}