pub struct H264QuantizationParameters {
pub i_base: Option<u32>,
pub i_min: Option<u32>,
pub i_max: Option<u32>,
pub p_base: Option<u32>,
pub p_min: Option<u32>,
pub p_max: Option<u32>,
/* private fields */
}
Expand description
Customization of h264 encoder parameters for macroblock quantization. The values can range from 0 to 51, with lower numbers indicating higher quality/bitrate. While encoders should support these fields if feasible, some encoders may ignore these fields. It’s ok to not set this table, or not set some of the fields in this table, as encoders can determine their own defaults. If the targeted bitrate can’t be achieved with the specified values, then the user should expect the resulting encoded stream bitrate to differ from the requested bitrate.
Fields§
§i_base: Option<u32>
Starting value for quantization of key frames.
i_min: Option<u32>
Smallest allowed value for quantization of key frames.
i_max: Option<u32>
Largest allowed value for quantization of key frames.
p_base: Option<u32>
Starting value for quantization of predicted frames.
p_min: Option<u32>
Smallest allowed value for quantization of predicted frames.
p_max: Option<u32>
Largest allowed value for quantization of predicted frames.
Trait Implementations§
Source§impl Clone for H264QuantizationParameters
impl Clone for H264QuantizationParameters
Source§fn clone(&self) -> H264QuantizationParameters
fn clone(&self) -> H264QuantizationParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for H264QuantizationParameters
impl Debug for H264QuantizationParameters
Source§impl<D: ResourceDialect> Decode<H264QuantizationParameters, D> for H264QuantizationParameters
impl<D: ResourceDialect> Decode<H264QuantizationParameters, D> for H264QuantizationParameters
Source§impl Default for H264QuantizationParameters
impl Default for H264QuantizationParameters
Source§fn default() -> H264QuantizationParameters
fn default() -> H264QuantizationParameters
Source§impl<D: ResourceDialect> Encode<H264QuantizationParameters, D> for &H264QuantizationParameters
impl<D: ResourceDialect> Encode<H264QuantizationParameters, D> for &H264QuantizationParameters
Source§impl TypeMarker for H264QuantizationParameters
impl TypeMarker for H264QuantizationParameters
Source§type Owned = H264QuantizationParameters
type Owned = H264QuantizationParameters
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for H264QuantizationParameters
impl ValueTypeMarker for H264QuantizationParameters
Source§type Borrowed<'a> = &'a H264QuantizationParameters
type Borrowed<'a> = &'a H264QuantizationParameters
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for H264QuantizationParameters
impl StructuralPartialEq for H264QuantizationParameters
Auto Trait Implementations§
impl Freeze for H264QuantizationParameters
impl RefUnwindSafe for H264QuantizationParameters
impl Send for H264QuantizationParameters
impl Sync for H264QuantizationParameters
impl Unpin for H264QuantizationParameters
impl UnwindSafe for H264QuantizationParameters
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)