X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=platform-abstractions%2Ftizen%2Fimage-loaders%2Floader-png.h;h=0c9c4933ec9ccc03063165ad412487be0be837d9;hb=0e18992346b92b3951f71616ffe18230ff79b3b3;hp=bfaab88d3b8178d524e1e6dcb7d852407b95a923;hpb=b4c49907bbeb5f41ddec83d7935a3c6fa58c136f;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/platform-abstractions/tizen/image-loaders/loader-png.h b/platform-abstractions/tizen/image-loaders/loader-png.h index bfaab88..0c9c493 100644 --- a/platform-abstractions/tizen/image-loaders/loader-png.h +++ b/platform-abstractions/tizen/image-loaders/loader-png.h @@ -2,7 +2,7 @@ #define __DALI_TIZEN_PLATFORM_LOADER_PNG_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,10 +26,9 @@ namespace Dali { - -namespace Integration +namespace Devel { - class Bitmap; +class PixelBuffer; } namespace TizenPlatform @@ -46,12 +45,11 @@ const unsigned char MAGIC_BYTE_2 = 0x50; /** * Loads the bitmap from an PNG file. This function checks the header first * and if it is not a PNG file, then it returns straight away. - * @param[in] fp Pointer to the Image file - * @param[in] bitmap The bitmap class where the decoded image will be stored - * @param[in] attributes Describes the dimensions, pixel format and other details for loading the image data + * @param[in] input Information about the input image (including file pointer) + * @param[out] bitmap The bitmap class where the decoded image will be stored * @return true if file decoded successfully, false otherwise */ -bool LoadBitmapFromPng( const ResourceLoadingClient& client, const ImageLoader::Input& input, Integration::Bitmap& bitmap ); +bool LoadBitmapFromPng( const ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap ); /** * Loads the header of a PNG file and fills in the width and height appropriately.