Searched refs:bitshift (Results 1 - 3 of 3) sorted by relevance

/external/tinyalsa/
H A Dpcm.c738 const unsigned int bitshift = 5; /* for 32 bit integer */ local
739 const unsigned int bitmask = (1 << bitshift) - 1;
742 element = index >> bitshift;
/external/libpng/
H A Dpng.c3270 int bitshift = 32;
3273 while (--bitshift >= 0)
3277 if (bitshift > 0)
3278 d32 = D >> (32-bitshift), d00 = D << bitshift;
3286 s32 -= d32, s00 -= d00, result += 1<<bitshift;
3291 s32 = 0, s00 -= d00, result += 1<<bitshift;
/external/pdfium/samples/fx_lpng/lpng_v163/
H A Dfx_png.c3173 int bitshift = 32;
3176 while (--bitshift >= 0)
3180 if (bitshift > 0)
3181 d32 = D >> (32-bitshift), d00 = D << bitshift;
3189 s32 -= d32, s00 -= d00, result += 1<<bitshift;
3194 s32 = 0, s00 -= d00, result += 1<<bitshift;

Completed in 406 milliseconds