Re-exports§
pub use self::vsl_encode_profile as VSLEncoderProfile;pub use libloading;
Structs§
- Video
Stream Library - vsl_
camera - vsl_
camera_ buffer - vsl_
client - vsl_
decoder - vsl_
encoder - vsl_
frame - vsl_
host - vsl_
rect - The VSLRect structure represents a rectangle region of a frame and is used to define cropping regions for sub-frames.
Constants§
- VSLCodec
Backend_ VSL_ CODEC_ BACKEND_ AUTO - Auto-detect best available backend.
- VSLCodec
Backend_ VSL_ CODEC_ BACKEND_ HANTRO - Force Hantro/libcodec.so backend.
- VSLCodec
Backend_ VSL_ CODEC_ BACKEND_ V4L2 - Force V4L2 kernel driver backend.
- VSLDecoder
Codec_ VSL_ DEC_ H264 - H.264/AVC (Advanced Video Coding) codec.
- VSLDecoder
Codec_ VSL_ DEC_ HEVC - H.265/HEVC (High Efficiency Video Coding) codec.
- VSLDecoder
RetCode_ VSL_ DEC_ ERR - VSLDecoder
RetCode_ VSL_ DEC_ FRAME_ DEC - VSLDecoder
RetCode_ VSL_ DEC_ INIT_ INFO - VSLDecoder
RetCode_ VSL_ DEC_ SUCCESS - VSL_
VERSION - vsl_
encode_ profile_ VSL_ ENCODE_ PROFILE_ 5000_ KBPS - 5 Mbps target bitrate.
- vsl_
encode_ profile_ VSL_ ENCODE_ PROFILE_ 25000_ KBPS - 25 Mbps target bitrate.
- vsl_
encode_ profile_ VSL_ ENCODE_ PROFILE_ 50000_ KBPS - 50 Mbps target bitrate.
- vsl_
encode_ profile_ VSL_ ENCODE_ PROFILE_ 100000_ KBPS - 100 Mbps target bitrate.
- vsl_
encode_ profile_ VSL_ ENCODE_ PROFILE_ AUTO - Automatic bitrate selection (encoder default).
Functions§
- init
- Initialize the VideoStream library by loading libvideostream.so
- library
- Get a reference to the loaded library
- try_
library - Try to get a reference to the loaded library without panicking
Type Aliases§
- VSLClient
- @struct VSLClient @brief The VSLClient object manages a single connection to a VSLHost.
- VSLCodec
Backend - Codec backend selection for encoder/decoder.
- VSLDecoder
- @struct VSLDecoder @brief The VSLDecoder object represents decoder instance.
- VSLDecoder
Codec - Video codec type for hardware decoder.
- VSLDecoder
RetCode - VSLEncoder
- @struct VSLEncoder @brief The VSLEncoder object represents encoder instance.
- VSLFrame
- @struct VSLFrame @brief The VSLFrame object represents a single video frame from either the host or client perspective. Certain API are only available to the host or client.
- VSLHost
- @struct VSLHost @brief The VSLHost object manages a connection point at the user-defined path and allows frames to be registered for client use.
- VSLRect
- The VSLRect structure represents a rectangle region of a frame and is used to define cropping regions for sub-frames.
- vsl_
encode_ profile - Encoder profile defining target bitrate for video encoding.
- vsl_
frame_ cleanup - Function pointer definition which will be called as part of @ref vsl_frame_unregister. This is typically used to free resources associated with the frame on either client or host side.