oa::video::pad
Extend a frame with a constant border. fill is a YUV code triplet in the frame’s component range. left and top must be even so chroma stays subsample-aligned. Errors Returns an error for a non-device-planar frame, odd offsets, or extent overflow.
Function Documentation
Extend a frame with a constant border. fill is a YUV code triplet in the frame’s component range. left and top must be even so chroma stays subsample-aligned. Errors Returns an error for a non-device-planar frame, odd offsets, or extent overflow.