Home
last modified time | relevance | path

Searched refs:x_div (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga-hw.c51 unsigned int x_div = 0, in rga_get_addr_offset() local
59 x_div = frm->fmt->x_div; in rga_get_addr_offset()
62 uv_stride = frm->stride / x_div; in rga_get_addr_offset()
67 frm->width * frm->height + (y / y_div) * uv_stride + x / x_div; 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()
79 rb->u_off = lb->u_off + w / x_div - 1; in rga_get_addr_offset()
80 rb->v_off = lb->v_off + w / x_div - 1; in rga_get_addr_offset()
H A Drga.c192 .x_div = 1,
201 .x_div = 1,
210 .x_div = 1,
219 .x_div = 1,
228 .x_div = 1,
237 .x_div = 1,
246 .x_div = 1,
255 .x_div = 1,
264 .x_div = 1,
273 .x_div = 1,
[all …]
H A Drga.h21 u8 x_div; member