void _draw_image(int x, int y, int width, int height, unsigned short *palette, unsigned short *bitmap,
unsigned int *num_bitmap, unsigned int num_elem, int clear) {
unsigned long i, j, k, num_pre_pixels, num_post_pixels;
void _draw_image(int x, int y, int width, int height, unsigned short *palette, unsigned short *bitmap,
unsigned int *num_bitmap, unsigned int num_elem, int clear) {
unsigned long i, j, k, num_pre_pixels, num_post_pixels;