#[repr(C)]pub struct AVStreamGroupTileGrid__bindgen_ty_1 {
pub idx: c_uint,
pub horizontal: c_int,
pub vertical: c_int,
}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: c_uintIndex of the stream in the group this tile references.
Must be < @ref AVStreamGroup.nb_streams “nb_streams”.
horizontal: c_intOffset in pixels from the left edge of the canvas where the tile should be placed.
vertical: c_intOffset 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 moreSource§impl Default for AVStreamGroupTileGrid__bindgen_ty_1
impl Default for AVStreamGroupTileGrid__bindgen_ty_1
Source§fn default() -> AVStreamGroupTileGrid__bindgen_ty_1
fn default() -> AVStreamGroupTileGrid__bindgen_ty_1
Returns the “default value” for a type. Read more
Source§impl Ord for AVStreamGroupTileGrid__bindgen_ty_1
impl Ord for AVStreamGroupTileGrid__bindgen_ty_1
Source§fn cmp(&self, other: &AVStreamGroupTileGrid__bindgen_ty_1) -> Ordering
fn cmp(&self, other: &AVStreamGroupTileGrid__bindgen_ty_1) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AVStreamGroupTileGrid__bindgen_ty_1
impl PartialEq for AVStreamGroupTileGrid__bindgen_ty_1
Source§fn eq(&self, other: &AVStreamGroupTileGrid__bindgen_ty_1) -> bool
fn eq(&self, other: &AVStreamGroupTileGrid__bindgen_ty_1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AVStreamGroupTileGrid__bindgen_ty_1
impl PartialOrd for AVStreamGroupTileGrid__bindgen_ty_1
impl Copy for AVStreamGroupTileGrid__bindgen_ty_1
impl Eq for AVStreamGroupTileGrid__bindgen_ty_1
impl StructuralPartialEq 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