ScummVM API documentation
Image::Indeo::IVIPlaneDesc Struct Reference

#include <indeo.h>

Static Public Member Functions

static int initPlanes (IVIPlaneDesc *planes, const IVIPicConfig *cfg, bool isIndeo4)
 
static int initTiles (IVIPlaneDesc *planes, int tileWidth, int tileHeight)
 
static void freeBuffers (IVIPlaneDesc *planes)
 
static int checkImageSize (unsigned int w, unsigned int h, int logOffset)
 

Public Attributes

uint16 _width
 
uint16 _height
 
uint8 _numBands
 number of bands this plane subdivided into
 
IVIBandDesc_bands
 array of band descriptors
 

Detailed Description

color plane (luma or chroma) information

Member Function Documentation

◆ freeBuffers()

static void Image::Indeo::IVIPlaneDesc::freeBuffers ( IVIPlaneDesc planes)
static

Free planes, bands and macroblocks buffers.

Parameters
[in]planespointer to the array of the plane descriptors

◆ checkImageSize()

static int Image::Indeo::IVIPlaneDesc::checkImageSize ( unsigned int  w,
unsigned int  h,
int  logOffset 
)
static

Check if the given dimension of an image is valid, meaning that all bytes of the image can be addressed with a signed int.

Parameters
wthe width of the picture
hthe height of the picture
log_offsetthe offset to sum to the log level for logging with log_ctx
Returns
>= 0 if valid, a negative error code otherwise

The documentation for this struct was generated from the following file: