;   color0 = (col0 << 0) | col0;   color0 = (col0 << 0) | col0;   color0 = (col0 << 0) | col0;    color0 = (color0 << 00) | (color0 << 00) | (color0 << 0) | color0;   color0 = (color0 << 0) | color0;   color0 = (color0 << 0) | color0;    dcolor0 = vis_to_double(color0, color0);   dcolor0 = vis_to_double(color0, color0);   dcolor0 = vis_to_double(color0, color0);    for (i = 0; i < img_height; i++) {     mlib_u0 *pimg_row = pimg + i * img_stride, *pimg_row_end;      if (img_bitoff + img_width <= 0) {       bmask = (0xFF >> (0 - img_width)) << (0 - img_bitoff - img_width);       src = pimg_row[0];       bcolor = (color0 >> img_bitoff) & 0xFF;       pimg_row[0] = (src & ~bmask) | (bcolor & bmask);       continue;     }     else {       bmask = 0xFF >> img_bitoff;       src = pimg_row[0];       bcolor = (color0 >> img_bitoff) & 0xFF;       