Home | History | Annotate | Download | only in virt

Lines Matching refs:y1

88 def image_crop(width, height, data, x1, y1, dx, dy):
96 @param y1: Desired y coordinate of the cropped region
103 if y1 > height - 1: y1 = height - 1
105 if dy > height - y1: dy = height - y1
107 index = (x1 + y1*width) * 3
128 def get_region_md5sum(width, height, data, x1, y1, dx, dy,
137 @param y1: Desired y coord of the cropped region
143 (cw, ch, cdata) = image_crop(width, height, data, x1, y1, dx, dy)