Searched defs:shift (Results 1 - 7 of 7) 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/qcom/media/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/mm-video-v4l2/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;
386 OMX_U32 rem_bits = num_bits, shift; local
391 shift = rem_bits - bit_ptr;
392 rbsp_buf[byte_ptr] |= (symbol >> shift);
393 symbol = (symbol << (32 - shift)) >> (32 - shift);
[all...]
/hardware/ti/wlan/mac80211/ti-utils/
H A Dnvs.c336 unsigned char shift; local
354 shift = 8 * (NVS_VERSION_PARAMETER_LENGTH -
357 nvs_ver_oct_idx]) << shift);
/hardware/invensense/60xx/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);
/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);
1048 // If we got too far into sign bit, shift back. Note we are using an
1049 // unsigned long here, so right shift i
[all...]
/hardware/qcom/audio/visualizer/
H A Doffload_visualizer.c706 int32_t shift; local
711 shift = 32;
718 if (shift > clz) shift = clz;
721 * translate to a shift of 8 (for converting 16 bit to 8 bit) */
722 shift = 25 - shift;
724 if (shift < 3) {
725 shift = 3;
729 shift
[all...]

Completed in 369 milliseconds