commit | 4d76f123e0ea3bb70a39d6b7ddd715363f11bb6e | [log] [tgz] |
---|---|---|
author | Sam Hasinoff <hasinoff@google.com> | Fri Apr 06 19:47:11 2018 -0700 |
committer | Sam Hasinoff <hasinoff@google.com> | Mon Apr 09 11:55:23 2018 -0700 |
tree | fcdb23bab0dfab33f7b814c01780f5e7c2e926a0 | |
parent | fa33327eb3b81bf1f2173bef0d13ced98b1221c1 [diff] |
Fix sample spacing in lens shading map saved to DNG We were using an incorrect sample spacing of 1/N instead of 1/(N-1). This affected rendering in 3rd party tools like Adobe Photoshop, effectively shrinking the lens shading map and replicating values from the bottom-most row and right-most column. Bug: 77657628 Test: created test pattern lens shading maps, loaded DNG in Photoshop Change-Id: Ia814ebefeceafc72b17058a9c4cf598140d3f752