Function rs2_get_stream_profile_data
Defined in File rs_sensor.h
Function Documentation
-
void rs2_get_stream_profile_data(const rs2_stream_profile *mode, rs2_stream *stream, rs2_format *format, int *index, int *unique_id, int *framerate, rs2_error **error)
Extract common parameters of a stream profiles
- Parameters:
mode – [in] input stream profile
stream – [out] stream type of the input profile
format – [out] binary data format of the input profile
index – [out] stream index the input profile in case there are multiple streams of the same type
unique_id – [out] identifier for the stream profile, unique within the application
framerate – [out] expected rate for data frames to arrive, meaning expected number of frames per second
error – [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored