diff options
Diffstat (limited to 'src/gallium/state_trackers/va/va_picture.c')
-rw-r--r-- | src/gallium/state_trackers/va/va_picture.c | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/src/gallium/state_trackers/va/va_picture.c b/src/gallium/state_trackers/va/va_picture.c index 3603dfb..3b52a6a 100644 --- a/src/gallium/state_trackers/va/va_picture.c +++ b/src/gallium/state_trackers/va/va_picture.c @@ -27,35 +27,34 @@ #include <va/va.h> #include <va/va_backend.h> + #include <util/u_debug.h> + #include "va_private.h" -VAStatus vlVaBeginPicture( VADriverContextP ctx, - VAContextID context, - VASurfaceID render_target) +VAStatus +vlVaBeginPicture(VADriverContextP ctx, VAContextID context, 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 vlVaRenderPicture( VADriverContextP ctx, - VAContextID context, - VABufferID *buffers, - int num_buffers) +VAStatus +vlVaRenderPicture(VADriverContextP ctx, VAContextID context, VABufferID *buffers, int num_buffers) { - 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 vlVaEndPicture( VADriverContextP ctx, - VAContextID context) +VAStatus +vlVaEndPicture(VADriverContextP ctx, VAContextID context) { - 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; } |