#[repr(C)]pub struct OH_Pixelmap_HdrStaticMetadata {
pub displayPrimariesX: [f32; 3],
pub displayPrimariesY: [f32; 3],
pub whitePointX: f32,
pub whitePointY: f32,
pub maxLuminance: f32,
pub minLuminance: f32,
pub maxContentLightLevel: f32,
pub maxFrameAverageLightLevel: f32,
}Expand description
@brief Value for HDR_STATIC_METADATA.
@since 12
Fields§
§displayPrimariesX: [f32; 3]The X-coordinate of the primary colors. The length of the array is three. Store in the order of r, g, b.
displayPrimariesY: [f32; 3]The Y-coordinate of the primary colors. The length of the array is three. Store in the order of r, g, b.
whitePointX: f32The X-coordinate of the white point value.
whitePointY: f32The Y-coordinate of the white point value.
maxLuminance: f32Max luminance.
minLuminance: f32Min luminance.
maxContentLightLevel: f32Maximum brightness of displayed content.
maxFrameAverageLightLevel: f32Maximum average brightness of displayed content.
Trait Implementations§
impl Copy for OH_Pixelmap_HdrStaticMetadata
Auto Trait Implementations§
impl Forget for OH_Pixelmap_HdrStaticMetadata
impl Freeze for OH_Pixelmap_HdrStaticMetadata
impl Move for OH_Pixelmap_HdrStaticMetadata
impl RefUnwindSafe for OH_Pixelmap_HdrStaticMetadata
impl Send for OH_Pixelmap_HdrStaticMetadata
impl Sync for OH_Pixelmap_HdrStaticMetadata
impl Unpin for OH_Pixelmap_HdrStaticMetadata
impl UnsafeUnpin for OH_Pixelmap_HdrStaticMetadata
impl UnwindSafe for OH_Pixelmap_HdrStaticMetadata
Blanket Implementations§
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
Mutably borrows from an owned value. Read more