Home
last modified time | relevance | path

Searched refs:surface_id (Results 1 – 25 of 37) sorted by relevance

12

/hardware/qcom/display/msm8994/libcopybit/
Dc2d2.h367 uint32 surface_id; /* source surface */ member
474 C2D_API C2D_STATUS c2dCreateSurface( uint32 *surface_id,
480 C2D_API C2D_STATUS c2dQuerySurface( uint32 surface_id,
490 C2D_API C2D_STATUS c2dDestroySurface( uint32 surface_id );
500 C2D_API C2D_STATUS c2dFillSurface( uint32 surface_id,
514 C2D_API C2D_STATUS c2dWriteSurface( uint32 surface_id,
529 C2D_API C2D_STATUS c2dReadSurface( uint32 surface_id,
536 C2D_API C2D_STATUS c2dSurfaceUpdated( uint32 surface_id,
542 C2D_API C2D_STATUS c2dUpdateSurface( uint32 surface_id,
635 uint32 surface_id, uint32 mode );
[all …]
Dcopybit_c2d.cpp52 C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
57 C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
62 C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
78 C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
91 C2D_STATUS (*LINK_c2dFillSurface) ( uint32 surface_id, uint32 fill_color,
1313 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal()
1481 if (ctx->blit_rgb_object[i].surface_id) in clean_up()
1482 LINK_c2dDestroySurface(ctx->blit_rgb_object[i].surface_id); in clean_up()
1486 if (ctx->blit_yuv_2_plane_object[i].surface_id) in clean_up()
1487 LINK_c2dDestroySurface(ctx->blit_yuv_2_plane_object[i].surface_id); in clean_up()
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dc2d2.h367 uint32 surface_id; /* source surface */ member
474 C2D_API C2D_STATUS c2dCreateSurface( uint32 *surface_id,
480 C2D_API C2D_STATUS c2dQuerySurface( uint32 surface_id,
490 C2D_API C2D_STATUS c2dDestroySurface( uint32 surface_id );
500 C2D_API C2D_STATUS c2dFillSurface( uint32 surface_id,
514 C2D_API C2D_STATUS c2dWriteSurface( uint32 surface_id,
529 C2D_API C2D_STATUS c2dReadSurface( uint32 surface_id,
536 C2D_API C2D_STATUS c2dSurfaceUpdated( uint32 surface_id,
542 C2D_API C2D_STATUS c2dUpdateSurface( uint32 surface_id,
635 uint32 surface_id, uint32 mode );
[all …]
Dcopybit_c2d.cpp53 C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
58 C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
63 C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
79 C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
92 C2D_STATUS (*LINK_c2dFillSurface) ( uint32 surface_id, uint32 fill_color,
1310 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal()
1478 if (ctx->blit_rgb_object[i].surface_id) in clean_up()
1479 LINK_c2dDestroySurface(ctx->blit_rgb_object[i].surface_id); in clean_up()
1483 if (ctx->blit_yuv_2_plane_object[i].surface_id) in clean_up()
1484 LINK_c2dDestroySurface(ctx->blit_yuv_2_plane_object[i].surface_id); in clean_up()
[all …]
/hardware/qcom/display/msm8960/libcopybit/
Dc2d2.h367 uint32 surface_id; /* source surface */ member
474 C2D_API C2D_STATUS c2dCreateSurface( uint32 *surface_id,
480 C2D_API C2D_STATUS c2dQuerySurface( uint32 surface_id,
490 C2D_API C2D_STATUS c2dDestroySurface( uint32 surface_id );
500 C2D_API C2D_STATUS c2dFillSurface( uint32 surface_id,
514 C2D_API C2D_STATUS c2dWriteSurface( uint32 surface_id,
529 C2D_API C2D_STATUS c2dReadSurface( uint32 surface_id,
536 C2D_API C2D_STATUS c2dSurfaceUpdated( uint32 surface_id,
542 C2D_API C2D_STATUS c2dUpdateSurface( uint32 surface_id,
635 uint32 surface_id, uint32 mode );
[all …]
Dcopybit_c2d.cpp55 C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
60 C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
65 C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
81 C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
94 C2D_STATUS (*LINK_c2dFillSurface) ( uint32 surface_id, uint32 fill_color,
1276 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal()
1423 if (ctx->blit_rgb_object[i].surface_id) in clean_up()
1424 LINK_c2dDestroySurface(ctx->blit_rgb_object[i].surface_id); in clean_up()
1428 if (ctx->blit_yuv_2_plane_object[i].surface_id) in clean_up()
1429 LINK_c2dDestroySurface(ctx->blit_yuv_2_plane_object[i].surface_id); in clean_up()
[all …]
/hardware/qcom/display/msm8996/libcopybit/
Dc2d2.h368 uint32 surface_id; /* source surface */ member
476 C2D_API C2D_STATUS c2dCreateSurface( uint32 *surface_id,
482 C2D_API C2D_STATUS c2dQuerySurface( uint32 surface_id,
492 C2D_API C2D_STATUS c2dDestroySurface( uint32 surface_id );
502 C2D_API C2D_STATUS c2dFillSurface( uint32 surface_id,
516 C2D_API C2D_STATUS c2dWriteSurface( uint32 surface_id,
531 C2D_API C2D_STATUS c2dReadSurface( uint32 surface_id,
538 C2D_API C2D_STATUS c2dSurfaceUpdated( uint32 surface_id,
544 C2D_API C2D_STATUS c2dUpdateSurface( uint32 surface_id,
637 uint32 surface_id, uint32 mode );
[all …]
Dcopybit_c2d.cpp52 C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
57 C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
62 C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
78 C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
91 C2D_STATUS (*LINK_c2dFillSurface) ( uint32 surface_id, uint32 fill_color,
1312 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal()
1480 if (ctx->blit_rgb_object[i].surface_id) in clean_up()
1481 LINK_c2dDestroySurface(ctx->blit_rgb_object[i].surface_id); in clean_up()
1485 if (ctx->blit_yuv_2_plane_object[i].surface_id) in clean_up()
1486 LINK_c2dDestroySurface(ctx->blit_yuv_2_plane_object[i].surface_id); in clean_up()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dc2d2.h367 uint32 surface_id; /* source surface */ member
474 C2D_API C2D_STATUS c2dCreateSurface( uint32 *surface_id,
480 C2D_API C2D_STATUS c2dQuerySurface( uint32 surface_id,
490 C2D_API C2D_STATUS c2dDestroySurface( uint32 surface_id );
500 C2D_API C2D_STATUS c2dFillSurface( uint32 surface_id,
514 C2D_API C2D_STATUS c2dWriteSurface( uint32 surface_id,
529 C2D_API C2D_STATUS c2dReadSurface( uint32 surface_id,
536 C2D_API C2D_STATUS c2dSurfaceUpdated( uint32 surface_id,
542 C2D_API C2D_STATUS c2dUpdateSurface( uint32 surface_id,
635 uint32 surface_id, uint32 mode );
[all …]
Dcopybit_c2d.cpp52 C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
57 C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
62 C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
78 C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
91 C2D_STATUS (*LINK_c2dFillSurface) ( uint32 surface_id, uint32 fill_color,
1288 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal()
1456 if (ctx->blit_rgb_object[i].surface_id) in clean_up()
1457 LINK_c2dDestroySurface(ctx->blit_rgb_object[i].surface_id); in clean_up()
1461 if (ctx->blit_yuv_2_plane_object[i].surface_id) in clean_up()
1462 LINK_c2dDestroySurface(ctx->blit_yuv_2_plane_object[i].surface_id); in clean_up()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dc2d2.h367 uint32 surface_id; /* source surface */ member
474 C2D_API C2D_STATUS c2dCreateSurface( uint32 *surface_id,
480 C2D_API C2D_STATUS c2dQuerySurface( uint32 surface_id,
490 C2D_API C2D_STATUS c2dDestroySurface( uint32 surface_id );
500 C2D_API C2D_STATUS c2dFillSurface( uint32 surface_id,
514 C2D_API C2D_STATUS c2dWriteSurface( uint32 surface_id,
529 C2D_API C2D_STATUS c2dReadSurface( uint32 surface_id,
536 C2D_API C2D_STATUS c2dSurfaceUpdated( uint32 surface_id,
542 C2D_API C2D_STATUS c2dUpdateSurface( uint32 surface_id,
635 uint32 surface_id, uint32 mode );
[all …]
Dcopybit_c2d.cpp53 C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
58 C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
63 C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
79 C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
92 C2D_STATUS (*LINK_c2dFillSurface) ( uint32 surface_id, uint32 fill_color,
1304 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal()
1472 if (ctx->blit_rgb_object[i].surface_id) in clean_up()
1473 LINK_c2dDestroySurface(ctx->blit_rgb_object[i].surface_id); in clean_up()
1477 if (ctx->blit_yuv_2_plane_object[i].surface_id) in clean_up()
1478 LINK_c2dDestroySurface(ctx->blit_yuv_2_plane_object[i].surface_id); in clean_up()
[all …]
/hardware/intel/common/libva/test/decode/
Dmpeg2vldemo.cpp145 VASurfaceID surface_id; in main() local
191 &surface_id, 1, in main()
201 &surface_id, in main()
235 va_status = vaBeginPicture(va_dpy, context_id, surface_id); in main()
253 va_status = vaSyncSurface(va_dpy, surface_id); in main()
269 va_status = va_put_surface(va_dpy, surface_id, &src_rect, &dst_rect); in main()
275 vaDestroySurfaces(va_dpy,&surface_id,1); in main()
Dtinyjpeg.c567 VASurfaceID surface_id; in tinyjpeg_decode() local
704 &surface_id, 1, &forcc, 1); in tinyjpeg_decode()
711 &surface_id, in tinyjpeg_decode()
806 va_status = vaBeginPicture(va_dpy, context_id, surface_id); in tinyjpeg_decode()
827 va_status = vaSyncSurface(va_dpy, surface_id); in tinyjpeg_decode()
839 va_status = va_put_surface(va_dpy, surface_id, &src_rect, &dst_rect); in tinyjpeg_decode()
844 vaDestroySurfaces(va_dpy,&surface_id,1); in tinyjpeg_decode()
/hardware/intel/common/libva/test/putsurface/
Dputsurface_common.c68 static VASurfaceID surface_id[SURFACE_NUM]; variable
285 &surface_id[0], SURFACE_NUM, in csc_preparation()
329 return surface_id[i]; in get_next_free_surface()
334 vaQuerySurfaceStatus(va_dpy, surface_id[i], &surface_status); in get_next_free_surface()
348 return surface_id[i]; in get_next_free_surface()
362 upload_surface(va_dpy, surface_id[i], box_width_loc, row_shift_loc, 0); in upload_source_YUV_once_for_all()
423 VASurfaceID surface_id = VA_INVALID_SURFACE; in putsurface_thread() local
425 while (surface_id == VA_INVALID_SURFACE) in putsurface_thread()
426 surface_id = get_next_free_surface(&index); in putsurface_thread()
428 if (verbose) printf("Thread: %p Display surface 0x%x,\n", drawable, surface_id); in putsurface_thread()
[all …]
/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.h36 typedef C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
41 typedef C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
46 typedef C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
62 typedef C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.h36 typedef C2D_STATUS (*LINK_c2dCreateSurface)( uint32 *surface_id,
41 typedef C2D_STATUS (*LINK_c2dUpdateSurface)( uint32 surface_id,
46 typedef C2D_STATUS (*LINK_c2dReadSurface)( uint32 surface_id,
62 typedef C2D_STATUS (*LINK_c2dDestroySurface)( uint32 surface_id );
/hardware/intel/img/psb_video/src/
Dpsb_surface_attrib.c179 obj_surface->surface_id = surfaceID;
192 obj_surface->surface_id = VA_INVALID_SURFACE;
232 obj_surface->surface_id = VA_INVALID_SURFACE;
343 obj_surface->surface_id = surfaceID; in psb_CreateSurfacesForUserPtr()
356 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
380 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
482 obj_surface->surface_id = surfaceID; in psb_CreateSurfaceFromKBuf()
495 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
518 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
584 obj_surface->surface_id = surfaceID; in psb_CreateSurfaceFromUserspace()
[all …]
Dvsp_vp8.c325 seq->ref_frame_buffers[i].surface_id = va_seq->reference_frames[i]; in vsp_vp8_process_seqence_param()
393 VASurfaceID surface_id) in vsp_vp8_process_picture_param() argument
416 object_surface_p src_surface = SURFACE(surface_id); in vsp_vp8_process_picture_param()
418 pic->input_frame.surface_id = surface_id; in vsp_vp8_process_picture_param()
464 object_surface_p cur_surf = SURFACE(surface_id); in vsp_vp8_process_picture_param()
707 VASurfaceID surface_id; in vsp_VP8_RenderPicture() local
718 surface_id = obj_context->current_render_surface_id; in vsp_VP8_RenderPicture()
719 vaStatus = vsp_vp8_process_picture_param(driver_data, ctx, obj_buffer, surface_id); in vsp_VP8_RenderPicture()
777 drv_debug_msg(VIDEO_ENCODE_DEBUG, "surface_id 0x%08x\n", frame->surface_id); in dump_vssporcPicture()
Dpsb_output.c67 VASurfaceID surface_id; member
1380 VASurfaceID surface_id in psb__LinkSurfaceIntoSubpict() argument
1389 if (subpic_surface->surface_id == surface_id) { in psb__LinkSurfaceIntoSubpict()
1402 subpic_surface->surface_id = surface_id; in psb__LinkSurfaceIntoSubpict()
1452 VASurfaceID surface_id in psb__DelinkSurfaceFromSubpict() argument
1461 if (subpic_surface->surface_id == surface_id) { in psb__DelinkSurfaceFromSubpict()
1555 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id); in psb__destroy_subpicture()
1625 object_surface_p obj_surface = SURFACE(subpic_surface->surface_id); in psb_SetSubpictureImage()
1820 psb__DelinkSurfaceFromSubpict(obj_subpic, obj_surface->surface_id); in psb_DeassociateSubpicture()
1848 psb__DelinkSurfaceFromSubpict(obj_subpic, obj_surface->surface_id); in psb_SurfaceDeassociateSubpict()
/hardware/intel/common/libva/test/basic/
Dtest_vaSurfaceAttrib.c47 VASurfaceID surface_id; in test() local
136 …reateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, frame_width, frame_height, &surface_id, 1, attrib_list,… in test()
139 va_status = vaDeriveImage(va_dpy, surface_id, &image_id); in test()
153 va_status = vaDestroySurfaces(va_dpy, &surface_id, 1); in test()
/hardware/intel/common/libva/test/
Dloadsurface.h230 static int upload_surface(VADisplay va_dpy, VASurfaceID surface_id, in upload_surface() argument
239 va_status = vaDeriveImage(va_dpy,surface_id,&surface_image); in upload_surface()
295 static int upload_surface_yuv(VADisplay va_dpy, VASurfaceID surface_id, in upload_surface_yuv() argument
304 va_status = vaDeriveImage(va_dpy,surface_id, &surface_image); in upload_surface_yuv()
393 static int download_surface_yuv(VADisplay va_dpy, VASurfaceID surface_id, in download_surface_yuv() argument
402 va_status = vaDeriveImage(va_dpy,surface_id, &surface_image); in download_surface_yuv()
/hardware/intel/img/psb_video/src/android/
Dpsb_surface_gralloc.c158 obj_surface->surface_id = surfaceID; in psb_CreateSurfacesFromGralloc()
171 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
218 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
318 obj_surface->surface_id = surfaceID; in psb_CreateSurfacesFromGralloc()
330 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
467 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp1970 VASurfaceID surface_id; member
1974 upload_yuv_to_surface(FILE *yuv_fp, VASurfaceID surface_id);
2092 upload_yuv_to_surface(param->yuv_fp, param->surface_id); in upload_thread_function()
2112 avcenc_context.upload_thread_param.surface_id = surface_ids[SID_INPUT_PICTURE_1]; in alloc_encode_resource()
2157 static void upload_yuv_to_surface(FILE *yuv_fp, VASurfaceID surface_id) in upload_yuv_to_surface() argument
2174 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in upload_yuv_to_surface()
2925 avcenc_context.upload_thread_param.surface_id = surface_ids[index]; in encode_picture()
3296 VASurfaceID surface_id; in main() local
3352 VA_RT_FORMAT_YUV420, 1, &surface_id); in main()
3360 &surface_id, in main()
[all …]
/hardware/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp207 construct_nv12_mask_surface(VASurfaceID surface_id, in construct_nv12_mask_surface() argument
217 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in construct_nv12_mask_surface()
257 VASurfaceID surface_id) in upload_yv12_frame_to_yuv_surface() argument
268 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in upload_yv12_frame_to_yuv_surface()
358 VASurfaceID surface_id) in store_yuv_surface_to_yv12_frame() argument
370 va_status = vaDeriveImage(va_dpy, surface_id, &surface_image); in store_yuv_surface_to_yv12_frame()

12