Searched refs:gyro_still_det (Results 1 – 2 of 2) sorted by relevance
28 void gyroStillDetInit(struct GyroStillDet* gyro_still_det, in gyroStillDetInit() argument31 memset(gyro_still_det, 0, sizeof(struct GyroStillDet)); in gyroStillDetInit()36 gyro_still_det->confidence_delta = confidence_delta; in gyroStillDetInit()38 gyro_still_det->confidence_delta = var_threshold; in gyroStillDetInit()43 gyro_still_det->var_threshold = var_threshold; in gyroStillDetInit()46 gyro_still_det->start_new_window = true; in gyroStillDetInit()50 void gyroStillDetUpdate(struct GyroStillDet* gyro_still_det, in gyroStillDetUpdate() argument69 gyro_still_det->num_acc_samples++; in gyroStillDetUpdate()72 gyro_still_det->mean_x += x; in gyroStillDetUpdate()73 gyro_still_det->mean_y += y; in gyroStillDetUpdate()[all …]
96 void gyroStillDetInit(struct GyroStillDet* gyro_still_det,100 void gyroStillDetUpdate(struct GyroStillDet* gyro_still_det,105 float gyroStillDetCompute(struct GyroStillDet* gyro_still_det);109 void gyroStillDetReset(struct GyroStillDet* gyro_still_det, bool reset_stats);