Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/img/img_fmt_bpp.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/img/img_fmt_bpp.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/img/img_fmt_bpp.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/img/img_fmt_bpp.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/img/img_fmt_bpp.html on line 104

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/img/img_fmt_bpp.html on line 104