Merge branch 'devel/master' into tizen
[platform/core/uifw/dali-adaptor.git] / dali / internal / imaging / common / loader-ktx.h
old mode 100755 (executable)
new mode 100644 (file)
index 966d14d..6179560
@@ -1,8 +1,8 @@
-#ifndef __DALI_TIZEN_PLATFORM_LOADER_KTX_H__
-#define __DALI_TIZEN_PLATFORM_LOADER_KTX_H__
+#ifndef DALI_TIZEN_PLATFORM_LOADER_KTX_H
+#define DALI_TIZEN_PLATFORM_LOADER_KTX_H
 
 /*
- * Copyright (c) 2017 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 Ktx
@@ -47,7 +46,7 @@ const unsigned char MAGIC_BYTE_2 = 0x4B;
  * @param[out] bitmap The bitmap class where the decoded image will be stored
  * @return  true if file loaded successfully, false otherwise
  */
-bool LoadBitmapFromKtx( const Dali::ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap );
+bool LoadBitmapFromKtx(const Dali::ImageLoader::Input& input, Dali::Devel::PixelBuffer& bitmap);
 
 /**
  * Loads the header of a KTX file and fills in the width and height appropriately.
@@ -57,10 +56,10 @@ bool LoadBitmapFromKtx( const Dali::ImageLoader::Input& input, Dali::Devel::Pixe
  * @param[out]  height  Is set with the height of the image
  * @return true if the file's header was read successully, false otherwise
  */
-bool LoadKtxHeader( const Dali::ImageLoader::Input& input, unsigned int& width, unsigned int& height );
+bool LoadKtxHeader(const Dali::ImageLoader::Input& input, unsigned int& width, unsigned int& height);
 
 } // namespace TizenPlatform
 
 } // namespace Dali
 
-#endif // __DALI_TIZEN_PLATFORM_LOADER_KTX_H__
+#endif // DALI_TIZEN_PLATFORM_LOADER_KTX_H