#[repr(C, packed(1))]pub struct HDR_CONFIG {
pub enable: u8,
pub sequence_name: u8,
pub exposure_1: u32,
pub gain_1: u32,
pub exposure_2: u32,
pub gain_2: u32,
}Expand description
@brief HDR Configuration
Fields§
§enable: u8@brief Enable/disable HDR, after enabling HDR, the exposure_1 and gain_1 will be used as the first exposure and gain, and the exposure_2 and gain_2 will be used as the second exposure and gain. The output image will be alternately exposed and gain between the first and second exposure and gain.
@attention After enabling HDR, the auto exposure will be disabled.
sequence_name: u8< Sequence name
exposure_1: u32< Exposure time 1
gain_1: u32< Gain 1
exposure_2: u32< Exposure time 2
gain_2: u32< Gain 2
Trait Implementations§
Source§impl Clone for HDR_CONFIG
impl Clone for HDR_CONFIG
Source§fn clone(&self) -> HDR_CONFIG
fn clone(&self) -> HDR_CONFIG
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HDR_CONFIG
Auto Trait Implementations§
impl Freeze for HDR_CONFIG
impl RefUnwindSafe for HDR_CONFIG
impl Send for HDR_CONFIG
impl Sync for HDR_CONFIG
impl Unpin for HDR_CONFIG
impl UnsafeUnpin for HDR_CONFIG
impl UnwindSafe for HDR_CONFIG
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