Struct openh264_sys2::Source_Picture_s
source · [−]#[repr(C)]pub struct Source_Picture_s {
pub iColorFormat: c_int,
pub iStride: [c_int; 4],
pub pData: [*mut c_uchar; 4],
pub iPicWidth: c_int,
pub iPicHeight: c_int,
pub uiTimeStamp: c_longlong,
}
Expand description
@brief Structure for source picture
Fields
iColorFormat: c_int
< color space type
iStride: [c_int; 4]
< stride for each plane pData
pData: [*mut c_uchar; 4]
< plane pData
iPicWidth: c_int
< luma picture width in x coordinate
iPicHeight: c_int
< luma picture height in y coordinate
uiTimeStamp: c_longlong
< timestamp of the source picture, unit: millisecond
Trait Implementations
sourceimpl Clone for Source_Picture_s
impl Clone for Source_Picture_s
sourcefn clone(&self) -> Source_Picture_s
fn clone(&self) -> Source_Picture_s
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 Source_Picture_s
impl Debug for Source_Picture_s
sourceimpl Default for Source_Picture_s
impl Default for Source_Picture_s
sourceimpl Hash for Source_Picture_s
impl Hash for Source_Picture_s
sourceimpl Ord for Source_Picture_s
impl Ord for Source_Picture_s
sourceimpl PartialEq<Source_Picture_s> for Source_Picture_s
impl PartialEq<Source_Picture_s> for Source_Picture_s
sourcefn eq(&self, other: &Source_Picture_s) -> bool
fn eq(&self, other: &Source_Picture_s) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Source_Picture_s) -> bool
fn ne(&self, other: &Source_Picture_s) -> bool
This method tests for !=
.
sourceimpl PartialOrd<Source_Picture_s> for Source_Picture_s
impl PartialOrd<Source_Picture_s> for Source_Picture_s
sourcefn partial_cmp(&self, other: &Source_Picture_s) -> Option<Ordering>
fn partial_cmp(&self, other: &Source_Picture_s) -> 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 Source_Picture_s
impl Eq for Source_Picture_s
impl StructuralEq for Source_Picture_s
impl StructuralPartialEq for Source_Picture_s
Auto Trait Implementations
impl RefUnwindSafe for Source_Picture_s
impl !Send for Source_Picture_s
impl !Sync for Source_Picture_s
impl Unpin for Source_Picture_s
impl UnwindSafe for Source_Picture_s
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