Function rs2_get_frame_data_size

Function Documentation

int rs2_get_frame_data_size(const rs2_frame *frame, rs2_error **error)

retrieve data size 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 size of the frame data