GetCelBytesPerRow

Returns a cel's bytes per row value.

Synopsis

int32 GetCelBytesPerRow (CCB *cel)

Description

This function returns the bytes-per-row value for the cel, determined by examining the cel's preamble data. The calculations take into account the cel's bits per pixel and source width values, and padding for the cel engine's alignment, and look ahead requirements.

This function exists primarily to support library internals, but may be useful for applications as well.

Arguments

cel
Pointer to a cel.

Return Value

Bytes per row.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h