/hardware/qcom/media/mm-video/vidc/vdec/inc/ |
D | Map.h | 48 node* tmp; variable 52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 79 tmp = head; in find() 80 while(tmp) in find() 82 if(tmp->data == d1) in find() 84 return tmp->data2; in find() 86 tmp = tmp->next; in find() 94 tmp = head; in find_ele() 95 while(tmp) in find_ele() 97 if(tmp->data == d1) in find_ele() [all …]
|
/hardware/invensense/mlsdk/mllite/ |
D | ml_stored_data.c | 396 long long tmp; in inv_load_cal_V2() local 426 tmp = 0; in inv_load_cal_V2() 427 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V2() 428 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V2() 429 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V2() 430 tmp += (long long)calData[ptr++]; in inv_load_cal_V2() 431 if (tmp > 2147483648LL) { in inv_load_cal_V2() 432 tmp -= 4294967296LL; in inv_load_cal_V2() 434 inv_obj.temp_data[i][j] = ((float)tmp) / 65536.0f; in inv_load_cal_V2() 442 tmp = 0; in inv_load_cal_V2() [all …]
|
D | accel.c | 135 long tmp[ACCEL_NUM_AXES]; 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 …]
|
D | mlarray.c | 288 float tmp; in inv_get_euler_angles_x() local 297 tmp = rotMatrix[6]; in inv_get_euler_angles_x() 298 if (tmp > 1.0f) { in inv_get_euler_angles_x() 299 tmp = 1.0f; in inv_get_euler_angles_x() 301 if (tmp < -1.0f) { in inv_get_euler_angles_x() 302 tmp = -1.0f; in inv_get_euler_angles_x() 308 data[1] = (long)((float)((double)asin(tmp) * 57.29577951308) * 65536L); in inv_get_euler_angles_x() 346 float tmp; in inv_get_euler_angles_y() local 355 tmp = rotMatrix[7]; in inv_get_euler_angles_y() 356 if (tmp > 1.0f) { in inv_get_euler_angles_y() [all …]
|
D | pressure.c | 134 unsigned char tmp[3]; in inv_get_pressure_data() local 145 inv_get_serial_handle(), tmp); in inv_get_pressure_data() 154 (((long)((signed char)tmp[0])) << 16) + (((long)tmp[1]) << 8) + in inv_get_pressure_data() 155 ((long)tmp[2]); in inv_get_pressure_data() 158 (((long)((signed char)tmp[2])) << 16) + (((long)tmp[1]) << 8) + in inv_get_pressure_data() 159 ((long)tmp[0]); in inv_get_pressure_data()
|
D | ml.c | 304 long tmp[COMPASS_NUM_AXES]; in inv_init_ml() local 341 if (inv_compass_read_scale(tmp) == INV_SUCCESS) { in inv_init_ml() 343 inv_obj.compass_asa[ii] = tmp[ii]; in inv_init_ml() 797 unsigned char tmp[3] = { DINA0C, DINAC9, DINA2C }; in inv_set_accel_calibration() local 799 unsigned char tmp[3] = { DINA4C, DINACD, DINA6C }; in inv_set_accel_calibration() 811 regs[0] = tmp[orient & 3]; in inv_set_accel_calibration() 812 regs[1] = tmp[(orient >> 3) & 3]; in inv_set_accel_calibration() 813 regs[2] = tmp[(orient >> 6) & 3]; in inv_set_accel_calibration() 1169 long tmp[3] = { 0, 0, 0 }; in inv_set_bias_update() local 1256 result = inv_set_gyro_temp_slope(tmp); in inv_set_bias_update() [all …]
|
D | mlsupervisor.c | 164 float tmp = 0; in MLUpdateCompassCalibration3DOF() local 166 tmp += mInv[j][i] / d * xTransY[j]; in MLUpdateCompassCalibration3DOF() 169 -(long)(tmp * inv_obj.compass_sens / 16384.0f); in MLUpdateCompassCalibration3DOF() 378 long long tmp[3] = { 0 }; in inv_accel_compass_supervisor() local 415 tmp[i] = ((long long)inv_obj.compass_sensor_data[i]) in inv_accel_compass_supervisor() 417 tmp[i] -= inv_obj.compass_bias[i]; in inv_accel_compass_supervisor() 418 tmp[i] = (tmp[i] * inv_obj.compass_scale[i]) / 65536L; in inv_accel_compass_supervisor() 423 tmp64 += (long long) tmp[j] * in inv_accel_compass_supervisor()
|
D | compass.c | 270 unsigned char *tmp = inv_obj.compass_raw_data; in inv_get_compass_data() local 288 tmp); in inv_get_compass_data() 298 ((long)((signed char)tmp[2 * ii]) << 8) + tmp[2 * ii + 1]; in inv_get_compass_data() 301 ((long)((signed char)tmp[2 * ii + 1]) << 8) + tmp[2 * ii]; in inv_get_compass_data() 304 inv_obj.compass_overunder = (int)tmp[6]; in inv_get_compass_data()
|
D | mlMathFunc.c | 42 long long tmp; in inv_filter_long() local 46 tmp = (long long)x *(b[0]); in inv_filter_long() 48 tmp += ((long long)state->x[ii] * (long long)(b[ii + 1])); in inv_filter_long() 51 tmp -= ((long long)state->y[ii] * (long long)(a[ii + 1])); in inv_filter_long() 53 tmp /= (long long)a[0]; in inv_filter_long() 61 state->y[0] = (long)tmp; in inv_filter_long()
|
D | mlcontrol.c | 684 long tmp; in inv_update_control() local 701 tmp = 1 + 16777216L / cntrl_params.gridThreshold[i]; in inv_update_control() 703 if (cntrl_obj.gridChange[i] > tmp / 2) { in inv_update_control() 705 gridTmp - tmp - cntrl_obj.lastGridNum[i]; in inv_update_control() 706 } else if (cntrl_obj.gridChange[i] < -tmp / 2) { in inv_update_control() 708 gridTmp + tmp - cntrl_obj.lastGridNum[i]; in inv_update_control()
|
/hardware/qcom/media/libstagefrighthw/ |
D | QComOMXPlugin.cpp | 31 String8 tmp(name, 9); in AddPrefix() local 32 tmp.append(kPrefix); in AddPrefix() 33 tmp.append(&name[9]); in AddPrefix() 34 strcpy(name, tmp.string()); in AddPrefix() 91 String8 tmp; in makeComponentInstance() local 92 RemovePrefix(name, &tmp); in makeComponentInstance() 93 name = tmp.string(); in makeComponentInstance() 136 String8 tmp; in getRolesOfComponent() local 137 RemovePrefix(name, &tmp); in getRolesOfComponent() 138 name = tmp.string(); in getRolesOfComponent()
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXFD.cpp | 301 double tmp; in encodeFaceCoordinates() local 398 tmp = ( double ) nLeft / ( double ) previewWidth; in encodeFaceCoordinates() 399 tmp *= hRange; in encodeFaceCoordinates() 400 tmp -= hRange/2; in encodeFaceCoordinates() 401 faces[i].rect[trans_left] = tmp; in encodeFaceCoordinates() 403 tmp = ( double ) nTop / ( double )previewHeight; in encodeFaceCoordinates() 404 tmp *= vRange; in encodeFaceCoordinates() 405 tmp -= vRange/2; in encodeFaceCoordinates() 406 faces[i].rect[trans_top] = tmp; in encodeFaceCoordinates() 408 tmp = ( double ) faceData->tFacePosition[j].nWidth / ( double ) previewWidth; in encodeFaceCoordinates() [all …]
|
D | OMXCapture.cpp | 323 char *tmp = NULL; in parseExpRange() local 340 tmp = ( char * ) malloc( strlen(rangeStr) + 1 ); in parseExpRange() 342 if ( NULL == tmp ) in parseExpRange() 347 memset(tmp, '\0', strlen(rangeStr) + 1); in parseExpRange() 353 strncpy(tmp, rangeStr, strlen(rangeStr) ); in parseExpRange() 354 expVal = strtok_r( (char *) tmp, CameraHal::PARAMS_DELIMITER, &ctx); in parseExpRange() 366 if ( NULL != tmp ) in parseExpRange() 368 free(tmp); in parseExpRange()
|
D | OMXExif.cpp | 806 double tmp; in convertGPSCoord() local 818 tmp = ( fabs(coord) - floor(fabs(coord)) ) * GPS_MIN_DIV; in convertGPSCoord() 819 min = (int) floor(tmp); in convertGPSCoord() 820 tmp = ( tmp - floor(tmp) ) * ( GPS_SEC_DIV * GPS_SEC_ACCURACY ); in convertGPSCoord() 821 sec = (int) floor(tmp); in convertGPSCoord()
|
/hardware/invensense/mlsdk/platform/include/ |
D | mlos.h | 84 void *tmp = inv_malloc((unsigned int)size); in kzalloc() local 85 if (tmp) in kzalloc() 86 memset(tmp, 0, size); in kzalloc() 87 return tmp; in kzalloc()
|
/hardware/invensense/mlsdk/mlutils/ |
D | mputest.c | 335 int i, j, tmp; in inv_test_gyro_3050() local 397 tmp = (int)(test_setup.test_time_per_axis / 600); in inv_test_gyro_3050() 398 while (tmp-- > 0) { in inv_test_gyro_3050() 469 tmp = total_count != 0 ? total_count : 1; in inv_test_gyro_3050() 473 Avg[X] += 1.f * x[i] / tmp; in inv_test_gyro_3050() 474 Avg[Y] += 1.f * y[i] / tmp; in inv_test_gyro_3050() 475 Avg[Z] += 1.f * z[i] / tmp; in inv_test_gyro_3050() 584 int i, j, tmp; in inv_test_gyro_6050() local 659 tmp = (int)(test_setup.test_time_per_axis / 600); in inv_test_gyro_6050() 660 while (tmp-- > 0) { in inv_test_gyro_6050() [all …]
|
/hardware/ti/wlan/mac80211/ti-utils/ |
D | calibrator.c | 45 struct nl_cache *tmp = genl_ctrl_alloc_cache(h); in __genl_ctrl_alloc_cache() local 46 if (!tmp) { in __genl_ctrl_alloc_cache() 49 *cache = tmp; in __genl_ctrl_alloc_cache() 287 char *tmp, **o_argv; in __handle_cmd() local 307 devidx = strtoul(*argv + 4, &tmp, 0); in __handle_cmd() 308 if (*tmp != '\0') { in __handle_cmd()
|
D | nvs.c | 390 unsigned char tmp = eNVS_VERSION; in nvs_fill_version() local 393 write(fd, &tmp, 1); in nvs_fill_version() 397 tmp = (*pdata >> 16) & 0xff; in nvs_fill_version() 398 write(fd, &tmp, 1); in nvs_fill_version() 400 tmp = (*pdata >> 8) & 0xff; in nvs_fill_version() 401 write(fd, &tmp, 1); in nvs_fill_version() 403 tmp = *pdata & 0xff; in nvs_fill_version() 404 write(fd, &tmp, 1); in nvs_fill_version()
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
D | driver_mac80211.c | 1005 u8 *tmp; in wext_get_scan_iwevgenie() local 1018 tmp = os_realloc(res->ie, res->ie_len + gend - gpos); in wext_get_scan_iwevgenie() 1019 if (tmp == NULL) { in wext_get_scan_iwevgenie() 1022 os_memcpy(tmp + res->ie_len, gpos, gend - gpos); in wext_get_scan_iwevgenie() 1023 res->ie = tmp; in wext_get_scan_iwevgenie() 1033 u8 *tmp; in wext_get_scan_custom() local 1049 tmp = os_realloc(res->ie, res->ie_len + bytes); in wext_get_scan_custom() 1050 if (tmp == NULL) { in wext_get_scan_custom() 1053 hexstr2bin(spos, tmp + res->ie_len, bytes); in wext_get_scan_custom() 1054 res->ie = tmp; in wext_get_scan_custom() [all …]
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
D | armtime | 6 my_awk=/tmp/.uptime.$$.awk 7 my_log=/tmp/.uptime.$$.log
|
D | perf | 4 my_perf=/tmp/.perf.$$ 5 my_perf_pattern=/tmp/.perf.*
|
/hardware/ti/omap4xxx/libI420colorconvert/ |
D | ColorConvert.cpp | 48 size_t tmp = (dstWidth + 1) / 2; in convertDecoderOutputToI420() local 50 for (size_t x = 0; x < tmp; ++x) { in convertDecoderOutputToI420()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 1306 uint8 tmp[4]; in hndcrc32() local 1307 ulong *tptr = (ulong *)tmp; in hndcrc32() 1320 CRC_INNER_LOOP(32, crc, tmp[0]); in hndcrc32() 1321 CRC_INNER_LOOP(32, crc, tmp[1]); in hndcrc32() 1322 CRC_INNER_LOOP(32, crc, tmp[2]); in hndcrc32() 1323 CRC_INNER_LOOP(32, crc, tmp[3]); in hndcrc32() 1787 uint8 tmp; in bcm_bitcount() local 1789 tmp = bitmap[i]; in bcm_bitcount() 1790 while (tmp) { in bcm_bitcount() 1792 tmp &= (tmp - 1); in bcm_bitcount()
|
/hardware/broadcom/wlan/bcm4329/dhdutil/ |
D | bcmutils.c | 1306 uint8 tmp[4]; in hndcrc32() local 1307 ulong *tptr = (ulong *)tmp; in hndcrc32() 1320 CRC_INNER_LOOP(32, crc, tmp[0]); in hndcrc32() 1321 CRC_INNER_LOOP(32, crc, tmp[1]); in hndcrc32() 1322 CRC_INNER_LOOP(32, crc, tmp[2]); in hndcrc32() 1323 CRC_INNER_LOOP(32, crc, tmp[3]); in hndcrc32() 1787 uint8 tmp; in bcm_bitcount() local 1789 tmp = bitmap[i]; in bcm_bitcount() 1790 while (tmp) { in bcm_bitcount() 1792 tmp &= (tmp - 1); in bcm_bitcount()
|
/hardware/invensense/libsensors/ |
D | MPLSensor.cpp | 745 float tmp; in calcOrientationSensor() local 758 tmp = R[7]; in calcOrientationSensor() 759 if (tmp > 1.0f) in calcOrientationSensor() 760 tmp = 1.0f; in calcOrientationSensor() 761 if (tmp < -1.0f) in calcOrientationSensor() 762 tmp = -1.0f; in calcOrientationSensor() 763 values[1] = -asinf(tmp) * 57.295779513082320876798154814105f; in calcOrientationSensor()
|