Home
last modified time | relevance | path

Searched refs:u_dst (Results 1 – 5 of 5) sorted by relevance

/hardware/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp214 unsigned char *y_dst, *u_dst, *v_dst; in construct_nv12_mask_surface() local
224 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in construct_nv12_mask_surface()
225 v_dst = u_dst; in construct_nv12_mask_surface()
242 u_dst[col * 2] = 128; in construct_nv12_mask_surface()
243 u_dst[col * 2 + 1] = 128; in construct_nv12_mask_surface()
245 u_dst += surface_image.pitches[1]; in construct_nv12_mask_surface()
262 unsigned char *y_dst, *u_dst, *v_dst; in upload_yv12_frame_to_yuv_surface() local
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()
297 u_dst = (unsigned char *)((unsigned char*)surface_p + surface_image.offsets[1]); in upload_yv12_frame_to_yuv_surface()
[all …]
/hardware/intel/common/libva/test/encode/
Davcenc.c360 unsigned char *y_dst, *u_dst, *v_dst; in upload_yuv_to_surface() local
381 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface()
394 u_dst[col * 2] = u_src[col]; in upload_yuv_to_surface()
395 u_dst[col * 2 + 1] = v_src[col]; in upload_yuv_to_surface()
398 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
407 u_dst = surface_p + surface_image.offsets[U]; in upload_yuv_to_surface()
411 memcpy(u_dst, u_src, surface_image.width / 2); in upload_yuv_to_surface()
413 u_dst += surface_image.pitches[U]; in upload_yuv_to_surface()
Dmpeg2enc.c439 unsigned char *y_dst, *u_dst, *v_dst; in upload_yuv_to_surface() local
460 u_dst = surface_p + surface_image.offsets[1]; /* UV offset for NV12 */ in upload_yuv_to_surface()
473 u_dst[col * 2] = u_src[col]; in upload_yuv_to_surface()
474 u_dst[col * 2 + 1] = v_src[col]; in upload_yuv_to_surface()
477 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
484 u_dst[col] = u_src[col]; in upload_yuv_to_surface()
488 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2163 unsigned char *y_dst, *u_dst, *v_dst; in upload_yuv_to_surface() local
2185 u_dst = (unsigned char *)(surface_p + surface_image.offsets[1]); /* UV offset for NV12 */ in upload_yuv_to_surface()
2196 memcpy(u_dst, u_src, picture_width*picture_height/2); in upload_yuv_to_surface()
2202 u_dst[col * 2] = u_src[col]; in upload_yuv_to_surface()
2203 u_dst[col * 2 + 1] = v_src[col]; in upload_yuv_to_surface()
2206 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
/hardware/libhardware/modules/camera/3_4/arc/
Dimage_processor.cpp316 uint8_t* u_dst = dst + dst_stride_y * height + dst_stride_uv * height / 2; in YU12ToYV12() local
321 dst_stride_y, u_dst, dst_stride_uv, v_dst, in YU12ToYV12()