Struct ffmpeg::avcodec::PlaneDescriptor
source · pub struct PlaneDescriptor {
pub buffer_index: usize,
pub offset: usize,
pub stride: usize,
}
Expand description
A descriptor describing a subslice of buffers
in AvFrameBuilder::build_owned
that
represents a plane’s image data.
Fields§
§buffer_index: usize
The index within buffers
.
offset: usize
The offset from the start of buffers[buffer_index]
.
stride: usize
The increment of data pointer in bytes per row of the plane.
Auto Trait Implementations§
impl RefUnwindSafe for PlaneDescriptor
impl Send for PlaneDescriptor
impl Sync for PlaneDescriptor
impl Unpin for PlaneDescriptor
impl UnwindSafe for PlaneDescriptor
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