*/
int mm_util_encode_bmp_to_memory(mm_util_bmp_data *encoded, void **buffer, size_t *size);
-/**
- * This function sets width of the encoded image.
- *
- * @param data [in] pointer of mm_util_bmp_data.
- * @param width [in] width of the encoded image.
- * @return None.
- * @remark
- * @see mm_util_bmp_data
- * @since R1, 1.0
- */
-void mm_util_bmp_encode_set_width(mm_util_bmp_data * data, unsigned long width);
-
-/**
- * This function sets height of the encoded image.
- *
- * @param data [in] pointer of mm_util_bmp_data.
- * @param height [in] height of the encoded image.
- * @return None.
- * @remark
- * @see mm_util_bmp_data
- * @since R1, 1.0
- */
-void mm_util_bmp_encode_set_height(mm_util_bmp_data * data, unsigned long height);
-
#ifdef __cplusplus
}
#endif
bmp_destroy(bmp);
return MM_UTIL_ERROR_NONE;
}
-
-void mm_util_bmp_encode_set_width(mm_util_bmp_data *data, unsigned long width)
-{
- data->width = width;
-}
-
-void mm_util_bmp_encode_set_height(mm_util_bmp_data *data, unsigned long height)
-{
- data->height = height;
-}