Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c622 unsigned int y_stride; in frame_init_nv_planes() local
637 y_stride = y_width * bytes_per_element; in frame_init_nv_planes()
639 y_bytes = y_stride * y_height; in frame_init_nv_planes()
643 frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0); in frame_init_nv_planes()
659 y_stride, y_bytes, uv_bytes, uv_stride; in frame_init_yuv_planes() local
661 y_stride = y_width * bytes_per_element; in frame_init_yuv_planes()
663 y_bytes = y_stride * y_height; in frame_init_yuv_planes()
667 frame_init_plane(&frame->planes.yuv.y, y_width, y_stride, y_height, 0); in frame_init_yuv_planes()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhelpers.c945 u32 y_stride, uv_stride, y_plane; in get_framesize_raw_nv12() local
949 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12()
954 y_plane = y_stride * y_sclines; in get_framesize_raw_nv12()
964 u32 y_stride, y_plane; in get_framesize_raw_nv12_ubwc() local
973 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc()
974 y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
984 max(extradata, y_stride * 48), SZ_4K); in get_framesize_raw_nv12_ubwc()
989 u32 y_plane, uv_plane, y_stride, uv_stride, y_sclines, uv_sclines; in get_framesize_raw_p010() local
991 y_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010()
995 y_plane = y_stride * y_sclines; in get_framesize_raw_p010()
[all …]
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-image-convert.c992 u32 H, top, y_stride, uv_stride; in calc_tile_offsets_planar() local
1000 y_stride = image->stride; in calc_tile_offsets_planar()
1001 uv_stride = y_stride / fmt->uv_width_dec; in calc_tile_offsets_planar()
1005 y_size = H * y_stride; in calc_tile_offsets_planar()
1010 y_row_off = top * y_stride; in calc_tile_offsets_planar()