Lines Matching full:offsets
49 struct rga_corners_addr_offset offsets; in rga_get_addr_offset() local
54 lt = &offsets.left_top; in rga_get_addr_offset()
55 lb = &offsets.left_bottom; in rga_get_addr_offset()
56 rt = &offsets.right_top; in rga_get_addr_offset()
57 rb = &offsets.right_bottom; in rga_get_addr_offset()
82 return offsets; in rga_get_addr_offset()
87 * offsets, u32 rotate_mode, in rga_lookup_draw_pos()
105 if (!offsets) in rga_lookup_draw_pos()
110 return &offsets->left_top; in rga_lookup_draw_pos()
112 return &offsets->left_bottom; in rga_lookup_draw_pos()
114 return &offsets->right_top; in rga_lookup_draw_pos()
116 return &offsets->right_bottom; in rga_lookup_draw_pos()
177 struct rga_corners_addr_offset offsets; in rga_cmd_set_trans_info() local
324 offsets = rga_get_addr_offset(&ctx->out, dst_x, dst_y, dst_w, dst_h); in rga_cmd_set_trans_info()
325 dst_offset = rga_lookup_draw_pos(&offsets, src_info.data.rot_mode, in rga_cmd_set_trans_info()