Struct afi::VFrame [−][src]
A Video Frame (1/24 of a second)
Methods
impl VFrame
[src]
impl VFrame
pub fn sample_rgba(&self, format: ColorChannels, index: usize) -> [u8; 4]
[src]
pub fn sample_rgba(&self, format: ColorChannels, index: usize) -> [u8; 4]
Get RGBA from color format and index.