[][src]Struct pspsdk_sys::sdk::PspUsbCamSetupVideoExParam

#[repr(C)]pub struct PspUsbCamSetupVideoExParam {
    pub size: c_int,
    pub unk: u32,
    pub resolution: c_int,
    pub framerate: c_int,
    pub unk2: u32,
    pub unk3: u32,
    pub wb: c_int,
    pub saturation: c_int,
    pub brightness: c_int,
    pub contrast: c_int,
    pub sharpness: c_int,
    pub unk4: u32,
    pub unk5: u32,
    pub unk6: [u32; 3],
    pub effectmode: c_int,
    pub unk7: u32,
    pub unk8: u32,
    pub unk9: u32,
    pub unk10: u32,
    pub unk11: u32,
    pub framesize: c_int,
    pub unk12: u32,
    pub evlevel: c_int,
}

Fields

size: c_int

Size of the ::PspUsbCamSetupVideoParam structure

unk: u32resolution: c_int

Resolution. One of ::PspUsbCamResolutionEx

framerate: c_int

Framerate. One of ::PspUsbCamFrameRate

unk2: u32

Unknown. Set it to 2 at the moment

unk3: u32

Unknown. Set it to 3 at the moment

wb: c_int

White balance. One of ::PspUsbCamWB

saturation: c_int

Saturarion (0-255)

brightness: c_int

Brightness (0-255)

contrast: c_int

Contrast (0-255)

sharpness: c_int

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

effectmode: c_int

Effect mode. One of ::PspUsbCamEffectMode

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

framesize: c_int

Size of jpeg video frame

unk12: u32

Unknown. Set it to 0 at the moment

evlevel: c_int

Exposure value. One of ::PspUsbCamEVLevel

Trait Implementations

impl Clone for PspUsbCamSetupVideoExParam[src]

impl Copy for PspUsbCamSetupVideoExParam[src]

impl Debug for PspUsbCamSetupVideoExParam[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.