Struct openh264_sys2::SSpatialLayerConfig[][src]

#[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: SSliceArgumentbVideoSignalTypePresent: booluiVideoFormat: c_ucharbFullRange: boolbColorDescriptionPresent: booluiColorPrimaries: c_ucharuiTransferCharacteristics: c_ucharuiColorMatrix: c_ucharbAspectRatioPresent: 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.