X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=platform-abstractions%2Ftizen%2Fimage-loaders%2Fimage-loader.h;h=d619a305c832b875375b75619619e9d284c49a02;hb=f4b05fe51ddba1d7d2035103ef3cfcd1d4741d3c;hp=15469ba9d3c3315b84a06b0f4b42dc08df864b6a;hpb=78a2c1b92f3933c6441e571f6fa7f241012118db;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/platform-abstractions/tizen/image-loaders/image-loader.h b/platform-abstractions/tizen/image-loaders/image-loader.h index 15469ba..d619a30 100644 --- a/platform-abstractions/tizen/image-loaders/image-loader.h +++ b/platform-abstractions/tizen/image-loaders/image-loader.h @@ -21,6 +21,9 @@ #include #include #include +#include +#include +#include namespace Dali { @@ -41,16 +44,16 @@ namespace ImageLoader * @param[out] bitmap Pointer to write bitmap to * @return true on success, false on failure */ -bool ConvertStreamToBitmap( const Integration::BitmapResourceType& resource, std::string path, FILE * const fp, Integration::BitmapPtr& ptr ); +bool ConvertStreamToBitmap( const Integration::BitmapResourceType& resource, std::string path, FILE * const fp, Dali::Devel::PixelBuffer& pixelBuffer ); /** * Convert a bitmap and write to a file stream. * @param[in] path The path to the resource. * @param[in] fp File Pointer. Closed on exit. - * @param[out] bitmap Pointer from which to read bitmap + * @param[out] pixelData Reference to PixelData object. * @return true on success, false on failure */ -bool ConvertBitmapToStream( std::string path, FILE * const fp, Integration::BitmapPtr& ptr ); +bool ConvertBitmapToStream( std::string path, FILE * const fp, Dali::Devel::PixelBuffer& pixelBuffer ); /** * Loads an image synchronously