Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 25 of 60) sorted by relevance

123

/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local
57 bins <<= shift; in d_u()
58 shift = (8-bit_ptr); in d_u()
59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u()
387 OMX_U32 rem_bits = num_bits, shift; in e_u() local
392 shift = rem_bits - bit_ptr; in e_u()
393 rbsp_buf[byte_ptr] |= (symbol >> shift); in e_u()
394 symbol = (symbol << (32 - shift)) >> (32 - shift); in e_u()
403 shift = bit_ptr - rem_bits; in e_u()
404 rbsp_buf[byte_ptr] |= (symbol << shift); in e_u()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local
57 bins <<= shift; in d_u()
58 shift = (8-bit_ptr); in d_u()
59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u()
387 OMX_U32 rem_bits = num_bits, shift; in e_u() local
392 shift = rem_bits - bit_ptr; in e_u()
393 rbsp_buf[byte_ptr] |= (symbol >> shift); in e_u()
394 symbol = (symbol << (32 - shift)) >> (32 - shift); in e_u()
403 shift = bit_ptr - rem_bits; in e_u()
404 rbsp_buf[byte_ptr] |= (symbol << shift); in e_u()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp56 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local
61 bins <<= shift; in d_u()
62 shift = (8-bit_ptr); in d_u()
63 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u()
391 OMX_U32 rem_bits = num_bits, shift; in e_u() local
396 shift = rem_bits - bit_ptr; in e_u()
397 rbsp_buf[byte_ptr] |= (symbol >> shift); in e_u()
398 symbol = (symbol << (32 - shift)) >> (32 - shift); in e_u()
407 shift = bit_ptr - rem_bits; in e_u()
408 rbsp_buf[byte_ptr] |= (symbol << shift); in e_u()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/
Dextra_data_handler.cpp50 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u() local
55 bins <<= shift; in d_u()
56 shift = (8-bit_ptr); in d_u()
57 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift; in d_u()
323 OMX_U32 rem_bits = num_bits, shift; in e_u() local
328 shift = rem_bits - bit_ptr; in e_u()
329 rbsp_buf[byte_ptr] |= (symbol >> shift); in e_u()
330 symbol = (symbol << (32 - shift)) >> (32 - shift); in e_u()
339 shift = bit_ptr - rem_bits; in e_u()
340 rbsp_buf[byte_ptr] |= (symbol << shift); in e_u()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_pack.py58 [c.shift for c in format.le_channels] ==
59 [c.shift for c in format.be_channels] and
225 shift = 0
226 while (x >> shift) & ~mask:
227 shift += 1
229 x &= mask << shift
451 shift = src_channel.shift
453 if shift:
454 value = '%s >> %u' % (value, shift)
455 if shift + src_channel.size < depth:
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Dring_buffer.c194 uint32_t shift = 0; in ring_buffer_calc_shift() local
195 while ((1 << shift) < size) { in ring_buffer_calc_shift()
196 ++shift; in ring_buffer_calc_shift()
200 if ((1 << shift) > size) { in ring_buffer_calc_shift()
201 --shift; in ring_buffer_calc_shift()
203 return shift; in ring_buffer_calc_shift()
212 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_view_init() local
217 v->size = (1 << shift); in ring_buffer_view_init()
218 v->mask = (1 << shift) - 1; in ring_buffer_view_init()
226 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_init_view_only() local
[all …]
/hardware/google/aemu/base/
Dring_buffer.cpp180 uint32_t shift = 0; in ring_buffer_calc_shift() local
181 while ((1 << shift) < size) { in ring_buffer_calc_shift()
182 ++shift; in ring_buffer_calc_shift()
186 if ((1 << shift) > size) { in ring_buffer_calc_shift()
187 --shift; in ring_buffer_calc_shift()
189 return shift; in ring_buffer_calc_shift()
198 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_view_init() local
203 v->size = (1 << shift); in ring_buffer_view_init()
204 v->mask = (1 << shift) - 1; in ring_buffer_view_init()
212 uint32_t shift = ring_buffer_calc_shift(size); in ring_buffer_init_view_only() local
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidItem.cpp29 int shift = 0; in dataAsUnsigned() local
32 *out |= (i << shift); in dataAsUnsigned()
33 shift += 8; in dataAsUnsigned()
/hardware/libhardware/include/hardware/
Dsensors.h106 #define SENSOR_FLAG_MASK(nbit, shift) (((1<<(nbit))-1)<<(shift)) argument
107 #define SENSOR_FLAG_MASK_1(shift) SENSOR_FLAG_MASK(1, shift) argument
/hardware/libhardware/include_all/hardware/
Dsensors.h106 #define SENSOR_FLAG_MASK(nbit, shift) (((1<<(nbit))-1)<<(shift)) argument
107 #define SENSOR_FLAG_MASK_1(shift) SENSOR_FLAG_MASK(1, shift) argument
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dinteger.inl158 x = x >> m; // shift x right 16.
161 m = (y >> 16) & 8; // add 8 to n and shift x left 8.
166 m = (y >> 16) & 4; // add 4 to n and shift x left 4.
171 m = (y >> 16) & 2; // add 2 to n and shift x left 2.
/hardware/google/gfxstream/host/testlibs/
DEvent.h33 bool shift; member
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c759 int32_t shift; in visualizer_process() local
764 shift = 32; in visualizer_process()
771 if (shift > clz) shift = clz; in visualizer_process()
775 shift = 25 - shift; in visualizer_process()
777 if (shift < 3) { in visualizer_process()
778 shift = 3; in visualizer_process()
782 shift++; in visualizer_process()
785 shift = 9; in visualizer_process()
799 smp = smp >> shift; in visualizer_process()
/hardware/interfaces/automotive/audiocontrol/1.0/
DIAudioControl.hal45 * This is intended to shift the speaker volume toward the right (+) or left (-) side of
57 * This is intended to shift the speaker volume toward the front (+) or back (-) of the car.
/hardware/google/gfxstream/guest/mesa/src/util/
Dfast_idiv_by_const.h68 unsigned shift; /* shift for the dividend after multiplying */ member
Du_math.h586 unsigned shift = 64 - width; in util_mask_sign_extend() local
587 return (int64_t)(val << shift) >> shift; in util_mask_sign_extend()
Dfast_idiv_by_const.c235 result.shift = exponent - SINT_BITS; in util_compute_fast_sdiv_info()
Dfossilize_db.c73 unsigned shift = 7; in truncate_hash_to_64bits() local
75 hash |= ((uint64_t)cache_key[i]) << shift * 8; in truncate_hash_to_64bits()
76 shift--; in truncate_hash_to_64bits()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h77 unsigned shift; member
98 unsigned *shift, in iioutils_get_type() argument
159 &padint, shift); in iioutils_get_type()
408 &current->shift, in build_channel_array()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h77 unsigned shift; member
98 unsigned *shift, in iioutils_get_type() argument
159 &padint, shift); in iioutils_get_type()
408 &current->shift, in build_channel_array()
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Dtegra_drm.h346 __u32 shift; member
828 __u32 shift; member
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h75 unsigned shift; member
96 unsigned *shift, in iioutils_get_type() argument
157 &padint, shift); in iioutils_get_type()
407 &current->shift, in build_channel_array()
/hardware/interfaces/automotive/audiocontrol/2.0/
DIAudioControl.hal60 * This is intended to shift the speaker volume toward the right (+) or left (-) side of
71 * This is intended to shift the speaker volume toward the front (+) or back (-) of the car.
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.h68 long inv_q_shift_mult(long a, long b, int shift);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.h68 long inv_q_shift_mult(long a, long b, int shift);

123