Revert "[4.0] Exposing Exif Image metadata"
[platform/core/uifw/dali-adaptor.git] / adaptors / common / pixel-buffer-impl.h
index 0cacb56..1882909 100644 (file)
 #include <dali/public-api/images/image-operations.h> // For ImageDimensions
 #include <dali/public-api/images/pixel-data.h>
 #include <dali/public-api/object/base-object.h>
-#include <dali/public-api/object/property-map.h>
-
-// EXTERNAL INCLUDES
-#include <memory>
 
 namespace Dali
 {
@@ -179,27 +175,6 @@ public:
    */
   void Resize( ImageDimensions outDimensions );
 
-  /**
-   * @brief Sets image metadata
-   *
-   * @param map Property map containing Exif fields
-   */
-  void SetMetadata( const Property::Map& map );
-
-  /**
-   * @brief Returns image metadata as a property map
-   * @param[out] outMetadata Property map to copy the data into
-   * @return True on success
-   */
-  bool GetMetadata(Property::Map& outMetadata) const;
-
-  /**
-   * @brief Sets metadata property map for the pixel buffer
-   * @note The function takes over the ownership of the property map
-   * @param[in] metadata Property map to copy the data into
-   */
-  void SetMetadata(std::unique_ptr<Property::Map> metadata);
-
 private:
   /*
    * Undefined copy constructor.
@@ -256,12 +231,11 @@ private:
 
 private:
 
-  std::unique_ptr<Property::Map>  mMetadata;         ///< Metadata fields
-  unsigned char*                  mBuffer;           ///< The raw pixel data
-  unsigned int                    mBufferSize;       ///< Buffer sized in bytes
-  unsigned int                    mWidth;            ///< Buffer width in pixels
-  unsigned int                    mHeight;           ///< Buffer height in pixels
-  Pixel::Format                   mPixelFormat;      ///< Pixel format
+  unsigned char* mBuffer;           ///< The raw pixel data
+  unsigned int   mBufferSize;       ///< Buffer sized in bytes
+  unsigned int   mWidth;            ///< Buffer width in pixels
+  unsigned int   mHeight;           ///< Buffer height in pixels
+  Pixel::Format  mPixelFormat;      ///< Pixel format
 };
 
 } // namespace Adaptor