Searched refs:BMP_WIDTHBYTES (Results 1 – 2 of 2) sorted by relevance
14 #define BMP_WIDTHBYTES(width, bitCount) ((width * bitCount) + 31) / 32 * 4 macro
195 bmp_ptr->src_row_bytes = BMP_WIDTHBYTES(bmp_ptr->width, bmp_ptr->bitCounts); in bmp_read_header()200 bmp_ptr->out_row_bytes = BMP_WIDTHBYTES(bmp_ptr->width, 8); in bmp_read_header()205 bmp_ptr->out_row_bytes = BMP_WIDTHBYTES(bmp_ptr->width, 24); in bmp_read_header()