@Override public void process(Photo src, Photo dst) { float radius = Math.max(MIN_RADIUS, RADIUS_RATIO * Math.min(src.width(), src.height())); PointF[] a = new PointF[redeyePositions.size()]; ImageUtils.nativeRedEye( src.bitmap(), dst.bitmap(), redeyePositions.toArray(a), radius, DEFAULT_RED_INTENSITY); }
@Override public void process(Photo src, Photo dst) { ImageUtils.nativeFisheye(src.bitmap(), dst.bitmap(), 0.5f, 0.5f, scale); }
@Override public void process(Photo src, Photo dst) { ImageUtils.nativeWarmify(src.bitmap(), dst.bitmap()); }