Function rs2_get_frame_width

Function Documentation

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

retrieve frame width in pixels

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:

frame width in pixels