pub struct VulkanEncodeProbe {
pub encoder: String,
pub coded_size: (u32, u32),
pub frames_usage: u32,
pub images_per_frame: usize,
pub initial_layout: u32,
pub queue_family: u32,
pub has_timeline_semaphore: bool,
pub packets: u32,
pub packet_bytes: u32,
}Expand description
What one Vulkan encode session turned out to require and produce.
Fields§
§encoder: StringFFmpeg encoder that opened.
coded_size: (u32, u32)Coded size the pool allocated.
frames_usage: u32Image usage the pool was created with: the one the encoder-input pool
asks for, which FFmpeg keeps as given. A flag the format cannot
support fails the pool or the session instead of disappearing here.
images_per_frame: usizeVkImage handles backing one frame. One means a single multi-planar
image and a per-plane copy; two would mean a plane per image.
initial_layout: u32Initial layout FFmpeg left the frame in.
queue_family: u32Queue family owning the frame, or u32::MAX for VK_QUEUE_FAMILY_IGNORED.
has_timeline_semaphore: boolWhether the frame exposes a timeline semaphore for the handoff.
packets: u32Packets drained from one submitted frame plus a flush.
packet_bytes: u32Bytes in those packets.
Trait Implementations§
Source§impl Clone for VulkanEncodeProbe
impl Clone for VulkanEncodeProbe
Source§impl Debug for VulkanEncodeProbe
impl Debug for VulkanEncodeProbe
impl Eq for VulkanEncodeProbe
Source§impl PartialEq for VulkanEncodeProbe
impl PartialEq for VulkanEncodeProbe
impl StructuralPartialEq for VulkanEncodeProbe
Auto Trait Implementations§
impl Freeze for VulkanEncodeProbe
impl RefUnwindSafe for VulkanEncodeProbe
impl Send for VulkanEncodeProbe
impl Sync for VulkanEncodeProbe
impl Unpin for VulkanEncodeProbe
impl UnsafeUnpin for VulkanEncodeProbe
impl UnwindSafe for VulkanEncodeProbe
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.