#[repr(C)]pub struct AVStreamGroupTileGrid__bindgen_ty_1 {
pub idx: u32,
pub horizontal: i32,
pub vertical: i32,
}
Expand description
An @ref nb_tiles sized array of offsets in pixels from the topleft edge of the canvas, indicating where each stream should be placed. It must be allocated with the av_malloc() family of functions.
- demuxing: set by libavformat, must not be modified by the caller.
- muxing: set by the caller before avformat_write_header().
Freed by libavformat in avformat_free_context().
Fields§
§idx: u32
Index of the stream in the group this tile references.
Must be < @ref AVStreamGroup.nb_streams “nb_streams”.
horizontal: i32
Offset in pixels from the left edge of the canvas where the tile should be placed.
vertical: i32
Offset in pixels from the top edge of the canvas where the tile should be placed.
Trait Implementations§
Source§impl Clone for AVStreamGroupTileGrid__bindgen_ty_1
impl Clone for AVStreamGroupTileGrid__bindgen_ty_1
Source§fn clone(&self) -> AVStreamGroupTileGrid__bindgen_ty_1
fn clone(&self) -> AVStreamGroupTileGrid__bindgen_ty_1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for AVStreamGroupTileGrid__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for AVStreamGroupTileGrid__bindgen_ty_1
impl RefUnwindSafe for AVStreamGroupTileGrid__bindgen_ty_1
impl Send for AVStreamGroupTileGrid__bindgen_ty_1
impl Sync for AVStreamGroupTileGrid__bindgen_ty_1
impl Unpin for AVStreamGroupTileGrid__bindgen_ty_1
impl UnwindSafe for AVStreamGroupTileGrid__bindgen_ty_1
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