Home
last modified time | relevance | path

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

/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-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-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/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/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/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/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()
Dmpu_iio.c116 input = input >> info->shift; in print2byte()
/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/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);
Dml_math_func.c148 long inv_q_shift_mult(long a, long b, int shift) in inv_q_shift_mult() argument
151 result = (long)(((long long)a * b) >> shift); in inv_q_shift_mult()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.h68 long inv_q_shift_mult(long a, long b, int shift);
Dml_math_func.c148 long inv_q_shift_mult(long a, long b, int shift) in inv_q_shift_mult() argument
151 result = (long)(((long long)a * b) >> shift); in inv_q_shift_mult()
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_crtc.cpp734 uint32_t shift; in SetSolidfillStages() local
750 shift = kSolidFillHwBitDepth - sf.color_bit_depth; in SetSolidfillStages()
751 drm_dim_layer_v1_.layer_cfg[i].color_fill.color_0 = (sf.green & 0x3FF) << shift; in SetSolidfillStages()
752 drm_dim_layer_v1_.layer_cfg[i].color_fill.color_1 = (sf.blue & 0x3FF) << shift; in SetSolidfillStages()
753 drm_dim_layer_v1_.layer_cfg[i].color_fill.color_2 = (sf.red & 0x3FF) << shift; in SetSolidfillStages()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Api.cpp1292 short int count = 0, shift = 3; in phNxpEse_GgetTimerTlvBuffer() local
1297 *timer_buffer = (value >> (shift * 8) & mask); in phNxpEse_GgetTimerTlvBuffer()
1299 *timer_buffer, shift); in phNxpEse_GgetTimerTlvBuffer()
1301 shift--; in phNxpEse_GgetTimerTlvBuffer()
/hardware/google/graphics/common/libgscaler/
Dlibgscaler_obj.cpp564 unsigned int minWidth, minHeight, shift = 0; in m_gsc_check_src_size() local
566 shift = 1; in m_gsc_check_src_size()
568 minWidth = GSC_MIN_SRC_H_SIZE >> shift; in m_gsc_check_src_size()
569 minHeight = GSC_MIN_SRC_W_SIZE >> shift; in m_gsc_check_src_size()
571 minWidth = GSC_MIN_SRC_W_SIZE >> shift; in m_gsc_check_src_size()
572 minHeight = GSC_MIN_SRC_H_SIZE >> shift; in m_gsc_check_src_size()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp1902 short int count = 0, shift = 3; in phNxpEse_GgetTimerTlvBuffer() local
1910 *timer_buffer = (value >> (shift * 8) & mask); in phNxpEse_GgetTimerTlvBuffer()
1912 *timer_buffer, shift); in phNxpEse_GgetTimerTlvBuffer()
1914 shift--; in phNxpEse_GgetTimerTlvBuffer()
/hardware/interfaces/graphics/common/1.0/
Dtypes.hal656 * to minimize the color shift into RGB space that uses BT.709
682 * to minimize the color shift into RGB space that uses BT.709
779 * components independently. This may result in color shift that can be
1250 * to minimize the color shift into RGB space that uses BT.709
1292 * to minimize the color shift into RGB space that uses BT.709
/hardware/interfaces/gnss/1.0/
DIGnssMeasurementCallback.hal517 * sign of 'doppler shift' is given by the equation:
518 * pseudorange rate = -k * doppler shift (where k is a constant)
/hardware/interfaces/camera/metadata/3.2/
Dtypes.hal1304 * <p>A mapping containing a hue shift, saturation scale, and value scale