|
| | HttpCamera (std::string_view name, std::string_view url, HttpCameraKind kind=kUnknown) |
| | Create a source for a MJPEG-over-HTTP (IP) camera.
|
| |
| | HttpCamera (std::string_view name, const char *url, HttpCameraKind kind=kUnknown) |
| | Create a source for a MJPEG-over-HTTP (IP) camera.
|
| |
| | HttpCamera (std::string_view name, const std::string &url, HttpCameraKind kind=kUnknown) |
| | Create a source for a MJPEG-over-HTTP (IP) camera.
|
| |
| | HttpCamera (std::string_view name, std::span< const std::string > urls, HttpCameraKind kind=kUnknown) |
| | Create a source for a MJPEG-over-HTTP (IP) camera.
|
| |
| template<typename T > |
| | HttpCamera (std::string_view name, std::initializer_list< T > urls, HttpCameraKind kind=kUnknown) |
| | Create a source for a MJPEG-over-HTTP (IP) camera.
|
| |
| HttpCameraKind | GetHttpCameraKind () const |
| | Get the kind of HTTP camera.
|
| |
| void | SetUrls (std::span< const std::string > urls) |
| | Change the URLs used to connect to the camera.
|
| |
| template<typename T > |
| void | SetUrls (std::initializer_list< T > urls) |
| | Change the URLs used to connect to the camera.
|
| |
| std::vector< std::string > | GetUrls () const |
| | Get the URLs used to connect to the camera.
|
| |
| | VideoCamera ()=default |
| |
| void | SetBrightness (int brightness) |
| | Set the brightness, as a percentage (0-100).
|
| |
| int | GetBrightness () |
| | Get the brightness, as a percentage (0-100).
|
| |
| void | SetWhiteBalanceAuto () |
| | Set the white balance to auto.
|
| |
| void | SetWhiteBalanceHoldCurrent () |
| | Set the white balance to hold current.
|
| |
| void | SetWhiteBalanceManual (int value) |
| | Set the white balance to manual, with specified color temperature.
|
| |
| void | SetExposureAuto () |
| | Set the exposure to auto aperture.
|
| |
| void | SetExposureHoldCurrent () |
| | Set the exposure to hold current.
|
| |
| void | SetExposureManual (int value) |
| | Set the exposure to manual, as a percentage (0-100).
|
| |
| | VideoSource () noexcept=default |
| |
| | VideoSource (const VideoSource &source) |
| |
| | VideoSource (VideoSource &&other) noexcept |
| |
| VideoSource & | operator= (VideoSource other) noexcept |
| |
| | ~VideoSource () |
| |
| | operator bool () const |
| |
| int | GetHandle () const |
| |
| bool | operator== (const VideoSource &other) const |
| |
| Kind | GetKind () const |
| | Get the kind of the source.
|
| |
| std::string | GetName () const |
| | Get the name of the source.
|
| |
| std::string | GetDescription () const |
| | Get the source description.
|
| |
| uint64_t | GetLastFrameTime () const |
| | Get the last time a frame was captured.
|
| |
| void | SetConnectionStrategy (ConnectionStrategy strategy) |
| | Sets the connection strategy.
|
| |
| bool | IsConnected () const |
| | Is the source currently connected to whatever is providing the images?
|
| |
| bool | IsEnabled () const |
| | Gets source enable status.
|
| |
| VideoProperty | GetProperty (std::string_view name) |
| | Get a property.
|
| |
| std::vector< VideoProperty > | EnumerateProperties () const |
| | Enumerate all properties of this source.
|
| |
| VideoMode | GetVideoMode () const |
| | Get the current video mode.
|
| |
| bool | SetVideoMode (const VideoMode &mode) |
| | Set the video mode.
|
| |
| bool | SetVideoMode (VideoMode::PixelFormat pixelFormat, int width, int height, int fps) |
| | Set the video mode.
|
| |
| bool | SetPixelFormat (VideoMode::PixelFormat pixelFormat) |
| | Set the pixel format.
|
| |
| bool | SetResolution (int width, int height) |
| | Set the resolution.
|
| |
| bool | SetFPS (int fps) |
| | Set the frames per second (FPS).
|
| |
| bool | SetConfigJson (std::string_view config) |
| | Set video mode and properties from a JSON configuration string.
|
| |
| bool | SetConfigJson (const wpi::json &config) |
| | Set video mode and properties from a JSON configuration object.
|
| |
| std::string | GetConfigJson () const |
| | Get a JSON configuration string.
|
| |
| wpi::json | GetConfigJsonObject () const |
| | Get a JSON configuration object.
|
| |
| double | GetActualFPS () const |
| | Get the actual FPS.
|
| |
| double | GetActualDataRate () const |
| | Get the data rate (in bytes per second).
|
| |
| std::vector< VideoMode > | EnumerateVideoModes () const |
| | Enumerate all known video modes for this source.
|
| |
| CS_Status | GetLastStatus () const |
| |
| std::vector< VideoSink > | EnumerateSinks () |
| | Enumerate all sinks connected to this source.
|
| |
A source that represents a MJPEG-over-HTTP (IP) camera.