vfs5011: do duplicate line search for 30 lines
It seems that on faster devices, the driver can get more duplicate lines. Without this change scan looks too stretched. Suggested by: Thomas Rinsma <thomasrinsma@gmail.com>
This commit is contained in:
parent
9f7e1ecf40
commit
6e8d5cd6a1
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ int vfs5011_rescale_image(unsigned char *image, int input_lines,
|
|||
enum {
|
||||
RESOLUTION = 10,
|
||||
MEDIAN_FILTER_SIZE = 13,
|
||||
MAX_OFFSET = 10,
|
||||
MAX_OFFSET = 30,
|
||||
GOOD_OFFSETS_CRITERION = 20,
|
||||
GOOD_OFFSETS_THRESHOLD = 3
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue