Lines Matching refs:src_rect
470 struct v4l2_rect src_rect = src->crop; in bdisp_hw_build_node() local
482 src_rect.left += src_x_offset; in bdisp_hw_build_node()
483 src_rect.width -= src_x_offset; in bdisp_hw_build_node()
484 src_rect.width = min_t(__s32, MAX_SRC_WIDTH, src_rect.width); in bdisp_hw_build_node()
488 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()
561 src_rect.top /= 2; in bdisp_hw_build_node()
562 src_rect.height /= 2; in bdisp_hw_build_node()
575 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
576 node->s2sz = src_rect.height << 16 | src_rect.width; in bdisp_hw_build_node()
581 src_rect.top /= 2; in bdisp_hw_build_node()
582 src_rect.left /= 2; in bdisp_hw_build_node()
583 src_rect.width /= 2; in bdisp_hw_build_node()
584 src_rect.height /= 2; in bdisp_hw_build_node()
597 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
598 node->s2sz = src_rect.height << 16 | src_rect.width; in bdisp_hw_build_node()