LCOV - code coverage report
Current view: top level - lunchbox/compressor - compressorRLE565.h (source / functions) Hit Total Coverage
Test: lcov2.info Lines: 0 4 0.0 %
Date: 2014-08-05 Functions: 0 4 0.0 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2009-2010, Sarah Amsellem <sarah.amsellem@gmail.com>
       3             :  *               2009-2013, Stefan Eilemann <eile@equalizergraphics.com>
       4             :  *
       5             :  * This library is free software; you can redistribute it and/or modify it under
       6             :  * the terms of the GNU Lesser General Public License version 2.1 as published
       7             :  * by the Free Software Foundation.
       8             :  *
       9             :  * This library is distributed in the hope that it will be useful, but WITHOUT
      10             :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
      11             :  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
      12             :  * details.
      13             :  *
      14             :  * You should have received a copy of the GNU Lesser General Public License
      15             :  * along with this library; if not, write to the Free Software Foundation, Inc.,
      16             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      17             :  */
      18             : 
      19             : #ifndef LUNCHBOX_PLUGIN_COMPRESSOR_DIFF_RLE_565
      20             : #define LUNCHBOX_PLUGIN_COMPRESSOR_DIFF_RLE_565
      21             : 
      22             : #include "compressor.h"
      23             : 
      24             : namespace lunchbox
      25             : {
      26             : namespace plugin
      27             : {
      28             : 
      29             : class CompressorRLE565 : public Compressor
      30             : {
      31             : public:
      32           0 :     CompressorRLE565(): Compressor() {}
      33           0 :     virtual ~CompressorRLE565() {}
      34             : 
      35             :     /** Get a new instance of this compressor */
      36           0 :     static Compressor* getNewCompressor( const unsigned /*name*/ )
      37           0 :         { return new CompressorRLE565; }
      38             : 
      39             :     void compress( const void* const inData, const eq_uint64_t nPixels,
      40             :                    const bool useAlpha ) override;
      41             : 
      42             :     static void decompress( const void* const* inData,
      43             :                             const eq_uint64_t* const inSizes,
      44             :                             const unsigned nInputs, void* const outData,
      45             :                             eq_uint64_t* const outDims, const eq_uint64_t flags,
      46             :                             void* const );
      47             : };
      48             : 
      49             : }
      50             : }
      51             : #endif // LUNCHBOX_PLUGIN_COMPRESSOR_DIFF_RLE_565

Generated by: LCOV version 1.10