[][src]Trait rav1e::Pixel

pub trait Pixel: 'static + RegisteredPrimitive + Into<u32> + Into<i32> + Send + Sync + Debug + Display {
    type Coeff: Coefficient;
    fn type_enum() -> PixelType;

    fn to_asm_stride(in_stride: usize) -> isize { ... }
}

A type that can be used as a pixel type.

Associated Types

Loading content...

Required methods

fn type_enum() -> PixelType

Returns a PixelType variant corresponding to this type.

Loading content...

Provided methods

fn to_asm_stride(in_stride: usize) -> isize

Converts stride in pixels to stride in bytes.

Loading content...

Implementations on Foreign Types

impl Pixel for u16[src]

impl Pixel for u8[src]

Loading content...

Implementors

Loading content...