[PATCH 0/2] media: coda: Add ability to decode wider range of jpegs
From: Adrian Ratiu
Date: Mon Mar 23 2020 - 09:08:50 EST
Hello,
At Ezequiel's suggestion I'm sending these patches as a standalone
series which applies on top of Philipp's v2 decoder series located
at Message-Id: <20200318183536.15779-1-p.zabel@xxxxxxxxxxxxxx>
The use case for these is that we get jpegs from smartphone apps
over which we have no control: they run on a variety of OSes /
technologies / libraries, could produce jpegs with dimensions from
64x64 to full HD and could use standard or optimized huffman coding.
By relaxing these two checks in the decoder we are able to correctly
display all our images and think these would also benefit others.
Tested with CODA960 on IMX6DL.
Kind regards,
Adrian
Adrian Ratiu (2):
media: coda: jpeg: support optimized huffman tables
media: coda: be more flexible wrt jpeg dimensions
drivers/media/platform/coda/coda-jpeg.c | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
--
2.25.2