Home
last modified time | relevance | path

Searched refs:u_off (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga-hw.c21 unsigned int u_off; member
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()
71 lb->u_off = lt->u_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset()
75 rt->u_off = lt->u_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()
331 src_offsets.left_top.u_off; in rga_cmd_set_trans_info()
345 dst_offset->u_off; in rga_cmd_set_trans_info()
/openbmc/linux/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c109 u32 u_off; member
992 u32 uv_row_off, uv_col_off, uv_off, u_off, v_off; in calc_tile_offsets_planar() local
1021 u_off = y_size - y_off + uv_off; in calc_tile_offsets_planar()
1022 v_off = (fmt->uv_packed) ? 0 : u_off + uv_size; in calc_tile_offsets_planar()
1024 swap(u_off, v_off); in calc_tile_offsets_planar()
1027 image->tile[tile].u_off = u_off; in calc_tile_offsets_planar()
1030 if ((y_off & 0x7) || (u_off & 0x7) || (v_off & 0x7)) { in calc_tile_offsets_planar()
1037 y_off, u_off, v_off); in calc_tile_offsets_planar()
1069 image->tile[tile].u_off = 0; in calc_tile_offsets_packed()
1339 tile_image.u_offset = image->tile[tile_idx[0]].u_off; in init_idmac_channel()
[all …]
H A Dipu-cpmem.c283 void ipu_cpmem_set_uv_offset(struct ipuv3_channel *ch, u32 u_off, u32 v_off) in ipu_cpmem_set_uv_offset() argument
285 WARN_ON_ONCE((u_off & 0x7) || (v_off & 0x7)); in ipu_cpmem_set_uv_offset()
287 ipu_ch_param_write_field(ch, IPU_FIELD_UBO, u_off / 8); in ipu_cpmem_set_uv_offset()
/openbmc/linux/include/video/
H A Dimx-ipu-v3.h261 void ipu_cpmem_set_uv_offset(struct ipuv3_channel *ch, u32 u_off, u32 v_off);