X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fcommon%2Floader-png.cpp;h=4b51af3da6d3e290c6b774a3250d86e7a33049d3;hb=0e16b26dbe317545978954a6269a8139dcf8a0b6;hp=315e7fe8ae47d4ae4c9626e68a2fbe3b6a025e7b;hpb=476644dcbd177cbfa3da5576859ffb2535235cde;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 index 315e7fe..4b51af3 100755 --- a/dali/internal/imaging/common/loader-png.cpp +++ b/dali/internal/imaging/common/loader-png.cpp @@ -27,10 +27,6 @@ #include #include -#include - -using namespace Dali::Internal::Platform; - namespace Dali { namespace TizenPlatform @@ -65,7 +61,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 = InternalFile::fread(header, 1, 8, fp); + size_t size = fread(header, 1, 8, fp); if(size != 8) { return false; @@ -114,7 +110,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; @@ -125,7 +121,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;