mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
Both JPEG decoders ignored the DC/AC table selectors in the SOS header and always decoded luma with tables 0 and chroma with tables 1, the layout libjpeg writes by default. Files where all components share table 0, or where the slots are assigned differently, decoded to noise. Look up each component's tables from its selectors instead. Baseline JPEG only allows tables 0 and 1, which both decoders already hold, so this needs no extra memory; selectors above 1 are rejected. In the core loader tab_membership is no longer used and is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: Ie1ec407ddecf1256fef410b1256b97af412fb194 |
||
|---|---|---|
| .. | ||
| albumart.c | ||
| albumart.h | ||
| bmp.c | ||
| bmp.h | ||
| icons.c | ||
| icons.h | ||
| jpeg_common.h | ||
| jpeg_idct_arm.S | ||
| jpeg_load.c | ||
| jpeg_load.h | ||
| keyboard.c | ||
| pcm_record.c | ||
| pcm_record.h | ||
| peakmeter.c | ||
| peakmeter.h | ||
| recording.c | ||
| recording.h | ||
| resize.c | ||
| resize.h | ||