OSDN Git Service

DngCreator: scale lens distortion paramters
authorYin-Chia Yeh <yinchiayeh@google.com>
Wed, 3 Apr 2019 19:43:09 +0000 (12:43 -0700)
committerYin-Chia Yeh <yinchiayeh@google.com>
Tue, 9 Apr 2019 21:56:38 +0000 (14:56 -0700)
commitf52c21dfa2406950d82326c6582b4a0b9efb16ac
tree2e9f8112028d9794dfbb4a18c9dd7823be4d0cb1
parentdd07ae579c291a2b6ffe09bd576fd908eb9e5ddd
DngCreator: scale lens distortion paramters

To create a zoom effect on rendered DNG such that all pixels on
the rendered image is sampled within the precorrection array of
input RAW image.

Test: check DNG output on pixel 3 (and also an exaggerated lens
      distortion coefficients that scale up the image almost 2x)
Bug: 118690688

Change-Id: If6c32a428f9460e490e999abd53fe8ad467e66a2
core/jni/android_hardware_camera2_DngCreator.cpp