blackfin: use bitmap library functions