Lines Matching refs:prep_cfg
791 …MPP_RET vepu540c_h265_set_pp_regs(H265eV540cRegSet *regs, VepuFmtCfg *fmt, MppEncPrepCfg *prep_cfg) in vepu540c_h265_set_pp_regs() argument
803 reg_base->reg0198_src_fmt.out_fmt = (prep_cfg->format == MPP_FMT_YUV400) ? 0 : 1; in vepu540c_h265_set_pp_regs()
804 reg_base->reg0203_src_proc.src_mirr = prep_cfg->mirroring > 0; in vepu540c_h265_set_pp_regs()
805 reg_base->reg0203_src_proc.src_rot = prep_cfg->rotation; in vepu540c_h265_set_pp_regs()
807 if (prep_cfg->hor_stride) { in vepu540c_h265_set_pp_regs()
808 stridey = prep_cfg->hor_stride; in vepu540c_h265_set_pp_regs()
811 stridey = prep_cfg->width * 4; in vepu540c_h265_set_pp_regs()
813 stridey = prep_cfg->width * 3; in vepu540c_h265_set_pp_regs()
817 stridey = prep_cfg->width * 2; in vepu540c_h265_set_pp_regs()
825 … const VepuRgb2YuvCfg *cfg_coeffs = cfg_coeffs = get_rgb2yuv_cfg(prep_cfg->range, prep_cfg->color); in vepu540c_h265_set_pp_regs()
827 … hal_h265e_dbg_simple("input color range %d colorspace %d", prep_cfg->range, prep_cfg->color); in vepu540c_h265_set_pp_regs()