summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author yihsing.shen <yihsing.shen@mediatek.com> 2022-09-20 14:01:44 +0800
committer Lili Lin <lili.lin@mediatek.com> 2022-11-24 17:41:50 +0800
commit8f0a38051aabc001b3f6bf4e29ebcf78cc9c280a (patch)
tree9ba98ad8a961e6811cb0ba1ec5ac654c46bc1f91 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent39983c6e5d8095d66853984a4c524b80a1dbc0c4 (diff)
Fix Surface HDR meta reset
Camera hal uses IMapper to set HDR metadata instead of Surface APIs. However, Surface would overwrite it with default value, causing HDR metadata lost. We use flags to track whether Surface APIs have been called or not. And, we overwrite metadata when those APIs have been called. Bug: 255389049 Test: hdr test pass Change-Id: I6d14d4bfc7fae18ba7b2fde9bf371a7d80255319
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions