Function rs2_get_frame_stride_in_bytes

Function Documentation

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

retrieve frame stride in bytes (number of bytes from start of line N to start of line N+1)

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:

stride in bytes