Lines Matching refs:amask
152 uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask)
157 return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask;
164 uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask)
169 return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask;
401 uint32_t amask = surface->format->Amask; // may be 0x00 for non-alpha format
415 dst[xx] = rgb565_to_rgba32(src[xx], rshift, gshift, bshift, amask);
432 dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask);
450 dst[0] = rgb565_to_rgba32(src[0], rshift, gshift, bshift, amask);
468 dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask);
495 uint32_t amask = surface->format->Amask; // may be 0x00 for non-alpha format
507 dst[0] = xbgr_to_rgba32(src[0], rshift, gshift, bshift, amask);
525 dst[0] = xbgr_to_rgba32(*(uint32_t*)src, rshift, gshift, bshift, amask);
543 dst[0] = xbgr_to_rgba32(src[0], rshift, gshift, bshift, amask);
561 dst[0] = xbgr_to_rgba32(*(uint32_t*)src, rshift, gshift, bshift, amask);