#[repr(i32)]pub enum AVColorPrimaries {
Show 17 variants
AVCOL_PRI_RESERVED0 = 0,
AVCOL_PRI_BT709 = 1,
AVCOL_PRI_UNSPECIFIED = 2,
AVCOL_PRI_RESERVED = 3,
AVCOL_PRI_BT470M = 4,
AVCOL_PRI_BT470BG = 5,
AVCOL_PRI_SMPTE170M = 6,
AVCOL_PRI_SMPTE240M = 7,
AVCOL_PRI_FILM = 8,
AVCOL_PRI_BT2020 = 9,
AVCOL_PRI_SMPTE428 = 10,
AVCOL_PRI_SMPTE431 = 11,
AVCOL_PRI_SMPTE432 = 12,
AVCOL_PRI_EBU3213 = 22,
AVCOL_PRI_NB = 23,
AVCOL_PRI_EXT_BASE = 256,
AVCOL_PRI_EXT_NB = 257,
}展开描述
Chromaticity coordinates of the source primaries. These values match the ones defined by ISO/IEC 23091-2_2019 subclause 8.1 and ITU-T H.273.
Variants§
AVCOL_PRI_RESERVED0 = 0
AVCOL_PRI_BT709 = 1
< also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B
AVCOL_PRI_UNSPECIFIED = 2
AVCOL_PRI_RESERVED = 3
AVCOL_PRI_BT470M = 4
< also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
AVCOL_PRI_BT470BG = 5
< also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
AVCOL_PRI_SMPTE170M = 6
< also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
AVCOL_PRI_SMPTE240M = 7
< identical to above, also called “SMPTE C” even though it uses D65
AVCOL_PRI_FILM = 8
< colour filters using Illuminant C
AVCOL_PRI_BT2020 = 9
< ITU-R BT2020
AVCOL_PRI_SMPTE428 = 10
< SMPTE ST 428-1 (CIE 1931 XYZ)
AVCOL_PRI_SMPTE431 = 11
< SMPTE ST 431-2 (2011) / DCI P3
AVCOL_PRI_SMPTE432 = 12
< SMPTE ST 432-1 (2010) / P3 D65 / Display P3
AVCOL_PRI_EBU3213 = 22
< EBU Tech. 3213-E (nothing there) / one of JEDEC P22 group phosphors
AVCOL_PRI_NB = 23
< Not part of ABI
AVCOL_PRI_EXT_BASE = 256
AVCOL_PRI_EXT_NB = 257
< Not part of ABI
实现§
源代码§impl AVColorPrimaries
impl AVColorPrimaries
pub const AVCOL_PRI_SMPTEST428_1: AVColorPrimaries = AVColorPrimaries::AVCOL_PRI_SMPTE428
源代码§impl AVColorPrimaries
impl AVColorPrimaries
pub const AVCOL_PRI_JEDEC_P22: AVColorPrimaries = AVColorPrimaries::AVCOL_PRI_EBU3213
源代码§impl AVColorPrimaries
impl AVColorPrimaries
pub const AVCOL_PRI_V_GAMUT: AVColorPrimaries = AVColorPrimaries::AVCOL_PRI_EXT_BASE
trait 实现§
源代码§impl Clone for AVColorPrimaries
impl Clone for AVColorPrimaries
源代码§fn clone(&self) -> AVColorPrimaries
fn clone(&self) -> AVColorPrimaries
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVColorPrimaries
impl Debug for AVColorPrimaries
源代码§impl Hash for AVColorPrimaries
impl Hash for AVColorPrimaries
源代码§impl PartialEq for AVColorPrimaries
impl PartialEq for AVColorPrimaries
impl Copy for AVColorPrimaries
impl Eq for AVColorPrimaries
impl StructuralPartialEq for AVColorPrimaries
自动 trait 实现§
impl Freeze for AVColorPrimaries
impl RefUnwindSafe for AVColorPrimaries
impl Send for AVColorPrimaries
impl Sync for AVColorPrimaries
impl Unpin for AVColorPrimaries
impl UnsafeUnpin for AVColorPrimaries
impl UnwindSafe for AVColorPrimaries
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多