Lines Matching refs:crop

152                                  const Rect &crop,  in writeCroppedNV12()  argument
160 if (!buffer || !crop.isValid()) { in writeCroppedNV12()
176 unsigned int height = crop.height(); in writeCroppedNV12()
177 unsigned int width = crop.width(); in writeCroppedNV12()
207 const Rect &crop, in writeCroppedUYVY() argument
219 int height = crop.height(); in writeCroppedUYVY()
220 int width = crop.width(); in writeCroppedUYVY()
239 const Rect &crop, in copyCroppedNV12() argument
252 uvoffset = strideSrc * crop.height(); in copyCroppedNV12()
258 int height = crop.height(); in copyCroppedNV12()
259 int width = crop.width(); in copyCroppedNV12()
288 const Rect &crop, in copyCroppedPacked16() argument
301 int height = crop.height(); in copyCroppedPacked16()
302 int width = crop.width(); in copyCroppedPacked16()
623 unsigned int count, const Rect &crop) { in handleBuffer() argument
653 info.crop = crop; in handleBuffer()
661 size = calcBufSize((int) graphic_buffer->getPixelFormat(), crop.width(), crop.height()); in handleBuffer()
662 offset = calcOffset((int) graphic_buffer->getPixelFormat(), info.width, crop.top, crop.left); in handleBuffer()
673 crop, fd, buffer); in handleBuffer()
676 crop, fd, buffer); in handleBuffer()
683 crop.top, crop.left, crop.right, crop.bottom, in handleBuffer()
684 crop.width(), crop.height(), in handleBuffer()
694 Rect crop(graphic_buffer->getWidth(), graphic_buffer->getHeight()); in getCrop() local
731 crop = updatedCrop; in getCrop()
740 return crop; in getCrop()
756 aligned_width = bufinfo.crop.right - bufinfo.crop.left; in setInput()
758 aligned_width = ALIGN_UP(bufinfo.crop.right - bufinfo.crop.left, ALIGN_WIDTH); in setInput()
760 aligned_height = bufinfo.crop.bottom - bufinfo.crop.top; in setInput()
801 bufinfo.crop, in setInput()
811 bufinfo.crop, in setInput()