Lines Matching refs:va_dpy
38 VADisplay va_dpy;
46 va_dpy = vaGetDisplay(dpy);
47 ASSERT( va_dpy );
48 printf("vaGetDisplay: va_dpy = %08x\n", va_dpy);
50 va_status = vaInitialize(va_dpy, &major_version, &minor_version);
59 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces);
71 vaPutSurface(va_dpy, surfaces[0], win, 0, 0, 720, 480, 0, 0, 720, 480, 0);
74 va_status = vaDestroySurface(va_dpy, surfaces, 20);
81 VAProfile *profiles = malloc(vaMaxNumProfiles(va_dpy) * sizeof(VAProfile));
83 printf("vaMaxNumProfiles = %d\n", vaMaxNumProfiles(va_dpy));
85 va_status = vaQueryConfigProfiles(va_dpy, profiles, &num_profiles);
103 va_status = vaGetConfigAttributes(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD,
110 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD, &attrib, 1,
114 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces);
117 va_status = vaCreateContext(va_dpy, config_id, 720, 480, 0 /* flag */, surfaces, 20, &context);
120 va_status = vaDestroyContext(va_dpy, context);
123 va_status = vaDestroySurface(va_dpy, surfaces, 20);
129 va_status = vaCreateBuffer(va_dpy, VAPictureParameterBufferType, &picture_buf[0]);
131 va_status = vaCreateBuffer(va_dpy, VAPictureParameterBufferType, &picture_buf[1]);
133 va_status = vaCreateBuffer(va_dpy, VAPictureParameterBufferType, &picture_buf[2]);
136 va_status = vaDestroyBuffer(va_dpy, picture_buf[0]);
138 va_status = vaDestroyBuffer(va_dpy, picture_buf[2]);
140 va_status = vaDestroyBuffer(va_dpy, picture_buf[1]);
144 va_status = vaTerminate(va_dpy);