Lines Matching refs:w
27 RK_S32 vepu541_get_roi_buf_size(RK_S32 w, RK_S32 h) in vepu541_get_roi_buf_size() argument
29 RK_S32 stride_h = MPP_ALIGN(w, 64) / 16; in vepu541_get_roi_buf_size()
37 MPP_RET vepu541_set_one_roi(void *buf, MppEncROIRegion *region, RK_S32 w, RK_S32 h) in vepu541_set_one_roi() argument
40 RK_S32 mb_w = MPP_ALIGN(w, 16) / 16; in vepu541_set_one_roi()
51 RK_S32 roi_width = (region->w + 15) / 16; in vepu541_set_one_roi()
91 MPP_RET vepu541_set_roi(void *buf, MppEncROICfg *roi, RK_S32 w, RK_S32 h) in vepu541_set_roi() argument
95 RK_S32 mb_w = MPP_ALIGN(w, 16) / 16; in vepu541_set_roi()
119 if (w <= 0 || h <= 0) { in vepu541_set_roi()
120 mpp_err_f("invalid size [%d:%d]\n", w, h); in vepu541_set_roi()
132 if (region->x + region->w > w || region->y + region->h > h) in vepu541_set_roi()
146 region->x, region->y, region->w, region->h, w, h); in vepu541_set_roi()
158 vepu541_set_one_roi(buf, region, w, h); in vepu541_set_roi()