Home
last modified time | relevance | path

Searched refs:uv_stride (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c699 unsigned int uv_stride; in frame_init_nv_planes() local
714 uv_stride = uv_width * bytes_per_element; in frame_init_nv_planes()
716 uv_bytes = uv_stride * uv_height; in frame_init_nv_planes()
721 uv_stride, uv_height, y_bytes); in frame_init_nv_planes()
735 y_stride, y_bytes, uv_bytes, uv_stride; in frame_init_yuv_planes() local
738 uv_stride = uv_width * bytes_per_element; in frame_init_yuv_planes()
740 uv_bytes = uv_stride * uv_height; in frame_init_yuv_planes()
745 frame_init_plane(&frame->planes.yuv.v, uv_width, uv_stride, in frame_init_yuv_planes()
747 frame_init_plane(&frame->planes.yuv.u, uv_width, uv_stride, in frame_init_yuv_planes()
750 frame_init_plane(&frame->planes.yuv.u, uv_width, uv_stride, in frame_init_yuv_planes()
[all …]
/drivers/media/platform/qcom/venus/
Dhelpers.c826 u32 y_stride, uv_stride, y_plane; in get_framesize_raw_nv12() local
831 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12()
836 uv_plane = uv_stride * uv_sclines + SZ_4K; in get_framesize_raw_nv12()
847 u32 uv_stride, uv_plane; in get_framesize_raw_nv12_ubwc() local
861 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc()
862 uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
870 u32 y_plane, uv_plane, y_stride, uv_stride, y_sclines, uv_sclines; in get_framesize_raw_p010() local
873 uv_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010()
877 uv_plane = uv_stride * uv_sclines; in get_framesize_raw_p010()
884 u32 y_stride, uv_stride, y_sclines, uv_sclines; in get_framesize_raw_p010_ubwc() local
[all …]
/drivers/media/platform/rockchip/rga/
Drga-hw.c52 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/gpu/ipu-v3/
Dipu-cpmem.c473 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()
Dipu-image-convert.c992 u32 H, top, y_stride, uv_stride; in calc_tile_offsets_planar() local
1001 uv_stride = y_stride / fmt->uv_width_dec; in calc_tile_offsets_planar()
1003 uv_stride *= 2; in calc_tile_offsets_planar()
1011 uv_row_off = (top * uv_stride) / fmt->uv_height_dec; in calc_tile_offsets_planar()