Lines Matching refs:va_status
104 VAStatus va_status;
105 va_status = vaDeriveImage(va_dpy, surf, &image);
106 if (va_status != VA_STATUS_SUCCESS) {
107 ETRACE("vaDeriveImage returns %08x", va_status);
110 va_status = vaMapBuffer(va_dpy, image.buf, (void**)&ptr);
111 if (va_status != VA_STATUS_SUCCESS) {
112 ETRACE("vaMapBuffer returns %08x", va_status);
121 VAStatus va_status;
123 va_status = vaUnmapBuffer(va_dpy, image.buf);
124 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaUnmapBuffer returns %08x", va_status);
126 va_status = vaDestroyImage(va_dpy, image.image_id);
127 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaDestroyImage returns %08x", va_status);
195 VAStatus va_status;
196 va_status = vaCreateSurfaces(va_dpy,
204 if (va_status != VA_STATUS_SUCCESS) {
205 ETRACE("vaCreateSurfaces returns %08x, surface = %x", va_status, surface);
233 VAStatus va_status;
234 va_status = vaCreateSurfacesWithAttribute(va_dpy,
241 if (va_status != VA_STATUS_SUCCESS) {
242 ETRACE("vaCreateSurfacesWithAttribute returns %08x", va_status);
250 VAStatus va_status;
251 va_status = vaDestroySurfaces(va_dpy, &surface, 1);
252 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaDestroySurfaces returns %08x", va_status);
1804 VAStatus va_status;
1809 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver);
1810 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaInitialize returns %08x", va_status);
1814 va_status = vaGetConfigAttributes(va_dpy,
1819 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaGetConfigAttributes returns %08x", va_status);
1821 va_status = vaCreateConfig(
1829 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaCreateConfig returns %08x", va_status);
1834 va_status = vaSetDisplayAttributes(va_dpy, &attr, 1);
1835 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaSetDisplayAttributes returns %08x", va_status);
1838 va_status = vaCreateSurfaces(
1847 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaCreateSurfaces (video in) returns %08x", va_status);
1881 va_status = vaCreateSurfaces(
1890 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaCreateSurfaces (blank rgba in) returns %08x", va_status);
1892 va_status = vaCreateContext(
1901 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaCreateContext returns %08x", va_status);
1904 va_status = vaCreateSurfaces(
1913 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaCreateSurfaces (temp yuv) returns %08x", va_status);
1948 va_status = vaDestroySurfaces(va_dpy, &tmp_yuv, 1);
1949 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaDestroySurfaces (temp yuv) returns %08x", va_status);
1972 VAStatus va_status;
1973 va_status = vaCreateBuffer(va_dpy,
1980 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaCreateBuffer returns %08x", va_status);
1984 va_status = vaMapBuffer(va_dpy,
1987 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaMapBuffer returns %08x", va_status);
1994 va_status = vaUnmapBuffer(va_dpy, pipeline_param_id);
1995 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaUnmapBuffer returns %08x", va_status);
1997 va_status = vaBeginPicture(va_dpy, va_context, va_blank_yuv_in /* just need some valid surface */);
1998 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaBeginPicture returns %08x", va_status);
2000 va_status = vaRenderPicture(va_dpy, va_context, &pipeline_param_id, 1);
2001 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaRenderPicture returns %08x", va_status);
2003 va_status = vaEndPicture(va_dpy, va_context);
2004 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaEndPicture returns %08x", va_status);
2006 va_status = vaDestroyContext(va_dpy, va_context);
2007 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaDestroyContext returns %08x", va_status);
2010 va_status = vaDestroySurfaces(va_dpy, &va_blank_yuv_in, 1);
2011 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaDestroySurfaces (video in) returns %08x", va_status);
2014 va_status = vaDestroySurfaces(va_dpy, &va_blank_rgb_in, 1);
2015 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaDestroySurfaces (blank rgba in) returns %08x", va_status);
2030 VAStatus va_status;
2033 va_status = vaCreateBuffer(va_dpy,
2040 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaCreateBuffer returns %08x", va_status);
2045 va_status = vaMapBuffer(va_dpy,
2048 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaMapBuffer returns %08x", va_status);
2061 va_status = vaUnmapBuffer(va_dpy, pipeline_param_id);
2062 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaUnmapBuffer returns %08x", va_status);
2064 va_status = vaBeginPicture(va_dpy, va_context, videoOut);
2065 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaBeginPicture returns %08x", va_status);
2067 va_status = vaRenderPicture(va_dpy, va_context, &pipeline_param_id, 1);
2068 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaRenderPicture returns %08x", va_status);
2070 va_status = vaEndPicture(va_dpy, va_context);
2071 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaEndPicture returns %08x", va_status);
2073 va_status = vaSyncSurface(va_dpy, videoOut);
2074 if (va_status != VA_STATUS_SUCCESS) ETRACE("vaSyncSurface returns %08x", va_status);
2330 VAStatus va_status;