Lines Matching refs:src_rect
765 struct v4l2_rect src_rect = src->crop; in bdisp_hw_build_node() local
777 src_rect.left += src_x_offset; in bdisp_hw_build_node()
778 src_rect.width -= src_x_offset; in bdisp_hw_build_node()
779 src_rect.width = min_t(__s32, MAX_SRC_WIDTH, src_rect.width); in bdisp_hw_build_node()
783 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()
856 src_rect.top /= 2; in bdisp_hw_build_node()
857 src_rect.height /= 2; in bdisp_hw_build_node()
870 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
871 node->s2sz = src_rect.height << 16 | src_rect.width; in bdisp_hw_build_node()
876 src_rect.top /= 2; in bdisp_hw_build_node()
877 src_rect.left /= 2; in bdisp_hw_build_node()
878 src_rect.width /= 2; in bdisp_hw_build_node()
879 src_rect.height /= 2; in bdisp_hw_build_node()
892 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
893 node->s2sz = src_rect.height << 16 | src_rect.width; in bdisp_hw_build_node()