This source file includes following definitions.
- copy
- edgeDetect
- copyHalide
- edgeDetectHalide
package com.example.helloandroidcamera2;
import android.util.Log;
public class HalideFilters {
static {
System.loadLibrary("HelloAndroidCamera2");
}
public static boolean copy(HalideYuvBufferT src, HalideYuvBufferT dst) {
return HalideFilters.copyHalide(src.handle(), dst.handle());
}
public static boolean edgeDetect(HalideYuvBufferT src, HalideYuvBufferT dst) {
return HalideFilters.edgeDetectHalide(src.handle(), dst.handle());
}
private static native boolean copyHalide(long srcYuvHandle, long dstYuvHandle);
private static native boolean edgeDetectHalide(long srcYuvHandle, long dstYuvHandle);
}