mark inline functions in bmp.h