Lines Matching refs:yuvInfo
455 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument
472 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride()
473 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
474 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
481 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
482 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
485 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride()
487 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride()
570 yuvPlaneInfo yuvInfo = {0}; in set_image() local
571 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image()
581 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
583 surfaceDef.plane1 = (void*) (handle->base + yuvInfo.plane1_offset); in set_image()
584 surfaceDef.phys1 = (void*) (gpuaddr + yuvInfo.plane1_offset); in set_image()
585 surfaceDef.stride1 = yuvInfo.plane1_stride; in set_image()
587 surfaceDef.plane2 = (void*) (handle->base + yuvInfo.plane2_offset); in set_image()
588 surfaceDef.phys2 = (void*) (gpuaddr + yuvInfo.plane2_offset); in set_image()
589 surfaceDef.stride2 = yuvInfo.plane2_stride; in set_image()