Crate videostream_sys

Crate videostream_sys 

Source

Re-exports§

pub use self::vsl_encode_profile as VSLEncoderProfile;
pub use libloading;

Structs§

VideoStreamLibrary
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§

VSLCodecBackend_VSL_CODEC_BACKEND_AUTO
Auto-detect best available backend.
VSLCodecBackend_VSL_CODEC_BACKEND_HANTRO
Force Hantro/libcodec.so backend.
VSLCodecBackend_VSL_CODEC_BACKEND_V4L2
Force V4L2 kernel driver backend.
VSLDecoderCodec_VSL_DEC_H264
H.264/AVC (Advanced Video Coding) codec.
VSLDecoderCodec_VSL_DEC_HEVC
H.265/HEVC (High Efficiency Video Coding) codec.
VSLDecoderRetCode_VSL_DEC_ERR
VSLDecoderRetCode_VSL_DEC_FRAME_DEC
VSLDecoderRetCode_VSL_DEC_INIT_INFO
VSLDecoderRetCode_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.
VSLCodecBackend
Codec backend selection for encoder/decoder.
VSLDecoder
@struct VSLDecoder @brief The VSLDecoder object represents decoder instance.
VSLDecoderCodec
Video codec type for hardware decoder.
VSLDecoderRetCode
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.