Home | History | Annotate | Download | only in jni

Lines Matching full:orig_x

48 jpegutil::Transform::Transform(int orig_x, int orig_y, int one_x, int one_y)
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) {
65 output_width_ = abs(one_x - orig_x);
67 } else if (one_x < orig_x && one_y > orig_y) {
74 output_height_ = abs(one_x - orig_x);
75 } else if (one_x > orig_x && one_y < orig_y) {
82 output_height_ = abs(one_x - orig_x);
83 } else if (one_x < orig_x && one_y < orig_y) {
89 output_width_ = abs(one_x - orig_x);