Module nvidia_video_codec_sdk::safe
source · Expand description
Safe wrapper around the raw bindings.
Largely unfinished, so you might still have to dip into
sys
for the missing functionality.
Re-exports
pub use api::ENCODE_API;
pub use api::ENCODE_API;
Structs
- Abstraction around the output bitstream buffer that is used as the output of the encoding.
- An RAII lock on the output bitstream buffer.
- Abstraction around input buffer allocated using the NVIDIA Video Encoder API.
- An RAII lock on the input buffer.
- A lazy static for the Encoder API.
- An instance of the
NvEncodeAPI
interface, containing function pointers which should be used to interface with the rest of the Encoder API. - Wrapper struct around
NVENCSTATUS
. - Optional parameters for
Session::encode_picture
. - Entrypoint for the Encoder API.
- Abstraction for a registered and mapped external resource.
- An encoding session to create input/output buffers and encode frames.
Enums
- Codec specific picture parameters
- Wrapper enum around
NVENCSTATUS
.
Traits
- If a type implements this trait it means it is a valid input buffer for the encoding API.
- If a type implements this trait it means it is a valid output buffer for the encoding API.