Fill plane data pointers for an image with pixel format pix_fmt and
height height.
@param data pointers array to be filled with the pointer for each image plane
@param ptr the pointer to a buffer which will contain the image
@param linesizes the array containing the linesize for each
plane, should be filled by av_image_fill_linesizes()
@return the size in bytes required for the image buffer, a negative
error code in case of failure
Fill plane data pointers for an image with pixel format pix_fmt and height height.
@param data pointers array to be filled with the pointer for each image plane @param ptr the pointer to a buffer which will contain the image @param linesizes the array containing the linesize for each plane, should be filled by av_image_fill_linesizes() @return the size in bytes required for the image buffer, a negative error code in case of failure