Calculate the minimum number of bytes required to represent a pixel run
#include <img.h> #define IMG_FMT_BPL(_fmt, _w) ...
img
This macro calculates the minimum number of bytes required to represent a run of pixels.
The minimum number of bytes required per scanline of the frame.
Image library
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
img_convert_data(), img_decode_callouts_t