Merge "Fix svace issue for image-operator" into devel/master
[platform/core/uifw/dali-adaptor.git] / dali / internal / imaging / common / loader-ico.h
old mode 100755 (executable)
new mode 100644 (file)
index c68f154..fefa753
@@ -2,7 +2,7 @@
 #define DALI_TIZEN_PLATFORM_LOADER_ICO_H
 
 /*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
@@ -18,8 +18,8 @@
  *
  */
 
-#include <cstdio>
 #include <dali/devel-api/adaptor-framework/image-loader-input.h>
+#include <cstdio>
 
 namespace Dali
 {
@@ -30,7 +30,6 @@ class PixelBuffer;
 
 namespace TizenPlatform
 {
-
 class ResourceLoadingClient;
 
 namespace Ico
@@ -38,13 +37,13 @@ namespace Ico
 //00 00 01 00 01 00 20 20
 const unsigned char MAGIC_BYTE_1 = 0x00;
 const unsigned char MAGIC_BYTE_2 = 0x00;
-}
+} // namespace Ico
 /**
  * @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 LoadBitmapFromIco( const Dali::ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap );
+bool LoadBitmapFromIco(const Dali::ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap);
 
 /**
  * @param[in]  input  Information about the input image (including file pointer)
@@ -52,7 +51,7 @@ bool LoadBitmapFromIco( const Dali::ImageLoader::Input& input, Dali::Devel::Pixe
  * @param[out] height of image
  * @return  true if header loaded successfully, false otherwise
  */
-bool LoadIcoHeader( const Dali::ImageLoader::Input& input, unsigned int& width, unsigned int& height );
+bool LoadIcoHeader(const Dali::ImageLoader::Input& input, unsigned int& width, unsigned int& height);
 
 } // namespace TizenPlatform