/hardware/intel/common/libva/test/basic/ |
H A D | test_03.c | 25 #define TEST_DESCRIPTION "Query entrypoints for all profiles" 44 VAEntrypoint *entrypoints = malloc(max_entrypoints * sizeof(VAEntrypoint)); local 45 ASSERT(entrypoints); 49 memset(entrypoints, 0xff, max_entrypoints * sizeof(VAEntrypoint)); 50 va_status = vaQueryConfigEntrypoints(va_dpy, profiles[i], entrypoints, &num_entrypoints); 52 status("vaQueryConfigEntryPoints(%s) reports %d entrypoints\n", profile2string(profiles[i]), num_entrypoints); 57 status(" entrypoint %d [%s]\n", entrypoints[j], entrypoint2string(entrypoints[j])); 61 free(entrypoints);
|
H A D | test_04.c | 25 #define TEST_DESCRIPTION "Get config attributes for all profiles / entrypoints" 52 VAEntrypoint *entrypoints = malloc(max_entrypoints * sizeof(VAEntrypoint)); local 53 ASSERT(entrypoints); 60 va_status = vaQueryConfigEntrypoints(va_dpy, profiles[i], entrypoints, &num_entrypoints); 66 status("vaGetConfigAttributes for %s, %s\n", profile2string(profiles[i]), entrypoint2string(entrypoints[j])); 67 va_status = vaGetConfigAttributes(va_dpy, profiles[i], entrypoints[j], attrib_list, num_attribs); 78 free(entrypoints);
|
H A D | test_05.c | 25 #define TEST_DESCRIPTION "Create/destroy configs for all profiles / entrypoints" 43 VAEntrypoint *entrypoints = malloc(max_entrypoints * sizeof(VAEntrypoint)); local 44 ASSERT(entrypoints); 50 va_status = vaQueryConfigEntrypoints(va_dpy, profiles[i], entrypoints, &num_entrypoints); 55 status("vaCreateConfig for %s, %s\n", profile2string(profiles[i]), entrypoint2string(entrypoints[j])); 56 va_status = vaCreateConfig(va_dpy, profiles[i], entrypoints[j], NULL, 0, &(configs[config_count])); 71 free(entrypoints);
|
H A D | test_06.c | 30 VAEntrypoint *entrypoints; variable 46 entrypoints = malloc(max_entrypoints * sizeof(VAEntrypoint)); 47 ASSERT(entrypoints); 56 va_status = vaQueryConfigEntrypoints(va_dpy, profiles[i], entrypoints, &num_entrypoints); 61 va_status = vaCreateConfig(va_dpy, profiles[i], entrypoints[j], NULL, 0, &(configs[config_count])); 83 va_status = vaQueryConfigEntrypoints(va_dpy, profiles[i], entrypoints, &num_entrypoints); 91 status("Checking vaQueryConfigAttributes for %s, %s\n", profile2string(profiles[i]), entrypoint2string(entrypoints[j])); 98 ASSERT( entrypoint == entrypoints[j] ); 121 free(entrypoints);
|
H A D | test_09.c | 25 #define TEST_DESCRIPTION "Create/destroy contexts for all profiles / entrypoints" 43 VAEntrypoint *entrypoints = malloc(max_entrypoints * sizeof(VAEntrypoint)); local 44 ASSERT(entrypoints); 51 va_status = vaQueryConfigEntrypoints(va_dpy, profiles[i], entrypoints, &num_entrypoints); 56 status("vaCreateConfig for %s, %s\n", profile2string(profiles[i]), entrypoint2string(entrypoints[j])); 57 va_status = vaCreateConfig(va_dpy, profiles[i], entrypoints[j], NULL, 0, &(configs[config_count])); 103 free(entrypoints);
|
H A D | test_vaSurfaceAttrib.c | 37 VAEntrypoint entrypoints[5]; local 57 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileH264Baseline, entrypoints, &num_entrypoints); 61 if (entrypoints[slice_entrypoint] == VAEntrypointEncSlice)
|
/hardware/intel/common/libva/test/vainfo/ |
H A D | vainfo.c | 94 VAEntrypoint entrypoint, entrypoints[10]; local 119 printf("%s: Supported profile and entrypoints\n", name); 136 va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, 145 printf(" %-32s: %s\n", profile_str, entrypoint_string(entrypoints[entrypoint]));
|
/hardware/intel/common/libva/test/decode/ |
H A D | mpeg2vldemo.cpp | 141 VAEntrypoint entrypoints[5]; local 162 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileMPEG2Main, entrypoints, 167 if (entrypoints[vld_entrypoint] == VAEntrypointVLD)
|
H A D | tinyjpeg.c | 563 VAEntrypoint entrypoints[5]; local 591 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileJPEGBaseline, entrypoints, 596 if (entrypoints[vld_entrypoint] == VAEntrypointVLD)
|
/hardware/intel/common/libva/test/encode/ |
H A D | h264encode.c | 920 VAEntrypoint *entrypoints; local 932 entrypoints = malloc(num_entrypoints * sizeof(*entrypoints)); 933 if (!entrypoints) { 934 fprintf(stderr, "error: failed to initialize VA entrypoints array\n"); 944 vaQueryConfigEntrypoints(va_dpy, h264_profile, entrypoints, &num_entrypoints); 946 if (entrypoints[slice_entrypoint] == VAEntrypointEncSlice) { 1111 free(entrypoints);
|
H A D | avcenc.c | 158 VAEntrypoint entrypoints[5]; local 168 vaQueryConfigEntrypoints(va_dpy, avcenc_context.profile, entrypoints, 172 if (entrypoints[slice_entrypoint] == VAEntrypointEncSlice)
|
/hardware/intel/common/libva/test/videoprocess/ |
H A D | videoprocess.cpp | 823 VAEntrypoint entrypoints[5]; local 828 entrypoints, 833 if (entrypoints[i] == VAEntrypointVideoProc)
|
/hardware/intel/common/libva/va/ |
H A D | va.c | 297 CHECK_MAXIMUM(vaStatus, ctx, entrypoints); 560 /* Get maximum number of entrypoints supported by the implementation */ 586 VAEntrypoint *entrypoints, /* out */ 594 return ctx->vtable->vaQueryConfigEntrypoints ( ctx, profile, entrypoints, num_entrypoints); 583 vaQueryConfigEntrypoints( VADisplay dpy, VAProfile profile, VAEntrypoint *entrypoints, int *num_entrypoints ) argument
|
/hardware/intel/img/psb_video/src/ |
H A D | psb_drv_video.c | 207 int entrypoints = 0; local 218 entrypoints++; 224 entrypoints++; 230 ASSERT(entrypoints <= PSB_MAX_ENTRYPOINTS); 232 if (0 == entrypoints) { 236 *num_entrypoints = entrypoints;
|
/hardware/intel/common/libva/test/transcode/ |
H A D | mpeg2transcode.cpp | 2002 VAEntrypoint entrypoints[5]; local 2015 vaQueryConfigEntrypoints(va_dpy, avcenc_context.profile, entrypoints, 2019 if (entrypoints[slice_entrypoint] == VAEntrypointEncSlice) 3085 VAEntrypoint entrypoints[5]; local 3101 entrypoints, 3106 if (entrypoints[proc_entrypoint] == VAEntrypointVideoProc) 3292 VAEntrypoint entrypoints[5]; local 3325 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileMPEG2Simple, entrypoints, 3330 if (entrypoints[vld_entrypoint] == VAEntrypointVLD)
|