Home | History | Annotate | Download | only in libpixelflinger

Lines Matching refs:shift

322 // and shift / construct the pixel
338 const int shift = (GGL_DITHER_BITS - (sbits-dbits));
339 if (shift >= 0) v += (dither >> shift) << sl;
340 else v += (dither << (-shift)) << sl;
368 // so we just have to shift the component to the right location
369 int shift = dh-sh;
370 in |= v<<shift;
375 int shift = sh-dh;
376 if (shift > 0) in |= v>>shift;
377 else if (shift < 0) in |= v<<shift;