Home
last modified time | relevance | path

Searched refs:fabs (Results 1 – 17 of 17) sorted by relevance

/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
DAKFS_AOC.c86 if(fabs(OD) < AKFS_EPSILON){ in From4Points2Sphere()
95 if(fabs(OD) < AKFS_EPSILON){ in From4Points2Sphere()
104 if(fabs(OD) < AKFS_EPSILON){ in From4Points2Sphere()
203 temp = fabs(temp); in Get4points()
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/
Dmlmath.h57 #define fabs(x) (((x)<0)?-(x):(x)) macro
/hardware/invensense/60xx/mlsdk/platform/include/
Dmlmath.h69 #define fabs(x) (((x)<0)?-(x):(x)) macro
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h57 #define fabs(x) (((x)<0)?-(x):(x)) macro
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h57 #define fabs(x) (((x)<0)?-(x):(x)) macro
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXExif.cpp107 mEXIFData.mGPSData.mAltitude = floor(fabs(gpsPos)); in setParametersEXIF()
815 deg = (int) floor(fabs(coord)); in convertGPSCoord()
816 tmp = ( fabs(coord) - floor(fabs(coord)) ) * GPS_MIN_DIV; in convertGPSCoord()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXExif.cpp110 mEXIFData.mGPSData.mAltitude = floor(fabs(gpsPos)); in setParametersEXIF()
817 deg = (int) floor(fabs(coord)); in convertGPSCoord()
818 tmp = ( fabs(coord) - floor(fabs(coord)) ) * GPS_MIN_DIV; in convertGPSCoord()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dfirstpass.c1438 this_mv_rabs = fabs(next_frame->mvr_abs * motion_pct); in get_prediction_decay_rate()
1439 this_mv_cabs = fabs(next_frame->mvc_abs * motion_pct); in get_prediction_decay_rate()
1560 fabs(this_frame->mv_in_out_count * motion_pct); in accumulate_frame_motion_stats()
1567 this_frame_mvr_ratio = fabs(this_frame->mvr_abs) / in accumulate_frame_motion_stats()
1568 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVr)); in accumulate_frame_motion_stats()
1570 this_frame_mvc_ratio = fabs(this_frame->mvc_abs) / in accumulate_frame_motion_stats()
1571 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVc)); in accumulate_frame_motion_stats()
2641 …((fabs(last_frame->coded_error - this_frame->coded_error) / DOUBLE_DIVIDE_CHECK(this_frame->coded_… in test_candidate_kf()
2642 …(fabs(last_frame->intra_error - this_frame->intra_error) / DOUBLE_DIVIDE_CHECK(this_frame->intra_e… in test_candidate_kf()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_firstpass.c1133 *abs_mv_in_out_accumulator += fabs(this_frame->mv_in_out_count * motion_pct); in accumulate_frame_motion_stats()
1138 const double this_frame_mvr_ratio = fabs(this_frame->mvr_abs) / in accumulate_frame_motion_stats()
1139 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVr)); in accumulate_frame_motion_stats()
1141 const double this_frame_mvc_ratio = fabs(this_frame->mvc_abs) / in accumulate_frame_motion_stats()
1142 DOUBLE_DIVIDE_CHECK(fabs(this_frame->MVc)); in accumulate_frame_motion_stats()
1835 ((fabs(last_frame->coded_error - this_frame->coded_error) / in test_candidate_kf()
1837 (fabs(last_frame->intra_error - this_frame->intra_error) / in test_candidate_kf()
/hardware/libhardware/tests/camera2/
DCameraBurstTests.cpp269 if (fabs(brightnesses[i] - prev*CAMERA_EXPOSURE_DOUBLE) in TEST_F()
690 WARN_LT(fabs(brightnesses[i] - brightnesses[i - 1]), in TEST_F()
/hardware/intel/img/psb_video/src/
Dtng_ved_scaling.c45 ax = (float)fabs(x); in tng_calculate_coeff_bessi0()
/hardware/invensense/60xx/mlsdk/mlutils/
Dmputest.c138 (fabs(f-(short)f)>=0.5) ? ( \
487 if (fabs(Avg[j]) > test_setup.bias_thresh) { in inv_test_gyro_3050()
/hardware/invensense/60xx/libsensors/
DMPLSensor.cpp731 if ((R[7] > 0.7071067f) || ((R[8] < 0) && (fabs(R[7]) > fabs(R[6])))) { in calcOrientationSensor()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dvpx_temporal_scalable_patterns.c638 fabs(8.0 * pkt->data.frame.sz - rc.layer_pfb[i]) / in main()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp3887 double latitude = fabs(m_curCameraInfo->gpsLatitude / 10000.0); in m_setExifChangedAttribute()
3888 double longitude = fabs(m_curCameraInfo->gpsLongitude / 10000.0); in m_setExifChangedAttribute()
3889 double altitude = fabs(m_curCameraInfo->gpsAltitude / 100.0); in m_setExifChangedAttribute()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp5932 double latitude = fabs(ctl->jpeg.gpsCoordinates[0]); in m_setExifChangedAttribute()
5933 double longitude = fabs(ctl->jpeg.gpsCoordinates[1]); in m_setExifChangedAttribute()
5934 double altitude = fabs(ctl->jpeg.gpsCoordinates[2]); in m_setExifChangedAttribute()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest-all.cc2529 const double diff = fabs(val1 - val2); in DoubleNearPredFormat()