Lines Matching refs:prep

203     MppEncPrepCfg *prep = &cfg->prep;  in setup_hal_bufs()  local
205 RK_S32 aligned_w = MPP_ALIGN(prep->width, alignment); in setup_hal_bufs()
206 RK_S32 aligned_h = MPP_ALIGN(prep->height, alignment); in setup_hal_bufs()
282 MppEncPrepCfg *prep = &ctx->cfg->prep; in hal_h264e_vepu540c_prepare() local
286 if (prep->change_res) { in hal_h264e_vepu540c_prepare()
294 prep->change_res = 0; in hal_h264e_vepu540c_prepare()
454 static MPP_RET setup_vepu540c_prep(HalVepu540cRegSet *regs, MppEncPrepCfg *prep) in setup_vepu540c_prep() argument
457 MppFrameFormat fmt = prep->format; in setup_vepu540c_prep()
469 regs->reg_base.enc_rsl.pic_wd8_m1 = MPP_ALIGN(prep->width, 16) / 8 - 1; in setup_vepu540c_prep()
470 regs->reg_base.src_fill.pic_wfill = MPP_ALIGN(prep->width, 16) - prep->width; in setup_vepu540c_prep()
471 regs->reg_base.enc_rsl.pic_hd8_m1 = MPP_ALIGN(prep->height, 16) / 8 - 1; in setup_vepu540c_prep()
472 regs->reg_base.src_fill.pic_hfill = MPP_ALIGN(prep->height, 16) - prep->height; in setup_vepu540c_prep()
481 y_stride = (MPP_FRAME_FMT_IS_FBC(fmt)) ? (MPP_ALIGN(prep->width, 16)) : in setup_vepu540c_prep()
482 (prep->hor_stride) ? (prep->hor_stride) : (prep->width); in setup_vepu540c_prep()
488 const VepuRgb2YuvCfg *cfg_coeffs = get_rgb2yuv_cfg(prep->range, prep->color); in setup_vepu540c_prep()
490 hal_h264e_dbg_flow("input color range %d colorspace %d", prep->range, prep->color); in setup_vepu540c_prep()
530 regs->reg_base.src_proc.src_mirr = prep->mirroring > 0; in setup_vepu540c_prep()
531 regs->reg_base.src_proc.src_rot = prep->rotation; in setup_vepu540c_prep()
1135 RK_U32 mb_w = MPP_ALIGN(cfg->prep.width, 16) / 16; in setup_vepu540c_split()
1136 RK_U32 mb_h = MPP_ALIGN(cfg->prep.height, 16) / 16; in setup_vepu540c_split()
1475 ret = setup_vepu540c_prep(regs, &ctx->cfg->prep); in hal_h264e_vepu540c_gen_regs()
1503 ctx->cfg->prep.width, ctx->cfg->prep.height); in hal_h264e_vepu540c_gen_regs()