/hardware/intel/common/libva/test/basic/ |
D | test_08.c | 68 VASurfaceID surfaces[NUM_SIZES+1]; in test() local 71 memset(surfaces, 0xff, sizeof(surfaces)); in test() 76 surfaces[i+1] = DEAD_SURFACE_ID; in test() 77 …Surfaces(va_dpy, VA_RT_FORMAT_YUV420, test_sizes[i].w, test_sizes[i].h, &surfaces[i], 1, NULL, 0); in test() 79 ASSERT( DEAD_SURFACE_ID == surfaces[i+1] ); in test() 82 test_unique_surfaces(surfaces, NUM_SIZES); in test() 85 va_status = vaDestroySurfaces(va_dpy, surfaces, NUM_SIZES); in test()
|
D | test.c | 55 VASurfaceID surfaces[21]; in main() local 58 surfaces[20] = -1; in main() 59 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces); in main() 61 ASSERT( -1 == surfaces[20] ); /* bounds check */ in main() 64 printf("Surface %d surface_id = %08x\n", i, surfaces[i]); 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() 96 VASurfaceID surfaces[20]; in main() local 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() [all …]
|
D | test_10.c | 31 VASurfaceID *surfaces; variable 47 surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); in pre() 50 …va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces,… in pre() 55 …va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &conte… in pre() 134 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); in post() 137 free(surfaces); in post()
|
D | testplan.txt | 29 - Create and destroy surfaces 31 - Create surfaces of 352 x 288 pixels 32 - Create 1, 4 and 16 surfaces, destroy 4, create 6 surfaces, destroy 16, 1 33 and 6 surfaces. 36 - Create and destroy surfaces of different sizes 37 - Create surfaces of 10 x 10 pixels, 128 x 128 pixels, 176 x 144 pixels, 144 x 176 43 - Pass 4 surfaces of 352 x 288 pixels
|
D | test_09.c | 69 VASurfaceID *surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); in test() local 72 …va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces,… in test() 79 …va_status = vaCreateContext( va_dpy, configs[i], width, height, flags, surfaces + i*surface_count,… in test() 97 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); in test() 102 free(surfaces); in test()
|
D | test_11.c | 31 VASurfaceID *surfaces; variable 47 surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); in pre() 50 …va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces,… in pre() 55 …va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &conte… in pre() 173 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); in post() 176 free(surfaces); in post()
|
/hardware/intel/common/libmix/mix_video/src/ |
D | mixvideoformatenc_preview.c | 52 self->surfaces= NULL; in mix_videoformatenc_preview_init() 146 VASurfaceID * surfaces; in mix_videofmtenc_preview_initialize() local 398 surfaces = g_malloc(sizeof(VASurfaceID)*numSurfaces); in mix_videofmtenc_preview_initialize() 400 if (surfaces == NULL) in mix_videofmtenc_preview_initialize() 412 numSurfaces, surfaces); in mix_videofmtenc_preview_initialize() 464 self->surfaces = g_malloc(sizeof(VASurfaceID) * self->surface_num); in mix_videofmtenc_preview_initialize() 466 if (self->surfaces == NULL) in mix_videofmtenc_preview_initialize() 470 g_free (surfaces); in mix_videofmtenc_preview_initialize() 479 self->surfaces[index] = self->ci_shared_surfaces[index]; in mix_videofmtenc_preview_initialize() 483 self->surfaces[index + parent->ci_frame_num] = surfaces[index]; in mix_videofmtenc_preview_initialize() [all …]
|
D | mixvideoformatenc_mpeg4.c | 52 self->surfaces= NULL; in mix_videoformatenc_mpeg4_init() 147 VASurfaceID * surfaces; in mix_videofmtenc_mpeg4_initialize() local 445 surfaces = g_malloc(sizeof(VASurfaceID)*numSurfaces); in mix_videofmtenc_mpeg4_initialize() 447 if (surfaces == NULL) in mix_videofmtenc_mpeg4_initialize() 459 numSurfaces, surfaces); in mix_videofmtenc_mpeg4_initialize() 511 self->surfaces = g_malloc(sizeof(VASurfaceID) * self->surface_num); in mix_videofmtenc_mpeg4_initialize() 513 if (self->surfaces == NULL) in mix_videofmtenc_mpeg4_initialize() 517 g_free (surfaces); in mix_videofmtenc_mpeg4_initialize() 526 self->surfaces[index] = self->ci_shared_surfaces[index]; in mix_videofmtenc_mpeg4_initialize() 530 self->surfaces[index + parent->ci_frame_num] = surfaces[index]; in mix_videofmtenc_mpeg4_initialize() [all …]
|
D | mixvideoformatenc_h264.c | 52 self->surfaces= NULL; in mix_videoformatenc_h264_init() 147 VASurfaceID * surfaces; in mix_videofmtenc_h264_initialize() local 460 surfaces = g_malloc(sizeof(VASurfaceID)*numSurfaces); in mix_videofmtenc_h264_initialize() 462 if (surfaces == NULL) in mix_videofmtenc_h264_initialize() 474 numSurfaces, surfaces); in mix_videofmtenc_h264_initialize() 526 self->surfaces = g_malloc(sizeof(VASurfaceID) * self->surface_num); in mix_videofmtenc_h264_initialize() 528 if (self->surfaces == NULL) in mix_videofmtenc_h264_initialize() 532 g_free (surfaces); in mix_videofmtenc_h264_initialize() 541 self->surfaces[index] = self->ci_shared_surfaces[index]; in mix_videofmtenc_h264_initialize() 545 self->surfaces[index + parent->ci_frame_num] = surfaces[index]; in mix_videofmtenc_h264_initialize() [all …]
|
D | mixsurfacepool.c | 224 VASurfaceID *surfaces, guint num_surfaces) { in mix_surfacepool_initialize() argument 228 if (obj == NULL || surfaces == NULL) { in mix_surfacepool_initialize() 232 (guint) surfaces); in mix_surfacepool_initialize() 283 mix_videoframe_set_frame_id(frame, surfaces[i]); in mix_surfacepool_initialize()
|
D | mixsurfacepool.h | 142 VASurfaceID *surfaces, guint num_surfaces);
|
D | mixvideoformatenc_preview.h | 42 VASurfaceID * surfaces; member
|
D | mixvideoformatenc_mpeg4.h | 43 VASurfaceID * surfaces; member
|
D | mixvideoformatenc_h264.h | 42 VASurfaceID * surfaces; member
|
D | mixvideoformat_mp42.c | 202 VASurfaceID *surfaces = NULL; in mix_videofmt_mp42_initialize() local 330 surfaces = parent->va_surfaces; in mix_videofmt_mp42_initialize() 334 surfaces); in mix_videofmt_mp42_initialize() 349 ret = mix_surfacepool_initialize(parent->surfacepool, surfaces, in mix_videofmt_mp42_initialize() 356 parent->picture_width, parent->picture_height, 0, surfaces, in mix_videofmt_mp42_initialize()
|
D | mixvideoformat_h264.c | 174 VASurfaceID *surfaces = NULL; in mix_videofmt_h264_initialize() local 461 surfaces = parent->va_surfaces; in mix_videofmt_h264_initialize() 463 if (surfaces == NULL) in mix_videofmt_h264_initialize() 475 numSurfaces, surfaces); in mix_videofmt_h264_initialize() 496 surfaces, numSurfaces); in mix_videofmt_h264_initialize() 516 0, surfaces, numSurfaces, in mix_videofmt_h264_initialize()
|
D | mixvideoformat_vc1.c | 264 VASurfaceID *surfaces = NULL; in mix_videofmt_vc1_initialize() local 518 surfaces = parent->va_surfaces; in mix_videofmt_vc1_initialize() 520 if (surfaces == NULL) in mix_videofmt_vc1_initialize() 529 numSurfaces, surfaces); in mix_videofmt_vc1_initialize() 549 surfaces, numSurfaces); in mix_videofmt_vc1_initialize() 569 0, surfaces, numSurfaces, in mix_videofmt_vc1_initialize()
|
/hardware/intel/common/libva/va/ |
D | va_compat.h | 102 #define vaCreateSurfaces6(dpy, width, height, format, num_surfaces, surfaces) \ argument 103 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \ 106 #define vaCreateSurfaces8(dpy, format, width, height, surfaces, num_surfaces, attribs, num_attribs)… argument 107 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \
|
D | va_compat.c | 37 VASurfaceID *surfaces in vaCreateSurfaces_0_32_0() argument 40 return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces, in vaCreateSurfaces_0_32_0()
|
D | va_tpi.c | 52 VASurfaceID *surfaces, /* out */ in vaCreateSurfacesWithAttribute() argument 65 …return tpi->vaCreateSurfacesWithAttribute( ctx, width, height, format, num_surfaces, surfaces, att… in vaCreateSurfacesWithAttribute()
|
D | va_backend_tpi.h | 44 VASurfaceID *surfaces, /* out */
|
D | va_tpi.h | 103 VASurfaceID *surfaces, /* out */
|
D | va_backend.h | 108 VASurfaceID *surfaces /* out */ 409 VASurfaceID *surfaces,
|
D | va_trace.h | 83 VASurfaceID *surfaces, /* out */
|
/hardware/intel/img/psb_video/src/ |
D | psb_output.c | 1386 if (obj_subpic->surfaces != NULL) { in psb__LinkSurfaceIntoSubpict() 1387 subpic_surface = (subpic_surface_s *)obj_subpic->surfaces; in psb__LinkSurfaceIntoSubpict() 1405 if (NULL == obj_subpic->surfaces) { in psb__LinkSurfaceIntoSubpict() 1406 obj_subpic->surfaces = (void *)subpic_surface; in psb__LinkSurfaceIntoSubpict() 1408 subpic_surface->next = (subpic_surface_p)obj_subpic->surfaces; in psb__LinkSurfaceIntoSubpict() 1409 obj_subpic->surfaces = (void *)subpic_surface; in psb__LinkSurfaceIntoSubpict() 1458 if (obj_subpic->surfaces != NULL) { in psb__DelinkSurfaceFromSubpict() 1459 subpic_surface = (subpic_surface_s *)obj_subpic->surfaces; in psb__DelinkSurfaceFromSubpict() 1473 obj_subpic->surfaces = (void *)subpic_surface->next; in psb__DelinkSurfaceFromSubpict() 1535 obj_subpic->surfaces = NULL; in psb_CreateSubpicture() [all …]
|