format | The format of the image that will be stored in this image container. |
width_pixels | Width in pixels. |
height_pixels | Height in pixels. |
stride_bytes | The number of bytes per horizontal line of the image. |
buffer | Pointer to a pre-allocated image buffer. |
buffer_size | Size in bytes of the pre-allocated image buffer. |
buffer_release_cb | Callback to the buffer free function, called when all references to the buffer have been released. This parameter is optional. |
buffer_release_cb_context | Context for the buffer free function. This value will be called as a parameter to buffer_release_cb when the callback is invoked. |
image_handle | Pointer to store image handle in. |