Struct openh264_sys2::SSpatialLayerConfig
source · #[repr(C)]pub struct SSpatialLayerConfig {Show 20 fields
pub iVideoWidth: c_int,
pub iVideoHeight: c_int,
pub fFrameRate: f32,
pub iSpatialBitrate: c_int,
pub iMaxSpatialBitrate: c_int,
pub uiProfileIdc: EProfileIdc,
pub uiLevelIdc: ELevelIdc,
pub iDLayerQp: c_int,
pub sSliceArgument: SSliceArgument,
pub bVideoSignalTypePresent: bool,
pub uiVideoFormat: c_uchar,
pub bFullRange: bool,
pub bColorDescriptionPresent: bool,
pub uiColorPrimaries: c_uchar,
pub uiTransferCharacteristics: c_uchar,
pub uiColorMatrix: c_uchar,
pub bAspectRatioPresent: bool,
pub eAspectRatio: ESampleAspectRatio,
pub sAspectRatioExtWidth: c_ushort,
pub sAspectRatioExtHeight: c_ushort,
}
Expand description
@brief Structure for spatial layer configuration
Fields§
§iVideoWidth: c_int
< width of picture in luminance samples of a layer
iVideoHeight: c_int
< height of picture in luminance samples of a layer
fFrameRate: f32
< frame rate specified for a layer
iSpatialBitrate: c_int
< target bitrate for a spatial layer, in unit of bps
iMaxSpatialBitrate: c_int
< maximum bitrate for a spatial layer, in unit of bps
uiProfileIdc: EProfileIdc
< value of profile IDC (PRO_UNKNOWN for auto-detection)
uiLevelIdc: ELevelIdc
< value of profile IDC (0 for auto-detection)
iDLayerQp: c_int
< value of level IDC (0 for auto-detection)
sSliceArgument: SSliceArgument
§bVideoSignalTypePresent: bool
§uiVideoFormat: c_uchar
§bFullRange: bool
§bColorDescriptionPresent: bool
§uiColorPrimaries: c_uchar
§uiTransferCharacteristics: c_uchar
§uiColorMatrix: c_uchar
§bAspectRatioPresent: bool
< aspect ratio present in VUI
eAspectRatio: ESampleAspectRatio
< aspect ratio idc
sAspectRatioExtWidth: c_ushort
< use if aspect ratio idc == 255
sAspectRatioExtHeight: c_ushort
< use if aspect ratio idc == 255
Trait Implementations§
source§impl Clone for SSpatialLayerConfig
impl Clone for SSpatialLayerConfig
source§fn clone(&self) -> SSpatialLayerConfig
fn clone(&self) -> SSpatialLayerConfig
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 SSpatialLayerConfig
impl Debug for SSpatialLayerConfig
source§impl Default for SSpatialLayerConfig
impl Default for SSpatialLayerConfig
source§impl PartialEq for SSpatialLayerConfig
impl PartialEq for SSpatialLayerConfig
source§fn eq(&self, other: &SSpatialLayerConfig) -> bool
fn eq(&self, other: &SSpatialLayerConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SSpatialLayerConfig
impl PartialOrd for SSpatialLayerConfig
source§fn partial_cmp(&self, other: &SSpatialLayerConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &SSpatialLayerConfig) -> 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 SSpatialLayerConfig
impl StructuralPartialEq for SSpatialLayerConfig
Auto Trait Implementations§
impl Freeze for SSpatialLayerConfig
impl RefUnwindSafe for SSpatialLayerConfig
impl Send for SSpatialLayerConfig
impl Sync for SSpatialLayerConfig
impl Unpin for SSpatialLayerConfig
impl UnwindSafe for SSpatialLayerConfig
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