6 #include "../../../include/librealsense2/rs.h" 7 #include "../../../include/librealsense2/h/rs_pipeline.h" 9 extern "C" JNIEXPORT jlong JNICALL
15 return reinterpret_cast<jlong
>(rv);
18 extern "C" JNIEXPORT jlong JNICALL
23 return reinterpret_cast<jlong
>(rv);
26 extern "C" JNIEXPORT jlong JNICALL
28 jlong
handle, jlong configHandle) {
31 reinterpret_cast<rs2_config *>(configHandle), &e);
33 return reinterpret_cast<jlong
>(rv);
36 extern "C" JNIEXPORT
void JNICALL
43 extern "C" JNIEXPORT
void JNICALL
49 extern "C" JNIEXPORT jlong JNICALL
55 return reinterpret_cast<jlong
>(rv);
58 extern "C" JNIEXPORT
void JNICALL
64 extern "C" JNIEXPORT jlong JNICALL
70 return reinterpret_cast<jlong
>(rv);
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_Pipeline_nWaitForFrames(JNIEnv *env, jclass type, jlong handle, jint timeout)
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_Pipeline_nCreate(JNIEnv *env, jclass type, jlong context)
rs2_pipeline_profile * rs2_pipeline_start(rs2_pipeline *pipe, rs2_error **error)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Pipeline_nDelete(JNIEnv *env, jclass type, jlong handle)
GLuint64 GLenum void * handle
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_PipelineProfile_nGetDevice(JNIEnv *env, jclass type, jlong handle)
rs2_pipeline * rs2_create_pipeline(rs2_context *ctx, rs2_error **error)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_PipelineProfile_nDelete(JNIEnv *env, jclass type, jlong handle)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Pipeline_nStop(JNIEnv *env, jclass type, jlong handle)
void handle_error(JNIEnv *env, rs2_error *error)
rs2_device * rs2_pipeline_profile_get_device(rs2_pipeline_profile *profile, rs2_error **error)
rs2_frame * rs2_pipeline_wait_for_frames(rs2_pipeline *pipe, unsigned int timeout_ms, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_start_with_config(rs2_pipeline *pipe, rs2_config *config, rs2_error **error)
GLbitfield GLuint64 timeout
void rs2_pipeline_stop(rs2_pipeline *pipe, rs2_error **error)
void rs2_delete_pipeline_profile(rs2_pipeline_profile *profile)
void rs2_delete_pipeline(rs2_pipeline *pipe)
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_Pipeline_nStartWithConfig(JNIEnv *env, jclass type, jlong handle, jlong configHandle)
struct rs2_frame rs2_frame
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_Pipeline_nStart(JNIEnv *env, jclass type, jlong handle)