*
* @param[in] dev A pointer to the structure representing the device to get info of
* @param[in] format The format the image is in (see @link am7xxx_image_format @endlink enum)
*
* @param[in] dev A pointer to the structure representing the device to get info of
* @param[in] format The format the image is in (see @link am7xxx_image_format @endlink enum)
* @param[in] image_size The size in bytes of the image buffer
*
* @return 0 on success, a negative value on error
* @param[in] image_size The size in bytes of the image buffer
*
* @return 0 on success, a negative value on error