Searched defs:shift (Results 1 - 16 of 16) sorted by relevance

/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
H A DAKFS_Device.c44 const int16 shift, /*!< shift size */
50 if((shift < 1) || (len < shift)) {
53 for (i = len-1; i >= shift; i--) {
54 v[i] = v[i-shift];
42 AKFS_BufShift( const int16 len, const int16 shift, AKFVEC v[] ) argument
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
H A DHidItem.cpp29 int shift = 0; local
32 *out |= (i << shift);
33 shift += 8;
/hardware/intel/common/libva/va/x11/
H A Dva_dri.c206 int shift = 32; /* var to prevent warning on next line */ local
207 *hSAREA |= ((drm_handle_t) rep.hSAREAHigh) << shift;
497 * backwards compatibility (Because of the >> 2 shift) but the fix
569 int shift = 32; /* var to prevent warning on next line */ local
570 *hFrameBuffer |= ((drm_handle_t) rep.hFrameBufferHigh) << shift;
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/
H A Dextra_data_handler.cpp50 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
55 bins <<= shift; local
56 shift = (8-bit_ptr);
57 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
323 OMX_U32 rem_bits = num_bits, shift; local
328 shift = rem_bits - bit_ptr;
329 rbsp_buf[byte_ptr] |= (symbol >> shift);
330 symbol = (symbol << (32 - shift)) >> (32 - shift);
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
H A Dextra_data_handler.cpp52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
57 bins <<= shift; local
58 shift = (8-bit_ptr);
59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
387 OMX_U32 rem_bits = num_bits, shift; local
392 shift = rem_bits - bit_ptr;
393 rbsp_buf[byte_ptr] |= (symbol >> shift);
394 symbol = (symbol << (32 - shift)) >> (32 - shift);
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
H A Dextra_data_handler.cpp52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
57 bins <<= shift; local
58 shift = (8-bit_ptr);
59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
387 OMX_U32 rem_bits = num_bits, shift; local
392 shift = rem_bits - bit_ptr;
393 rbsp_buf[byte_ptr] |= (symbol >> shift);
394 symbol = (symbol << (32 - shift)) >> (32 - shift);
[all...]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/
H A Dextra_data_handler.cpp56 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
61 bins <<= shift; local
62 shift = (8-bit_ptr);
63 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
391 OMX_U32 rem_bits = num_bits, shift; local
396 shift = rem_bits - bit_ptr;
397 rbsp_buf[byte_ptr] |= (symbol >> shift);
398 symbol = (symbol << (32 - shift)) >> (32 - shift);
[all...]
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_x11.c96 uint32_t shift = 0; local
99 shift++;
101 return shift;
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
H A Diio_utils.h77 unsigned shift; member in struct:iio_channel_info
98 unsigned *shift,
159 &padint, shift);
408 &current->shift,
95 iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used, unsigned *shift, uint64_t *mask, unsigned *be, const char *device_dir, const char *name, const char *generic_name) argument
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
H A Diio_utils.h77 unsigned shift; member in struct:iio_channel_info
98 unsigned *shift,
159 &padint, shift);
408 &current->shift,
95 iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used, unsigned *shift, uint64_t *mask, unsigned *be, const char *device_dir, const char *name, const char *generic_name) argument
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
H A Diio_utils.h75 unsigned shift; member in struct:iio_channel_info
96 unsigned *shift,
157 &padint, shift);
407 &current->shift,
93 iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used, unsigned *shift, uint64_t *mask, unsigned *be, const char *device_dir, const char *name, const char *generic_name) argument
/hardware/intel/common/libwsbm/src/
H A Dwsbm_manager.c258 unsigned int shift = 0; local
259 while(val > (unsigned int)(1 << shift))
260 shift++;
262 return shift;
271 unsigned int shift = wsbmPot(numTarget); local
274 list->hashSize = (1 << shift);
/hardware/intel/img/psb_video/src/
H A Dpsb_overlay.c278 i830_swidth(unsigned int offset, unsigned int width, unsigned int mask, int shift) argument
280 int swidth = ((offset + width + mask) >> shift) - (offset >> shift);
421 unsigned int mask, shift, offsety, offsetu; local
528 shift = 6;
542 swidthy = i830_swidth(offsety, width, mask, shift);
543 swidthuv = i830_swidth(offsetu, width / 2, mask, shift);
550 swidthy = i830_swidth(offsety, width, mask, shift);
551 swidthuv = i830_swidth(offsetu, width / 2, mask, shift);
559 swidth = ((offsety + (width << 1) + mask) >> shift)
[all...]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Dml_math_func.c84 /** Performs a multiply and shift by 29. These are good functions to write in assembly on
106 /** Performs a multiply and shift by 30. These are good functions to write in assembly on
139 /** Performs a multiply and shift by shift. These are good functions to write
144 * @param[in] shift Shift amount after multiplying
145 * @return ((long long)a*b)<<shift
148 long inv_q_shift_mult(long a, long b, int shift) argument
151 result = (long)(((long long)a * b) >> shift);
1049 // If we got too far into sign bit, shift back. Note we are using an
1050 // unsigned long here, so right shift i
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dml_math_func.c84 /** Performs a multiply and shift by 29. These are good functions to write in assembly on
106 /** Performs a multiply and shift by 30. These are good functions to write in assembly on
139 /** Performs a multiply and shift by shift. These are good functions to write
144 * @param[in] shift Shift amount after multiplying
145 * @return ((long long)a*b)<<shift
148 long inv_q_shift_mult(long a, long b, int shift) argument
151 result = (long)(((long long)a * b) >> shift);
1049 // If we got too far into sign bit, shift back. Note we are using an
1050 // unsigned long here, so right shift i
[all...]
/hardware/qcom/audio/visualizer/
H A Doffload_visualizer.c749 int32_t shift; local
754 shift = 32;
761 if (shift > clz) shift = clz;
764 * translate to a shift of 8 (for converting 16 bit to 8 bit) */
765 shift = 25 - shift;
767 if (shift < 3) {
768 shift = 3;
772 shift
[all...]

Completed in 1619 milliseconds