Searched refs:uv_stride (Results 1 – 4 of 4) sorted by relevance
/drivers/media/platform/rockchip/rga/ |
D | rga-hw.c | 52 y_div = 0, uv_stride = 0, pixel_width = 0, uv_factor = 0; in rga_get_addr_offset() local 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() 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()
|
/drivers/media/platform/qcom/venus/ |
D | helpers.c | 668 u32 y_stride, uv_stride, y_plane; in get_framesize_raw_nv12() local 673 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12() 678 uv_plane = uv_stride * uv_sclines + SZ_4K; in get_framesize_raw_nv12() 689 u32 uv_stride, uv_plane; in get_framesize_raw_nv12_ubwc() local 703 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc() 704 uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
|
/drivers/gpu/ipu-v3/ |
D | ipu-cpmem.c | 473 unsigned int uv_stride, in ipu_cpmem_set_yuv_planar_full() argument 478 ipu_ch_param_write_field(ch, IPU_FIELD_SLUV, uv_stride - 1); in ipu_cpmem_set_yuv_planar_full()
|
D | ipu-image-convert.c | 976 u32 H, top, y_stride, uv_stride; in calc_tile_offsets_planar() local 985 uv_stride = y_stride / fmt->uv_width_dec; in calc_tile_offsets_planar() 987 uv_stride *= 2; in calc_tile_offsets_planar() 995 uv_row_off = (top * uv_stride) / fmt->uv_height_dec; in calc_tile_offsets_planar()
|