CVPixelBufferFillExtendedPixels(_:)
Fills the extended pixels of the pixel buffer.
Declaration
func CVPixelBufferFillExtendedPixels(_ pixelBuffer: CVPixelBuffer) -> CVReturnParameters
- 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.