Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 033270a1 authored by Ram Mohan's avatar Ram Mohan Committed by Dichen Zhang
Browse files

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
parent 3a4f049f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment