Type Alias openh264_sys2::SSourcePicture

source ·
pub type SSourcePicture = Source_Picture_s;
Expand description

@brief Structure for source picture

Aliased Type§

struct SSourcePicture {
    pub iColorFormat: i32,
    pub iStride: [i32; 4],
    pub pData: [*mut u8; 4],
    pub iPicWidth: i32,
    pub iPicHeight: i32,
    pub uiTimeStamp: i64,
}

Fields§

§iColorFormat: i32

< color space type

§iStride: [i32; 4]

< stride for each plane pData

§pData: [*mut u8; 4]

< plane pData

§iPicWidth: i32

< luma picture width in x coordinate

§iPicHeight: i32

< luma picture height in y coordinate

§uiTimeStamp: i64

< timestamp of the source picture, unit: millisecond

Trait Implementations

source§

impl Clone for Source_Picture_s

source§

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)

Performs copy-assignment from source. Read more
source§

impl Debug for Source_Picture_s

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Source_Picture_s

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Hash for Source_Picture_s

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Source_Picture_s

source§

fn cmp(&self, other: &Source_Picture_s) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Source_Picture_s

source§

fn eq(&self, other: &Source_Picture_s) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for Source_Picture_s

source§

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 · source§

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 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for Source_Picture_s

source§

impl Eq for Source_Picture_s

source§

impl StructuralPartialEq for Source_Picture_s