\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,120 +4,51 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n-SILLYImageLoaderManager.h\n- 1/***********************************************************************\n- 2 filename: ImageLoaderManager.h\n- 3 created: 10 Jun 2006\n- 4 author: Olivier Delannoy\n- 5\n- 6 purpose: Manage all available loader\n- 7*************************************************************************/\n- 8/***************************************************************************\n- 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n- 10 *\n- 11 * Permission is hereby granted, free of charge, to any person obtaining\n- 12 * a copy of this software and associated documentation files (the\n- 13 * \"Software\"), to deal in the Software without restriction, including\n- 14 * without limitation the rights to use, copy, modify, merge, publish,\n- 15 * distribute, sublicense, and/or sell copies of the Software, and to\n- 16 * permit persons to whom the Software is furnished to do so, subject to\n- 17 * the following conditions:\n- 18 *\n- 19 * The above copyright notice and this permission notice shall be\n- 20 * included in all copies or substantial portions of the Software.\n- 21 *\n- 22 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n- 23 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n- 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n- 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n- 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n- 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n- 28 * OTHER DEALINGS IN THE SOFTWARE.\n- 29\n+SILLYOptions.h\n+ 1/* include/SILLYOptions.h. Generated from SILLYOptions.h.in by configure. */\n+ 2/***********************************************************************\n+ 3 filename: SILLYOptions.h.in\n+ 4 created: 2006/06/10\n+ 5 author: Olivier Delannoy\n+ 6\n+ 7 purpose: Store options of the SILLY library\n+ 8*************************************************************************/\n+ 9/***************************************************************************\n+ 10 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n+ 11 *\n+ 12 * Permission is hereby granted, free of charge, to any person obtaining\n+ 13 * a copy of this software and associated documentation files (the\n+ 14 * \"Software\"), to deal in the Software without restriction, including\n+ 15 * without limitation the rights to use, copy, modify, merge, publish,\n+ 16 * distribute, sublicense, and/or sell copies of the Software, and to\n+ 17 * permit persons to whom the Software is furnished to do so, subject to\n+ 18 * the following conditions:\n+ 19 *\n+ 20 * The above copyright notice and this permission notice shall be\n+ 21 * included in all copies or substantial portions of the Software.\n+ 22 *\n+ 23 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n+ 25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n+ 26 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n+ 27 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n+ 28 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n+ 29 * OTHER DEALINGS IN THE SOFTWARE.\n+ 30\n ***************************************************************************/\n- 30#ifndef _SILLYImageLoaderManager_h_\n- 31#define _SILLYImageLoaderManager_h_\n- 32#include \"SILLYBase.h\"\n- 33#include \n- 34// Start of section namespace SILLY\n- 35namespace SILLY\n- 36{\n- 37class ImageLoader; // Forward declaration\n-42typedef std::vector ImageLoaderList;\n- 43\n- 44#if defined(_MSC_VER)\n- 45\n- 46# pragma warning(push)\n- 47\n- 48# pragma warning(disable : 4251)\n- 49\n- 50#endif\n- 51\n-56class SILLY_EXPORT ImageLoaderManager\n- 57{\n- 58\n- 59public:\n- 64 ImageLoaderManager();\n- 69 ~ImageLoaderManager();\n-74 ImageLoaderList::iterator begin();\n-79 ImageLoaderList::iterator end();\n-86 void add(ImageLoader* loader);\n- 87\n- 88private:\n- 89 ImageLoaderList d_loaders;\n- 90\n- 91public:\n- 92 static ImageLoaderManager* getSingletonPtr();\n- 93 static ImageLoaderManager& getSingleton();\n- 94\n- 95private:\n- 96 static ImageLoaderManager* d_instance;\n- 97\n- 98 // Disabled operations\n- 99 ImageLoaderManager(ImageLoaderManager&);\n- 100 ImageLoaderManager& operator=(ImageLoaderManager&);\n- 101};\n- 102\n- 103#if defined(_MSC_VER)\n- 104\n- 105# pragma warning(pop)\n- 106\n- 107#endif\n- 108\n- 109} // End of section namespace SILLY\n- 110\n- 111// Inclue inline function when needed\n- 112#ifdef SILLY_OPT_INLINE\n- 113#include \"SILLYImageLoaderManager.icpp\"\n- 114#endif\n- 115\n- 116#endif // end of guard _SILLYImageLoaderManager_h_\n-SILLY\n-Simple Image Loading LibrarY namespace.\n-Definition: SILLYJPGImageContext.cpp:46\n-SILLY::ImageLoaderList\n-std::vector< ImageLoader * > ImageLoaderList\n-Typename for a collection of image loader.\n-Definition: SILLYImageLoaderManager.h:42\n-SILLY::ImageLoader\n-This is an abstract class that define the interface of all image loader.\n-Definition: SILLYImageLoader.h:47\n-SILLY::ImageLoaderManager\n-Manage the list of all supported ImageLoader.\n-Definition: SILLYImageLoaderManager.h:57\n-SILLY::ImageLoaderManager::add\n-void add(ImageLoader *loader)\n-Register an ImageLoader object.\n-SILLY::ImageLoaderManager::begin\n-ImageLoaderList::iterator begin()\n-Get an iterator to the first ImageLoader registered.\n-SILLY::ImageLoaderManager::end\n-ImageLoaderList::iterator end()\n-Get an iterator to the first not registered ImageLoader.\n+ 31/* Defined to 1 if inline is enabled */\n+ 32#define SILLY_OPT_INLINE 1\n+ 33\n+ 34/* Defined to 1 if debug is enabled */\n+ 35/* #undef SILLY_OPT_DEBUG */\n+ 36\n+ 37/* Defined to 1 if profile is enabled */\n+ 38/* #undef SILLY_OPT_PROFILE */\n+ 39\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00047_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00047_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImageContext.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImageLoader.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,21 +4,22 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n-SILLYMemoryDataSource.h\n+ * loaders\n+SILLYJPGImageLoader.h\n 1/***********************************************************************\n- 2 filename: SILLYMemoryDataSource.h\n- 3 created: 10 Jun 2006\n+ 2 filename: SILLYJPGImageLoader.h\n+ 3 created: 11 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: SILLYMemoryDataSource declaration for the SILLY library\n+ 6 purpose: Declaration of the JPGImageLoader class\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -35,56 +36,69 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30#ifndef _SILLYMemoryDataSource_h_\n- 31#define _SILLYMemoryDataSource_h_\n+ 30#ifndef _SILLYJPGImageLoader_h_\n+ 31#define _SILLYJPGImageLoader_h_\n 32#include \"SILLYBase.h\"\n- 33#include \"SILLYDataSource.h\"\n+ 33#include \"SILLYImageLoader.h\"\n 34// Start of section namespace SILLY\n 35namespace SILLY\n 36{\n 37\n-48class SILLY_EXPORT MemoryDataSource : public DataSource\n- 49{\n- 50public:\n- 63 MemoryDataSource(const byte* data, size_t size);\n- 64\n- 65\n-66 const byte* getDataPtr() const;\n- 67\n-68 size_t getSize() const;\n- 69private:\n- 70 const byte* d_bytes;\n- 71 size_t d_size;\n- 72};\n- 73\n- 74\n- 75} // End of section namespace SILLY\n- 76\n- 77// Inclue inline function when needed\n- 78#ifdef SILLY_OPT_INLINE\n- 79#include \"SILLYMemoryDataSource.icpp\"\n- 80#endif\n- 81\n- 82#endif // end of guard _SILLYMemoryDataSource_h_\n+42class JPGImageLoader : public ImageLoader\n+ 43{\n+ 44public:\n+ 45 JPGImageLoader();\n+ 46 ~JPGImageLoader();\n+ 47 ImageContext* loadHeader(PixelFormat& header, DataSource* data);\n+ 48 bool loadImageData(PixelOrigin origin, DataSource* data, ImageContext*\n+context);\n+ 49private:\n+ 50};\n+ 51\n+ 52\n+ 53} // End of section namespace SILLY\n+ 54\n+ 55// Inclue inline function when needed\n+ 56#ifdef SILLY_OPT_INLINE\n+ 57#include \"SILLYJPGImageLoader.icpp\"\n+ 58#endif\n+ 59\n+ 60#endif // end of guard _SILLYJPGImageLoader_h_\n SILLY\n Simple Image Loading LibrarY namespace.\n Definition: SILLYJPGImageContext.cpp:46\n+SILLY::PixelFormat\n+PixelFormat\n+List all pixel format supported.\n+Definition: SILLYBase.h:60\n+SILLY::PixelOrigin\n+PixelOrigin\n+List all pixel origin supported.\n+Definition: SILLYBase.h:71\n+SILLY::JPGImageLoader\n+Loader class for JPG Image.\n+Definition: SILLYJPGImageLoader.h:43\n+SILLY::JPGImageLoader::loadImageData\n+bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext *context)\n+Parse the pixels data of the image and fill the header struct.\n+Definition: SILLYJPGImageLoader.cpp:90\n+SILLY::JPGImageLoader::loadHeader\n+ImageContext * loadHeader(PixelFormat &header, DataSource *data)\n+Parse the header of the image and fill the header struct.\n+Definition: SILLYJPGImageLoader.cpp:56\n SILLY::DataSource\n This is an abstract class used to provide data to the loader.\n Definition: SILLYDataSource.h:47\n-SILLY::MemoryDataSource\n-Load an image from a memory area.\n-Definition: SILLYMemoryDataSource.h:49\n-SILLY::MemoryDataSource::getDataPtr\n-const byte * getDataPtr() const\n-Get raw access to the image data.\n-SILLY::MemoryDataSource::getSize\n-size_t getSize() const\n-Return the size of the data.\n+SILLY::ImageContext\n+Store the data needed by an ImageLoader object during the parsing of an image.\n+Definition: SILLYImageContext.h:44\n+SILLY::ImageLoader\n+This is an abstract class that define the interface of all image loader.\n+Definition: SILLYImageLoader.h:47\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00059_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00059_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImageLoaderManager.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYTGAImageContext.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,21 +4,22 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n-SILLYDataSource.icpp\n+ * loaders\n+SILLYPNGImageLoader.h\n 1/***********************************************************************\n- 2 filename: SILLYDataSource.icpp\n- 3 created: 10 Jun 2006\n- 4 author: ode@dalfy.dalfy.dyndns.org\n+ 2 filename: SILLYPNGImageLoader.h\n+ 3 created: 11 Jun 2006\n+ 4 author: Olivier Delannoy\n 5\n- 6 purpose: Inline function definition for (F>>>ILE_SANS<<<) class\n+ 6 purpose: Declaration of the PNGImageLoader class\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -35,27 +36,74 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30\n- 31// Start of section namespace SILLY\n- 32namespace SILLY\n- 33{\n- 34inline DataSource::~DataSource()\n- 35{\n- 36}\n- 37\n- 38inline byte DataSource::operator[](size_t offset) const\n- 39{\n- 40 assert(offset < getSize() && \"ASSERT: Trying to access pixel outside of the\n-data\");\n- 41 return getDataPtr()[offset];\n- 42}\n- 43\n- 44} // End of section namespace SILLY\n- 45\n+ 30#ifndef _SILLYPNGImageLoader_h_\n+ 31#define _SILLYPNGImageLoader_h_\n+ 32#include \"SILLYBase.h\"\n+ 33#include \"SILLYImageLoader.h\"\n+ 34#include \"SILLYDataSource.h\"\n+ 35// Start of section namespace SILLY\n+ 36namespace SILLY\n+ 37{\n+42class PNGImageLoader : public ImageLoader\n+ 43{\n+ 44public:\n+ 45 PNGImageLoader();\n+ 46\n+ 47 ~PNGImageLoader();\n+ 48\n+ 49 ImageContext* loadHeader(PixelFormat& formatSource, DataSource* data);\n+ 50\n+ 51 bool loadImageData(PixelOrigin origin,\n+ 52 DataSource* data,\n+ 53 ImageContext* context);\n+ 54private:\n+ 55\n+ 56};\n+ 57\n+ 58\n+ 59} // End of section namespace SILLY\n+ 60\n+ 61// Inclue inline function when needed\n+ 62#ifdef SILLY_OPT_INLINE\n+ 63#include \"SILLYPNGImageLoader.icpp\"\n+ 64#endif\n+ 65\n+ 66#endif // end of guard _SILLYPNGImageLoader_h_\n+SILLY\n+Simple Image Loading LibrarY namespace.\n+Definition: SILLYJPGImageContext.cpp:46\n+SILLY::PixelFormat\n+PixelFormat\n+List all pixel format supported.\n+Definition: SILLYBase.h:60\n+SILLY::PixelOrigin\n+PixelOrigin\n+List all pixel origin supported.\n+Definition: SILLYBase.h:71\n+SILLY::PNGImageLoader\n+Loader for PNG Image.\n+Definition: SILLYPNGImageLoader.h:43\n+SILLY::PNGImageLoader::loadHeader\n+ImageContext * loadHeader(PixelFormat &formatSource, DataSource *data)\n+Parse the header of the image and fill the header struct.\n+Definition: SILLYPNGImageLoader.cpp:88\n+SILLY::PNGImageLoader::loadImageData\n+bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext *context)\n+Parse the pixels data of the image and fill the header struct.\n+Definition: SILLYPNGImageLoader.cpp:154\n+SILLY::DataSource\n+This is an abstract class used to provide data to the loader.\n+Definition: SILLYDataSource.h:47\n+SILLY::ImageContext\n+Store the data needed by an ImageLoader object during the parsing of an image.\n+Definition: SILLYImageContext.h:44\n+SILLY::ImageLoader\n+This is an abstract class that define the interface of all image loader.\n+Definition: SILLYImageLoader.h:47\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00071_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00071_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImage.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYJPGImageLoader.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,154 +4,49 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n-SILLYImage.h\n- 1\n- 2/***********************************************************************\n- 3 filename: SILLYImage.h\n- 4 created: 10 Jun 2006\n- 5 author: Olivier Delannoy\n- 6\n- 7 purpose: Image class definition\n- 8*************************************************************************/\n- 9/***************************************************************************\n- 10 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n- 11 *\n- 12 * Permission is hereby granted, free of charge, to any person obtaining\n- 13 * a copy of this software and associated documentation files (the\n- 14 * \"Software\"), to deal in the Software without restriction, including\n- 15 * without limitation the rights to use, copy, modify, merge, publish,\n- 16 * distribute, sublicense, and/or sell copies of the Software, and to\n- 17 * permit persons to whom the Software is furnished to do so, subject to\n- 18 * the following conditions:\n- 19 *\n- 20 * The above copyright notice and this permission notice shall be\n- 21 * included in all copies or substantial portions of the Software.\n- 22 *\n- 23 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n- 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n- 25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n- 26 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n- 27 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n- 28 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n- 29 * OTHER DEALINGS IN THE SOFTWARE.\n- 30\n+ * loaders\n+SILLYJPGImageLoader.icpp\n+ 1/***********************************************************************\n+ 2 filename: SILLYJPGImageLoader.icpp\n+ 3 created: 11 Jun 2006\n+ 4 author: Olivier Delannoy\n+ 5\n+ 6 purpose: Inline definition of JPGImageLoader class\n+ 7*************************************************************************/\n+ 8/***************************************************************************\n+ 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n+ 10 *\n+ 11 * Permission is hereby granted, free of charge, to any person obtaining\n+ 12 * a copy of this software and associated documentation files (the\n+ 13 * \"Software\"), to deal in the Software without restriction, including\n+ 14 * without limitation the rights to use, copy, modify, merge, publish,\n+ 15 * distribute, sublicense, and/or sell copies of the Software, and to\n+ 16 * permit persons to whom the Software is furnished to do so, subject to\n+ 17 * the following conditions:\n+ 18 *\n+ 19 * The above copyright notice and this permission notice shall be\n+ 20 * included in all copies or substantial portions of the Software.\n+ 21 *\n+ 22 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ 23 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n+ 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n+ 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n+ 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n+ 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n+ 28 * OTHER DEALINGS IN THE SOFTWARE.\n+ 29\n ***************************************************************************/\n- 31#ifndef _SILLYImage_h_\n- 32#define _SILLYImage_h_\n- 33#include \"SILLYBase.h\"\n- 34#include \"SILLYImageContext.h\"\n- 35#include \"SILLYDataSource.h\"\n- 36#include \"SILLYImageLoader.h\"\n- 37\n- 38// Start of section namespace SILLY\n- 39namespace SILLY\n- 40{\n- 41\n-46class SILLY_EXPORT Image\n- 47{\n- 48public:\n- 55 Image(DataSource& data);\n- 56\n-61 ~Image();\n- 62\n-67 bool isValid() const;\n- 68\n- 69\n- 76 bool loadImageHeader();\n- 77\n- 91 bool loadImageData(PixelFormat resultFormat = PF_RGBA, PixelOrigin origin =\n-PO_TOP_LEFT);\n- 92\n-97 size_t getWidth() const;\n- 98\n-103 size_t getHeight() const;\n- 104\n-109 PixelFormat getSourcePixelFormat() const;\n- 110\n-115 PixelFormat getPixelFormat() const;\n- 116\n-120 const byte* getPixelsDataPtr() const;\n-125 size_t getPixelsDataSize() const;\n-130 const char* getLoaderIdentifierString() const;\n- 131private:\n- 132 bool allocate();\n- 133\n- 134private:\n- 135\n- 136 size_t d_bpp;\n- 137 PixelFormat d_pfSource;\n- 138 byte* d_pixels;\n- 139 DataSource* d_data;\n- 140 ImageContext* d_imageContext;\n- 141 ImageLoader* d_imageLoader;\n- 142\n- 143 // Disabled operation\n- 144 Image(Image&);\n- 145 Image& operator=(Image&);\n- 146};\n- 147\n- 148} // End of section namespace SILLY\n- 149\n- 150// Inclue inline function when needed\n- 151#ifdef SILLY_OPT_INLINE\n- 152#include \"SILLYImage.icpp\"\n- 153#endif\n- 154\n- 155#endif // end of guard _SILLYImage_h_\n-SILLY\n-Simple Image Loading LibrarY namespace.\n-Definition: SILLYJPGImageContext.cpp:46\n-SILLY::PixelFormat\n-PixelFormat\n-List all pixel format supported.\n-Definition: SILLYBase.h:60\n-SILLY::PixelOrigin\n-PixelOrigin\n-List all pixel origin supported.\n-Definition: SILLYBase.h:71\n-SILLY::DataSource\n-This is an abstract class used to provide data to the loader.\n-Definition: SILLYDataSource.h:47\n-SILLY::Image\n-Image is the main user class of the library.\n-Definition: SILLYImage.h:47\n-SILLY::Image::getSourcePixelFormat\n-PixelFormat getSourcePixelFormat() const\n-Retrieve the pixel format used for the image storage.\n-SILLY::Image::getLoaderIdentifierString\n-const char * getLoaderIdentifierString() const\n-Get Image loader identifier string.\n-SILLY::Image::getPixelsDataPtr\n-const byte * getPixelsDataPtr() const\n-Get a pointer to the pixels data.\n-SILLY::Image::isValid\n-bool isValid() const\n-Return true if the image is valid after its loading.\n-SILLY::Image::getPixelsDataSize\n-size_t getPixelsDataSize() const\n-Get the size of the pixel buffer.\n-SILLY::Image::~Image\n-~Image()\n-Destructor.\n-SILLY::Image::getWidth\n-size_t getWidth() const\n-Retrieve the width of the image.\n-SILLY::Image::getPixelFormat\n-PixelFormat getPixelFormat() const\n-Retrieve the pixel format of the resulting image.\n-SILLY::Image::getHeight\n-size_t getHeight() const\n-Retrieve the height of the image.\n-SILLY::ImageContext\n-Store the data needed by an ImageLoader object during the parsing of an image.\n-Definition: SILLYImageContext.h:44\n-SILLY::ImageLoader\n-This is an abstract class that define the interface of all image loader.\n-Definition: SILLYImageLoader.h:47\n+ 30\n+ 31// Start of section namespace SILLY\n+ 32namespace SILLY\n+ 33{\n+ 34\n+ 35} // End of section namespace SILLY\n+ 36\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00074_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00074_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYOptions.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYPNGImageLoader.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,51 +4,49 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n-SILLYOptions.h\n- 1/* include/SILLYOptions.h. Generated from SILLYOptions.h.in by configure. */\n- 2/***********************************************************************\n- 3 filename: SILLYOptions.h.in\n- 4 created: 2006/06/10\n- 5 author: Olivier Delannoy\n- 6\n- 7 purpose: Store options of the SILLY library\n- 8*************************************************************************/\n- 9/***************************************************************************\n- 10 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n- 11 *\n- 12 * Permission is hereby granted, free of charge, to any person obtaining\n- 13 * a copy of this software and associated documentation files (the\n- 14 * \"Software\"), to deal in the Software without restriction, including\n- 15 * without limitation the rights to use, copy, modify, merge, publish,\n- 16 * distribute, sublicense, and/or sell copies of the Software, and to\n- 17 * permit persons to whom the Software is furnished to do so, subject to\n- 18 * the following conditions:\n- 19 *\n- 20 * The above copyright notice and this permission notice shall be\n- 21 * included in all copies or substantial portions of the Software.\n- 22 *\n- 23 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n- 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n- 25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n- 26 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n- 27 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n- 28 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n- 29 * OTHER DEALINGS IN THE SOFTWARE.\n- 30\n+ * loaders\n+SILLYPNGImageLoader.icpp\n+ 1/***********************************************************************\n+ 2 filename: SILLYPNGImageLoader.icpp\n+ 3 created: 11 Jun 2006\n+ 4 author: Olivier Delannoy\n+ 5\n+ 6 purpose: Inline definition for PNGImageLoader\n+ 7*************************************************************************/\n+ 8/***************************************************************************\n+ 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n+ 10 *\n+ 11 * Permission is hereby granted, free of charge, to any person obtaining\n+ 12 * a copy of this software and associated documentation files (the\n+ 13 * \"Software\"), to deal in the Software without restriction, including\n+ 14 * without limitation the rights to use, copy, modify, merge, publish,\n+ 15 * distribute, sublicense, and/or sell copies of the Software, and to\n+ 16 * permit persons to whom the Software is furnished to do so, subject to\n+ 17 * the following conditions:\n+ 18 *\n+ 19 * The above copyright notice and this permission notice shall be\n+ 20 * included in all copies or substantial portions of the Software.\n+ 21 *\n+ 22 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ 23 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n+ 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n+ 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n+ 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n+ 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n+ 28 * OTHER DEALINGS IN THE SOFTWARE.\n+ 29\n ***************************************************************************/\n- 31/* Defined to 1 if inline is enabled */\n- 32#define SILLY_OPT_INLINE 1\n- 33\n- 34/* Defined to 1 if debug is enabled */\n- 35/* #undef SILLY_OPT_DEBUG */\n+ 30\n+ 31// Start of section namespace SILLY\n+ 32namespace SILLY\n+ 33{\n+ 34\n+ 35} // End of section namespace SILLY\n 36\n- 37/* Defined to 1 if profile is enabled */\n- 38/* #undef SILLY_OPT_PROFILE */\n- 39\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00077_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00077_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYTGAImageContext.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYTGAImageLoader.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -5,21 +5,21 @@\n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n * loaders\n-SILLYJPGImageContext.h\n+SILLYJPGImageContext.icpp\n 1/***********************************************************************\n- 2 filename: SILLYJPGImageContext.h\n+ 2 filename: SILLYJPGImageContext.icpp\n 3 created: 11 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Declaration of the JPGImageContext class\n+ 6 purpose: Inline definition for JPG context\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -36,64 +36,17 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30#ifndef _SILLYJPGImageContext_h_\n- 31#define _SILLYJPGImageContext_h_\n- 32#include \"SILLYBase.h\"\n- 33#include \"SILLYImageContext.h\"\n- 34#include \"SILLYDataSource.h\"\n- 35// Start of section namespace SILLY\n- 36#include \n- 37#include \n- 38#include \n- 39extern \"C\"\n- 40{\n- 41#include \n- 42}\n- 43namespace SILLY\n- 44{\n- 45\n-56class JPGImageContext : public ImageContext\n- 57{\n- 58public:\n- 59 JPGImageContext();\n- 60 ~JPGImageContext();\n- 61\n- 62 void setImageSize();\n- 63\n- 64\n- 65 jpeg_source_mgr src_mgr;\n- 66 jpeg_decompress_struct cinfo;\n- 67\n- 68 jpeg_error_mgr d_error_mgr;\n- 69 jmp_buf setjmp_buffer;\n- 70 DataSource* d_source;\n- 71};\n- 72\n- 73\n- 74} // End of section namespace SILLY\n- 75\n- 76// Inclue inline function when needed\n- 77#ifdef SILLY_OPT_INLINE\n- 78#include \"SILLYJPGImageContext.icpp\"\n- 79#endif\n- 80\n- 81#endif // end of guard _SILLYJPGImageContext_h_\n-SILLY\n-Simple Image Loading LibrarY namespace.\n-Definition: SILLYJPGImageContext.cpp:46\n-SILLY::JPGImageContext\n-Image Context for JPG image loader.\n-Definition: SILLYJPGImageContext.h:57\n-SILLY::DataSource\n-This is an abstract class used to provide data to the loader.\n-Definition: SILLYDataSource.h:47\n-SILLY::ImageContext\n-Store the data needed by an ImageLoader object during the parsing of an image.\n-Definition: SILLYImageContext.h:44\n+ 30\n+ 31// Start of section namespace SILLY\n+ 32namespace SILLY\n+ 33{\n+ 34\n+ 35} // End of section namespace SILLY\n+ 36\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00086_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00086_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYJPGImageLoader.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYTGAImageLoader.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -5,21 +5,21 @@\n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n * loaders\n-SILLYJPGImageLoader.h\n+SILLYTGAImageLoader.h\n 1/***********************************************************************\n- 2 filename: SILLYJPGImageLoader.h\n+ 2 filename: SILLYTGAImageLoader.h\n 3 created: 11 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Declaration of the JPGImageLoader class\n+ 6 purpose: Declaration of the TGAImageLoader class\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -36,64 +36,65 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30#ifndef _SILLYJPGImageLoader_h_\n- 31#define _SILLYJPGImageLoader_h_\n+ 30#ifndef _SILLYTGAImageLoader_h_\n+ 31#define _SILLYTGAImageLoader_h_\n 32#include \"SILLYBase.h\"\n 33#include \"SILLYImageLoader.h\"\n 34// Start of section namespace SILLY\n 35namespace SILLY\n 36{\n- 37\n-42class JPGImageLoader : public ImageLoader\n- 43{\n- 44public:\n- 45 JPGImageLoader();\n- 46 ~JPGImageLoader();\n- 47 ImageContext* loadHeader(PixelFormat& header, DataSource* data);\n- 48 bool loadImageData(PixelOrigin origin, DataSource* data, ImageContext*\n-context);\n- 49private:\n- 50};\n- 51\n- 52\n- 53} // End of section namespace SILLY\n- 54\n- 55// Inclue inline function when needed\n- 56#ifdef SILLY_OPT_INLINE\n- 57#include \"SILLYJPGImageLoader.icpp\"\n- 58#endif\n- 59\n- 60#endif // end of guard _SILLYJPGImageLoader_h_\n+ 37class TGAImageContext;\n+43class TGAImageLoader : public ImageLoader\n+ 44{\n+ 45public:\n+ 46 TGAImageLoader();\n+ 47 ~TGAImageLoader();\n+ 48 ImageContext* loadHeader(PixelFormat& formatSource, DataSource* data);\n+ 49 bool loadImageData(PixelOrigin origin,\n+ 50 DataSource* data,\n+ 51 ImageContext* context);\n+ 52private:\n+ 53\n+ 54};\n+ 55\n+ 56} // End of section namespace SILLY\n+ 57\n+ 58// Inclue inline function when needed\n+ 59#ifdef SILLY_OPT_INLINE\n+ 60#include \"SILLYTGAImageLoader.icpp\"\n+ 61#endif\n+ 62\n+ 63#endif // end of guard _SILLYTGAImageLoader_h_\n SILLY\n Simple Image Loading LibrarY namespace.\n Definition: SILLYJPGImageContext.cpp:46\n SILLY::PixelFormat\n PixelFormat\n List all pixel format supported.\n Definition: SILLYBase.h:60\n SILLY::PixelOrigin\n PixelOrigin\n List all pixel origin supported.\n Definition: SILLYBase.h:71\n-SILLY::JPGImageLoader\n-Loader class for JPG Image.\n-Definition: SILLYJPGImageLoader.h:43\n-SILLY::JPGImageLoader::loadImageData\n+SILLY::TGAImageLoader\n+Loader for Targa image.\n+Definition: SILLYTGAImageLoader.h:44\n+SILLY::TGAImageLoader::loadHeader\n+ImageContext * loadHeader(PixelFormat &formatSource, DataSource *data)\n+Parse the header of the image and fill the header struct.\n+Definition: SILLYTGAImageLoader.cpp:74\n+SILLY::TGAImageLoader::loadImageData\n bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext *context)\n Parse the pixels data of the image and fill the header struct.\n-Definition: SILLYJPGImageLoader.cpp:90\n-SILLY::JPGImageLoader::loadHeader\n-ImageContext * loadHeader(PixelFormat &header, DataSource *data)\n-Parse the header of the image and fill the header struct.\n-Definition: SILLYJPGImageLoader.cpp:56\n+Definition: SILLYTGAImageLoader.cpp:134\n SILLY::DataSource\n This is an abstract class used to provide data to the loader.\n Definition: SILLYDataSource.h:47\n SILLY::ImageContext\n Store the data needed by an ImageLoader object during the parsing of an image.\n Definition: SILLYImageContext.h:44\n SILLY::ImageLoader\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00089_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00089_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYJPGImageLoader.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYPNGImageContext.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -5,21 +5,21 @@\n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n * loaders\n-SILLYJPGImageLoader.icpp\n+SILLYPNGImageContext.h\n 1/***********************************************************************\n- 2 filename: SILLYJPGImageLoader.icpp\n+ 2 filename: SILLYPNGImageContext.h\n 3 created: 11 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Inline definition of JPGImageLoader class\n+ 6 purpose: Declaration of the PNGImageContext class\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -36,17 +36,72 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30\n- 31// Start of section namespace SILLY\n- 32namespace SILLY\n- 33{\n- 34\n- 35} // End of section namespace SILLY\n- 36\n+ 30#ifndef _SILLYPNGImageContext_h_\n+ 31#define _SILLYPNGImageContext_h_\n+ 32#include \"SILLYBase.h\"\n+ 33#include \"SILLYImageContext.h\"\n+ 34#include \"SILLYDataSource.h\"\n+ 35#include \n+ 36// Start of section namespace SILLY\n+ 37namespace SILLY\n+ 38{\n+ 39\n+45class SILLY_EXPORT PNGImageContext : public ImageContext\n+ 46{\n+ 47public:\n+ 48 PNGImageContext(DataSource* data);\n+ 49 ~PNGImageContext();\n+ 50\n+ 51 int read(png_bytep data, png_size_t length);\n+ 52\n+ 53\n+ 54\n+ 55private:\n+ 56 void setImageSize();\n+ 57\n+ 58 size_t d_offset;\n+ 59\n+ 60 DataSource* d_data;\n+ 61\n+ 62 png_structp d_png_ptr;\n+ 63\n+ 64 png_infop d_info_ptr;\n+ 65\n+ 66 size_t d_bit_depth;\n+ 67 size_t d_num_channels;\n+ 68\n+ 69\n+ 70 friend class PNGImageLoader;\n+ 71};\n+ 72\n+ 73\n+ 74} // End of section namespace SILLY\n+ 75\n+ 76// Inclue inline function when needed\n+ 77#ifdef SILLY_OPT_INLINE\n+ 78#include \"SILLYPNGImageContext.icpp\"\n+ 79#endif\n+ 80\n+ 81#endif // end of guard _SILLYPNGImageContext_h_\n+SILLY\n+Simple Image Loading LibrarY namespace.\n+Definition: SILLYJPGImageContext.cpp:46\n+SILLY::PNGImageContext\n+Image Context for PNG Image Loader.\n+Definition: SILLYPNGImageContext.h:46\n+SILLY::PNGImageLoader\n+Loader for PNG Image.\n+Definition: SILLYPNGImageLoader.h:43\n+SILLY::DataSource\n+This is an abstract class used to provide data to the loader.\n+Definition: SILLYDataSource.h:47\n+SILLY::ImageContext\n+Store the data needed by an ImageLoader object during the parsing of an image.\n+Definition: SILLYImageContext.h:44\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00092_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00092_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYTGAImageContext.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImageLoader.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,22 +4,21 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n- * loaders\n-SILLYTGAImageContext.h\n+SILLYImageLoader.h\n 1/***********************************************************************\n- 2 filename: SILLYTGAImageContext.h\n- 3 created: 11 Jun 2006\n+ 2 filename: SILLYImageLoader.h\n+ 3 created: 10 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Declaration of the TGAImageContext class\n+ 6 purpose: Abstract class for all image loader\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -36,54 +35,87 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30#ifndef _SILLYTGAImageContext_h_\n- 31#define _SILLYTGAImageContext_h_\n+ 30#ifndef _SILLYImageLoader_h_\n+ 31#define _SILLYImageLoader_h_\n 32#include \"SILLYBase.h\"\n- 33#include \"SILLYImageContext.h\"\n- 34// Start of section namespace SILLY\n- 35namespace SILLY\n- 36{\n-42class TGAImageContext : public ImageContext\n- 43{\n- 44public:\n- 45 TGAImageContext(size_t width, size_t height);\n- 46 ~TGAImageContext();\n- 47\n- 48private:\n- 49 byte d_idLength;\n- 50 byte d_imageType;\n- 51 byte d_depth;\n- 52 byte d_description;\n- 53\n- 54 friend class TGAImageLoader;\n- 55\n- 56};\n- 57\n- 58\n- 59} // End of section namespace SILLY\n+ 33// Start of section namespace SILLY\n+ 34namespace SILLY\n+ 35{\n+ 36class DataSource; // Forward declaration\n+ 37class ImageContext; // Forward declaration\n+ 38\n+46class SILLY_EXPORT ImageLoader\n+ 47{\n+ 48protected:\n+52 ImageLoader(const char* name);\n+ 53public:\n+ 54\n+59 virtual ~ImageLoader();\n 60\n- 61// Inclue inline function when needed\n- 62#ifdef SILLY_OPT_INLINE\n- 63#include \"SILLYTGAImageContext.icpp\"\n- 64#endif\n- 65\n- 66#endif // end of guard _SILLYTGAImageContext_h_\n+71 virtual ImageContext* loadHeader(PixelFormat& formatSource, DataSource*\n+data) = 0;\n+ 72\n+ 73\n+86 virtual bool loadImageData(PixelOrigin origin, DataSource* data,\n+ImageContext* context) = 0;\n+ 87\n+ 94 void destroyContext(ImageContext* context);\n+ 95\n+100 const char* getIdentifierString() const;\n+ 101private:\n+ 102 const char* d_name;\n+ 103\n+ 104};\n+ 105\n+ 106} // End of section namespace SILLY\n+ 107\n+ 108// Inclue inline function when needed\n+ 109#ifdef SILLY_OPT_INLINE\n+ 110#include \"SILLYImageLoader.icpp\"\n+ 111#endif\n+ 112\n+ 113#endif // end of guard _SILLYImageLoader_h_\n SILLY\n Simple Image Loading LibrarY namespace.\n Definition: SILLYJPGImageContext.cpp:46\n-SILLY::TGAImageContext\n-Image Context for Targa image.\n-Definition: SILLYTGAImageContext.h:43\n-SILLY::TGAImageLoader\n-Loader for Targa image.\n-Definition: SILLYTGAImageLoader.h:44\n+SILLY::PixelFormat\n+PixelFormat\n+List all pixel format supported.\n+Definition: SILLYBase.h:60\n+SILLY::PixelOrigin\n+PixelOrigin\n+List all pixel origin supported.\n+Definition: SILLYBase.h:71\n+SILLY::DataSource\n+This is an abstract class used to provide data to the loader.\n+Definition: SILLYDataSource.h:47\n SILLY::ImageContext\n Store the data needed by an ImageLoader object during the parsing of an image.\n Definition: SILLYImageContext.h:44\n+SILLY::ImageLoader\n+This is an abstract class that define the interface of all image loader.\n+Definition: SILLYImageLoader.h:47\n+SILLY::ImageLoader::ImageLoader\n+ImageLoader(const char *name)\n+Constructor.\n+SILLY::ImageLoader::loadHeader\n+virtual ImageContext * loadHeader(PixelFormat &formatSource, DataSource\n+*data)=0\n+Parse the header of the image and fill the header struct.\n+SILLY::ImageLoader::loadImageData\n+virtual bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext\n+*context)=0\n+Parse the pixels data of the image and fill the header struct.\n+SILLY::ImageLoader::~ImageLoader\n+virtual ~ImageLoader()\n+Destructor.\n+SILLY::ImageLoader::getIdentifierString\n+const char * getIdentifierString() const\n+Return the name of the loader.\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00095_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00095_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYPNGImageContext.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLY.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,22 +4,21 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n- * loaders\n-SILLYPNGImageLoader.h\n+SILLYMemoryDataSource.h\n 1/***********************************************************************\n- 2 filename: SILLYPNGImageLoader.h\n- 3 created: 11 Jun 2006\n+ 2 filename: SILLYMemoryDataSource.h\n+ 3 created: 10 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Declaration of the PNGImageLoader class\n+ 6 purpose: SILLYMemoryDataSource declaration for the SILLY library\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -36,74 +35,56 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30#ifndef _SILLYPNGImageLoader_h_\n- 31#define _SILLYPNGImageLoader_h_\n+ 30#ifndef _SILLYMemoryDataSource_h_\n+ 31#define _SILLYMemoryDataSource_h_\n 32#include \"SILLYBase.h\"\n- 33#include \"SILLYImageLoader.h\"\n- 34#include \"SILLYDataSource.h\"\n- 35// Start of section namespace SILLY\n- 36namespace SILLY\n- 37{\n-42class PNGImageLoader : public ImageLoader\n- 43{\n- 44public:\n- 45 PNGImageLoader();\n- 46\n- 47 ~PNGImageLoader();\n- 48\n- 49 ImageContext* loadHeader(PixelFormat& formatSource, DataSource* data);\n- 50\n- 51 bool loadImageData(PixelOrigin origin,\n- 52 DataSource* data,\n- 53 ImageContext* context);\n- 54private:\n- 55\n- 56};\n- 57\n- 58\n- 59} // End of section namespace SILLY\n- 60\n- 61// Inclue inline function when needed\n- 62#ifdef SILLY_OPT_INLINE\n- 63#include \"SILLYPNGImageLoader.icpp\"\n- 64#endif\n+ 33#include \"SILLYDataSource.h\"\n+ 34// Start of section namespace SILLY\n+ 35namespace SILLY\n+ 36{\n+ 37\n+48class SILLY_EXPORT MemoryDataSource : public DataSource\n+ 49{\n+ 50public:\n+ 63 MemoryDataSource(const byte* data, size_t size);\n+ 64\n 65\n- 66#endif // end of guard _SILLYPNGImageLoader_h_\n+66 const byte* getDataPtr() const;\n+ 67\n+68 size_t getSize() const;\n+ 69private:\n+ 70 const byte* d_bytes;\n+ 71 size_t d_size;\n+ 72};\n+ 73\n+ 74\n+ 75} // End of section namespace SILLY\n+ 76\n+ 77// Inclue inline function when needed\n+ 78#ifdef SILLY_OPT_INLINE\n+ 79#include \"SILLYMemoryDataSource.icpp\"\n+ 80#endif\n+ 81\n+ 82#endif // end of guard _SILLYMemoryDataSource_h_\n SILLY\n Simple Image Loading LibrarY namespace.\n Definition: SILLYJPGImageContext.cpp:46\n-SILLY::PixelFormat\n-PixelFormat\n-List all pixel format supported.\n-Definition: SILLYBase.h:60\n-SILLY::PixelOrigin\n-PixelOrigin\n-List all pixel origin supported.\n-Definition: SILLYBase.h:71\n-SILLY::PNGImageLoader\n-Loader for PNG Image.\n-Definition: SILLYPNGImageLoader.h:43\n-SILLY::PNGImageLoader::loadHeader\n-ImageContext * loadHeader(PixelFormat &formatSource, DataSource *data)\n-Parse the header of the image and fill the header struct.\n-Definition: SILLYPNGImageLoader.cpp:88\n-SILLY::PNGImageLoader::loadImageData\n-bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext *context)\n-Parse the pixels data of the image and fill the header struct.\n-Definition: SILLYPNGImageLoader.cpp:154\n SILLY::DataSource\n This is an abstract class used to provide data to the loader.\n Definition: SILLYDataSource.h:47\n-SILLY::ImageContext\n-Store the data needed by an ImageLoader object during the parsing of an image.\n-Definition: SILLYImageContext.h:44\n-SILLY::ImageLoader\n-This is an abstract class that define the interface of all image loader.\n-Definition: SILLYImageLoader.h:47\n+SILLY::MemoryDataSource\n+Load an image from a memory area.\n+Definition: SILLYMemoryDataSource.h:49\n+SILLY::MemoryDataSource::getDataPtr\n+const byte * getDataPtr() const\n+Get raw access to the image data.\n+SILLY::MemoryDataSource::getSize\n+size_t getSize() const\n+Return the size of the data.\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00101_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00101_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYTGAImageLoader.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImageContext.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,22 +4,21 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n- * loaders\n-SILLYPNGImageLoader.icpp\n+SILLYFileDataSource.h\n 1/***********************************************************************\n- 2 filename: SILLYPNGImageLoader.icpp\n- 3 created: 11 Jun 2006\n+ 2 filename: SILLYFileDataSource.h\n+ 3 created: 20 Jul 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Inline definition for PNGImageLoader\n+ 6 purpose: Provide file based image loading\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -36,17 +35,60 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30\n- 31// Start of section namespace SILLY\n- 32namespace SILLY\n- 33{\n- 34\n- 35} // End of section namespace SILLY\n- 36\n+ 30#ifndef _SILLYFileDataSource_h_\n+ 31#define _SILLYFileDataSource_h_\n+ 32#include \"SILLYBase.h\"\n+ 33#include \"SILLYDataSource.h\"\n+ 34// Start of section namespace SILLY\n+ 35namespace SILLY\n+ 36{\n+ 37\n+48class SILLY_EXPORT FileDataSource : public DataSource\n+ 49{\n+ 50public:\n+ 60 FileDataSource(const char* filename);\n+ 64 ~FileDataSource();\n+73 bool isValid() const;\n+ 74\n+75 const byte* getDataPtr() const;\n+76 size_t getSize() const;\n+ 77private:\n+ 78 bool d_error;\n+ 79 byte* d_bytes;\n+ 80 size_t d_size;\n+ 81};\n+ 82\n+ 83\n+ 84} // End of section namespace SILLY\n+ 85\n+ 86// Inclue inline function when needed\n+ 87#ifdef SILLY_OPT_INLINE\n+ 88#include \"SILLYFileDataSource.icpp\"\n+ 89#endif\n+ 90\n+ 91#endif // end of guard _SILLYFileDataSource_h_\n+SILLY\n+Simple Image Loading LibrarY namespace.\n+Definition: SILLYJPGImageContext.cpp:46\n+SILLY::DataSource\n+This is an abstract class used to provide data to the loader.\n+Definition: SILLYDataSource.h:47\n+SILLY::FileDataSource\n+This class allow the loading of an image directly from a file.\n+Definition: SILLYFileDataSource.h:49\n+SILLY::FileDataSource::getDataPtr\n+const byte * getDataPtr() const\n+Get raw access to the image data.\n+SILLY::FileDataSource::isValid\n+bool isValid() const\n+Check wether the loading is successfull or not.\n+SILLY::FileDataSource::getSize\n+size_t getSize() const\n+Return the size of the data.\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00107_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00107_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYTGAImageLoader.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImage.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,49 +4,154 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n- * loaders\n-SILLYTGAImageLoader.icpp\n- 1/***********************************************************************\n- 2 filename: SILLYTGAImageLoader.icpp\n- 3 created: 11 Jun 2006\n- 4 author: Olivier Delannoy\n- 5\n- 6 purpose: Inline defintion of TGAImageLoader class\n- 7*************************************************************************/\n- 8/***************************************************************************\n- 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n- 10 *\n- 11 * Permission is hereby granted, free of charge, to any person obtaining\n- 12 * a copy of this software and associated documentation files (the\n- 13 * \"Software\"), to deal in the Software without restriction, including\n- 14 * without limitation the rights to use, copy, modify, merge, publish,\n- 15 * distribute, sublicense, and/or sell copies of the Software, and to\n- 16 * permit persons to whom the Software is furnished to do so, subject to\n- 17 * the following conditions:\n- 18 *\n- 19 * The above copyright notice and this permission notice shall be\n- 20 * included in all copies or substantial portions of the Software.\n- 21 *\n- 22 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n- 23 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n- 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n- 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n- 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n- 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n- 28 * OTHER DEALINGS IN THE SOFTWARE.\n- 29\n-***************************************************************************/\n+SILLYImage.h\n+ 1\n+ 2/***********************************************************************\n+ 3 filename: SILLYImage.h\n+ 4 created: 10 Jun 2006\n+ 5 author: Olivier Delannoy\n+ 6\n+ 7 purpose: Image class definition\n+ 8*************************************************************************/\n+ 9/***************************************************************************\n+ 10 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n+ 11 *\n+ 12 * Permission is hereby granted, free of charge, to any person obtaining\n+ 13 * a copy of this software and associated documentation files (the\n+ 14 * \"Software\"), to deal in the Software without restriction, including\n+ 15 * without limitation the rights to use, copy, modify, merge, publish,\n+ 16 * distribute, sublicense, and/or sell copies of the Software, and to\n+ 17 * permit persons to whom the Software is furnished to do so, subject to\n+ 18 * the following conditions:\n+ 19 *\n+ 20 * The above copyright notice and this permission notice shall be\n+ 21 * included in all copies or substantial portions of the Software.\n+ 22 *\n+ 23 * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n+ 25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n+ 26 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n+ 27 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n+ 28 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n+ 29 * OTHER DEALINGS IN THE SOFTWARE.\n 30\n- 31// Start of section namespace SILLY\n- 32namespace SILLY\n- 33{\n- 34\n- 35} // End of section namespace SILLY\n- 36\n+***************************************************************************/\n+ 31#ifndef _SILLYImage_h_\n+ 32#define _SILLYImage_h_\n+ 33#include \"SILLYBase.h\"\n+ 34#include \"SILLYImageContext.h\"\n+ 35#include \"SILLYDataSource.h\"\n+ 36#include \"SILLYImageLoader.h\"\n+ 37\n+ 38// Start of section namespace SILLY\n+ 39namespace SILLY\n+ 40{\n+ 41\n+46class SILLY_EXPORT Image\n+ 47{\n+ 48public:\n+ 55 Image(DataSource& data);\n+ 56\n+61 ~Image();\n+ 62\n+67 bool isValid() const;\n+ 68\n+ 69\n+ 76 bool loadImageHeader();\n+ 77\n+ 91 bool loadImageData(PixelFormat resultFormat = PF_RGBA, PixelOrigin origin =\n+PO_TOP_LEFT);\n+ 92\n+97 size_t getWidth() const;\n+ 98\n+103 size_t getHeight() const;\n+ 104\n+109 PixelFormat getSourcePixelFormat() const;\n+ 110\n+115 PixelFormat getPixelFormat() const;\n+ 116\n+120 const byte* getPixelsDataPtr() const;\n+125 size_t getPixelsDataSize() const;\n+130 const char* getLoaderIdentifierString() const;\n+ 131private:\n+ 132 bool allocate();\n+ 133\n+ 134private:\n+ 135\n+ 136 size_t d_bpp;\n+ 137 PixelFormat d_pfSource;\n+ 138 byte* d_pixels;\n+ 139 DataSource* d_data;\n+ 140 ImageContext* d_imageContext;\n+ 141 ImageLoader* d_imageLoader;\n+ 142\n+ 143 // Disabled operation\n+ 144 Image(Image&);\n+ 145 Image& operator=(Image&);\n+ 146};\n+ 147\n+ 148} // End of section namespace SILLY\n+ 149\n+ 150// Inclue inline function when needed\n+ 151#ifdef SILLY_OPT_INLINE\n+ 152#include \"SILLYImage.icpp\"\n+ 153#endif\n+ 154\n+ 155#endif // end of guard _SILLYImage_h_\n+SILLY\n+Simple Image Loading LibrarY namespace.\n+Definition: SILLYJPGImageContext.cpp:46\n+SILLY::PixelFormat\n+PixelFormat\n+List all pixel format supported.\n+Definition: SILLYBase.h:60\n+SILLY::PixelOrigin\n+PixelOrigin\n+List all pixel origin supported.\n+Definition: SILLYBase.h:71\n+SILLY::DataSource\n+This is an abstract class used to provide data to the loader.\n+Definition: SILLYDataSource.h:47\n+SILLY::Image\n+Image is the main user class of the library.\n+Definition: SILLYImage.h:47\n+SILLY::Image::getSourcePixelFormat\n+PixelFormat getSourcePixelFormat() const\n+Retrieve the pixel format used for the image storage.\n+SILLY::Image::getLoaderIdentifierString\n+const char * getLoaderIdentifierString() const\n+Get Image loader identifier string.\n+SILLY::Image::getPixelsDataPtr\n+const byte * getPixelsDataPtr() const\n+Get a pointer to the pixels data.\n+SILLY::Image::isValid\n+bool isValid() const\n+Return true if the image is valid after its loading.\n+SILLY::Image::getPixelsDataSize\n+size_t getPixelsDataSize() const\n+Get the size of the pixel buffer.\n+SILLY::Image::~Image\n+~Image()\n+Destructor.\n+SILLY::Image::getWidth\n+size_t getWidth() const\n+Retrieve the width of the image.\n+SILLY::Image::getPixelFormat\n+PixelFormat getPixelFormat() const\n+Retrieve the pixel format of the resulting image.\n+SILLY::Image::getHeight\n+size_t getHeight() const\n+Retrieve the height of the image.\n+SILLY::ImageContext\n+Store the data needed by an ImageLoader object during the parsing of an image.\n+Definition: SILLYImageContext.h:44\n+SILLY::ImageLoader\n+This is an abstract class that define the interface of all image loader.\n+Definition: SILLYImageLoader.h:47\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00110_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00110_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYJPGImageContext.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYImageContext.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,21 +4,21 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n-SILLYImageLoader.h\n+SILLYImageLoaderManager.icpp\n 1/***********************************************************************\n- 2 filename: SILLYImageLoader.h\n+ 2 filename: SILLYImageLoaderManager.icpp\n 3 created: 10 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Abstract class for all image loader\n+ 6 purpose: Inline definition for ImageLoaderManager class\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -35,87 +35,43 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30#ifndef _SILLYImageLoader_h_\n- 31#define _SILLYImageLoader_h_\n- 32#include \"SILLYBase.h\"\n- 33// Start of section namespace SILLY\n- 34namespace SILLY\n+ 30\n+ 31// Start of section namespace SILLY\n+ 32namespace SILLY\n+ 33{\n+ 34inline ImageLoaderList::iterator ImageLoaderManager::begin()\n 35{\n- 36class DataSource; // Forward declaration\n- 37class ImageContext; // Forward declaration\n+ 36 return d_loaders.begin();\n+ 37}\n 38\n-46class SILLY_EXPORT ImageLoader\n- 47{\n- 48protected:\n-52 ImageLoader(const char* name);\n- 53public:\n+ 39inline ImageLoaderList::iterator ImageLoaderManager::end()\n+ 40{\n+ 41 return d_loaders.end();\n+ 42}\n+ 43\n+ 44inline ImageLoaderManager* ImageLoaderManager::getSingletonPtr()\n+ 45{\n+ 46 return d_instance;\n+ 47}\n+ 48\n+ 49inline ImageLoaderManager& ImageLoaderManager::getSingleton()\n+ 50{\n+ 51 assert(d_instance && \"ASSERT: Singleton object not yet created\");\n+ 52 return *d_instance;\n+ 53}\n 54\n-59 virtual ~ImageLoader();\n+ 55inline void ImageLoaderManager::add(ImageLoader* loader)\n+ 56{\n+ 57 assert(loader && \"ASSERT: adding a none existing loader object\");\n+ 58 d_loaders.push_back(loader);\n+ 59}\n 60\n-71 virtual ImageContext* loadHeader(PixelFormat& formatSource, DataSource*\n-data) = 0;\n- 72\n- 73\n-86 virtual bool loadImageData(PixelOrigin origin, DataSource* data,\n-ImageContext* context) = 0;\n- 87\n- 94 void destroyContext(ImageContext* context);\n- 95\n-100 const char* getIdentifierString() const;\n- 101private:\n- 102 const char* d_name;\n- 103\n- 104};\n- 105\n- 106} // End of section namespace SILLY\n- 107\n- 108// Inclue inline function when needed\n- 109#ifdef SILLY_OPT_INLINE\n- 110#include \"SILLYImageLoader.icpp\"\n- 111#endif\n- 112\n- 113#endif // end of guard _SILLYImageLoader_h_\n-SILLY\n-Simple Image Loading LibrarY namespace.\n-Definition: SILLYJPGImageContext.cpp:46\n-SILLY::PixelFormat\n-PixelFormat\n-List all pixel format supported.\n-Definition: SILLYBase.h:60\n-SILLY::PixelOrigin\n-PixelOrigin\n-List all pixel origin supported.\n-Definition: SILLYBase.h:71\n-SILLY::DataSource\n-This is an abstract class used to provide data to the loader.\n-Definition: SILLYDataSource.h:47\n-SILLY::ImageContext\n-Store the data needed by an ImageLoader object during the parsing of an image.\n-Definition: SILLYImageContext.h:44\n-SILLY::ImageLoader\n-This is an abstract class that define the interface of all image loader.\n-Definition: SILLYImageLoader.h:47\n-SILLY::ImageLoader::ImageLoader\n-ImageLoader(const char *name)\n-Constructor.\n-SILLY::ImageLoader::loadHeader\n-virtual ImageContext * loadHeader(PixelFormat &formatSource, DataSource\n-*data)=0\n-Parse the header of the image and fill the header struct.\n-SILLY::ImageLoader::loadImageData\n-virtual bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext\n-*context)=0\n-Parse the pixels data of the image and fill the header struct.\n-SILLY::ImageLoader::~ImageLoader\n-virtual ~ImageLoader()\n-Destructor.\n-SILLY::ImageLoader::getIdentifierString\n-const char * getIdentifierString() const\n-Return the name of the loader.\n+ 61} // End of section namespace SILLY\n+ 62\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00119_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00119_source.html", "unified_diff": "@@ -1,15 +1,15 @@\n \n \n \n \n \n \n \n-Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYFileDataSource.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYDataSource.h Source File\n \n \n \n \n \n \n
40 assert(offset < getSize() && "ASSERT: Trying to access pixel outside of the data");
\n+
41 return getDataPtr()[offset];
\n+
42}
\n+
43
\n+
44} // End of section namespace SILLY
\n+
45
\n
\n \n \n Generated by 1.9.4\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,21 +4,21 @@\n \n Simple Image Loading LibrarY\u00a00.1.0\n \n * build\n * reproducible-path\n * silly-0.1.0\n * include\n-SILLYFileDataSource.h\n+SILLYDataSource.icpp\n 1/***********************************************************************\n- 2 filename: SILLYFileDataSource.h\n- 3 created: 20 Jul 2006\n- 4 author: Olivier Delannoy\n+ 2 filename: SILLYDataSource.icpp\n+ 3 created: 10 Jun 2006\n+ 4 author: ode@dalfy.dalfy.dyndns.org\n 5\n- 6 purpose: Provide file based image loading\n+ 6 purpose: Inline function definition for (F>>>ILE_SANS<<<) class\n 7*************************************************************************/\n 8/***************************************************************************\n 9 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team\n 10 *\n 11 * Permission is hereby granted, free of charge, to any person obtaining\n 12 * a copy of this software and associated documentation files (the\n 13 * \"Software\"), to deal in the Software without restriction, including\n@@ -35,60 +35,27 @@\n 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n 26 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n 27 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n 28 * OTHER DEALINGS IN THE SOFTWARE.\n 29\n ***************************************************************************/\n- 30#ifndef _SILLYFileDataSource_h_\n- 31#define _SILLYFileDataSource_h_\n- 32#include \"SILLYBase.h\"\n- 33#include \"SILLYDataSource.h\"\n- 34// Start of section namespace SILLY\n- 35namespace SILLY\n- 36{\n+ 30\n+ 31// Start of section namespace SILLY\n+ 32namespace SILLY\n+ 33{\n+ 34inline DataSource::~DataSource()\n+ 35{\n+ 36}\n 37\n-48class SILLY_EXPORT FileDataSource : public DataSource\n- 49{\n- 50public:\n- 60 FileDataSource(const char* filename);\n- 64 ~FileDataSource();\n-73 bool isValid() const;\n- 74\n-75 const byte* getDataPtr() const;\n-76 size_t getSize() const;\n- 77private:\n- 78 bool d_error;\n- 79 byte* d_bytes;\n- 80 size_t d_size;\n- 81};\n- 82\n- 83\n- 84} // End of section namespace SILLY\n- 85\n- 86// Inclue inline function when needed\n- 87#ifdef SILLY_OPT_INLINE\n- 88#include \"SILLYFileDataSource.icpp\"\n- 89#endif\n- 90\n- 91#endif // end of guard _SILLYFileDataSource_h_\n-SILLY\n-Simple Image Loading LibrarY namespace.\n-Definition: SILLYJPGImageContext.cpp:46\n-SILLY::DataSource\n-This is an abstract class used to provide data to the loader.\n-Definition: SILLYDataSource.h:47\n-SILLY::FileDataSource\n-This class allow the loading of an image directly from a file.\n-Definition: SILLYFileDataSource.h:49\n-SILLY::FileDataSource::getDataPtr\n-const byte * getDataPtr() const\n-Get raw access to the image data.\n-SILLY::FileDataSource::isValid\n-bool isValid() const\n-Check wether the loading is successfull or not.\n-SILLY::FileDataSource::getSize\n-size_t getSize() const\n-Return the size of the data.\n+ 38inline byte DataSource::operator[](size_t offset) const\n+ 39{\n+ 40 assert(offset < getSize() && \"ASSERT: Trying to access pixel outside of the\n+data\");\n+ 41 return getDataPtr()[offset];\n+ 42}\n+ 43\n+ 44} // End of section namespace SILLY\n+ 45\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.4\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00129.html", "source2": "./usr/share/doc/libsilly-doc/html/a00129.html", "unified_diff": "@@ -164,15 +164,15 @@\n