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.