Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 102) sorted by relevance

12345

/hardware/libhardware/modules/input/evdev/
DBitUtils.cpp53 uint8_t bits = arr[i]; in testBitInRange() local
56 ALOGD("block %04d: %s%s", i, bitstrings[bits >> 4], bitstrings[bits & 0x0f]); in testBitInRange()
58 if (bits) { in testBitInRange()
71 if (bits & mask) return true; in testBitInRange()
/hardware/interfaces/bluetooth/a2dp/1.0/
Dtypes.hal66 * The encoded audio bitrate in bits / second.
68 * 0x00000001 - 0x00FFFFFF - Encoded audio bitrate in bits/second
81 /** Block length: 4 bits | Subbands: 2 bits | Allocation Method: 2 bits */
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp52 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local
54 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp52 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local
54 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp52 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local
54 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dmp4_utils.cpp58 uint8 *bits = &posPtr->bytePtr[0]; in read_bit_field() local
60 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; in read_bit_field()
/hardware/interfaces/bluetooth/audio/2.0/
Dtypes.hal23 * bit may be enabled. If used for Capabilities, enable all bits corresponding to
88 /** Channel Mode: 4 bits */
132 /** Channel Mode: 3 bits */
228 * The encoded audio bitrate in bits / second.
230 * 0x00000001 - 0x00FFFFFF - Encoded audio bitrate in bits/second
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.cpp213 ogg_buffer *buf, ogg_reference *ref, oggpack_buffer *bits) { in makeBitReader() argument
224 oggpack_readinit(bits, ref); in makeBitReader()
283 oggpack_buffer bits; in process() local
286 makeBitReader((const uint8_t *)data + 7, inSize - 7, &buf, &ref, &bits); in process()
289 if (0 != _vorbis_unpack_info(mVi, &bits)) { in process()
326 if (0 != _vorbis_unpack_books(mVi, &bits)) { in process()
/hardware/interfaces/graphics/common/1.0/
Dtypes.hal57 * in that order, from the most-sigfinicant bits to the least-significant
58 * bits.
98 * Generally, not all 16 bits are used; more common values are 10 or 12
99 * bits. If not all bits are used, the lower-order bits are filled first.
160 * The allocator should examine the usage bits passed in when allocating a
217 * row, each 4 consecutive pixels are packed into 5 bytes (40 bits). Each one
218 * of the first 4 bytes contains the top 8 bits of each pixel, The fifth byte
219 * contains the 2 least significant bits of the 4 pixels, the exact layout data
272 * row, each two consecutive pixels are packed into 3 bytes (24 bits). The first
273 * and second byte contains the top 8 bits of first and second pixel. The third
[all …]
/hardware/interfaces/gnss/1.0/
DIGnssConfiguration.hal47 * configuration parameter). If none of the bits in the enum are set, the default setting is
98 * with bits 0:7 representing a service indicator field, bits 8:15
99 * representing the minor version and bits 16:23 representing the
DIGnssNavigationMessageCallback.hal132 * words. Each word (30 bits) must fit into the last 30 bits in a
137 * - For Glonass L1 C/A, each string contains 85 data bits, including the
138 * checksum. These bits must fit into 11 bytes, with MSB first (skip
149 * a total of 2x114 = 228 bits, (sync & tail excluded) that must fit
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmdefs.h250 #define SFIELD(val, field, bits) \ argument
252 ((unsigned)(bits) << field ## _S))
/hardware/interfaces/graphics/common/1.1/
Dtypes.hal40 * 8 bits that are unused.
49 * component packed into 32-bits.
67 * component, and optionally 24-bits unused.
70 * defined by the dataspace. The stencil bits are unsigned integers, whose
86 * represented by a 16-bit little-endian value, with the lower 6 bits set
127 /* bits 27 and 32-47 must be zero and are reserved for future versions */
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c211 m->bits[0] = 0; in param_set_mask()
212 m->bits[1] = 0; in param_set_mask()
213 m->bits[bit >> 5] |= (1 << (bit & 31)); in param_set_mask()
250 m->bits[0] = ~0; in param_init()
251 m->bits[1] = ~0; in param_init()
291 m->bits[1], m->bits[0]); in param_dump()
/hardware/interfaces/tests/memory/2.0/
DIMemoryInterface.hal4 // Flips all the bits in the given memory buffer.
/hardware/qcom/msm8998/json-c/
DAndroid.mk11 LOCAL_COPY_HEADERS := bits.h \
DMakefile.am14 bits.h \
/hardware/interfaces/audio/common/2.0/
Dtypes.hal186 * main format field (upper 8 bits)
187 * sub format field (lower 24 bits).
239 PCM_SUB_16_BIT = 0x1, // PCM signed 16 bits
240 PCM_SUB_8_BIT = 0x2, // PCM unsigned 8 bits
319 * OUT_* or IN_* apply to the bits portion. It is not permitted for no bits
325 * interpretation of the various bits. There is no concept of output or
326 * input. It is not permitted for no bits to be set.
348 * These can be the bits portion of an AudioChannelMask
411 /** These are bits only, not complete values */
466 * significant channel mask bit, with unused bits skipped. Any exceptions
[all …]
/hardware/interfaces/audio/common/4.0/
Dtypes.hal172 * main format field (upper 8 bits)
173 * sub format field (lower 24 bits).
230 PCM_SUB_16_BIT = 0x1, // PCM signed 16 bits
231 PCM_SUB_8_BIT = 0x2, // PCM unsigned 8 bits
323 * OUT_* or IN_* apply to the bits portion. It is not permitted for no bits
329 * interpretation of the various bits. There is no concept of output or
330 * input. It is not permitted for no bits to be set.
353 * These can be the bits portion of an AudioChannelMask
428 /* These are bits only, not complete values */
502 /** reserved bits */
/hardware/interfaces/camera/provider/2.5/
DICameraProvider.hal40 * could plausibly correspond to multiple different combinations of state bits.
41 * The HAL must ignore any state bits it is not actively using to determine
/hardware/interfaces/audio/common/6.0/
Dtypes.hal192 * main format field (upper 8 bits)
193 * sub format field (lower 24 bits).
257 PCM_SUB_16_BIT = 0x1, // PCM signed 16 bits
258 PCM_SUB_8_BIT = 0x2, // PCM unsigned 8 bits
344 * with unused bits skipped. For example for stereo, LEFT would be first,
359 * OUT_* or IN_* apply to the bits portion. It is not permitted for no bits
365 * interpretation of the various bits. There is no concept of output or
366 * input. It is not permitted for no bits to be set.
389 * These can be the bits portion of an AudioChannelMask
480 /* These are bits only, not complete values */
[all …]
/hardware/interfaces/audio/common/5.0/
Dtypes.hal186 * main format field (upper 8 bits)
187 * sub format field (lower 24 bits).
251 PCM_SUB_16_BIT = 0x1, // PCM signed 16 bits
252 PCM_SUB_8_BIT = 0x2, // PCM unsigned 8 bits
338 * with unused bits skipped. For example for stereo, LEFT would be first,
353 * OUT_* or IN_* apply to the bits portion. It is not permitted for no bits
359 * interpretation of the various bits. There is no concept of output or
360 * input. It is not permitted for no bits to be set.
383 * These can be the bits portion of an AudioChannelMask
474 /* These are bits only, not complete values */
[all …]
/hardware/interfaces/usb/1.1/
Dtypes.hal53 * Refer to PortMode_1_1 for the significance of the individual bits.
/hardware/interfaces/graphics/allocator/3.0/
DIAllocator.hal33 * Allocations should be optimized for usage bits provided in the
/hardware/interfaces/input/classifier/1.0/vts/functional/
DVtsHalInputClassifierV1_0TargetTest.cpp63 coords.bits = Axis::X | Axis::Y; in getSimpleMotionEvent()

12345