Hardware JPEG mixing encode and decode
So who was the bright spark who decided that both encode and decode should use the same callback function names? Duh! Means I can't even make them static to isolate them! Doesn't the JPEG hardware know whether its doing an encode or a decode?
Also, the JPEG utilities have compile time (rather than run time) selection of the image format. So much for encoding RGB565 from a camera and decoding ARGB8888 for animations.
Not happy having to play with (yet more) DMA2D format conversions to address the inadequacy of the interface