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§
source§impl Clone for Source_Picture_s
impl Clone for Source_Picture_s
source§fn clone(&self) -> Source_Picture_s
fn clone(&self) -> Source_Picture_s
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 Source_Picture_s
impl Debug for Source_Picture_s
source§impl Default for Source_Picture_s
impl Default for Source_Picture_s
source§impl Hash for Source_Picture_s
impl Hash for Source_Picture_s
source§impl Ord for Source_Picture_s
impl Ord for Source_Picture_s
source§fn cmp(&self, other: &Source_Picture_s) -> Ordering
fn cmp(&self, other: &Source_Picture_s) -> 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 Source_Picture_s
impl PartialEq for Source_Picture_s
source§fn 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 ==
.source§impl PartialOrd for Source_Picture_s
impl PartialOrd for Source_Picture_s
source§fn partial_cmp(&self, other: &Source_Picture_s) -> Option<Ordering>
fn partial_cmp(&self, other: &Source_Picture_s) -> 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 Source_Picture_s
impl Eq for Source_Picture_s
impl StructuralPartialEq for Source_Picture_s
Auto Trait Implementations§
impl Freeze for Source_Picture_s
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§
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