Lines Matching refs:prep
228 MppEncPrepCfg *prep = &cfg->prep; in setup_hal_bufs() local
230 RK_S32 aligned_w = MPP_ALIGN(prep->width, alignment); in setup_hal_bufs()
231 RK_S32 aligned_h = MPP_ALIGN(prep->height, alignment) + 16; in setup_hal_bufs()
275 MppEncPrepCfg *prep = &ctx->cfg->prep; in hal_h264e_vepu541_prepare() local
279 if (prep->change_res) { in hal_h264e_vepu541_prepare()
287 prep->change_res = 0; in hal_h264e_vepu541_prepare()
452 MppEncPrepCfg *prep = &ctx->cfg->prep; in setup_vepu541_prep() local
453 MppFrameFormat fmt = prep->format; in setup_vepu541_prep()
466 regs->reg012.pic_wd8_m1 = MPP_ALIGN(prep->width, 16) / 8 - 1; in setup_vepu541_prep()
467 regs->reg012.pic_wfill = MPP_ALIGN(prep->width, 16) - prep->width; in setup_vepu541_prep()
468 regs->reg012.pic_hd8_m1 = MPP_ALIGN(prep->height, 16) / 8 - 1; in setup_vepu541_prep()
469 regs->reg012.pic_hfill = MPP_ALIGN(prep->height, 16) - prep->height; in setup_vepu541_prep()
487 y_stride = MPP_ALIGN(prep->hor_stride, 16); in setup_vepu541_prep()
489 y_stride = (prep->hor_stride) ? (prep->hor_stride) : (prep->width); in setup_vepu541_prep()
496 const VepuRgb2YuvCfg *cfg_coeffs = get_rgb2yuv_cfg(prep->range, prep->color); in setup_vepu541_prep()
498 hal_h264e_dbg_flow("input color range %d colorspace %d", prep->range, prep->color); in setup_vepu541_prep()
539 regs->reg022.src_mirr = prep->mirroring > 0; in setup_vepu541_prep()
540 regs->reg022.src_rot = prep->rotation; in setup_vepu541_prep()
1592 MppEncPrepCfg *prep = &cfg->prep; in hal_h264e_vepu541_gen_regs() local
1624 if (ctx->is_vepu540 && prep->width > 1920) in hal_h264e_vepu541_gen_regs()
1625 setup_vepu540_force_slice_split(regs, prep->width); in hal_h264e_vepu541_gen_regs()