Struct libvda::encode::OutputProfile
source · pub struct OutputProfile {
pub profile: Profile,
pub max_width: u32,
pub max_height: u32,
pub max_framerate_numerator: u32,
pub max_framerate_denominator: u32,
}
Expand description
Represents an output profile for VEA.
Fields§
§profile: Profile
§max_width: u32
§max_height: u32
§max_framerate_numerator: u32
§max_framerate_denominator: u32
Implementations§
source§impl OutputProfile
impl OutputProfile
pub(crate) fn new(p: &vea_profile) -> Result<Self>
pub(crate) unsafe fn from_raw_parts(
data: *const vea_profile,
len: usize
) -> Result<Vec<Self>>
Trait Implementations§
source§impl Clone for OutputProfile
impl Clone for OutputProfile
source§fn clone(&self) -> OutputProfile
fn clone(&self) -> OutputProfile
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 more