diff options
Diffstat (limited to 'va/va_tpi.c')
| -rw-r--r-- | va/va_tpi.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/va/va_tpi.c b/va/va_tpi.c index e9169fc..5451f70 100644 --- a/va/va_tpi.c +++ b/va/va_tpi.c @@ -202,3 +202,22 @@ VAStatus vaPutSurfaceBuf ( } else return VA_STATUS_ERROR_UNIMPLEMENTED; } + +VAStatus vaSetTimestampForSurface( + VADisplay dpy, + VASurfaceID surface, + long long timestamp +) +{ + VADriverContextP ctx; + struct VADriverVTableTPI *tpi; + CHECK_DISPLAY(dpy); + ctx = CTX(dpy); + + tpi = ( struct VADriverVTableTPI *)ctx->vtable_tpi; + if (tpi && tpi->vaSetTimestampForSurface) { + return tpi->vaSetTimestampForSurface(ctx, surface, timestamp); + } else + return VA_STATUS_ERROR_UNIMPLEMENTED; + +} |
