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

mem.cpp File Reference

#include "image/codecs/indeo/mem.h"
Include dependency graph for mem.cpp:

Go to the source code of this file.


namespace  Image

Based on the PCX specs: and the PCX decoder of FFmpeg (libavcodec/pcx.c):;a=blob;f=libavcodec/pcx.c.

namespace  Image::Indeo


static int Image::Indeo::avSizeMult (size_t a, size_t b, size_t *r)
 Multiply two `size_t` values checking for overflow.
void Image::Indeo::avFreeP (void *arg)
 Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family, and set the pointer pointing to it to `NULL`.
void * Image::Indeo::avReallocF (void *ptr, size_t nelem, size_t elsize)
 Allocate, reallocate, or free a block of memory.
uint32 Image::Indeo::bitswap32 (uint32 x)
 Swap the order of the bytes in the passed value.
uint16 Image::Indeo::invertBits (uint16 val, int nbits)
 Reverse "nbits" bits of the value "val" and return the result in the least significant bits.


const uint8 Image::Indeo::ffReverse [256]
const uint8 Image::Indeo::ffZigZagDirect [64]

Generated on Sat Mar 16 2019 05:03:22 for ResidualVM by doxygen 1.7.1
curved edge   curved edge