Enum RpicamMode
pub enum RpicamMode {
Encoded,
Raw,
}Expand description
What rpicam-vid hands over: rpicam or rpicam:raw.
Variants§
Encoded
H.264 from the Pi’s hardware encoder, published unchanged.
The cheapest option, and the right one for a Pi Zero. There is no preview, no choice of encoder, and no ladder.
Raw
Raw pictures, which we encode ourselves.
Costs about 10 MB/s of pipe at 640x360, plus an encode. Allows a preview, a choice of encoder and codec, and a ladder.
Trait Implementations§
§impl Clone for RpicamMode
impl Clone for RpicamMode
§fn clone(&self) -> RpicamMode
fn clone(&self) -> RpicamMode
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 RpicamMode
§impl Debug for RpicamMode
impl Debug for RpicamMode
impl Eq for RpicamMode
§impl PartialEq for RpicamMode
impl PartialEq for RpicamMode
impl StructuralPartialEq for RpicamMode
Auto Trait Implementations§
impl Freeze for RpicamMode
impl RefUnwindSafe for RpicamMode
impl Send for RpicamMode
impl Sync for RpicamMode
impl Unpin for RpicamMode
impl UnsafeUnpin for RpicamMode
impl UnwindSafe for RpicamMode
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.