\n \n \n Generated by 1.9.8\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-SILLYPNGImageContext.h\n+SILLYImageLoader.h\n 1/***********************************************************************\n- 2 filename: SILLYPNGImageContext.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 PNGImageContext 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,72 +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 _SILLYPNGImageContext_h_\n- 31#define _SILLYPNGImageContext_h_\n+ 30#ifndef _SILLYImageLoader_h_\n+ 31#define _SILLYImageLoader_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+ 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- 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+59 virtual ~ImageLoader();\n+ 60\n+71 virtual ImageContext* loadHeader(PixelFormat& formatSource, DataSource*\n+data) = 0;\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+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::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::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.8\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00050_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00050_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/SILLYImageLoader.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\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-SILLYJPGImageLoader.h\n+SILLYImage.icpp\n 1/***********************************************************************\n- 2 filename: SILLYJPGImageLoader.h\n- 3 created: 11 Jun 2006\n+ 2 filename: SILLYImage.icpp\n+ 3 created: 10 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Declaration of the JPGImageLoader class\n+ 6 purpose: Inline definition of the image 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,69 +35,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- 32#include \"SILLYBase.h\"\n- 33#include \"SILLYImageLoader.h\"\n- 34// Start of section namespace SILLY\n- 35namespace SILLY\n+ 30\n+ 31// Start of section namespace SILLY\n+ 32namespace SILLY\n+ 33{\n+ 34\n+ 35inline bool Image::isValid() const\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+ 37 return d_imageContext && d_pixels;\n+ 38}\n+ 39\n+ 40inline size_t Image::getWidth() const\n+ 41{\n+ 42 return d_imageContext->getWidth();\n+ 43}\n+ 44\n+ 45inline size_t Image::getHeight() const\n+ 46{\n+ 47 return d_imageContext->getHeight();\n+ 48}\n+ 49\n+ 50inline PixelFormat Image::getSourcePixelFormat() const\n+ 51{\n+ 52 return d_pfSource;\n+ 53}\n 54\n- 55// Inclue inline function when needed\n- 56#ifdef SILLY_OPT_INLINE\n- 57#include \"SILLYJPGImageLoader.icpp\"\n- 58#endif\n+ 55inline PixelFormat Image::getPixelFormat() const\n+ 56{\n+ 57 return d_imageContext->getPixelFormat();\n+ 58}\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::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+ 60inline const byte* Image::getPixelsDataPtr() const\n+ 61{\n+ 62 return d_pixels;\n+ 63}\n+ 64\n+ 65inline size_t Image::getPixelsDataSize() const\n+ 66{\n+ 67 return getWidth() * getHeight() * d_bpp;\n+ 68}\n+ 69\n+ 70inline Image::~Image()\n+ 71{\n+ 72 delete [] d_pixels;\n+ 73 if (d_imageLoader)\n+ 74 d_imageLoader->destroyContext(d_imageContext);\n+ 75}\n+ 76inline const char* Image::getLoaderIdentifierString() const\n+ 77{\n+ 78 if (d_imageLoader)\n+ 79 return d_imageLoader->getIdentifierString();\n+ 80 return 0;\n+ 81}\n+ 82\n+ 83} // End of section namespace SILLY\n+ 84\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00056_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00056_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/SILLYMemoryDataSource.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\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-SILLYJPGImageContext.icpp\n+SILLYFileDataSource.h\n 1/***********************************************************************\n- 2 filename: SILLYJPGImageContext.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 JPG context\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.8\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00068_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00068_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/SILLYDataSource.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\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-SILLYTGAImageLoader.h\n+SILLYDataSource.h\n 1/***********************************************************************\n- 2 filename: SILLYTGAImageLoader.h\n- 3 created: 11 Jun 2006\n+ 2 filename: SILLYDataSource.h\n+ 3 created: 10 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Declaration of the TGAImageLoader class\n+ 6 purpose: SILLY::DataSource 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,70 +35,51 @@\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 _SILLYTGAImageLoader_h_\n- 31#define _SILLYTGAImageLoader_h_\n+ 30#ifndef _SILLYDataSource_h_\n+ 31#define _SILLYDataSource_h_\n 32#include \"SILLYBase.h\"\n- 33#include \"SILLYImageLoader.h\"\n+ 33\n 34// Start of section namespace SILLY\n 35namespace SILLY\n 36{\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+ 37\n+46class SILLY_EXPORT DataSource\n+ 47{\n+ 48public:\n+53 virtual ~DataSource();\n+58 virtual const byte * getDataPtr() const = 0;\n+64 byte operator[] (size_t offset) const;\n+69 virtual size_t getSize() const = 0;\n+ 70};\n+ 71\n+ 72\n+ 73} // End of section namespace SILLY\n+ 74\n+ 75// Inclue inline function when needed\n+ 76#ifdef SILLY_OPT_INLINE\n+ 77#include \"SILLYDataSource.icpp\"\n+ 78#endif\n+ 79\n+ 80#endif // end of guard _SILLYDataSource_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::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 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-This is an abstract class that define the interface of all image loader.\n-Definition SILLYImageLoader.h:47\n+SILLY::DataSource::getSize\n+virtual size_t getSize() const =0\n+Return the size of the data.\n+SILLY::DataSource::getDataPtr\n+virtual const byte * getDataPtr() const =0\n+Get raw access to the image data.\n+SILLY::DataSource::~DataSource\n+virtual ~DataSource()\n+Destructor.\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.8\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/loaders/SILLYPNGImageLoader.h 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.8\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,22 +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- * loaders\n-SILLYPNGImageLoader.h\n+SILLYImageContext.h\n 1/***********************************************************************\n- 2 filename: SILLYPNGImageLoader.h\n- 3 created: 11 Jun 2006\n+ 2 filename: SILLYImageContext.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: ImageContext is an abstract class used to hide the loader specific\n+data needed during the parsing of an image\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 +36,83 @@\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 _SILLYImageContext_h_\n+ 31#define _SILLYImageContext_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+ 33\n+ 34// Start of section namespace SILLY\n+ 35namespace SILLY\n+ 36{\n+ 37\n+43class SILLY_EXPORT ImageContext\n+ 44{\n+ 45public:\n+50 virtual ~ImageContext();\n+ 51\n+56 void setDestination(byte* pixels, size_t length, PixelFormat format);\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+62 void setNextPixel(byte red, byte green, byte bleu, byte alpha);\n+ 63\n+ 64 size_t getWidth() const;\n+ 65 size_t getHeight() const;\n+ 66 PixelFormat getPixelFormat() const;\n+ 67\n+ 74 bool flipVertically();\n+ 75 protected:\n+ 76 void setWidth(size_t width);\n+ 77\n+ 78 void setHeight(size_t height);\n+ 79\n+88 ImageContext(size_t width, size_t height);\n+ 89\n+ 90private:\n+ 91 byte* d_pixels;\n+ 92 size_t d_length;\n+ 93 size_t d_width;\n+ 94 size_t d_height;\n+ 95 size_t d_currentOffset;\n+ 96 PixelFormat d_format;\n+ 97\n+ 98 // Disabled operation\n+ 99 ImageContext(ImageContext&);\n+ 100 ImageContext& operator=(ImageContext&);\n+ 101};\n+ 102\n+ 103\n+ 104} // End of section namespace SILLY\n+ 105\n+ 106// Inclue inline function when needed\n+ 107#ifdef SILLY_OPT_INLINE\n+ 108#include \"SILLYImageContext.icpp\"\n+ 109#endif\n+ 110\n+ 111#endif // end of guard _SILLYImageContext_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::ImageContext::setNextPixel\n+void setNextPixel(byte red, byte green, byte bleu, byte alpha)\n+Set the next pixel of the image.\n+SILLY::ImageContext::setDestination\n+void setDestination(byte *pixels, size_t length, PixelFormat format)\n+Set the destination of the loading.\n+SILLY::ImageContext::ImageContext\n+ImageContext(size_t width, size_t height)\n+Constructor.\n+SILLY::ImageContext::~ImageContext\n+virtual ~ImageContext()\n+Destructor.\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.8\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/loaders/SILLYPNGImageLoader.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYBase.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,86 +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-SILLYTGAImageContext.h\n- 1/***********************************************************************\n- 2 filename: SILLYTGAImageContext.h\n- 3 created: 11 Jun 2006\n- 4 author: Olivier Delannoy\n- 5\n- 6 purpose: Declaration of the TGAImageContext 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+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 ***************************************************************************/\n- 30#ifndef _SILLYTGAImageContext_h_\n- 31#define _SILLYTGAImageContext_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- 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+ 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::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::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.8\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00080_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00080_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/SILLYImageLoaderManager.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\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-SILLYFileDataSource.h\n+ * loaders\n+SILLYTGAImageLoader.icpp\n 1/***********************************************************************\n- 2 filename: SILLYFileDataSource.h\n- 3 created: 20 Jul 2006\n+ 2 filename: SILLYTGAImageLoader.icpp\n+ 3 created: 11 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Provide file based image loading\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@@ -35,60 +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 _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+ 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.8\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/SILLYMemoryDataSource.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYJPGImageContext.icpp Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,152 +4,100 @@\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+SILLYTGAImageLoader.h\n+ 1/***********************************************************************\n+ 2 filename: SILLYTGAImageLoader.h\n+ 3 created: 11 Jun 2006\n+ 4 author: Olivier Delannoy\n+ 5\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+ 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+ 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+ 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-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+ 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::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 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::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"}]}, {"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/SILLYBase.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.8\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-SILLYImageLoader.h\n+ * loaders\n+SILLYPNGImageContext.icpp\n 1/***********************************************************************\n- 2 filename: SILLYImageLoader.h\n- 3 created: 10 Jun 2006\n+ 2 filename: SILLYPNGImageContext.icpp\n+ 3 created: 11 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Abstract class for all image loader\n+ 6 purpose: Inline definition for 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@@ -35,87 +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 _SILLYImageLoader_h_\n- 31#define _SILLYImageLoader_h_\n- 32#include \"SILLYBase.h\"\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-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+ 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.8\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/SILLY.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYJPGImageContext.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\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-SILLYImageLoaderManager.h\n+ * loaders\n+SILLYJPGImageLoader.h\n 1/***********************************************************************\n- 2 filename: ImageLoaderManager.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: Manage all available loader\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,89 +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 _SILLYImageLoaderManager_h_\n- 31#define _SILLYImageLoaderManager_h_\n+ 30#ifndef _SILLYJPGImageLoader_h_\n+ 31#define _SILLYJPGImageLoader_h_\n 32#include \"SILLYBase.h\"\n- 33#include \n+ 33#include \"SILLYImageLoader.h\"\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+ 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-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+ 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::ImageLoaderList\n-std::vector< ImageLoader * > ImageLoaderList\n-Typename for a collection of image loader.\n-Definition SILLYImageLoaderManager.h:42\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::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::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 \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00116_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00116_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/SILLYMemoryDataSource.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/loaders/SILLYPNGImageLoader.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\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+SILLYPNGImageLoader.h\n 1/***********************************************************************\n- 2 filename: SILLYMemoryDataSource.h\n- 3 created: 10 Jun 2006\n+ 2 filename: SILLYPNGImageLoader.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 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,56 +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#ifndef _SILLYMemoryDataSource_h_\n- 31#define _SILLYMemoryDataSource_h_\n+ 30#ifndef _SILLYPNGImageLoader_h_\n+ 31#define _SILLYPNGImageLoader_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 MemoryDataSource : public DataSource\n- 49{\n- 50public:\n- 63 MemoryDataSource(const byte* data, size_t size);\n- 64\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 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+ 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::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.8\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/SILLYOptions.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.8\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,51 +4,64 @@\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+SILLY.h\n+ 1/***********************************************************************\n+ 2 filename: SILLY.h\n+ 3 created: 10 Jun 2006\n+ 4 author: Olivier Delannoy\n+ 5\n+ 6 purpose: Master include 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+ 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- 36\n- 37/* Defined to 1 if profile is enabled */\n- 38/* #undef SILLY_OPT_PROFILE */\n- 39\n+ 30#ifndef _SILLY_h_\n+ 31#define _SILLY_h_\n+ 109namespace SILLY\n+ 110{\n+ 111\n+ 112}\n+ 113\n+ 114\n+ 115\n+ 116\n+ 117#include \"SILLYBase.h\"\n+ 118#include \"SILLYDataSource.h\"\n+ 119#include \"SILLYFileDataSource.h\"\n+ 120#include \"SILLYMemoryDataSource.h\"\n+ 121#include \"SILLYImageLoader.h\"\n+ 122#include \"SILLYImageContext.h\"\n+ 123#include \"SILLYImageLoaderManager.h\"\n+ 124#include \"SILLYImage.h\"\n+ 125\n+ 126#endif // end of guard _SILLY_h_\n+SILLY\n+Simple Image Loading LibrarY namespace.\n+Definition SILLYJPGImageContext.cpp:46\n \n ===============================================================================\n Generated by\u00a0[doxygen] 1.9.8\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00122_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00122_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/SILLYImageLoader.icpp Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYMemoryDataSource.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\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.icpp\n+SILLYMemoryDataSource.h\n 1/***********************************************************************\n- 2 filename: ImageLoader.icpp\n+ 2 filename: SILLYMemoryDataSource.h\n 3 created: 10 Jun 2006\n 4 author: Olivier Delannoy\n 5\n- 6 purpose: Inline function definition for ImageLoader 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@@ -35,28 +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\n- 31// Start of section namespace SILLY\n- 32namespace SILLY\n- 33{\n- 34inline ImageLoader::ImageLoader(const char* name)\n- 35 : d_name(name)\n+ 30#ifndef _SILLYMemoryDataSource_h_\n+ 31#define _SILLYMemoryDataSource_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- 38inline ImageLoader::~ImageLoader()\n- 39{\n- 40}\n- 41inline const char* ImageLoader::getIdentifierString() const\n- 42{\n- 43 return d_name;\n- 44}\n- 45\n- 46} // End of section namespace SILLY\n- 47\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+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::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.8\n"}]}, {"source1": "./usr/share/doc/libsilly-doc/html/a00125_source.html", "source2": "./usr/share/doc/libsilly-doc/html/a00125_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/SILLYDataSource.h Source File\n+Simple Image Loading LibrarY: /build/reproducible-path/silly-0.1.0/include/SILLYOptions.h Source File\n \n \n \n \n \n \n
\n \n \n Generated by 1.9.8\n \n \n \n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -4,82 +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-SILLYDataSource.h\n- 1/***********************************************************************\n- 2 filename: SILLYDataSource.h\n- 3 created: 10 Jun 2006\n- 4 author: Olivier Delannoy\n- 5\n- 6 purpose: SILLY::DataSource 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- 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 _SILLYDataSource_h_\n- 31#define _SILLYDataSource_h_\n- 32#include \"SILLYBase.h\"\n+ 31/* Defined to 1 if inline is enabled */\n+ 32#define SILLY_OPT_INLINE 1\n 33\n- 34// Start of section namespace SILLY\n- 35namespace SILLY\n- 36{\n- 37\n-46class SILLY_EXPORT DataSource\n- 47{\n- 48public:\n-53 virtual ~DataSource();\n-58 virtual const byte * getDataPtr() const = 0;\n-64 byte operator[] (size_t offset) const;\n-69 virtual size_t getSize() const = 0;\n- 70};\n- 71\n- 72\n- 73} // End of section namespace SILLY\n- 74\n- 75// Inclue inline function when needed\n- 76#ifdef SILLY_OPT_INLINE\n- 77#include \"SILLYDataSource.icpp\"\n- 78#endif\n- 79\n- 80#endif // end of guard _SILLYDataSource_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::DataSource::getSize\n-virtual size_t getSize() const =0\n-Return the size of the data.\n-SILLY::DataSource::getDataPtr\n-virtual const byte * getDataPtr() const =0\n-Get raw access to the image data.\n-SILLY::DataSource::~DataSource\n-virtual ~DataSource()\n-Destructor.\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.8\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