Lines Matching refs:vaStatus

200     VAStatus vaStatus = VA_STATUS_ERROR_UNKNOWN;  in va_openDriver()  local
275 vaStatus = VA_STATUS_SUCCESS; in va_openDriver()
279 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; in va_openDriver()
288 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; in va_openDriver()
292 if (init_func && VA_STATUS_SUCCESS == vaStatus) in va_openDriver()
293 vaStatus = (*init_func)(ctx); in va_openDriver()
295 if (VA_STATUS_SUCCESS == vaStatus) { in va_openDriver()
296 CHECK_MAXIMUM(vaStatus, ctx, profiles); in va_openDriver()
297 CHECK_MAXIMUM(vaStatus, ctx, entrypoints); in va_openDriver()
298 CHECK_MAXIMUM(vaStatus, ctx, attributes); in va_openDriver()
299 CHECK_MAXIMUM(vaStatus, ctx, image_formats); in va_openDriver()
300 CHECK_MAXIMUM(vaStatus, ctx, subpic_formats); in va_openDriver()
301 CHECK_MAXIMUM(vaStatus, ctx, display_attributes); in va_openDriver()
302 CHECK_STRING(vaStatus, ctx, vendor); in va_openDriver()
303 CHECK_VTABLE(vaStatus, ctx, Terminate); in va_openDriver()
304 CHECK_VTABLE(vaStatus, ctx, QueryConfigProfiles); in va_openDriver()
305 CHECK_VTABLE(vaStatus, ctx, QueryConfigEntrypoints); in va_openDriver()
306 CHECK_VTABLE(vaStatus, ctx, QueryConfigAttributes); in va_openDriver()
307 CHECK_VTABLE(vaStatus, ctx, CreateConfig); in va_openDriver()
308 CHECK_VTABLE(vaStatus, ctx, DestroyConfig); in va_openDriver()
309 CHECK_VTABLE(vaStatus, ctx, GetConfigAttributes); in va_openDriver()
310 CHECK_VTABLE(vaStatus, ctx, CreateSurfaces); in va_openDriver()
311 CHECK_VTABLE(vaStatus, ctx, DestroySurfaces); in va_openDriver()
312 CHECK_VTABLE(vaStatus, ctx, CreateContext); in va_openDriver()
313 CHECK_VTABLE(vaStatus, ctx, DestroyContext); in va_openDriver()
314 CHECK_VTABLE(vaStatus, ctx, CreateBuffer); in va_openDriver()
315 CHECK_VTABLE(vaStatus, ctx, BufferSetNumElements); in va_openDriver()
316 CHECK_VTABLE(vaStatus, ctx, MapBuffer); in va_openDriver()
317 CHECK_VTABLE(vaStatus, ctx, UnmapBuffer); in va_openDriver()
318 CHECK_VTABLE(vaStatus, ctx, DestroyBuffer); in va_openDriver()
319 CHECK_VTABLE(vaStatus, ctx, BeginPicture); in va_openDriver()
320 CHECK_VTABLE(vaStatus, ctx, RenderPicture); in va_openDriver()
321 CHECK_VTABLE(vaStatus, ctx, EndPicture); in va_openDriver()
322 CHECK_VTABLE(vaStatus, ctx, SyncSurface); in va_openDriver()
323 CHECK_VTABLE(vaStatus, ctx, QuerySurfaceStatus); in va_openDriver()
324 CHECK_VTABLE(vaStatus, ctx, PutSurface); in va_openDriver()
325 CHECK_VTABLE(vaStatus, ctx, QueryImageFormats); in va_openDriver()
326 CHECK_VTABLE(vaStatus, ctx, CreateImage); in va_openDriver()
327 CHECK_VTABLE(vaStatus, ctx, DeriveImage); in va_openDriver()
328 CHECK_VTABLE(vaStatus, ctx, DestroyImage); in va_openDriver()
329 CHECK_VTABLE(vaStatus, ctx, SetImagePalette); in va_openDriver()
330 CHECK_VTABLE(vaStatus, ctx, GetImage); in va_openDriver()
331 CHECK_VTABLE(vaStatus, ctx, PutImage); in va_openDriver()
332 CHECK_VTABLE(vaStatus, ctx, QuerySubpictureFormats); in va_openDriver()
333 CHECK_VTABLE(vaStatus, ctx, CreateSubpicture); in va_openDriver()
334 CHECK_VTABLE(vaStatus, ctx, DestroySubpicture); in va_openDriver()
335 CHECK_VTABLE(vaStatus, ctx, SetSubpictureImage); in va_openDriver()
336 CHECK_VTABLE(vaStatus, ctx, SetSubpictureChromakey); in va_openDriver()
337 CHECK_VTABLE(vaStatus, ctx, SetSubpictureGlobalAlpha); in va_openDriver()
338 CHECK_VTABLE(vaStatus, ctx, AssociateSubpicture); in va_openDriver()
339 CHECK_VTABLE(vaStatus, ctx, DeassociateSubpicture); in va_openDriver()
340 CHECK_VTABLE(vaStatus, ctx, QueryDisplayAttributes); in va_openDriver()
341 CHECK_VTABLE(vaStatus, ctx, GetDisplayAttributes); in va_openDriver()
342 CHECK_VTABLE(vaStatus, ctx, SetDisplayAttributes); in va_openDriver()
344 if (VA_STATUS_SUCCESS != vaStatus) { in va_openDriver()
348 if (VA_STATUS_SUCCESS == vaStatus) in va_openDriver()
361 return vaStatus; in va_openDriver()
450 VAStatus vaStatus; in vaInitialize() local
460 vaStatus = va_getDriverName(dpy, &driver_name); in vaInitialize()
461 va_infoMessage("va_getDriverName() returns %d\n", vaStatus); in vaInitialize()
464 if ((VA_STATUS_SUCCESS == vaStatus) && in vaInitialize()
471 vaStatus = VA_STATUS_SUCCESS; in vaInitialize()
475 if ((VA_STATUS_SUCCESS == vaStatus) && (driver_name != NULL)) { in vaInitialize()
476 vaStatus = va_openDriver(dpy, driver_name); in vaInitialize()
477 va_infoMessage("va_openDriver() returns %d\n", vaStatus); in vaInitialize()
483 vaErrorStr(vaStatus), driver_name); in vaInitialize()
490 return vaStatus; in vaInitialize()
501 VAStatus vaStatus = VA_STATUS_SUCCESS; in vaTerminate() local
509 vaStatus = old_ctx->vtable->vaTerminate(old_ctx); in vaTerminate()
524 if (VA_STATUS_SUCCESS == vaStatus) in vaTerminate()
527 return vaStatus; in vaTerminate()
635 VAStatus vaStatus = VA_STATUS_SUCCESS; in vaCreateConfig() local
640vaStatus = ctx->vtable->vaCreateConfig ( ctx, profile, entrypoint, attrib_list, num_attribs, confi… in vaCreateConfig()
646 return vaStatus; in vaCreateConfig()
822 VAStatus vaStatus; in vaQuerySurfaceAttributes() local
830 vaStatus = va_impl_query_surface_attributes(ctx, config, in vaQuerySurfaceAttributes()
833 vaStatus = ctx->vtable->vaQuerySurfaceAttributes(ctx, config, in vaQuerySurfaceAttributes()
838 return vaStatus; in vaQuerySurfaceAttributes()
854 VAStatus vaStatus; in vaCreateSurfaces() local
862 vaStatus = ctx->vtable->vaCreateSurfaces2(ctx, format, width, height, in vaCreateSurfaces()
866 vaStatus = VA_STATUS_ERROR_ATTR_NOT_SUPPORTED; in vaCreateSurfaces()
868 vaStatus = ctx->vtable->vaCreateSurfaces(ctx, width, height, format, in vaCreateSurfaces()
874 return vaStatus; in vaCreateSurfaces()
885 VAStatus vaStatus; in vaDestroySurfaces() local
893 vaStatus = ctx->vtable->vaDestroySurfaces( ctx, surface_list, num_surfaces ); in vaDestroySurfaces()
895 return vaStatus; in vaDestroySurfaces()
910 VAStatus vaStatus; in vaCreateContext() local
915 vaStatus = ctx->vtable->vaCreateContext( ctx, config_id, picture_width, picture_height, in vaCreateContext()
921 return vaStatus; in vaCreateContext()
947 VAStatus vaStatus; in vaCreateBuffer() local
954 vaStatus = ctx->vtable->vaCreateBuffer( ctx, context, type, size, num_elements, data, buf_id); in vaCreateBuffer()
959 return vaStatus; in vaCreateBuffer()