Struct openh264_sys2::SliceInformation
source · #[repr(C)]pub struct SliceInformation {
pub pBufferOfSlices: *mut c_uchar,
pub iCodedSliceCount: c_int,
pub pLengthOfSlices: *mut c_uint,
pub iFecType: c_int,
pub uiSliceIdx: c_uchar,
pub uiSliceCount: c_uchar,
pub iFrameIndex: c_char,
pub uiNalRefIdc: c_uchar,
pub uiNalType: c_uchar,
pub uiContainingFinalNal: c_uchar,
}
Expand description
@brief Information of coded Slice(=NAL)(s)
Fields§
§pBufferOfSlices: *mut c_uchar
< base buffer of coded slice(s)
iCodedSliceCount: c_int
< number of coded slices
pLengthOfSlices: *mut c_uint
< array of slices length accordingly by number of slice
iFecType: c_int
< FEC type[0, 50%FEC, 100%FEC]
uiSliceIdx: c_uchar
< index of slice in frame [FMO: 0,..,uiSliceCount-1; No FMO: 0]
uiSliceCount: c_uchar
< count number of slice in frame [FMO: 2-8; No FMO: 1]
iFrameIndex: c_char
< index of frame[-1, .., idr_interval-1]
uiNalRefIdc: c_uchar
< NRI, priority level of slice(NAL)
uiNalType: c_uchar
< NAL type
uiContainingFinalNal: c_uchar
< whether final NAL is involved in buffer of coded slices, flag used in Pause feature in T27
Trait Implementations§
source§impl Clone for SliceInformation
impl Clone for SliceInformation
source§fn clone(&self) -> SliceInformation
fn clone(&self) -> SliceInformation
Returns a copy 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 Debug for SliceInformation
impl Debug for SliceInformation
source§impl Default for SliceInformation
impl Default for SliceInformation
source§impl Hash for SliceInformation
impl Hash for SliceInformation
source§impl Ord for SliceInformation
impl Ord for SliceInformation
source§fn cmp(&self, other: &SliceInformation) -> Ordering
fn cmp(&self, other: &SliceInformation) -> 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 SliceInformation
impl PartialEq for SliceInformation
source§fn eq(&self, other: &SliceInformation) -> bool
fn eq(&self, other: &SliceInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SliceInformation
impl PartialOrd for SliceInformation
source§fn partial_cmp(&self, other: &SliceInformation) -> Option<Ordering>
fn partial_cmp(&self, other: &SliceInformation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SliceInformation
impl Eq for SliceInformation
impl StructuralPartialEq for SliceInformation
Auto Trait Implementations§
impl Freeze for SliceInformation
impl RefUnwindSafe for SliceInformation
impl !Send for SliceInformation
impl !Sync for SliceInformation
impl Unpin for SliceInformation
impl UnwindSafe for SliceInformation
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