Go Back   xda-developers > Raphael > Raphael software

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #22  
Old 3rd December 2008, 01:48 PM
NuShrike's Avatar
NuShrike NuShrike is offline
Senior Member
 
Join Date: Sep 2007
Posts: 863
Default 1.0.2.0

Advanced sensory-data filtering using a history-less first-order low-pass filter with a medium α implemented. Previously, it was an integer-based running-average that required a 3-4 point memory history.

The new algorithm requires < 1.0 floating-point resolution so a custom fixed-point math library with DSP-acceleration is now used plus the actual filter equation was recoded directly in assembly for speed, just for fun.

Functionality that detected large and fast swings in sensor-data temporarily dropped because the filter's medium α duplicates some of the sensitivity.

Also, direct backlight power-state tracking (idea borrowed from Lumos) naively implemented to just avoid sensor-data calculations and adjustments for that poll loop without any visible affect on power-draw. It could affect the ability to adjust to light-levels deterministically, but this is a .0 release so the filter-equation can still use some tweaking.
__________________
Support what I do and donate me a frankfurter.

Last edited by NuShrike; 7th December 2008 at 04:43 AM..
Reply With Quote

 

Tags
auto-backlight, backlight

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:27 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.