/hardware/intel/common/libva/test/basic/ |
test_android.c | 26 VADisplay va_dpy; variable 38 va_dpy = vaGetDisplay(dpy); 39 ASSERT( va_dpy ); 40 status("vaGetDisplay: va_dpy = %08x\n", va_dpy); 42 va_status = vaInitialize(va_dpy, &major_version, &minor_version); 49 va_status = vaTerminate(va_dpy);
|
test_x11.c | 26 VADisplay va_dpy; variable 37 va_dpy = vaGetDisplay(dpy); 38 ASSERT( va_dpy ); 39 status("vaGetDisplay: va_dpy = %08x\n", va_dpy); 41 va_status = vaInitialize(va_dpy, &major_version, &minor_version); 48 va_status = vaTerminate(va_dpy);
|
test.c | 38 VADisplay va_dpy; local 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)) [all...] |
test_common.c | 49 VADisplay va_dpy; variable 143 max_profiles = vaMaxNumProfiles(va_dpy); 149 va_status = vaQueryConfigProfiles(va_dpy, profiles, &num_profiles);
|
/hardware/intel/common/libva/test/common/ |
va_display.c | 119 VADisplay va_dpy = NULL; local 122 for (i = 0; !va_dpy && g_display_hooks_available[i]; i++) { 129 va_dpy = g_display_hooks->open_display(); 132 if (!va_dpy) { 139 return va_dpy; 143 va_close_display(VADisplay va_dpy) 145 if (!va_dpy) 149 g_display_hooks->close_display(va_dpy); 154 VADisplay va_dpy, 160 if (!va_dpy) [all...] |
/hardware/intel/common/libva/test/vainfo/ |
vainfo.c | 87 VADisplay va_dpy; local 103 va_dpy = va_open_display(); 104 if (NULL == va_dpy) 110 va_status = vaInitialize(va_dpy, &major_version, &minor_version); 116 driver = vaQueryVendorString(va_dpy); 120 max_num_profiles = vaMaxNumProfiles(va_dpy); 129 va_status = vaQueryConfigProfiles(va_dpy, profile_list, &num_profiles); 136 va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, 150 vaTerminate(va_dpy); 151 va_close_display(va_dpy); [all...] |
/hardware/intel/common/libva/test/decode/ |
mpeg2vldemo.cpp | 149 VADisplay va_dpy; local 158 va_dpy = va_open_display(); 159 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 162 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileMPEG2Main, entrypoints, 177 vaGetConfigAttributes(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD, 184 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD, 189 va_dpy, 197 va_status = vaCreateContext(va_dpy, config_id, 206 va_status = vaCreateBuffer(va_dpy, context_id, 213 va_status = vaCreateBuffer(va_dpy, context_id [all...] |
tinyjpeg.c | 571 VADisplay va_dpy; local 587 va_dpy = va_open_display(); 588 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 591 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileJPEGBaseline, entrypoints, 606 vaGetConfigAttributes(va_dpy, VAProfileJPEGBaseline, VAEntrypointVLD, 613 va_status = vaCreateConfig(va_dpy, VAProfileJPEGBaseline, VAEntrypointVLD, 702 va_status = vaCreateSurfaces(va_dpy,surface_type, 708 va_status = vaCreateContext(va_dpy, config_id, 716 va_status = vaCreateBuffer(va_dpy, context_id, 735 va_status = vaCreateBuffer(va_dpy, context_id [all...] |
/external/libvncserver/libvncclient/ |
h264.c | 33 VADisplay va_dpy = NULL; variable 54 gva_status = vaQuerySurfaceStatus(va_dpy, X, &gsurface_status); \ 173 va_status = vaDestroySurfaces(va_dpy, &va_surface_id[0], SURFACE_NUM); 178 va_status = vaDestroyContext(va_dpy, va_context_id); 194 rfbClientLog("%s: va_dpy already initialized\n", __FUNCTION__); 197 if (va_dpy != NULL) { 211 va_dpy = vaGetDisplay(win_display); 212 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 224 va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, &num_entrypoints); 242 va_status = vaCreateConfig(va_dpy, profile, VAEntrypointVLD, &attrib, 1, &va_config_id) [all...] |
/hardware/intel/img/hwcomposer/merrifield/include/ |
VirtualDevice.h | 141 VADisplay va_dpy; member in class:android::intel::VirtualDevice
|
/hardware/intel/common/libva/test/putsurface/ |
putsurface_common.c | 62 static VADisplay va_dpy; variable 160 num_image_formats = vaMaxNumImageFormats(va_dpy); 168 va_status = vaQueryImageFormats(va_dpy, image_formats, &num_image_formats); 202 num_image_formats = vaMaxNumImageFormats(va_dpy); 206 va_status = vaCreateConfig(va_dpy, VAProfileNone, VAEntrypointVideoProc, 217 va_status = vaQuerySurfaceAttributes(va_dpy, vpp_config_id, 228 va_status = vaQuerySurfaceAttributes(va_dpy, vpp_config_id, 283 va_dpy, 296 va_status = vaCreateImage(va_dpy, &image_format, 304 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420 [all...] |
/hardware/intel/common/libva/test/videoprocess/ |
videoprocess.cpp | 53 static VADisplay va_dpy = NULL; variable 195 va_status = vaCreateSurfaces(va_dpy, 217 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); 220 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); 248 vaUnmapBuffer(va_dpy, surface_image.buf); 249 vaDestroyImage(va_dpy, surface_image.image_id); 268 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); 271 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); 349 vaUnmapBuffer(va_dpy, surface_image.buf); 350 vaDestroyImage(va_dpy, surface_image.image_id) [all...] |
/hardware/intel/common/libva/test/encode/ |
avcenc.c | 79 static VADisplay va_dpy; variable 164 va_dpy = va_open_display(); 165 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 168 vaQueryConfigEntrypoints(va_dpy, avcenc_context.profile, entrypoints, 184 vaGetConfigAttributes(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, 201 va_status = vaCreateConfig(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, 206 va_status = vaCreateContext(va_dpy, avcenc_context.config_id, 216 vaDestroyContext(va_dpy,avcenc_context.context_id); 217 vaDestroyConfig(va_dpy,avcenc_context.config_id); 218 vaTerminate(va_dpy); [all...] |
mpeg2enc.c | 125 VADisplay va_dpy; member in struct:mpeg2enc_context 449 va_status = vaDeriveImage(ctx->va_dpy, surface_ids[ctx->current_upload_surface], &surface_image); 452 vaMapBuffer(ctx->va_dpy, surface_image.buf, &surface_p); 495 vaUnmapBuffer(ctx->va_dpy, surface_image.buf); 496 vaDestroyImage(ctx->va_dpy, surface_image.image_id); 826 ctx->va_dpy = va_open_display(); 827 va_status = vaInitialize(ctx->va_dpy, 832 max_entrypoints = vaMaxNumEntrypoints(ctx->va_dpy); 834 vaQueryConfigEntrypoints(ctx->va_dpy, 854 vaGetConfigAttributes(ctx->va_dpy, [all...] |
mpeg2vaenc.c | 125 VADisplay va_dpy; member in struct:mpeg2enc_context 449 va_status = vaDeriveImage(ctx->va_dpy, surface_ids[ctx->current_upload_surface], &surface_image); 452 vaMapBuffer(ctx->va_dpy, surface_image.buf, &surface_p); 495 vaUnmapBuffer(ctx->va_dpy, surface_image.buf); 496 vaDestroyImage(ctx->va_dpy, surface_image.image_id); 826 ctx->va_dpy = va_open_display(); 827 va_status = vaInitialize(ctx->va_dpy, 832 max_entrypoints = vaMaxNumEntrypoints(ctx->va_dpy); 834 vaQueryConfigEntrypoints(ctx->va_dpy, 854 vaGetConfigAttributes(ctx->va_dpy, [all...] |
h264encode.c | 77 static VADisplay va_dpy; variable 927 va_dpy = va_open_display(); 928 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 931 num_entrypoints = vaMaxNumEntrypoints(va_dpy); 944 vaQueryConfigEntrypoints(va_dpy, h264_profile, entrypoints, &num_entrypoints); [all...] |
/hardware/intel/common/libva/test/transcode/ |
mpeg2transcode.cpp | 1942 static VADisplay va_dpy; variable [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
VirtualDevice.cpp | 101 : va_dpy(dpy), 105 va_status = vaDeriveImage(va_dpy, surf, &image); 110 va_status = vaMapBuffer(va_dpy, image.buf, (void**)&ptr); 113 vaDestroyImage(va_dpy, image.image_id); 123 va_status = vaUnmapBuffer(va_dpy, image.buf); 126 va_status = vaDestroyImage(va_dpy, image.image_id); 132 VADisplay va_dpy; member in class:android::intel::MappedSurface 140 : va_dpy(dpy), 196 va_status = vaCreateSurfaces(va_dpy, 210 : va_dpy(dpy) 255 VADisplay va_dpy; member in class:android::intel::VirtualDevice::VAMappedHandle [all...] |