Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/hardware/google/gfxstream/guest/mesa/src/util/
Dbitscan.c37 int bit = 0; in ffs() local
39 return bit; in ffs()
41 bit += 16; in ffs()
45 bit += 8; in ffs()
49 bit += 4; in ffs()
53 bit += 2; in ffs()
57 bit += 1; in ffs()
58 return bit + 1; in ffs()
68 int bit; in ffsll() local
70 bit = ffs((unsigned) (val & 0xffffffff)); in ffsll()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dformats.adoc32 * ename:VK_FORMAT_R4G4_UNORM_PACK8 specifies a two-component, 8-bit packed
33 unsigned normalized format that has a 4-bit R component in bits 4..7,
34 and a 4-bit G component in bits 0..3.
35 * ename:VK_FORMAT_R4G4B4A4_UNORM_PACK16 specifies a four-component, 16-bit
36 packed unsigned normalized format that has a 4-bit R component in bits
37 12..15, a 4-bit G component in bits 8..11, a 4-bit B component in bits
38 4..7, and a 4-bit A component in bits 0..3.
39 * ename:VK_FORMAT_B4G4R4A4_UNORM_PACK16 specifies a four-component, 16-bit
40 packed unsigned normalized format that has a 4-bit B component in bits
41 12..15, a 4-bit G component in bits 8..11, a 4-bit R component in bits
[all …]
/hardware/interfaces/bluetooth/audio/aidl/default/
DA2dpBits.h39 constexpr bool get(int bit) const { in get() argument
40 return (cdata_[bit >> 3] >> (7 - (bit & 7))) & 1; in get()
50 constexpr void set(int bit, int value = 1) {
51 uint8_t m = 1 << (7 - (bit & 7));
53 data_[bit >> 3] |= m;
55 data_[bit >> 3] &= ~m;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_shader_atomic_float2.adoc26 This extension allows a shader to perform 16-bit floating-point atomic
30 atomic add operations on 16-bit floating-point numbers and the SPIR-V
41 1) Should this extension add support for 16-bit image atomics?
46 shader has a 32-bit representation.
48 images using 16-bit float values in the shader.
49 Adding such functionality would be required before 16-bit image atomics
DVK_KHR_shader_subgroup_extended_types.adoc30 8-bit integer, 16-bit integer, 64-bit integer, 16-bit floating-point, and
DVK_KHR_shader_float16_int8.adoc29 The `VK_KHR_shader_float16_int8` extension allows use of 16-bit
30 floating-point types and 8-bit integer types in shaders for arithmetic
38 This extension does not enable use of 8-bit integer types or 16-bit
DVK_EXT_shader_image_atomic_int64.adoc27 This extension extends existing 64-bit integer atomic support to enable
33 This extension allows applications relying on 64-bit integer atomics in this
37 64-bit integer atomic support is guaranteed for optimally tiled images with
DVK_QCOM_ycbcr_degamma.adoc22 also known as "`sRGB degamma`", used in combination with images using 8-bit
41 contains 8-bit R, G, and B components and supports either
45 Since non-compressed Vulkan sRGB formats are already limited to 8-bit
46 components, and since Adreno supports degamma for all 8bit {YCbCr} formats,
47 this extension does not introduce a new VK_FORMAT_FEATURE* bit for the
DVK_KHR_16bit_storage.adoc31 The `VK_KHR_16bit_storage` extension allows use of 16-bit types in shader
34 capabilities and allow access to 16-bit data in code:Block-decorated objects
37 This extension allows 16-bit variables to be declared and used as
/hardware/interfaces/graphics/common/1.1/
Dtypes.hal31 * 16-bit format that has a single 16-bit depth component.
39 * 32-bit format that has a single 24-bit depth component and, optionally,
48 * 32-bit format that has a 24-bit depth component and an 8-bit stencil
58 * 32-bit format that has a single 32-bit depth component.
66 * Two-component format that has a 32-bit depth component, an 8-bit stencil
76 * 8-bit format that has a single 8-bit stencil component.
86 * represented by a 16-bit little-endian value, with the lower 6 bits set
109 * This format is appropriate for 10bit video content.
214 * a = 1.099, b = 0.018 for 10-bit display systems
215 * a = 1.0993, b = 0.0181 for 12-bit display systems
/hardware/libhardware/modules/input/evdev/
DSwitchInputMapper.cpp138 auto bit = mUpdatedSwitchMask.firstMarkedBit(); in sync() local
139 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_SWITCH, codeMap[bit].usage, in sync()
140 mSwitchValues.hasBit(bit), 0); in sync()
141 mUpdatedSwitchMask.clearBit(bit); in sync()
DMouseInputMapper.cpp153 auto bit = mUpdatedButtonMask.clearFirstMarkedBit(); in sync() local
154 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_MOUSE, codeMap[bit].usage, in sync()
155 mButtonValues.hasBit(bit), 0); in sync()
/hardware/google/graphics/common/libhwc2.1/libvrr/
DUtils.h24 inline void clearBit(uint32_t& data, uint32_t bit) { in clearBit() argument
25 data &= ~(1L << (bit)); in clearBit()
28 inline void setBit(uint32_t& data, uint32_t bit) { in setBit() argument
29 data |= (1L << (bit)); in setBit()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Dbind_buffer_common.adoc47 ename:VK_BUFFER_CREATE_PROTECTED_BIT bit set, the buffer must: be bound
52 ename:VK_BUFFER_CREATE_PROTECTED_BIT bit not set, the buffer must: not
113 ename:VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT bit set, pname:memory
115 ename:VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT bit set
120 ename:VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT bit set,
122 ename:VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT bit set
135 ename:VK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT bit set,
137 ename:VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT bit set
140 ename:VK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT bit set,
142 ename:VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT bit set
/hardware/google/interfaces/bluetooth/bt_channel_avoidance/1.0/
DIBTChannelAvoidance.hal29 * @param channelMap The lower 79 bits of the 80-bit parameterrepresents
31 * unknown. The most significant bit (bit 79) is reserved for future
/hardware/interfaces/broadcastradio/1.1/
Dtypes.hal171 RDS_PI, // 16bit
174 * 64bit compound primary identifier for HD Radio.
177 * - 32bit: Station ID number;
178 * - 4bit: HD_SUBCHANNEL;
179 * - 18bit: AMFM_FREQUENCY.
194 * 24bit compound primary identifier for DAB.
197 * - 16bit: SId;
198 * - 8bit: ECC code.
204 DAB_ENSEMBLE, // 16bit
205 DAB_SCID, // 12bit
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_etc_tmp.h120 int modifier, bit, idx, blk; in TAG() local
123 bit = y + x * 4; in TAG()
124 idx = ((block->pixel_indices >> (15 + bit)) & 0x2) | in TAG()
125 ((block->pixel_indices >> (bit)) & 0x1); in TAG()
/hardware/interfaces/graphics/common/1.0/
Dtypes.hal29 * 32-bit format that has 8-bit R, G, B, and A components, in that order,
38 * 32-bit format that has 8-bit R, G, B, and unused components, in that
47 * 24-bit format that has 8-bit R, G, and B components, in that order,
56 * 16-bit packed format that has 5-bit R, 6-bit G, and 5-bit B components,
66 * 32-bit format that has 8-bit B, G, R, and A components, in that order,
82 * 64-bit format that has 16-bit R, G, B, and A components, in that order,
91 * RAW16 is a single-channel, 16-bit, little endian format, typically
127 * | depth measurements, opaque with 16 bit
212 * RAW10 is a single-channel, 10-bit per pixel, densely packed in each row,
221 * bit of the ith pixel):
[all …]
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_pipeline_creation_feedback/
Dpipelines.adoc121 ename:VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT bit
128 When an implementation sets this bit for the entire pipeline, it may: leave
135 applications using this bit.
140 this bit as the feedback would be unactionable.
150 ename:VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT bit if it
157 encouraged to provide a meaningful signal to applications using this bit.
158 For example, a 1% reduction in duration may not warrant setting this bit,
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/display/msm8998/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/display/msm8909/sdm/include/utils/
Dconstants.h45 #define BITMAP(bit) (1 << (bit)) argument
/hardware/qcom/sm8150/display/sdm/include/utils/
Dconstants.h49 #define BITMAP(bit) (1 << (bit)) argument
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dbit.inl2 /// @file glm/gtx/bit.inl
16 result = (tmp & (~tmp + 1)); // grab lowest bit
17 tmp &= ~result; // clear lowest bit

12345678910>>...14