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
sourceimpl Clone for SliceInformation
impl Clone for SliceInformation
sourcefn clone(&self) -> SliceInformation
fn clone(&self) -> SliceInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SliceInformation
impl Debug for SliceInformation
sourceimpl Default for SliceInformation
impl Default for SliceInformation
sourceimpl Hash for SliceInformation
impl Hash for SliceInformation
sourceimpl Ord for SliceInformation
impl Ord for SliceInformation
sourceimpl PartialEq<SliceInformation> for SliceInformation
impl PartialEq<SliceInformation> for SliceInformation
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SliceInformation) -> bool
fn ne(&self, other: &SliceInformation) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SliceInformation> for SliceInformation
impl PartialOrd<SliceInformation> for SliceInformation
sourcefn partial_cmp(&self, other: &SliceInformation) -> Option<Ordering>
fn partial_cmp(&self, other: &SliceInformation) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for SliceInformation
impl Eq for SliceInformation
impl StructuralEq for SliceInformation
impl StructuralPartialEq for SliceInformation
Auto Trait Implementations
impl RefUnwindSafe for SliceInformation
impl !Send for SliceInformation
impl !Sync for SliceInformation
impl Unpin for SliceInformation
impl UnwindSafe for SliceInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more