Lines Matching refs:w
127 RK_S32 w; member
189 static MPP_RET vepu54x_h265_set_roi(void *dst_buf, void *src_buf, RK_S32 w, RK_S32 h) in vepu54x_h265_set_roi() argument
193 RK_S32 mb_w = MPP_ALIGN(w, 64) / 64; in vepu54x_h265_set_roi()
226 RK_S32 mb_w = MPP_ALIGN(ctx->w, 16) / 16; in gen_vepu54x_roi()
247 if (ctx->w <= 0 || ctx->h <= 0) { in gen_vepu54x_roi()
248 mpp_err_f("invalid size [%d:%d]\n", ctx->w, ctx->h); in gen_vepu54x_roi()
255 if (region->x + region->w > ctx->w || region->y + region->h > ctx->h) in gen_vepu54x_roi()
268 region->x, region->y, region->w, region->h, ctx->w, ctx->h); in gen_vepu54x_roi()
280 RK_S32 roi_width = (region->w + 15) / 16; in gen_vepu54x_roi()
319 roi_width = (region->w + 64) / 64; in gen_vepu54x_roi()
463 RK_S32 mb_w = MPP_ALIGN(ctx->w, 16) / 16; in gen_vepu580_roi_h264()
535 RK_S32 ctu_w = MPP_ALIGN(ctx->w, 64) / 64; in gen_vepu580_roi_h265()
634 MPP_RET mpp_enc_roi_init(MppEncRoiCtx *ctx, RK_U32 w, RK_U32 h, MppCodingType type, RK_S32 count) in mpp_enc_roi_init() argument
665 impl->w = w; in mpp_enc_roi_init()
674 RK_S32 mb_w = MPP_ALIGN(impl->w, 16) / 16; in mpp_enc_roi_init()
676 RK_U32 ctu_w = MPP_ALIGN(impl->w, 64) / 64; in mpp_enc_roi_init()
677 RK_U32 ctu_h = MPP_ALIGN(impl->w, 64) / 64; in mpp_enc_roi_init()
710 RK_U32 ctu_w = MPP_ALIGN(w, 64) / 64; in mpp_enc_roi_init()
720 RK_U32 mb_w = MPP_ALIGN(w, 64) / 16; in mpp_enc_roi_init()
758 RK_S32 mb_w = MPP_ALIGN(impl->w, 16) / 16; in mpp_enc_roi_init()
857 vepu54x_h265_set_roi(impl->dst_base, impl->tmp, impl->w, impl->h); in mpp_enc_roi_setup_meta()
893 region[i].w = regions[i].w; in mpp_enc_roi_setup_meta()