Home
last modified time | relevance | path

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

/packages/apps/Camera2/jni/
Djpegutil.cpp48 jpegutil::Transform::Transform(int orig_x, int orig_y, int one_x, int one_y) in Transform() argument
49 : orig_x_(orig_x), orig_y_(orig_y), one_x_(one_x), one_y_(one_y) { in Transform()
50 if (orig_x == one_x || orig_y == one_y) { in Transform()
59 if (one_x > orig_x && one_y > orig_y) { in Transform()
65 output_width_ = abs(one_x - orig_x); in Transform()
67 } else if (one_x < orig_x && one_y > orig_y) { in Transform()
74 output_height_ = abs(one_x - orig_x); in Transform()
75 } else if (one_x > orig_x && one_y < orig_y) { in Transform()
82 output_height_ = abs(one_x - orig_x); in Transform()
83 } else if (one_x < orig_x && one_y < orig_y) { in Transform()
[all …]
Djpegutil.h49 Transform(int orig_x, int orig_y, int one_x, int one_y);