Go to the documentation of this file.
7 #include "../../../include/librealsense2/rs.h"
8 #include "../../../include/librealsense2/h/rs_config.h"
10 extern "C" JNIEXPORT jlong JNICALL
18 extern "C" JNIEXPORT
void JNICALL
23 extern "C" JNIEXPORT
void JNICALL
34 extern "C" JNIEXPORT
void JNICALL
38 const char *filePath = env->GetStringUTFChars(filePath_, 0);
44 env->ReleaseStringUTFChars(filePath_, filePath);
47 extern "C" JNIEXPORT
void JNICALL
51 const char *serial = env->GetStringUTFChars(serial_, 0);
57 env->ReleaseStringUTFChars(serial_, serial);
60 extern "C" JNIEXPORT
void JNICALL
62 jlong
handle, jstring filePath_) {
63 const char *filePath = env->GetStringUTFChars(filePath_, 0);
69 env->ReleaseStringUTFChars(filePath_, filePath);
72 extern "C" JNIEXPORT
void JNICALL
81 extern "C" JNIEXPORT
void JNICALL
89 extern "C" JNIEXPORT
void JNICALL
98 JNIEXPORT jlong JNICALL
100 jlong pipelineHandle) {
105 return reinterpret_cast<jlong
>(rv);
109 JNIEXPORT jboolean JNICALL
111 jlong pipelineHandle) {
GLint GLint GLsizei GLint GLenum format
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nDisableAllStreams(JNIEnv *env, jclass type, jlong handle)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nEnableStream(JNIEnv *env, jclass type_, jlong handle, jint type, jint index, jint width, jint height, jint format, jint framerate)
void rs2_config_enable_device_from_file(rs2_config *config, const char *file, rs2_error **error)
void rs2_config_disable_all_streams(rs2_config *config, rs2_error **error)
rs2_config * rs2_create_config(rs2_error **error)
void rs2_config_enable_stream(rs2_config *config, rs2_stream stream, int index, int width, int height, rs2_format format, int framerate, rs2_error **error)
rs2_pipeline_profile * rs2_config_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
void rs2_delete_config(rs2_config *config)
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_Config_nCreate(JNIEnv *env, jclass type)
rs2_format
A stream's format identifies how binary data is encoded within a frame.
GLint GLsizei GLsizei height
JNIEXPORT jboolean JNICALL Java_com_intel_realsense_librealsense_Config_nCanResolve(JNIEnv *env, jclass type, jlong handle, jlong pipelineHandle)
void handle_error(JNIEnv *env, rs2_error *error)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nEnableDevice(JNIEnv *env, jclass type, jlong handle, jstring serial_)
void rs2_config_enable_device(rs2_config *config, const char *serial, rs2_error **error)
void rs2_config_enable_all_stream(rs2_config *config, rs2_error **error)
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_Config_nResolve(JNIEnv *env, jclass type, jlong handle, jlong pipelineHandle)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nEnableDeviceFromFile(JNIEnv *env, jclass type, jlong handle, jstring filePath_)
void rs2_config_disable_stream(rs2_config *config, rs2_stream stream, rs2_error **error)
int rs2_config_can_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nEnableRecordToFile(JNIEnv *env, jclass type, jlong handle, jstring filePath_)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nDelete(JNIEnv *env, jclass type, jlong handle)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nEnableAllStreams(JNIEnv *env, jclass type, jlong handle)
rs2_stream
Streams are different types of data provided by RealSense devices.
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_Config_nDisableStream(JNIEnv *env, jclass type, jlong handle, jint streamType)
void rs2_config_enable_record_to_file(rs2_config *config, const char *file, rs2_error **error)
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01