ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

rpza.cpp File Reference

#include "image/codecs/rpza.h"
#include "common/debug.h"
#include "common/system.h"
#include "common/stream.h"
#include "common/textconsole.h"
Include dependency graph for rpza.cpp:

Go to the source code of this file.

Classes

struct  Image::BlockDecoderRaw
struct  Image::BlockDecoderDither

Namespaces

namespace  Image
 

Based on the PCX specs: http://www.fileformat.info/format/pcx/spec/a10e75307b3a4cc49c3bbe6db4c41fa2/view.htm and the PCX decoder of FFmpeg (libavcodec/pcx.c): http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/pcx.c.


Defines

#define ADVANCE_BLOCK()

Functions

template<typename PixelInt , typename BlockDecoder >
static void Image::decodeFrameTmpl (Common::SeekableReadStream &stream, PixelInt *ptr, uint16 pitch, uint16 blockWidth, uint16 blockHeight, const byte *colorMap)

Define Documentation

#define ADVANCE_BLOCK (  ) 
Value:
blockPtr += 4; \
    if (blockPtr >= endPtr) { \
        blockPtr += pitch * 3; \
        endPtr = blockPtr + pitch; \
    } \
    totalBlocks--; \
    if (totalBlocks < 0) \
        error("rpza block counter just went negative (this should not happen)") \

Definition at line 56 of file rpza.cpp.



Generated on Sat Feb 16 2019 05:02:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge