X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=blobdiff_plain;f=dali%2Fpublic-api%2Fimages%2Fpixel-data.h;h=19ffe3091642f370f5df1d7dc49a31497d1f898c;hp=234743397a60d392fb883bda08ba3a242c986ca1;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hpb=b41db98148be41ef5928f4335e985bf62252dde7 diff --git a/dali/public-api/images/pixel-data.h b/dali/public-api/images/pixel-data.h index 2347433..19ffe30 100644 --- a/dali/public-api/images/pixel-data.h +++ b/dali/public-api/images/pixel-data.h @@ -18,6 +18,10 @@ * */ +// EXTERNAL INCLUDES +#include // uint8_t, uint32_t + +// INTERNAL INCLUDES #include #include @@ -62,10 +66,10 @@ public: * @param[in] releaseFunction The function used to release the memory * @return A handle to the PixelData */ - static PixelData New( unsigned char* buffer, - unsigned int bufferSize, - unsigned int width, - unsigned int height, + static PixelData New( uint8_t* buffer, + uint32_t bufferSize, + uint32_t width, + uint32_t height, Pixel::Format pixelFormat, ReleaseFunction releaseFunction); @@ -107,7 +111,7 @@ public: * @SINCE_1_1.43 * @return The width of the buffer in pixels */ - unsigned int GetWidth() const; + uint32_t GetWidth() const; /** * @brief Gets the height of the buffer in pixels. @@ -115,7 +119,7 @@ public: * @SINCE_1_1.43 * @return The height of the buffer in pixels */ - unsigned int GetHeight() const; + uint32_t GetHeight() const; /** * @brief Gets the pixel format.