Lines Matching refs:va_status
71 #define CHECK_VASTATUS(va_status, func) \
72 if (va_status != VA_STATUS_SUCCESS) { \
436 VAStatus va_status;
449 va_status = vaDeriveImage(ctx->va_dpy, surface_ids[ctx->current_upload_surface], &surface_image);
450 CHECK_VASTATUS(va_status,"vaDeriveImage");
453 assert(VA_STATUS_SUCCESS == va_status);
822 VAStatus va_status;
827 va_status = vaInitialize(ctx->va_dpy,
830 CHECK_VASTATUS(va_status, "vaInitialize");
874 va_status = vaCreateConfig(ctx->va_dpy,
880 CHECK_VASTATUS(va_status, "vaCreateConfig");
883 va_status = vaCreateContext(ctx->va_dpy,
891 CHECK_VASTATUS(va_status, "vaCreateContext");
893 va_status = vaCreateSurfaces(ctx->va_dpy,
901 CHECK_VASTATUS(va_status, "vaCreateSurfaces");
1056 VAStatus va_status;
1060 va_status = vaCreateBuffer(ctx->va_dpy,
1067 CHECK_VASTATUS(va_status, "vaCreateBuffer");
1076 VAStatus va_status;
1095 va_status = vaCreateBuffer(ctx->va_dpy,
1102 CHECK_VASTATUS(va_status, "vaCreateBuffer");;
1111 VAStatus va_status;
1138 va_status = vaCreateBuffer(ctx->va_dpy,
1143 CHECK_VASTATUS(va_status,"vaCreateBuffer");
1145 va_status = vaCreateBuffer(ctx->va_dpy,
1150 CHECK_VASTATUS(va_status,"vaCreateBuffer");
1160 va_status = vaCreateBuffer(ctx->va_dpy,
1165 CHECK_VASTATUS(va_status,"vaCreateBuffer");
1167 va_status = vaCreateBuffer(ctx->va_dpy,
1172 CHECK_VASTATUS(va_status,"vaCreateBuffer");
1178 va_status = vaCreateBuffer(ctx->va_dpy,
1185 CHECK_VASTATUS(va_status,"vaCreateBuffer");;
1196 VAStatus va_status;
1215 va_status = vaBeginPicture(ctx->va_dpy,
1218 CHECK_VASTATUS(va_status,"vaBeginPicture");
1220 va_status = vaRenderPicture(ctx->va_dpy,
1224 CHECK_VASTATUS(va_status,"vaRenderPicture");
1226 va_status = vaRenderPicture(ctx->va_dpy,
1230 CHECK_VASTATUS(va_status,"vaRenderPicture");
1232 va_status = vaEndPicture(ctx->va_dpy, ctx->context_id);
1233 CHECK_VASTATUS(va_status,"vaEndPicture");
1241 VAStatus va_status;
1246 va_status = vaDestroyBuffer(ctx->va_dpy, va_buffers[i]);
1247 CHECK_VASTATUS(va_status,"vaDestroyBuffer");
1297 VAStatus va_status;
1301 va_status = vaSyncSurface(ctx->va_dpy, surface_ids[ctx->current_input_surface]);
1302 CHECK_VASTATUS(va_status,"vaSyncSurface");
1305 va_status = vaQuerySurfaceStatus(ctx->va_dpy, surface_ids[ctx->current_input_surface], &surface_status);
1306 CHECK_VASTATUS(va_status,"vaQuerySurfaceStatus");
1308 va_status = vaMapBuffer(ctx->va_dpy, ctx->codedbuf_buf_id, (void **)(&coded_buffer_segment));
1309 CHECK_VASTATUS(va_status,"vaMapBuffer");
1355 VAStatus va_status;
1384 va_status = vaCreateBuffer(ctx->va_dpy,
1389 CHECK_VASTATUS(va_status,"vaCreateBuffer");