X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fcommon%2Floader-png.cpp;h=4806fcb650fef8b68f8f83d375b38281e9b9d3f3;hb=c1bb1606717a5a831a0e7bdaca8b4eb86dc5a89e;hp=0cc7153712a4d9842ea050b7063f26758071ca5e;hpb=310bc5ac551e3e63c2676d92d7d169da98a46edd;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/imaging/common/loader-png.cpp b/dali/internal/imaging/common/loader-png.cpp old mode 100644 new mode 100755 index 0cc7153..4806fcb --- a/dali/internal/imaging/common/loader-png.cpp +++ b/dali/internal/imaging/common/loader-png.cpp @@ -27,6 +27,10 @@ #include #include +#include + +using namespace Dali::Internal::Platform; + namespace Dali { namespace TizenPlatform @@ -61,7 +65,7 @@ bool LoadPngHeader(FILE *fp, unsigned int &width, unsigned int &height, png_stru png_byte header[8] = { 0 }; // Check header to see if it is a PNG file - size_t size = fread(header, 1, 8, fp); + size_t size = InternalFile::fread(header, 1, 8, fp); if(size != 8) { return false; @@ -110,7 +114,7 @@ bool LoadPngHeader(FILE *fp, unsigned int &width, unsigned int &height, png_stru } // namespace - anonymous -bool LoadPngHeader( const ImageLoader::Input& input, unsigned int& width, unsigned int& height ) +bool LoadPngHeader( const Dali::ImageLoader::Input& input, unsigned int& width, unsigned int& height ) { png_structp png = NULL; png_infop info = NULL; @@ -121,7 +125,7 @@ bool LoadPngHeader( const ImageLoader::Input& input, unsigned int& width, unsign return success; } -bool LoadBitmapFromPng( const ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap ) +bool LoadBitmapFromPng( const Dali::ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap ) { png_structp png = NULL; png_infop info = NULL;