Lines Matching refs:va_status
557 #define CHECK_VASTATUS(va_status,func) \
558 if (va_status != VA_STATUS_SUCCESS) { \
572 VAStatus va_status;
588 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver);
589 assert(va_status == VA_STATUS_SUCCESS);
591 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileJPEGBaseline, entrypoints,
593 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints");
613 va_status = vaCreateConfig(va_dpy, VAProfileJPEGBaseline, VAEntrypointVLD,
615 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints");
702 va_status = vaCreateSurfaces(va_dpy,surface_type,
705 CHECK_VASTATUS(va_status, "vaCreateSurfaces");
708 va_status = vaCreateContext(va_dpy, config_id,
714 CHECK_VASTATUS(va_status, "vaCreateContext");
716 va_status = vaCreateBuffer(va_dpy, context_id,
721 CHECK_VASTATUS(va_status, "vaCreateBuffer");
735 va_status = vaCreateBuffer(va_dpy, context_id,
740 CHECK_VASTATUS(va_status, "vaCreateBuffer");
765 va_status = vaCreateBuffer(va_dpy, context_id,
770 CHECK_VASTATUS(va_status, "vaCreateBuffer");
791 va_status = vaCreateBuffer(va_dpy, context_id,
796 CHECK_VASTATUS(va_status, "vaCreateBuffer");
798 va_status = vaCreateBuffer(va_dpy, context_id,
804 CHECK_VASTATUS(va_status, "vaCreateBuffer");
806 va_status = vaBeginPicture(va_dpy, context_id, surface_id);
807 CHECK_VASTATUS(va_status, "vaBeginPicture");
809 va_status = vaRenderPicture(va_dpy,context_id, &pic_param_buf, 1);
810 CHECK_VASTATUS(va_status, "vaRenderPicture");
812 va_status = vaRenderPicture(va_dpy,context_id, &iqmatrix_buf, 1);
813 CHECK_VASTATUS(va_status, "vaRenderPicture");
815 va_status = vaRenderPicture(va_dpy,context_id, &huffmantable_buf, 1);
816 CHECK_VASTATUS(va_status, "vaRenderPicture");
818 va_status = vaRenderPicture(va_dpy,context_id, &slice_param_buf, 1);
819 CHECK_VASTATUS(va_status, "vaRenderPicture");
821 va_status = vaRenderPicture(va_dpy,context_id, &slice_data_buf, 1);
822 CHECK_VASTATUS(va_status, "vaRenderPicture");
824 va_status = vaEndPicture(va_dpy,context_id);
825 CHECK_VASTATUS(va_status, "vaEndPicture");
827 va_status = vaSyncSurface(va_dpy, surface_id);
828 CHECK_VASTATUS(va_status, "vaSyncSurface");
839 va_status = va_put_surface(va_dpy, surface_id, &src_rect, &dst_rect);
840 CHECK_VASTATUS(va_status, "vaPutSurface");