al_get_pixel_block_width(3) al_get_pixel_block_width(3)

al_get_pixel_block_width - Allegro 5 API

#include <allegro5/allegro.h>
int al_get_pixel_block_width(int format)

Return the width of the the pixel block for this format.

5.1.9.

ALLEGRO_PIXEL_FORMAT(3), al_get_pixel_block_size(3), al_get_pixel_block_height(3)

Allegro reference manual