summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Ram Mohan <ram.mohan@ittiam.com> 2023-05-18 15:26:33 +0530
committer Dichen Zhang <dichenzhang@google.com> 2023-05-23 17:06:06 +0000
commit033270a19f2656a6697f402535d92f2c090eb501 (patch)
treef9bf7b81e81fb7c3cc0e3d2eb5eaca2664913e8a /libs/ultrahdr/jpegencoderhelper.cpp
parent3a4f049f770642ca4ef5469a4002ea467841125a (diff)
ultrahdr: Add lower bounds to input resolution to avoid empty jpeg image
If the test image is 2x2, then gain map size is 0x0, which causes problems during gainmap compression. Add lower bounds to supported resolution. Bug: 283500706 Test: ./libultrahdr_test Change-Id: I761330bcd5cd4506c38d053a479a135eed6c38ac
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions