Home
last modified time | relevance | path

Searched refs:oneY (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp62 Transform(int origX, int origY, int oneX, int oneY);
253 Transform::Transform(int origX, int origY, int oneX, int oneY) in Transform() argument
254 : mOrigX(origX), mOrigY(origY), mOneX(oneX), mOneY(oneY) { in Transform()
255 if (origX == oneX || origY == oneY) { in Transform()
264 if (oneX > origX && oneY > origY) { in Transform()
271 mOutputHeight = abs(oneY - origY); in Transform()
272 } else if (oneX < origX && oneY > origY) { in Transform()
278 mOutputWidth = abs(oneY - origY); in Transform()
280 } else if (oneX > origX && oneY < origY) { in Transform()
286 mOutputWidth = abs(oneY - origY); in Transform()
[all …]