[][src]Struct qt_gui::q_pixel_format::YUVLayout

#[repr(transparent)]
pub struct YUVLayout(_);

YUV is not represented by describing the size of the color channels. This is because YUV often use macro pixels, making the concept of sperate color channels invalid. Instead the different YUV layouts are described with this enum.

C++ enum: QPixelFormat::YUVLayout.

C++ documentation:

YUV is not represented by describing the size of the color channels. This is because YUV often use macro pixels, making the concept of sperate color channels invalid. Instead the different YUV layouts are described with this enum.

Methods

impl YUVLayout[src]

pub fn to_int(&self) -> c_int[src]

impl YUVLayout[src]

pub const YUV444: YUVLayout[src]

C++ enum variant: YUV444 = 0

pub const YUV422: YUVLayout[src]

C++ enum variant: YUV422 = 1

pub const YUV411: YUVLayout[src]

C++ enum variant: YUV411 = 2

pub const YUV420P: YUVLayout[src]

C++ enum variant: YUV420P = 3

pub const YUV420SP: YUVLayout[src]

C++ enum variant: YUV420SP = 4

pub const YV12: YUVLayout[src]

C++ enum variant: YV12 = 5

pub const UYVY: YUVLayout[src]

C++ enum variant: UYVY = 6

pub const YUYV: YUVLayout[src]

C++ enum variant: YUYV = 7

pub const NV12: YUVLayout[src]

C++ enum variant: NV12 = 8

pub const NV21: YUVLayout[src]

C++ enum variant: NV21 = 9

pub const IMC1: YUVLayout[src]

C++ enum variant: IMC1 = 10

pub const IMC2: YUVLayout[src]

C++ enum variant: IMC2 = 11

pub const IMC3: YUVLayout[src]

C++ enum variant: IMC3 = 12

pub const IMC4: YUVLayout[src]

C++ enum variant: IMC4 = 13

pub const Y8: YUVLayout[src]

C++ enum variant: Y8 = 14

pub const Y16: YUVLayout[src]

C++ enum variant: Y16 = 15

Trait Implementations

impl Clone for YUVLayout[src]

impl Copy for YUVLayout[src]

impl Debug for YUVLayout[src]

impl Eq for YUVLayout[src]

impl From<YUVLayout> for c_int[src]

impl From<i32> for YUVLayout[src]

impl PartialEq<YUVLayout> for YUVLayout[src]

impl StructuralEq for YUVLayout[src]

impl StructuralPartialEq for YUVLayout[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.