diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-06-19 19:09:12 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-27 12:48:16 +0800 |
commit | b0e7feda096d7ae8146ba2e0c22b7bd59b768950 (patch) | |
tree | ede6e8ec07bbb4b449263c3b657a507a8b1557cd /va/va.c | |
parent | 0190b72c557450d4b82c8dc26a5ebaac3df904ec (diff) | |
download | libva-b0e7feda096d7ae8146ba2e0c22b7bd59b768950.tar.gz |
Move some common macro definitions to the new internal header
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'va/va.c')
-rw-r--r-- | va/va.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -50,9 +50,6 @@ #define DRIVER_EXTENSION "_drv_video.so" -#define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext) -#define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; } - #define ASSERT assert #define CHECK_VTABLE(s, ctx, func) if (!va_checkVtable(ctx->vtable->va##func, #func)) s = VA_STATUS_ERROR_UNKNOWN; #define CHECK_MAXIMUM(s, ctx, var) if (!va_checkMaximum(ctx->max_##var, #var)) s = VA_STATUS_ERROR_UNKNOWN; |