Module decoder_adapter

Source
Expand description

An adapter from the virtio-media protocol to the video devices originally used with virtio-video.

This allows to reuse already-existing crosvm virtio-video devices with virtio-media.

Structsยง

VirtioVideoAdapter
VirtioVideoAdapterBuffer
VirtioVideoAdapterSession

Enumsยง

EosBuffer ๐Ÿ”’

Constantsยง

INPUT_BUFFER_SIZE ๐Ÿ”’
Use 1 MB input buffers by default. This should probably be resolution-dependent.

Functionsยง

buffer_sizes_for_format ๐Ÿ”’
Returns the V4L2 (bytesperline, sizeimage) for the given format and coded_size.