Struct gstreamer_video::VideoContentLightLevel
source · pub struct VideoContentLightLevel(_);
Available on crate feature
v1_18
only.Implementations§
source§impl VideoContentLightLevel
impl VideoContentLightLevel
pub fn new(
max_content_light_level: u16,
max_frame_average_light_level: u16
) -> Self
pub fn max_content_light_level(&self) -> u16
pub fn set_max_content_light_level(&mut self, max_content_light_level: u16)
pub fn max_frame_average_light_level(&self) -> u16
pub fn set_max_frame_average_light_level(
&mut self,
max_frame_average_light_level: u16
)
pub fn add_to_caps(&self, caps: &mut CapsRef)
pub fn from_caps(caps: &CapsRef) -> Result<Self, BoolError>
Trait Implementations§
source§impl Clone for VideoContentLightLevel
impl Clone for VideoContentLightLevel
source§fn clone(&self) -> VideoContentLightLevel
fn clone(&self) -> VideoContentLightLevel
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