IMG_FMT_BPP()
Determine the number of bits per pixel for the specified format
Synopsis:
#include <img/img.h> #define IMG_FMT_BPP(_fmt) ...
Arguments:
- _fmt
- An img_format_t specifying the data format of the frame.
Library:
libimg
Use the -l img option to qcc to link against this library.
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 |
Page updated:
