Home
last modified time | relevance | path

Searched refs:bitmask (Results 1 – 2 of 2) sorted by relevance

/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp700 caps->v1.sampler.bitmask[0] = (1 << (VIRGL_FORMAT_B8G8R8A8_UNORM - (0 * 32))) | in virgl_renderer_fill_caps()
702 caps->v1.sampler.bitmask[2] = (1 << (VIRGL_FORMAT_R8G8B8A8_UNORM - (2 * 32))); in virgl_renderer_fill_caps()
703 caps->v1.sampler.bitmask[4] = (1 << (VIRGL_FORMAT_R8G8B8X8_UNORM - (4 * 32))); in virgl_renderer_fill_caps()
707 caps->v1.render.bitmask[0] = (1 << (VIRGL_FORMAT_B8G8R8A8_UNORM - (0 * 32))) | in virgl_renderer_fill_caps()
709 caps->v1.render.bitmask[2] = (1 << (VIRGL_FORMAT_R8G8B8A8_UNORM - (2 * 32))); in virgl_renderer_fill_caps()
710 caps->v1.render.bitmask[4] = (1 << (VIRGL_FORMAT_R8G8B8X8_UNORM - (4 * 32))); in virgl_renderer_fill_caps()
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c738 const unsigned int bitmask = (1 << bitshift) - 1; in pcm_mask_test() local
744 return (m->bits[element] >> (index & bitmask)) & 1; in pcm_mask_test()