Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: Possible JPEG decoding bug

$
0
0
IT'S NOT A BUG - SEE JEREMY'S EXPLANATION The "Synergy Configuration Generate Project Content" generates always .pixel_format = JPEG_DECODE_PIXEL_FORMAT_RGB565 no matter if you select "Graphics screen1 input format=32bits RGB888" or "Graphics screen1 input format=16bits RGB565", and because of this the resulting images are decompressed wrongly. If you change manually the pixel_format to the other possibility (JPEG_DECODE_PIXEL_FORMAT_ARGB8888) then the image decodes correctly, but any time you regenerate the project content you have to edit this again. Furthermore, from the SSP documentation I understand (maybe wrongly) that if I have 24bpp or 32bpp JPEG images and I decompress them as RGB888 I will be able to use images as small as 8x8 pixels, but when I try this I only can use sizes multiples of 32, otherwise I get the SSP_ERR_JPEG_UNSUPPORTED_IMAGE_SIZE error. What am I doing wrong, please? Does anybody have working code that can decode small images with dimensions multiple of 8 (eg. 8x8, 8x16, 24x8...) ?

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>