comparison include/mb_img_ldr.h @ 268:43900cae1d49

Support resizing for image. - Programmers can change size of image that showed on the output device.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 24 Jan 2009 18:19:02 +0800
parents 29acbd8a0dd0
children 586e50f82c1f
comparison
equal deleted inserted replaced
267:cac3f084a9b1 268:43900cae1d49
20 * can deal with image data. 20 * can deal with image data.
21 */ 21 */
22 struct _mb_img_data { 22 struct _mb_img_data {
23 /*! \brief Content of the image. */ 23 /*! \brief Content of the image. */
24 void *content; 24 void *content;
25 int width, height; 25 int w, h;
26 int stride; /*!< \brief Number of bytes a row */ 26 int stride; /*!< \brief Number of bytes a row */
27 mb_img_fmt_t fmt; 27 mb_img_fmt_t fmt;
28 /*! \brief Release the image that was loaded by the loader. */ 28 /*! \brief Release the image that was loaded by the loader. */
29 void (*free)(mb_img_data_t *img); 29 void (*free)(mb_img_data_t *img);
30 }; 30 };