Commit ce5624e
committed
Improve the AWB stats cell size calculation
Round to the nearest even number. The previous calculation was
rounding up over-aggressively, occasionally leaving the final row of
cells without any pixels at all.
Signed-off-by: David Plowman <[email protected]>1 parent 6f1f25c commit ce5624e
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | | - | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
0 commit comments