Realm

oa::video::stack

Join frames of matching cross-extent along one axis. Along-axis extents of all but the last frame must be even so chroma offsets stay subsample-aligned. Errors Returns an error for an empty batch, non-device-planar frames, mixed formats or cross-extents, odd alignment, or extent overflow.

FnRust public API

Function Documentation

pub fn stack( frames: &[VideoFrame], axis: VideoAxis ) -> Result<VideoFrame>
Join frames of matching cross-extent along one axis. Along-axis extents of all but the last frame must be even so chroma offsets stay subsample-aligned. Errors Returns an error for an empty batch, non-device-planar frames, mixed formats or cross-extents, odd alignment, or extent overflow.