commit | 53751272b2d80479dc6af6a9c2e043c362bc4c23 | [log] [tgz] |
---|---|---|
author | Dichen Zhang <dichenzhang@google.com> | Tue Jan 17 19:09:01 2023 -0800 |
committer | Dichen Zhang <dichenzhang@google.com> | Thu Jan 19 19:00:14 2023 +0000 |
tree | c1a5220301ebe290caa1817851be88b38c3d5023 | |
parent | 80a71b067ce134c8099ddea9d139c5e336f358f2 [diff] |
libjpegrecoverymap: solve recovery map 8-pixel alignment JPEG encoder requires width to be 8 aligned, and the recovery map is downsampled by 4, so that the JPEG/R encoder will require width to be 32 aligned, which is not ideal. We should handle widths that are 8 aligned but not 32 aligned. Test: recoverymap_test Bug: b/264715926 Change-Id: I74eaeec7c16f8f2621e72c067464897c8aba9d89