History log of /frameworks/av/services/camera/libcameraservice/device3/DistortionMapper.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c3462a1b892911f35ba2ff53e0f7aaec38fc2e4d 07-Jun-2018 Yin-Chia Yeh <yinchiayeh@google.com> Camera: fix metering region conversion

Zero weight regions have no actual effect. Skip them.
Also clamp the correction result to be within active
array.

Test: GCA smoke test
Bug: 109766306
Change-Id: I24640ffb564f30dcbc14cf8c97f8100c0bad2640
/frameworks/av/services/camera/libcameraservice/device3/DistortionMapper.cpp
cc073aac88a30dded339bc8809297fb78cc1b43a 07-Jun-2018 Eino-Ville Talvala <etalvala@google.com> Camera: DistortionMapper: Move FACE_RECTANGLES to point list

Face rectangles are actually a pair of points, not rects with
(top, left, width, height).

This is very silly but what can you do.

Test: Check metadata output with forced-on distortion correction
Bug: 74434422
Change-Id: I5c0ede9624a198f1dd68328c2dcfa6788ed2d9d9
/frameworks/av/services/camera/libcameraservice/device3/DistortionMapper.cpp
7cffc831bcf26e6ef973e615e3002b78c344fcfb 04-Jun-2018 Eino-Ville Talvala <etalvala@google.com> CameraService: Add unit tests for DistortionMapper

- Make cameraserver_test test module reachable by build system
- Fix minor compilation error in CameraProviderManagerTest
- Add tests to verify:
- Initialization of DistortionMapper
- Transforms with an identity distortion function
- Round-trip transform ~1e6 points with a large distortion function
- Raw to corrected transform compared against OpenCV undistortPoints,
using python to generate the comparison coordinate lists as a C++
header

Test: atest cameraservice_test
Bug: 79885994
Change-Id: Iae3d6f9de2e6c79dd5cea5ca35ee5100b38441f4
/frameworks/av/services/camera/libcameraservice/device3/DistortionMapper.cpp
7b8a1fd27d12d1b3ea711b0edca6ff5b07f5beb1 23-May-2018 Eino-Ville Talvala <etalvala@google.com> Camera: Enable distortion correction for API1, map metadata when enabled

- API1 + HAL3: Enable HIGH_QUALITY correction for still capture use
cases, FAST for others
- HAL3: When distortion correction is enabled, map coordinate metadata from
corrected to original in capture requests, and from original to corrected
in capture results.

Test: Camera CTS
Bug: 79885994
Change-Id: I79e25d278fe69099770c749f42956fc8e878f7cf
/frameworks/av/services/camera/libcameraservice/device3/DistortionMapper.cpp