Enum d1_pac::csic::csic_parser0::prs_cap::CH_FPS_DS_A

source ·
#[repr(u8)]
pub enum CH_FPS_DS_A {
Show 15 variants NO_DOWN_SAMPLE = 0, _1_3 = 2, _1_4 = 3, _1_5 = 4, _1_6 = 5, _1_7 = 6, _1_8 = 7, _1_9 = 8, _1_10 = 9, _1_11 = 10, _1_12 = 11, _1_13 = 12, _1_14 = 13, _1_15 = 14, _1_16 = 15,
}
Expand description

Fps down sample

Value on reset: 0

Variants§

§

NO_DOWN_SAMPLE = 0

0: no down sample

§

_1_3 = 2

2: 1/3 fps, only receives the first frame every 3 frames

§

_1_4 = 3

3: 1/4 fps, only receives the first frame every 4 frames

§

_1_5 = 4

4: 1/5 fps, only receives the first frame every 5 frames

§

_1_6 = 5

5: 1/6 fps, only receives the first frame every 6 frames

§

_1_7 = 6

6: 1/7 fps, only receives the first frame every 7 frames

§

_1_8 = 7

7: 1/8 fps, only receives the first frame every 8 frames

§

_1_9 = 8

8: 1/9 fps, only receives the first frame every 9 frames

§

_1_10 = 9

9: 1/10 fps, only receives the first frame every 10 frames

§

_1_11 = 10

10: 1/11 fps, only receives the first frame every 11 frames

§

_1_12 = 11

11: 1/12 fps, only receives the first frame every 12 frames

§

_1_13 = 12

12: 1/13 fps, only receives the first frame every 13 frames

§

_1_14 = 13

13: 1/14 fps, only receives the first frame every 14 frames

§

_1_15 = 14

14: 1/15 fps, only receives the first frame every 15 frames

§

_1_16 = 15

15: 1/16 fps, only receives the first frame every 16 frames

Trait Implementations§

source§

impl Clone for CH_FPS_DS_A

source§

fn clone(&self) -> CH_FPS_DS_A

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 CH_FPS_DS_A

source§

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

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

impl From<CH_FPS_DS_A> for u8

source§

fn from(variant: CH_FPS_DS_A) -> Self

Converts to this type from the input type.
source§

impl PartialEq for CH_FPS_DS_A

source§

fn eq(&self, other: &CH_FPS_DS_A) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for CH_FPS_DS_A

source§

impl Eq for CH_FPS_DS_A

source§

impl StructuralPartialEq for CH_FPS_DS_A

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> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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, 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.