| /OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/ |
| H A D | helpers.c | 826 u32 y_stride, uv_stride, y_plane; in get_framesize_raw_nv12() local 830 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12() 835 y_plane = y_stride * y_sclines; in get_framesize_raw_nv12() 845 u32 y_stride, y_plane; in get_framesize_raw_nv12_ubwc() local 854 y_stride = ALIGN(width, 128); in get_framesize_raw_nv12_ubwc() 855 y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); in get_framesize_raw_nv12_ubwc() 865 max(extradata, y_stride * 48), 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 872 y_stride = ALIGN(width * 2, 256); in get_framesize_raw_p010() 876 y_plane = y_stride * y_sclines; in get_framesize_raw_p010() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| H A D | frame.c | 698 unsigned int y_stride; in frame_init_nv_planes() local 713 y_stride = y_width * bytes_per_element; in frame_init_nv_planes() 715 y_bytes = y_stride * y_height; in frame_init_nv_planes() 719 frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0); in frame_init_nv_planes() 735 y_stride, y_bytes, uv_bytes, uv_stride; in frame_init_yuv_planes() local 737 y_stride = y_width * bytes_per_element; in frame_init_yuv_planes() 739 y_bytes = y_stride * y_height; in frame_init_yuv_planes() 743 frame_init_plane(&frame->planes.yuv.y, y_width, y_stride, y_height, 0); in frame_init_yuv_planes()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/ |
| H A D | capture.h | 80 int y_stride; member 96 int y_stride; member
|
| H A D | dmarx.c | 139 stream->u.dmarx.y_stride); in dmarx_config_mi() 144 dmarx_set_y_line_length(base, stream->u.dmarx.y_stride); in dmarx_config_mi() 464 stream->u.dmarx.y_stride = in rkisp1_set_fmt()
|
| H A D | capture.c | 891 sp_set_y_line_length(base, stream->u.sp.y_stride * 2); in sp_config_mi() 894 sp_set_y_line_length(base, stream->u.sp.y_stride); in sp_config_mi() 1717 stream->u.sp.y_stride = in rkisp1_set_fmt()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/ |
| H A D | hal_h264e_vepu580.c | 690 RK_S32 y_stride; in setup_vepu580_prep() local 713 y_stride = mpp_frame_get_fbc_hdr_stride(task->frame); in setup_vepu580_prep() 714 if (!y_stride) in setup_vepu580_prep() 715 y_stride = MPP_ALIGN(prep->width, 16); in setup_vepu580_prep() 717 y_stride = prep->hor_stride; in setup_vepu580_prep() 720 y_stride = prep->width * 4; in setup_vepu580_prep() 722 y_stride = prep->width * 3; in setup_vepu580_prep() 726 y_stride = prep->width * 2; in setup_vepu580_prep() 728 y_stride = prep->width; in setup_vepu580_prep() 733 c_stride = y_stride * 2; in setup_vepu580_prep() [all …]
|
| H A D | hal_h264e_vepu541.c | 450 RK_S32 y_stride; in setup_vepu541_prep() local 476 y_stride = mpp_frame_get_fbc_hdr_stride(task->frame); in setup_vepu541_prep() 477 if (!y_stride) in setup_vepu541_prep() 478 y_stride = MPP_ALIGN(prep->hor_stride, 16); in setup_vepu541_prep() 480 y_stride = (prep->hor_stride) ? (prep->hor_stride) : (prep->width); in setup_vepu541_prep() 484 y_stride : y_stride / 2; in setup_vepu541_prep() 527 regs->reg069.src_strd0 = y_stride; in setup_vepu541_prep()
|
| H A D | hal_h264e_vepu540c.c | 445 RK_S32 y_stride; in setup_vepu540c_prep() local 467 y_stride = (MPP_FRAME_FMT_IS_FBC(fmt)) ? (MPP_ALIGN(prep->width, 16)) : in setup_vepu540c_prep() 471 y_stride : y_stride / 2; in setup_vepu540c_prep() 510 regs->reg_base.src_strd0.src_strd0 = y_stride; in setup_vepu540c_prep()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | capture.h | 128 int y_stride; member 145 int y_stride; member
|
| H A D | dmarx.c | 272 stream->u.dmarx.y_stride); in dmarx_config_mi() 277 dmarx_set_y_line_length(base, stream->u.dmarx.y_stride); in dmarx_config_mi() 827 stream->u.dmarx.y_stride = in rkisp_set_fmt()
|
| H A D | capture_v1x.c | 580 sp_set_y_line_length(base, stream->u.sp.y_stride * 2); in sp_config_mi() 583 sp_set_y_line_length(base, stream->u.sp.y_stride); in sp_config_mi()
|
| H A D | capture_v20.c | 824 sp_set_y_line_length(base, stream->u.sp.y_stride * 2); in sp_config_mi() 827 sp_set_y_line_length(base, stream->u.sp.y_stride); in sp_config_mi()
|
| H A D | capture.c | 799 stream->u.sp.y_stride = in rkisp_set_fmt()
|
| H A D | capture_v30.c | 589 val = stream->u.sp.y_stride; in sp_config_mi()
|
| H A D | capture_v21.c | 785 rkisp_write(dev, CIF_MI_SP_Y_LLENGTH, stream->u.sp.y_stride * mul, false); in sp_config_mi()
|
| H A D | capture_v32.c | 807 val = stream->u.sp.y_stride; in sp_config_mi()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/ |
| H A D | hal_av1d_vdpu.c | 789 RK_U32 y_stride = ctx->luma_size; in vdpu_av1d_set_reference_frames() local 790 RK_U32 uv_stride = y_stride / 2; in vdpu_av1d_set_reference_frames() 843 set_ref_cb_base(p_hal, ref, idx, ctx->tile_out_bufs, y_stride); in vdpu_av1d_set_reference_frames() 1051 y_stride = ctx->luma_size ; in vdpu_av1d_set_reference_frames() 1052 uv_stride = y_stride / 2; in vdpu_av1d_set_reference_frames() 1053 mv_offset = y_stride + uv_stride + 64; in vdpu_av1d_set_reference_frames() 2073 RK_U32 y_stride = ctx->luma_size; in vdpu_av1d_gen_regs() local 2074 RK_U32 uv_stride = y_stride / 2; in vdpu_av1d_gen_regs() 2075 RK_U32 mv_offset = y_stride + uv_stride + 64; in vdpu_av1d_gen_regs() 2080 mpp_dev_set_reg_offset(p_hal->dev, 99, y_stride); in vdpu_av1d_gen_regs() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp9/ |
| H A D | vp9d_parser.h | 119 RK_S32 y_stride, uv_stride; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/ |
| H A D | ipu-image-convert.c | 992 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()
|