/hardware/intel/common/libva/test/basic/ |
test_android.c | 27 VAStatus va_status; variable 42 va_status = vaInitialize(va_dpy, &major_version, &minor_version); 43 ASSERT( VA_STATUS_SUCCESS == va_status ); 49 va_status = vaTerminate(va_dpy); 50 ASSERT( VA_STATUS_SUCCESS == va_status );
|
test_x11.c | 27 VAStatus va_status; variable 41 va_status = vaInitialize(va_dpy, &major_version, &minor_version); 42 ASSERT( VA_STATUS_SUCCESS == va_status ); 48 va_status = vaTerminate(va_dpy); 49 ASSERT( VA_STATUS_SUCCESS == va_status );
|
test.c | 39 VAStatus va_status; local 50 va_status = vaInitialize(va_dpy, &major_version, &minor_version); 51 ASSERT( VA_STATUS_SUCCESS == va_status ); 59 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces); 60 ASSERT( VA_STATUS_SUCCESS == va_status ); 74 va_status = vaDestroySurface(va_dpy, surfaces, 20); 75 ASSERT( VA_STATUS_SUCCESS == va_status ); 85 va_status = vaQueryConfigProfiles(va_dpy, profiles, &num_profiles); 86 ASSERT( VA_STATUS_SUCCESS == va_status ); 103 va_status = vaGetConfigAttributes(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD [all...] |
test_common.c | 50 VAStatus va_status; variable 149 va_status = vaQueryConfigProfiles(va_dpy, profiles, &num_profiles); 150 ASSERT( VA_STATUS_SUCCESS == va_status );
|
/hardware/intel/common/libva/test/common/ |
va_display_wayland.c | 167 VAStatus va_status; local 173 va_status = vaGetSurfaceBufferWl(va_dpy, surface, VA_FRAME_PICTURE, &buffer); 174 if (va_status != VA_STATUS_SUCCESS) 175 return va_status;
|
/hardware/intel/common/libva/test/vainfo/ |
vainfo.c | 32 #define CHECK_VASTATUS(va_status,func, ret) \ 33 if (va_status != VA_STATUS_SUCCESS) { \ 34 fprintf(stderr,"%s failed with error code %d (%s),exit\n",func, va_status, vaErrorStr(va_status)); \ 88 VAStatus va_status; local 110 va_status = vaInitialize(va_dpy, &major_version, &minor_version); 111 CHECK_VASTATUS(va_status, "vaInitialize", 3); 129 va_status = vaQueryConfigProfiles(va_dpy, profile_list, &num_profiles); 130 CHECK_VASTATUS(va_status, "vaQueryConfigProfiles", 6); 136 va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, [all...] |
/hardware/intel/common/libva/test/decode/ |
mpeg2vldemo.cpp | 48 #define CHECK_VASTATUS(va_status,func) \ 49 if (va_status != VA_STATUS_SUCCESS) { \ 150 VAStatus va_status; local 159 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 160 assert(va_status == VA_STATUS_SUCCESS); 162 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileMPEG2Main, entrypoints, 164 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints"); 184 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD, 186 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints"); 188 va_status = vaCreateSurfaces [all...] |
tinyjpeg.c | 557 #define CHECK_VASTATUS(va_status,func) \ 558 if (va_status != VA_STATUS_SUCCESS) { \ 572 VAStatus va_status; local 588 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 589 assert(va_status == VA_STATUS_SUCCESS); 591 va_status = vaQueryConfigEntrypoints(va_dpy, VAProfileJPEGBaseline, entrypoints, 593 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints"); 613 va_status = vaCreateConfig(va_dpy, VAProfileJPEGBaseline, VAEntrypointVLD, 615 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints"); 702 va_status = vaCreateSurfaces(va_dpy,surface_type [all...] |
/hardware/intel/common/libva/test/putsurface/ |
putsurface_wayland.c | 142 VAStatus va_status; local 159 va_status = vaGetSurfaceBufferWl(va_dpy, va_surface, VA_FRAME_PICTURE, &buffer); 160 if (va_status != VA_STATUS_SUCCESS) 161 return va_status;
|
putsurface_common.c | 52 #define CHECK_VASTATUS(va_status,func) \ 53 if (va_status != VA_STATUS_SUCCESS) { \ 153 VAStatus va_status; local 168 va_status = vaQueryImageFormats(va_dpy, image_formats, &num_image_formats); 169 CHECK_VASTATUS(va_status, "vaQuerySurfaceAttributes()"); 195 VAStatus va_status; local 206 va_status = vaCreateConfig(va_dpy, VAProfileNone, VAEntrypointVideoProc, 208 CHECK_VASTATUS(va_status, "vaCreateConfig()"); 217 va_status = vaQuerySurfaceAttributes(va_dpy, vpp_config_id, 219 if (va_status == VA_STATUS_SUCCESS 258 VAStatus va_status; local 355 VAStatus va_status; local 516 VAStatus va_status; local [all...] |
/hardware/intel/common/libva/test/ |
loadsurface.h | 236 VAStatus va_status; local 239 va_status = vaDeriveImage(va_dpy,surface_id,&surface_image); 240 CHECK_VASTATUS(va_status,"vaDeriveImage"); 243 assert(VA_STATUS_SUCCESS == va_status); 302 VAStatus va_status; local 304 va_status = vaDeriveImage(va_dpy,surface_id, &surface_image); 305 CHECK_VASTATUS(va_status,"vaDeriveImage"); 308 assert(VA_STATUS_SUCCESS == va_status); 400 VAStatus va_status; local 402 va_status = vaDeriveImage(va_dpy,surface_id, &surface_image) [all...] |
/hardware/intel/common/libva/test/videoprocess/ |
videoprocess.cpp | 47 #define CHECK_VASTATUS(va_status,func) \ 48 if (va_status != VA_STATUS_SUCCESS) { \ 188 VAStatus va_status; local 195 va_status = vaCreateSurfaces(va_dpy, 203 return va_status; 211 VAStatus va_status; local 217 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); 218 CHECK_VASTATUS(va_status, "vaDeriveImage"); 220 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); 221 CHECK_VASTATUS(va_status, "vaMapBuffer") 259 VAStatus va_status; local 360 VAStatus va_status; local 465 VAStatus va_status = VA_STATUS_SUCCESS; local 501 VAStatus va_status = VA_STATUS_SUCCESS; local 570 VAStatus va_status; local 606 VAStatus va_status; local 668 VAStatus va_status = VA_STATUS_SUCCESS; local 726 VAStatus va_status; local 813 VAStatus va_status = VA_STATUS_SUCCESS; local 1043 VAStatus va_status; local [all...] |
/hardware/intel/common/libva/va/ |
va.c | 692 VAStatus va_status; local 716 va_status = VA_STATUS_ERROR_ALLOCATION_FAILED; 720 va_status = ctx->vtable->vaQueryImageFormats( 722 if (va_status != VA_STATUS_SUCCESS) 728 va_status = VA_STATUS_ERROR_ALLOCATION_FAILED; 748 va_status = VA_STATUS_ERROR_ALLOCATION_FAILED; 754 va_status = ctx->vtable->vaGetSurfaceAttributes( 756 if (va_status != VA_STATUS_SUCCESS) 795 va_status = VA_STATUS_ERROR_MAX_NUM_EXCEEDED; 810 return va_status; 985 VAStatus va_status; local 1056 VAStatus va_status; local 1092 VAStatus va_status = VA_STATUS_SUCCESS; local 1113 VAStatus va_status; local 1131 VAStatus va_status; local 1150 VAStatus va_status; local 1526 VAStatus va_status; local 1551 VAStatus va_status; local 1575 VAStatus va_status; local [all...] |
va_trace.c | 297 VAStatus va_status; local 308 va_status = vaLockSurface( 316 if (va_status != VA_STATUS_SUCCESS) { [all...] |
/hardware/intel/common/libva/test/encode/ |
avcenc.c | 73 #define CHECK_VASTATUS(va_status,func) \ 74 if (va_status != VA_STATUS_SUCCESS) { \ 162 VAStatus va_status; local 165 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 166 CHECK_VASTATUS(va_status, "vaInitialize"); 201 va_status = vaCreateConfig(va_dpy, avcenc_context.profile, VAEntrypointEncSlice, 203 CHECK_VASTATUS(va_status, "vaCreateConfig"); 206 va_status = vaCreateContext(va_dpy, avcenc_context.config_id, 211 CHECK_VASTATUS(va_status, "vaCreateContext"); 252 VAStatus va_status; local 290 VAStatus va_status; local 327 VAStatus va_status; local 357 VAStatus va_status; local 427 VAStatus va_status; local 506 VAStatus va_status; local 617 VAStatus va_status; local 673 VAStatus va_status; local 1258 VAStatus va_status; local 1315 VAStatus va_status; local [all...] |
mpeg2enc.c | 71 #define CHECK_VASTATUS(va_status, func) \ 72 if (va_status != VA_STATUS_SUCCESS) { \ 436 VAStatus va_status; local 449 va_status = vaDeriveImage(ctx->va_dpy, surface_ids[ctx->current_upload_surface], &surface_image); 450 CHECK_VASTATUS(va_status,"vaDeriveImage"); 453 assert(VA_STATUS_SUCCESS == va_status); 822 VAStatus va_status; local 827 va_status = vaInitialize(ctx->va_dpy, 830 CHECK_VASTATUS(va_status, "vaInitialize"); 874 va_status = vaCreateConfig(ctx->va_dpy 1056 VAStatus va_status; local 1076 VAStatus va_status; local 1111 VAStatus va_status; local 1196 VAStatus va_status; local 1241 VAStatus va_status; local 1297 VAStatus va_status; local 1355 VAStatus va_status; local [all...] |
mpeg2vaenc.c | 71 #define CHECK_VASTATUS(va_status, func) \ 72 if (va_status != VA_STATUS_SUCCESS) { \ 436 VAStatus va_status; local 449 va_status = vaDeriveImage(ctx->va_dpy, surface_ids[ctx->current_upload_surface], &surface_image); 450 CHECK_VASTATUS(va_status,"vaDeriveImage"); 453 assert(VA_STATUS_SUCCESS == va_status); 822 VAStatus va_status; local 827 va_status = vaInitialize(ctx->va_dpy, 830 CHECK_VASTATUS(va_status, "vaInitialize"); 874 va_status = vaCreateConfig(ctx->va_dpy 1072 VAStatus va_status; local 1092 VAStatus va_status; local 1127 VAStatus va_status; local 1212 VAStatus va_status; local 1257 VAStatus va_status; local 1313 VAStatus va_status; local 1371 VAStatus va_status; local [all...] |
h264encode.c | 43 #define CHECK_VASTATUS(va_status,func) \ 44 if (va_status != VA_STATUS_SUCCESS) { \ 924 VAStatus va_status; local 928 va_status = vaInitialize(va_dpy, &major_ver, &minor_ver); 929 CHECK_VASTATUS(va_status, "vaInitialize"); 1117 VAStatus va_status; local 1285 VAStatus va_status; local 1398 VAStatus va_status; local 1450 VAStatus va_status; local 1489 VAStatus va_status; local 1526 VAStatus va_status; local 1586 VAStatus va_status; local 1622 VAStatus va_status; local 1812 VAStatus va_status; local 1896 VAStatus va_status; local 1949 VAStatus va_status; local [all...] |
/hardware/intel/common/libva/test/transcode/ |
mpeg2transcode.cpp | 75 #define CHECK_VASTATUS(va_status,func) \ 76 if (va_status != VA_STATUS_SUCCESS) { \ 2006 VAStatus va_status; local 2099 VAStatus va_status; local 2134 VAStatus va_status; local 2160 VAStatus va_status; local 2222 VAStatus va_status; local 2258 VAStatus va_status; local 2340 VAStatus va_status; local 2384 VAStatus va_status; local 2851 VAStatus va_status; local 2907 VAStatus va_status; local 3084 VAStatus va_status; local 3300 VAStatus va_status; local [all...] |