elan: Set max frame height to 50, add note about performance

Frame height is a loosely experience-backed guesstimation. 50 seems to be
a good middle ground between swipe speed and quality.
This commit is contained in:
Igor Filatov
2018-02-04 17:57:27 +02:00
committed by Bastien Nocera
parent b098399bbc
commit c3b1c982bc
2 changed files with 18 additions and 1 deletions

View File

@@ -48,7 +48,7 @@
#define ELAN_MAX_FRAMES 30
/* crop frames to this height to improve stitching */
#define ELAN_MAX_FRAME_HEIGHT 30
#define ELAN_MAX_FRAME_HEIGHT 50
/* number of frames to drop at the end of capture because frames captured
* while the finger is being lifted can be bad */