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

source§

fn clone(&self) -> UsbCamSetupVideoExParam

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UsbCamSetupVideoExParam

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for UsbCamSetupVideoExParam

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.