Searched refs:surface_p (Results 1 – 8 of 8) sorted by relevance
/hardware/intel/common/libva/test/ |
D | loadsurface.h | 235 void *surface_p=NULL, *U_start = NULL,*V_start = NULL; in upload_surface() local 242 vaMapBuffer(va_dpy,surface_image.buf,&surface_p); in upload_surface() 248 U_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface() 254 U_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface() 255 V_start = (char *)surface_p + surface_image.offsets[2]; in upload_surface() 260 U_start = (char *)surface_p + surface_image.offsets[2]; in upload_surface() 261 V_start = (char *)surface_p + surface_image.offsets[1]; in upload_surface() 266 U_start = (char *)surface_p + 1; in upload_surface() 267 V_start = (char *)surface_p + 3; in upload_surface() 277 (unsigned char *)surface_p, pitches[0], in upload_surface() [all …]
|
/hardware/intel/common/libva/test/videoprocess/ |
D | videoprocess.cpp | 213 void *surface_p = NULL; in construct_nv12_mask_surface() local 220 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in construct_nv12_mask_surface() 223 y_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[0]); in construct_nv12_mask_surface() 224 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in construct_nv12_mask_surface() 263 void *surface_p = NULL; in upload_yv12_frame_to_yuv_surface() local 271 va_status = vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in upload_yv12_frame_to_yuv_surface() 288 y_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[0]); in upload_yv12_frame_to_yuv_surface() 291 v_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in upload_yv12_frame_to_yuv_surface() 292 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[2]); in upload_yv12_frame_to_yuv_surface() 294 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in upload_yv12_frame_to_yuv_surface() [all …]
|
/hardware/intel/img/psb_video/src/ |
D | pnw_jpeg.c | 153 object_surface_p surface_p = SURFACE(obj_context->render_targets[0]); in pnw_jpeg_CreateContext() local 154 if (NULL == surface_p) { in pnw_jpeg_CreateContext() 160 if ((surface_p->psb_surface)->extra_info[4] == VA_FOURCC_NV12) { in pnw_jpeg_CreateContext() 164 else if ((surface_p->psb_surface)->extra_info[4] == VA_FOURCC_IYUV) { in pnw_jpeg_CreateContext()
|
/hardware/intel/common/libva/test/encode/ |
D | avcenc.c | 358 void *surface_p = NULL; in upload_yuv_to_surface() local 373 vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in upload_yuv_to_surface() 380 y_dst = surface_p + surface_image.offsets[0]; in upload_yuv_to_surface() 381 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface() 382 v_dst = surface_p + surface_image.offsets[2]; in upload_yuv_to_surface() 407 u_dst = surface_p + surface_image.offsets[U]; in upload_yuv_to_surface() 408 v_dst = surface_p + surface_image.offsets[V]; in upload_yuv_to_surface()
|
D | mpeg2enc.c | 437 void *surface_p = NULL; in upload_yuv_to_surface() local 452 vaMapBuffer(ctx->va_dpy, surface_image.buf, &surface_p); in upload_yuv_to_surface() 459 y_dst = surface_p + surface_image.offsets[0]; in upload_yuv_to_surface() 460 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface() 461 v_dst = surface_p + surface_image.offsets[2]; in upload_yuv_to_surface()
|
D | mpeg2vaenc.c | 437 void *surface_p = NULL; in upload_yuv_to_surface() local 452 vaMapBuffer(ctx->va_dpy, surface_image.buf, &surface_p); in upload_yuv_to_surface() 459 y_dst = surface_p + surface_image.offsets[0]; in upload_yuv_to_surface() 460 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface() 461 v_dst = surface_p + surface_image.offsets[2]; in upload_yuv_to_surface()
|
/hardware/intel/common/libva/test/transcode/ |
D | mpeg2transcode.cpp | 2161 void *surface_p = NULL; in upload_yuv_to_surface() local 2177 vaMapBuffer(va_dpy, surface_image.buf, &surface_p); in upload_yuv_to_surface() 2184 y_dst = (unsigned char *)(surface_p + surface_image.offsets[0]); in upload_yuv_to_surface() 2185 u_dst = (unsigned char *)(surface_p + surface_image.offsets[1]); /* UV offset for NV12 */ in upload_yuv_to_surface() 2186 v_dst = (unsigned char *)(surface_p + surface_image.offsets[2]); in upload_yuv_to_surface()
|
/hardware/intel/common/libva/test/putsurface/ |
D | putsurface_common.c | 354 void *surface_p=NULL, *U_start,*V_start; in upload_source_YUV_once_for_all() local
|