Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A Dhelpers.c826 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 Dframe.c698 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 Dcapture.h80 int y_stride; member
96 int y_stride; member
H A Ddmarx.c139 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 Dcapture.c891 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 Dhal_h264e_vepu580.c690 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 Dhal_h264e_vepu541.c450 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 Dhal_h264e_vepu540c.c445 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 Dcapture.h128 int y_stride; member
145 int y_stride; member
H A Ddmarx.c272 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 Dcapture_v1x.c580 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 Dcapture_v20.c824 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 Dcapture.c799 stream->u.sp.y_stride = in rkisp_set_fmt()
H A Dcapture_v30.c589 val = stream->u.sp.y_stride; in sp_config_mi()
H A Dcapture_v21.c785 rkisp_write(dev, CIF_MI_SP_Y_LLENGTH, stream->u.sp.y_stride * mul, false); in sp_config_mi()
H A Dcapture_v32.c807 val = stream->u.sp.y_stride; in sp_config_mi()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/
H A Dhal_av1d_vdpu.c789 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 Dvp9d_parser.h119 RK_S32 y_stride, uv_stride; member
/OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/
H A 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()