Struct openh264::DecodedYUV[][src]

pub struct DecodedYUV<'a> { /* fields omitted */ }
Expand description

Frame returned by the Decoder and provides safe data access.

Implementations

Returns the Y (luma) array, including padding.

You can use strides_yuv() to compute unpadded pixel positions.

Returns the U (blue projection) array, including padding.

You can use strides_yuv() to compute unpadded pixel positions.

Returns the V (red projection) array, including padding.

You can use strides_yuv() to compute unpadded pixel positions.

Returns the unpadded, image size in pixels when using write_rgb8().

Returns the unpadded Y size.

This may or may not be smaller than the image size.

Returns the unpadded U size.

This is often smaller (by half) than the image size.

Returns the unpadded V size.

This is often smaller (by half) than the image size.

Returns strides for the (Y,U,V) arrays.

Writes the image into a byte buffer of size w*h*3.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.