Lines Matching refs:lt
50 struct rga_addr_offset *lt, *lb, *rt, *rb; in rga_get_addr_offset() local
54 lt = &offsets.left_top; in rga_get_addr_offset()
65 lt->y_off = y * frm->stride + x * pixel_width; in rga_get_addr_offset()
66 lt->u_off = in rga_get_addr_offset()
68 lt->v_off = lt->u_off + frm->width * frm->height / uv_factor; in rga_get_addr_offset()
70 lb->y_off = lt->y_off + (h - 1) * frm->stride; in rga_get_addr_offset()
71 lb->u_off = lt->u_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset()
72 lb->v_off = lt->v_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset()
74 rt->y_off = lt->y_off + (w - 1) * pixel_width; in rga_get_addr_offset()
75 rt->u_off = lt->u_off + w / x_div - 1; in rga_get_addr_offset()
76 rt->v_off = lt->v_off + w / x_div - 1; in rga_get_addr_offset()