Home
last modified time | relevance | path

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

/drivers/media/platform/rockchip/rga/
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()
/drivers/gpu/ipu-v3/
Dipu-image-convert.c106 u32 u_off; member
993 u32 uv_row_off, uv_col_off, uv_off, u_off, v_off, tmp; in calc_tile_offsets_planar() local
1022 u_off = y_size - y_off + uv_off; in calc_tile_offsets_planar()
1023 v_off = (fmt->uv_packed) ? 0 : u_off + uv_size; in calc_tile_offsets_planar()
1025 tmp = u_off; in calc_tile_offsets_planar()
1026 u_off = v_off; in calc_tile_offsets_planar()
1031 image->tile[tile].u_off = u_off; in calc_tile_offsets_planar()
1034 if ((y_off & 0x7) || (u_off & 0x7) || (v_off & 0x7)) { in calc_tile_offsets_planar()
1041 y_off, u_off, v_off); in calc_tile_offsets_planar()
1073 image->tile[tile].u_off = 0; in calc_tile_offsets_packed()
[all …]
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()