Function rs2_get_frame_data

Function Documentation

const void *rs2_get_frame_data(const rs2_frame *frame, rs2_error **error)

retrieve data from frame handle

Parameters:
  • frame[in] handle returned from a callback

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

Returns:

the pointer to the start of the frame data