Lines Matching defs:src
38 static void convert_clip_rect_to_rect(const struct drm_clip_rect *src,
43 dest->x1 = src->x1;
44 dest->y1 = src->y1;
45 dest->x2 = src->x2;
46 dest->y2 = src->y2;
47 src += src_inc;
65 * &drm_plane_state.src as damage.
211 * &drm_plane_state.fb_damage_clips to plane &drm_plane_state.src. This iterator
212 * returns full plane src in case damage is not present because either
214 * update). Currently this iterator returns full plane src in case plane src
219 * &drm_plane_state.src, so driver calling this helper should have called
227 struct drm_rect src;
237 src = drm_plane_state_src(state);
239 iter->plane_src.x1 = src.x1 >> 16;
240 iter->plane_src.y1 = src.y1 >> 16;
241 iter->plane_src.x2 = (src.x2 >> 16) + !!(src.x2 & 0xFFFF);
242 iter->plane_src.y2 = (src.y2 >> 16) + !!(src.y2 & 0xFFFF);
245 !drm_rect_equals(&state->src, &old_state->src)) {
256 * @rect: Return a rectangle in fb coordinate clipped to plane src.
258 * Since plane src is in 16.16 fixed point and damage clips are whole number,
259 * this iterator round off clips that intersect with plane src. Round down for
261 * off for full plane src, in case it's returned as damage. This iterator will
262 * skip damage clips outside of plane src.