Function rs2_create_pipeline

Function Documentation

rs2_pipeline *rs2_create_pipeline(rs2_context *ctx, rs2_error **error)

Create a pipeline instance The pipeline simplifies the user interaction with the device and computer vision processing modules. The class abstracts the camera configuration and streaming, and the vision modules triggering and threading. It lets the application focus on the computer vision output of the modules, or the device output data. The pipeline can manage computer vision modules, which are implemented as a processing blocks. The pipeline is the consumer of the processing block interface, while the application consumes the computer vision interface.

Parameters:
  • ctx[in] context

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored