summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/va_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/va/va_image.c')
-rw-r--r--src/gallium/state_trackers/va/va_image.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/va_image.c b/src/gallium/state_trackers/va/va_image.c
index 05b3ffcf403..b7e1320a4e8 100644
--- a/src/gallium/state_trackers/va/va_image.c
+++ b/src/gallium/state_trackers/va/va_image.c
@@ -36,6 +36,21 @@
VAImageFormat *format_list,
int *num_formats)
{
+ if (!ctx)
+ return VA_STATUS_ERROR_INVALID_CONTEXT;
+
return VA_STATUS_ERROR_UNIMPLEMENTED;
+}
+
+VAStatus vlVaCreateImage( VADriverContextP ctx,
+ VAImageFormat *format,
+ int width,
+ int height,
+ VAImage *image)
+{
+ if (!ctx)
+ return VA_STATUS_ERROR_INVALID_CONTEXT;
+
+ return VA_STATUS_ERROR_UNIMPLEMENTED;
} \ No newline at end of file