Skip to main content

vulkan_frames_usage

Function vulkan_frames_usage 

Source
pub fn vulkan_frames_usage(frames: &AVHWFramesContext) -> u32
Expand description

Usage the pool was created with.

For a pool given a usage before its init, that usage: hwcontext_vulkan keeps a non-zero usage as given and drops nothing from it (see vulkan_frames_add_usage). For one left at zero, the usage FFmpeg picked.