Lines Matching refs:yuvInfo
449 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument
466 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride()
467 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
468 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
475 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
476 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
479 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride()
481 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride()
564 yuvPlaneInfo yuvInfo = {0}; in set_image() local
565 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image()
575 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
577 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset); in set_image()
578 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset); in set_image()
579 surfaceDef.stride1 = yuvInfo.plane1_stride; in set_image()
581 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset); in set_image()
582 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset); in set_image()
583 surfaceDef.stride2 = yuvInfo.plane2_stride; in set_image()