Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c513 unsigned int uv_stride; in frame_init_nv_planes() local
528 uv_stride = uv_width * bytes_per_element; in frame_init_nv_planes()
530 uv_bytes = uv_stride * uv_height; in frame_init_nv_planes()
535 uv_stride, uv_height, y_bytes); in frame_init_nv_planes()
549 y_stride, y_bytes, uv_bytes, uv_stride; in frame_init_yuv_planes() local
552 uv_stride = uv_width * bytes_per_element; in frame_init_yuv_planes()
554 uv_bytes = uv_stride * uv_height; in frame_init_yuv_planes()
559 frame_init_plane(&frame->planes.yuv.v, uv_width, uv_stride, in frame_init_yuv_planes()
561 frame_init_plane(&frame->planes.yuv.u, uv_width, uv_stride, in frame_init_yuv_planes()
564 frame_init_plane(&frame->planes.yuv.u, uv_width, uv_stride, in frame_init_yuv_planes()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dhelpers.c947 u32 y_stride, uv_stride, y_plane; in get_framesize_raw_nv12() local
952 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12()
957 uv_plane = uv_stride * uv_sclines + SZ_4K; in get_framesize_raw_nv12()
968 u32 uv_stride, uv_plane; in get_framesize_raw_nv12_ubwc() local
982 uv_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc()
983 uv_plane = ALIGN(uv_stride * ALIGN(height / 2, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
991 u32 y_plane, uv_plane, y_stride, uv_stride, y_sclines, uv_sclines; in get_framesize_raw_p010() local
994 uv_stride = ALIGN(width * 2, 128); in get_framesize_raw_p010()
998 uv_plane = uv_stride * uv_sclines; in get_framesize_raw_p010()
1005 u32 y_stride, uv_stride, y_sclines, uv_sclines; in get_framesize_raw_p010_ubwc() local
[all …]
/linux-6.6.21/drivers/media/platform/mediatek/mdp3/
Dmdp_sm_mt8183.h107 u32 uv_stride; member
Dmtk-mdp3-comp.c627 reg = CFG_COMP(MT8183, ctx->param, wdma.uv_stride); in config_wdma_frame()
/linux-6.6.21/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.c991 u32 H, top, y_stride, uv_stride; in calc_tile_offsets_planar() local
1000 uv_stride = y_stride / fmt->uv_width_dec; in calc_tile_offsets_planar()
1002 uv_stride *= 2; in calc_tile_offsets_planar()
1010 uv_row_off = (top * uv_stride) / fmt->uv_height_dec; in calc_tile_offsets_planar()
/linux-6.6.21/include/video/
Dimx-ipu-v3.h275 unsigned int uv_stride,