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

indeo3.cpp File Reference

#include "common/scummsys.h"
#include "common/system.h"
#include "common/endian.h"
#include "common/stream.h"
#include "common/textconsole.h"
#include "common/util.h"
#include "graphics/yuv_to_rgb.h"
#include "image/codecs/indeo3.h"
Include dependency graph for indeo3.cpp:

Go to the source code of this file.

Classes

struct  Image::ustr_t

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 LV1_CHECK(buf1, rle_v3, lv1, lp2)
#define RLE_V3_CHECK(buf1, rle_v1, rle_v2, rle_v3)
#define LP2_CHECK(buf1, rle_v3, lp2)
#define RLE_V2_CHECK(buf1, rle_v2, rle_v3, lp2)

Define Documentation

#define LP2_CHECK (   buf1,
  rle_v3,
  lp2 
)
Value:
if (lp2 == 0 && rle_v3 != 0)     \
        rle_v3 = 0;           \
    else {                  \
        buf1--;               \
        rle_v3 = 1;           \
    }

Definition at line 379 of file indeo3.cpp.

#define LV1_CHECK (   buf1,
  rle_v3,
  lv1,
  lp2 
)
Value:
if ((lv1 & 0x80) != 0) {   \
        if (rle_v3 != 0)         \
            rle_v3 = 0;           \
        else {                  \
            rle_v3 = 1;           \
            buf1 -= 2;            \
        }                       \
    }                         \
    lp2 = 4;

Definition at line 354 of file indeo3.cpp.

#define RLE_V2_CHECK (   buf1,
  rle_v2,
  rle_v3,
  lp2 
)
Value:
rle_v2--;             \
    if (rle_v2 == 0) {     \
        rle_v3 = 0;         \
        buf1 += 2;          \
    }                     \
    lp2 = 4;

Definition at line 388 of file indeo3.cpp.

#define RLE_V3_CHECK (   buf1,
  rle_v1,
  rle_v2,
  rle_v3 
)
Value:
if (rle_v3 == 0) {         \
        rle_v2 = *buf1;         \
        rle_v1 = 1;             \
        if (rle_v2 > 32) {       \
            rle_v2 -= 32;         \
            rle_v1 = 0;           \
        }                       \
        rle_v3 = 1;             \
    }                         \
    buf1--;

Definition at line 366 of file indeo3.cpp.



Generated on Sat Nov 9 2019 05:01:27 for ResidualVM by doxygen 1.7.1
curved edge   curved edge