Home
last modified time | relevance | path

Searched refs:oneX (Results 1 – 2 of 2) 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()
270 mOutputWidth = abs(oneX - origX); in Transform()
272 } else if (oneX < origX && oneY > origY) { in Transform()
279 mOutputHeight = abs(oneX - origX); in Transform()
280 } else if (oneX > origX && oneY < origY) { in Transform()
287 mOutputHeight = abs(oneX - origX);; in Transform()
[all …]
/frameworks/ex/camera2/extensions/jni/
DJpegEncoder.cpp60 Transform(int origX, int origY, int oneX, int oneY);
251 Transform::Transform(int origX, int origY, int oneX, int oneY) in Transform() argument
252 : mOrigX(origX), mOrigY(origY), mOneX(oneX), mOneY(oneY) { in Transform()
253 if (origX == oneX || origY == oneY) { in Transform()
262 if (oneX > origX && oneY > origY) { in Transform()
268 mOutputWidth = abs(oneX - origX); in Transform()
270 } else if (oneX < origX && oneY > origY) { in Transform()
277 mOutputHeight = abs(oneX - origX); in Transform()
278 } else if (oneX > origX && oneY < origY) { in Transform()
285 mOutputHeight = abs(oneX - origX);; in Transform()
[all …]