Struct psp::sys::UsbCamSetupVideoExParam
source · #[repr(C)]pub struct UsbCamSetupVideoExParam {Show 23 fields
pub size: i32,
pub unk: u32,
pub resolution: UsbCamResolutionEx,
pub framerate: UsbCamFrameRate,
pub unk2: u32,
pub unk3: u32,
pub white_balance: UsbCamWb,
pub saturation: i32,
pub brightness: i32,
pub contrast: i32,
pub sharpness: i32,
pub unk4: u32,
pub unk5: u32,
pub unk6: [u32; 3],
pub effect_mode: UsbCamEffectMode,
pub unk7: u32,
pub unk8: u32,
pub unk9: u32,
pub unk10: u32,
pub unk11: u32,
pub frame_size: i32,
pub unk12: u32,
pub ev_level: UsbCamEvLevel,
}
Fields§
§size: i32
Size of the UsbCamSetupVideoParam
structure
unk: u32
§resolution: UsbCamResolutionEx
Resolution.
framerate: UsbCamFrameRate
Framerate.
unk2: u32
Unknown. Set it to 2 at the moment
unk3: u32
Unknown. Set it to 3 at the moment
white_balance: UsbCamWb
White balance.
saturation: i32
Saturation (0-255)
brightness: i32
Brightness (0-255)
contrast: i32
Contrast (0-255)
sharpness: i32
Sharpness (0-255)
unk4: u32
Unknown. Set it to 0 at the moment
unk5: u32
Unknown. Set it to 1 at the moment
unk6: [u32; 3]
Unknown. Set it to 0 at the moment
effect_mode: UsbCamEffectMode
Effect mode.
unk7: u32
Unknown. Set it to 1 at the moment
unk8: u32
Unknown. Set it to 10 at the moment
unk9: u32
Unknown. Set it to 2 at the moment
unk10: u32
Unknown. Set it to 500 at the moment
unk11: u32
Unknown. Set it to 1000 at the moment
frame_size: i32
Size of jpeg video frame
unk12: u32
Unknown. Set it to 0 at the moment
ev_level: UsbCamEvLevel
Exposure value.
Trait Implementations§
source§impl Clone for UsbCamSetupVideoExParam
impl Clone for UsbCamSetupVideoExParam
source§fn clone(&self) -> UsbCamSetupVideoExParam
fn clone(&self) -> UsbCamSetupVideoExParam
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 moresource§impl Debug for UsbCamSetupVideoExParam
impl Debug for UsbCamSetupVideoExParam
impl Copy for UsbCamSetupVideoExParam
Auto Trait Implementations§
impl Freeze for UsbCamSetupVideoExParam
impl RefUnwindSafe for UsbCamSetupVideoExParam
impl Send for UsbCamSetupVideoExParam
impl Sync for UsbCamSetupVideoExParam
impl Unpin for UsbCamSetupVideoExParam
impl UnwindSafe for UsbCamSetupVideoExParam
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