X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=platform-abstractions%2Ftizen%2Fimage-loaders%2Floader-bmp.h;h=bb781dbd2e3a5516a440dce9197c6a051ae5007b;hb=f4b05fe51ddba1d7d2035103ef3cfcd1d4741d3c;hp=41872aa66a28c38266d0954fe5f6dcde4ccb24d8;hpb=b13f88d09ab13bfe979b1f12abcb20488904ce11;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/platform-abstractions/tizen/image-loaders/loader-bmp.h b/platform-abstractions/tizen/image-loaders/loader-bmp.h index 41872aa..bb781db 100644 --- a/platform-abstractions/tizen/image-loaders/loader-bmp.h +++ b/platform-abstractions/tizen/image-loaders/loader-bmp.h @@ -2,7 +2,7 @@ #define __DALI_TIZEN_PLATFORM_LOADER_BMP_H__ /* - * Copyright (c) 2014 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. @@ -23,12 +23,12 @@ namespace Dali { - -namespace Integration +namespace Devel { -class Bitmap; +class PixelBuffer; } + namespace TizenPlatform { @@ -43,12 +43,11 @@ const unsigned char MAGIC_BYTE_2 = 0x4D; /** * Loads the bitmap from an BMP file. This function checks the header first * and if it is not a BMP 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 LoadBitmapFromBmp( const ResourceLoadingClient& client, const ImageLoader::Input& input, Integration::Bitmap& bitmap ); +bool LoadBitmapFromBmp( const ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap ); /** * Loads the header of a BMP file and fills in the width and height appropriately.