Lines Matching refs:va_status
48 #define CHECK_VASTATUS(va_status,func) \
49 if (va_status != VA_STATUS_SUCCESS) { \
150 VAStatus va_status;
159 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver);
160 assert(va_status == VA_STATUS_SUCCESS);
162 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileMPEG2Main, entrypoints,
164 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints");
184 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD,
186 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints");
188 va_status = vaCreateSurfaces(
194 CHECK_VASTATUS(va_status, "vaCreateSurfaces");
197 va_status = vaCreateContext(va_dpy, config_id,
204 CHECK_VASTATUS(va_status, "vaCreateContext");
206 va_status = vaCreateBuffer(va_dpy, context_id,
211 CHECK_VASTATUS(va_status, "vaCreateBuffer");
213 va_status = vaCreateBuffer(va_dpy, context_id,
218 CHECK_VASTATUS(va_status, "vaCreateBuffer");
220 va_status = vaCreateBuffer(va_dpy, context_id,
225 CHECK_VASTATUS(va_status, "vaCreateBuffer");
227 va_status = vaCreateBuffer(va_dpy, context_id,
233 CHECK_VASTATUS(va_status, "vaCreateBuffer");
235 va_status = vaBeginPicture(va_dpy, context_id, surface_id);
236 CHECK_VASTATUS(va_status, "vaBeginPicture");
238 va_status = vaRenderPicture(va_dpy,context_id, &pic_param_buf, 1);
239 CHECK_VASTATUS(va_status, "vaRenderPicture");
241 va_status = vaRenderPicture(va_dpy,context_id, &iqmatrix_buf, 1);
242 CHECK_VASTATUS(va_status, "vaRenderPicture");
244 va_status = vaRenderPicture(va_dpy,context_id, &slice_param_buf, 1);
245 CHECK_VASTATUS(va_status, "vaRenderPicture");
247 va_status = vaRenderPicture(va_dpy,context_id, &slice_data_buf, 1);
248 CHECK_VASTATUS(va_status, "vaRenderPicture");
250 va_status = vaEndPicture(va_dpy,context_id);
251 CHECK_VASTATUS(va_status, "vaEndPicture");
253 va_status = vaSyncSurface(va_dpy, surface_id);
254 CHECK_VASTATUS(va_status, "vaSyncSurface");
269 va_status = va_put_surface(va_dpy, surface_id, &src_rect, &dst_rect);
270 CHECK_VASTATUS(va_status, "vaPutSurface");