pub(crate) trait StreamInfo {
    fn va_profile(&self) -> Result<i32>;
    fn rt_format(&self) -> Result<u32>;
    fn min_num_surfaces(&self) -> usize;
    fn coded_size(&self) -> (u32, u32);
    fn visible_rect(&self) -> ((u32, u32), (u32, u32));
}
Expand description

A trait for providing the basic information needed to setup libva for decoding.

Required Methods

Returns the VA profile of the stream.

Returns the RT format of the stream.

Returns the minimum number of surfaces required to decode the stream.

Returns the coded size of the surfaces required to decode the stream.

Returns the visible rectangle within the coded size for the stream.

Implementors