• Home
  • Raw
  • Download

Lines Matching refs:va_dpy

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