Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 25 of 47) sorted by relevance

12

/hardware/invensense/60xx/mlsdk/mllite/
Daccel.c136 int ii; in inv_get_accel_data() local
158 for (ii = 0; ii < ARRAY_SIZE(tmp); ii++) { in inv_get_accel_data()
160 tmp[ii] = (long)((signed char)raw_data[2 * ii + 1]) * 256; in inv_get_accel_data()
161 tmp[ii] += (long)((unsigned char)raw_data[2 * ii]); in inv_get_accel_data()
164 tmp[ii] = (long)((signed char)raw_data[2 * ii]) * 256; in inv_get_accel_data()
165 tmp[ii] += (long)((unsigned char)raw_data[2 * ii + 1]); in inv_get_accel_data()
167 tmp[ii] = (long)((short)(((unsigned short)tmp[ii]) in inv_get_accel_data()
171 tmp[ii] = (long)((signed char)raw_data[ii]) * 256; in inv_get_accel_data()
177 for (ii = 0; ii < ARRAY_SIZE(tmp); ii++) { in inv_get_accel_data()
178 data[ii] = ((long)tmp[0] * mtx[3 * ii] + in inv_get_accel_data()
[all …]
DmlMathFunc.c43 int ii; in inv_filter_long() local
47 for (ii = 0; ii < length - 1; ii++) { in inv_filter_long()
48 tmp += ((long long)state->x[ii] * (long long)(b[ii + 1])); in inv_filter_long()
50 for (ii = 0; ii < length - 1; ii++) { in inv_filter_long()
51 tmp -= ((long long)state->y[ii] * (long long)(a[ii + 1])); in inv_filter_long()
56 for (ii = length - 2; ii > 0; ii--) { in inv_filter_long()
57 state->y[ii] = state->y[ii - 1]; in inv_filter_long()
58 state->x[ii] = state->x[ii - 1]; in inv_filter_long()
Dmldl.c612 int ii; in inv_set_offsetTC() local
615 for (ii = 0; ii < ARRAY_SIZE(mldlCfg.offset_tc); ii++) { in inv_set_offsetTC()
616 mldlCfg.offset_tc[ii] = tc[ii]; in inv_set_offsetTC()
686 int ii; in inv_set_offset() local
690 for (ii = 0; ii < ARRAY_SIZE(mldlCfg.offset); ii++) { in inv_set_offset()
692 mldlCfg.offset[ii] = offset[ii]; in inv_set_offset()
694 inv_obj.gyro_bias[ii] = -offset[ii] * sf; in inv_set_offset()
695 regs[1 + ii * 2] = (unsigned char)(offset[ii] >> 8) & 0xff; in inv_set_offset()
696 regs[1 + ii * 2 + 1] = (unsigned char)(offset[ii] & 0xff); in inv_set_offset()
DmlFIFO.c841 int ii, kk; in inv_get_unquantized_accel() local
848 for (ii = 0; ii < INV_MAX_NUM_ACCEL_SAMPLES; ii++) { in inv_get_unquantized_accel()
850 data[ii * ACCEL_NUM_AXES + kk] = fifo_obj.decoded_accel[ii][kk]; in inv_get_unquantized_accel()
865 int ii; in inv_get_quantized_accel() local
872 for (ii = 0; ii < INV_MAX_NUM_ACCEL_SAMPLES; ii++) { in inv_get_quantized_accel()
873 data[ii] = fifo_obj.decoded[REF_QUANT_ACCEL + ii]; in inv_get_quantized_accel()
939 int ii; in inv_get_gyro_and_accel_sensor() local
946 for (ii = 0; ii < (GYRO_NUM_AXES + ACCEL_NUM_AXES); ii++) { in inv_get_gyro_and_accel_sensor()
947 data[ii] = fifo_obj.decoded[REF_RAW + 1 + ii]; in inv_get_gyro_and_accel_sensor()
962 int ii; in inv_get_external_sensor_data() local
[all …]
Dcompass.c267 int ii; in inv_get_compass_data() local
295 for (ii = 0; ii < 3; ii++) { in inv_get_compass_data()
297 data[ii] = in inv_get_compass_data()
298 ((long)((signed char)tmp[2 * ii]) << 8) + tmp[2 * ii + 1]; in inv_get_compass_data()
300 data[ii] = in inv_get_compass_data()
301 ((long)((signed char)tmp[2 * ii + 1]) << 8) + tmp[2 * ii]; in inv_get_compass_data()
Dml.c199 int ii; in inv_apply_calibration() local
202 for (ii = 0; ii < 9; ii++) { in inv_apply_calibration()
203 gyroCal[ii] = mldl_cfg->pdata->orientation[ii]; in inv_apply_calibration()
205 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; in inv_apply_calibration()
208 magCal[ii] = mldl_cfg->pdata->compass.orientation[ii]; in inv_apply_calibration()
314 int ii; in inv_init_ml() local
345 for (ii = 0; ii < COMPASS_NUM_AXES; ii++) { in inv_init_ml()
346 inv_obj.compass_scale[ii] = 65536L; in inv_init_ml()
347 inv_obj.compass_test_scale[ii] = 65536L; in inv_init_ml()
348 inv_obj.compass_bias_error[ii] = P_INIT; in inv_init_ml()
[all …]
/hardware/invensense/60xx/mlsdk/platform/linux/
Dmlsl_linux_mpu.c301 int ii; in inv_serial_write() local
302 for (ii = 0; ii < length; ii++) { in inv_serial_write()
340 int ii; in inv_serial_read() local
341 for (ii = 0; ii < length; ii++) { in inv_serial_read()
373 int ii; in inv_serial_write_mem() local
374 for (ii = 0; ii < length; ii++) { in inv_serial_write_mem()
410 int ii; in inv_serial_read_mem() local
411 for (ii = 0; ii < length; ii++) { in inv_serial_read_mem()
446 int ii; in inv_serial_write_fifo() local
447 for (ii = 0; ii < length; ii++) { in inv_serial_write_fifo()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_cost.c44 const vp9_tree_index ii = tree[i + b]; in cost() local
46 if (ii <= 0) in cost()
47 costs[-ii] = cc; in cost()
49 cost(costs, tree, probs, ii, cc); in cost()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dml_math_func.c201 int ii; in inv_vector_normalize() local
202 for (ii = 0; ii < length; ii++) { in inv_vector_normalize()
204 inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]); in inv_vector_normalize()
208 for (ii = 0; ii < length; ii++) { in inv_vector_normalize()
209 vec[ii] = (int)((double)vec[ii] * normSF); in inv_vector_normalize()
213 for (ii = 1; ii < length; ii++) { in inv_vector_normalize()
214 vec[ii] = 0; in inv_vector_normalize()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dand_constructor.c104 int ii; in int32_to_long() local
105 for (ii = 0; ii < length; ii++) in int32_to_long()
106 out[ii] = (long)in[ii]; in int32_to_long()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.c201 int ii; in inv_vector_normalize() local
202 for (ii = 0; ii < length; ii++) { in inv_vector_normalize()
204 inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]); in inv_vector_normalize()
208 for (ii = 0; ii < length; ii++) { in inv_vector_normalize()
209 vec[ii] = (int)((double)vec[ii] * normSF); in inv_vector_normalize()
213 for (ii = 1; ii < length; ii++) { in inv_vector_normalize()
214 vec[ii] = 0; in inv_vector_normalize()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.c201 int ii; in inv_vector_normalize() local
202 for (ii = 0; ii < length; ii++) { in inv_vector_normalize()
204 inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]); in inv_vector_normalize()
208 for (ii = 0; ii < length; ii++) { in inv_vector_normalize()
209 vec[ii] = (int)((double)vec[ii] * normSF); in inv_vector_normalize()
213 for (ii = 1; ii < length; ii++) { in inv_vector_normalize()
214 vec[ii] = 0; in inv_vector_normalize()
/hardware/intel/common/omx-components/videocodec/
DOMXVideoEncoderAVC.cpp52 for(int ii = 0; ; ii++) { \
53 if (table[ii].key == x || table[ii].key == 0) { \
54 y = ii; \
61 for(int ii = 0; ; ii++) { \
62 if (table[ii].value == x || table[ii].value == 0) { \
63 y = ii; \
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderBase.cpp706 uint32_t ii; in prepareForOutput() local
708 for(ii = 0; ii < 16;){ in prepareForOutput()
709 if (*(pTemp + ii) == 0xFF) in prepareForOutput()
710 ii++; in prepareForOutput()
714 if (ii > 0) { in prepareForOutput()
715 mOffsetInSeg = ii; in prepareForOutput()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/
Dmkvparser.cpp2540 CuePoint** const ii = m_cue_points; in Find()
2541 CuePoint** i = ii; in Find()
2543 CuePoint** const jj = ii + m_count + m_preload_count; in Find()
2584 assert(i > ii); in Find()
2596 CuePoint** const ii = m_cue_points; in Find() local
2597 CuePoint** i = ii; in Find()
2599 CuePoint** const jj = ii + m_count; in Find()
2636 assert(i > ii); in Find()
2674 const CuePoint* const* const ii = m_cue_points;
2675 const CuePoint* const* i = ii;
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
Dmkvparser.cpp2572 CuePoint** const ii = m_cue_points; in Find()
2573 CuePoint** i = ii; in Find()
2575 CuePoint** const jj = ii + m_count + m_preload_count; in Find()
2616 assert(i > ii); in Find()
2628 CuePoint** const ii = m_cue_points; in Find() local
2629 CuePoint** i = ii; in Find()
2631 CuePoint** const jj = ii + m_count; in Find()
2668 assert(i > ii); in Find()
2703 const CuePoint* const* const ii = m_cue_points;
2704 const CuePoint* const* i = ii;
[all …]
/hardware/invensense/60xx/libsensors_iio/
DLicense.txt29 with any other software; and (ii) to reproduce and distribute the Software
69 Software except as provided in this Agreement, (ii) attempt to reverse
138 has entered the public domain through no fault of Licensee; (ii) was known to
/hardware/invensense/6515/libsensors_iio/
DLicense.txt29 with any other software; and (ii) to reproduce and distribute the Software
69 Software except as provided in this Agreement, (ii) attempt to reverse
138 has entered the public domain through no fault of Licensee; (ii) was known to
/hardware/broadcom/wlan/bcmdhd/firmware/
DLICENSE.TXT29 with any other software; and (ii) to reproduce and distribute the Software
69 Software except as provided in this Agreement, (ii) attempt to reverse
138 has entered the public domain through no fault of Licensee; (ii) was known to
/hardware/qcom/display/msm8974/libcopybit/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/hardware/qcom/audio/legacy/alsa_sound/
DNOTICE34 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/hardware/ril/rild/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/hardware/qcom/display/msm8226/libcopybit/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/hardware/libhardware_legacy/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/hardware/qcom/bt/libbt-vendor/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the

12