[−][src]Struct ffmpeg_sys_next::AVDRMFrameDescriptor
DRM frame descriptor.
This is used as the data pointer for AV_PIX_FMT_DRM_PRIME frames. It is also used by user-allocated frame pools - allocating in AVHWFramesContext.pool must return AVBufferRefs which contain an object of this type.
The fields of this structure should be set such it can be imported directly by EGL using the EGL_EXT_image_dma_buf_import and EGL_EXT_image_dma_buf_import_modifiers extensions. (Note that the exact layout of a particular format may vary between platforms - we only specify that the same platform should be able to import it.)
The total number of planes must not exceed AV_DRM_MAX_PLANES, and the order of the planes by increasing layer index followed by increasing plane index must be the same as the order which would be used for the data pointers in the equivalent software format.
Fields
nb_objects: c_intNumber of DRM objects making up this frame.
objects: [AVDRMObjectDescriptor; 4]Array of objects making up the frame.
nb_layers: c_intNumber of layers in the frame.
layers: [AVDRMLayerDescriptor; 4]Array of layers in the frame.
Trait Implementations
impl Clone for AVDRMFrameDescriptor[src]
fn clone(&self) -> AVDRMFrameDescriptor[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for AVDRMFrameDescriptor[src]
impl Debug for AVDRMFrameDescriptor[src]
impl Eq for AVDRMFrameDescriptor[src]
impl PartialEq<AVDRMFrameDescriptor> for AVDRMFrameDescriptor[src]
fn eq(&self, other: &AVDRMFrameDescriptor) -> bool[src]
fn ne(&self, other: &AVDRMFrameDescriptor) -> bool[src]
impl StructuralEq for AVDRMFrameDescriptor[src]
impl StructuralPartialEq for AVDRMFrameDescriptor[src]
Auto Trait Implementations
impl RefUnwindSafe for AVDRMFrameDescriptor
impl Send for AVDRMFrameDescriptor
impl Sync for AVDRMFrameDescriptor
impl Unpin for AVDRMFrameDescriptor
impl UnwindSafe for AVDRMFrameDescriptor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,