Lines Matching refs:crop
149 static bool isEglImageCroppable(const Rect& crop) { in isEglImageCroppable() argument
150 return hasEglAndroidImageCrop() && (crop.left == 0 && crop.top == 0); in isEglImageCroppable()
896 float crop[16] = { in computeTransformMatrix() local
903 mtxMul(mtxBeforeFlipV, crop, xform); in computeTransformMatrix()
1239 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop) { in createImage() argument
1247 EGL_IMAGE_CROP_LEFT_ANDROID, crop.left, in createImage()
1248 EGL_IMAGE_CROP_TOP_ANDROID, crop.top, in createImage()
1249 EGL_IMAGE_CROP_RIGHT_ANDROID, crop.right, in createImage()
1250 EGL_IMAGE_CROP_BOTTOM_ANDROID, crop.bottom, in createImage()
1255 if (!crop.isValid()) { in createImage()
1261 } else if (!isEglImageCroppable(crop)) { in createImage()