Trait av_metrics::video::Pixel[][src]

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

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

A type that can be used as a pixel type.

Associated Types

Required methods

Returns a PixelType variant corresponding to this type.

Provided methods

Converts stride in pixels to stride in bytes.

Implementations on Foreign Types

Implementors