Searched refs:orig_y (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Camera2/jni/ |
H A D | jpegutil.cpp | 48 jpegutil::Transform::Transform(int orig_x, int orig_y, int one_x, int one_y) argument 49 : orig_x_(orig_x), orig_y_(orig_y), one_x_(one_x), one_y_(one_y) { 50 if (orig_x == one_x || orig_y == one_y) { 59 if (one_x > orig_x && one_y > orig_y) { 66 output_height_ = abs(one_y - orig_y); 67 } else if (one_x < orig_x && one_y > orig_y) { 73 output_width_ = abs(one_y - orig_y); 75 } else if (one_x > orig_x && one_y < orig_y) { 81 output_width_ = abs(one_y - orig_y); 83 } else if (one_x < orig_x && one_y < orig_y) { [all...] |
H A D | jpegutil.h | 43 * The transformation maps the coordinates (orig_x, orig_y) and (one_x, one_y) 49 Transform(int orig_x, int orig_y, int one_x, int one_y);
|
Completed in 119 milliseconds