Fills the extended pixels of the pixel buffer.
SDKs
- iOS 4.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Video
Declaration
func CVPixelBufferFillExtendedPixels(_ pixelBuffer: CVPixel Buffer) -> CVReturn
Parameters
pixelBuffer
The pixel buffer whose extended pixels you want to fill.
Return Value
A Core Video result code. See Core Video Constants for possible values.
Discussion
This function replicates edge pixels to fill the entire extended region of the image.