Create a buffer reference wrapped around an already allocated image
buffer.
@param data pointers to the planes of the image to reference
@param linesize linesizes for the planes of the image to reference
@param perms the required access permissions
@param w the width of the image specified by the data and linesize arrays
@param h the height of the image specified by the data and linesize arrays
@param format the pixel format of the image specified by the data and linesize arrays
Create a buffer reference wrapped around an already allocated image buffer.
@param data pointers to the planes of the image to reference @param linesize linesizes for the planes of the image to reference @param perms the required access permissions @param w the width of the image specified by the data and linesize arrays @param h the height of the image specified by the data and linesize arrays @param format the pixel format of the image specified by the data and linesize arrays