Struct AVAmbientViewingEnvironment
#[repr(C)]pub struct AVAmbientViewingEnvironment {
pub ambient_illuminance: AVRational,
pub ambient_light_x: AVRational,
pub ambient_light_y: AVRational,
}
Expand description
Ambient viewing environment metadata as defined by H.274. The values are saved in AVRationals so that they keep their exactness, while allowing for easy access to a double value with f.ex. av_q2d.
@note sizeof(AVAmbientViewingEnvironment) is not part of the public ABI, and it must be allocated using av_ambient_viewing_environment_alloc.
Fields§
§ambient_illuminance: AVRational
Environmental illuminance of the ambient viewing environment in lux.
ambient_light_x: AVRational
Normalized x chromaticity coordinate of the environmental ambient light in the nominal viewing environment according to the CIE 1931 definition of x and y as specified in ISO/CIE 11664-1.
ambient_light_y: AVRational
Normalized y chromaticity coordinate of the environmental ambient light in the nominal viewing environment according to the CIE 1931 definition of x and y as specified in ISO/CIE 11664-1.
Trait Implementations§
§impl Clone for AVAmbientViewingEnvironment
impl Clone for AVAmbientViewingEnvironment
§fn clone(&self) -> AVAmbientViewingEnvironment
fn clone(&self) -> AVAmbientViewingEnvironment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more