Struct x264::Image[][src]

pub struct Image<'a> { /* fields omitted */ }

Input image data to be given to the encoder.

Methods

impl<'a> Image<'a>
[src]

Makes a new image with the given information.

Panics

Panics if the plane is invalid.

Makes a new packed BGR image.

Makes a new packed RGB image.

Makes a new packed BGRA image.

Makes a new image with the given planes and colorspace.

Unsafety

The caller must ensure that the plane fulfils all the invariants that x264 expects it to fulfil. I don't actually know what all of those are, but the source of Encoder::new is my best guess.

The width of the image.

The height of the image.

The encoding of the image.

Auto Trait Implementations

impl<'a> !Send for Image<'a>

impl<'a> !Sync for Image<'a>