Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

IMG_FMT_BPP()

Determine the number of bits per pixel for the specified format

Synopsis:

#include <img.h>

#define IMG_FMT_BPP(_fmt) ...

Arguments:

_fmt
An img_format_t specifying the data format of the frame.

Library:

img

Description:

This macro determines the number of bits per pixel for the specified data format.

Returns:

The number of bits required to represent a single pixel.

Classification:

Image library

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

IMG_FMT_BPL()