Lines Matching refs:src_pos
180 struct drm_exynos_ipp_task_rect *src_pos, in scaler_set_src_luma_chroma_pos() argument
185 val = SCALER_SRC_Y_POS_SET_YH_POS(src_pos->x << 2); in scaler_set_src_luma_chroma_pos()
186 val |= SCALER_SRC_Y_POS_SET_YV_POS(src_pos->y << 2); in scaler_set_src_luma_chroma_pos()
189 (src_pos->x * fmt->chroma_tile_w / 16) << 2); in scaler_set_src_luma_chroma_pos()
191 (src_pos->y * fmt->chroma_tile_h / 16) << 2); in scaler_set_src_luma_chroma_pos()
196 struct drm_exynos_ipp_task_rect *src_pos) in scaler_set_src_wh() argument
200 val = SCALER_SRC_WH_SET_WIDTH(src_pos->w); in scaler_set_src_wh()
201 val |= SCALER_SRC_WH_SET_HEIGHT(src_pos->h); in scaler_set_src_wh()
264 struct drm_exynos_ipp_task_rect *src_pos, in scaler_set_hv_ratio() argument
270 h_ratio = (src_pos->h << 16) / dst_pos->w; in scaler_set_hv_ratio()
271 v_ratio = (src_pos->w << 16) / dst_pos->h; in scaler_set_hv_ratio()
273 h_ratio = (src_pos->w << 16) / dst_pos->w; in scaler_set_hv_ratio()
274 v_ratio = (src_pos->h << 16) / dst_pos->h; in scaler_set_hv_ratio()
362 struct drm_exynos_ipp_task_rect *src_pos = &task->src.rect; in scaler_commit() local
383 scaler_set_src_luma_chroma_pos(scaler, src_pos, src_fmt); in scaler_commit()
384 scaler_set_src_wh(scaler, src_pos); in scaler_commit()
392 scaler_set_hv_ratio(scaler, task->transform.rotation, src_pos, dst_pos); in scaler_commit()