Module video

Source
Expand description

This module implements the virtio video encoder and decoder devices. The current implementation uses v3 RFC of the virtio-video protocol.

ModulesΒ§

async_cmd_desc_map πŸ”’
command πŸ”’
Data structures for commands of virtio video devices.
control πŸ”’
Implementation of data structures for virtio-video controls.
decoder
Implementation of a virtio video decoder backed by a device.
device
Definition of the trait Device that each backend video device must implement.
encoder πŸ”’
Implementation of the the Encoder struct, which is responsible for translation between the virtio protocols and LibVDA APIs.
error πŸ”’
Errors that can happen while encoding or decoding.
event πŸ”’
Events can happen in virtio video devices.
ffmpeg πŸ”’
format
Data structures that represent video format information in virtio video devices.
macros πŸ”’
Macros that helps virtio video implementation.
params πŸ”’
Parameters for streams in virtio video devices.
protocol πŸ”’
This file was generated by the following commands and modified manually.
resource
Resource management and resolution for the virtio-video device.
response πŸ”’
Data structures for commands of virtio video devices.
utils πŸ”’
vda πŸ”’
Utility features shared by both the decoder and encoder VDA backends.
worker
Worker that runs in a virtio-video thread.

StructsΒ§

EosBufferManager πŸ”’
Manages the zero-length, EOS-marked buffer signaling the end of a stream.
VideoDevice

EnumsΒ§

Error
An error indicating something went wrong in virtio-video’s worker.

ConstantsΒ§

CMD_QUEUE_SIZE πŸ”’
EVENT_QUEUE_SIZE πŸ”’
QUEUE_SIZES πŸ”’

FunctionsΒ§

build_config
create_decoder_device

Type AliasesΒ§

Result