oa::video::letterbox
Aspect-preserving resize into a fixed extent with a constant fill. fill is a YUV code triplet in the frame’s component range. Errors Returns an error for a non-device-planar frame or a zero extent.
Function Documentation
Aspect-preserving resize into a fixed extent with a constant fill. fill is a YUV code triplet in the frame’s component range. Errors Returns an error for a non-device-planar frame or a zero extent.