Enum opencv::cudacodec::ChromaFormat
source · #[repr(C)]
pub enum ChromaFormat {
Monochrome,
YUV420,
YUV422,
YUV444,
NumFormats,
}
Expand description
Chroma formats supported by cudacodec::VideoReader.
Variants§
Trait Implementations§
source§impl Clone for ChromaFormat
impl Clone for ChromaFormat
source§fn clone(&self) -> ChromaFormat
fn clone(&self) -> ChromaFormat
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 ChromaFormat
impl Debug for ChromaFormat
source§impl PartialEq<ChromaFormat> for ChromaFormat
impl PartialEq<ChromaFormat> for ChromaFormat
source§fn eq(&self, other: &ChromaFormat) -> bool
fn eq(&self, other: &ChromaFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.