Sunplus JPEG Codecs by Alex Beregszaszi November 27, 2003 Contents -------- * Sunplus 5 * Sunplus 6 * Appendix Sunplus 5 --------- It's a header and startcode less format. It uses baseline (SOF0) coding: 8 bit accuracy 3 components (2:2, 1:1, 1:1) (YUV 2:1:1) The first 14 bytes are always zero, that follow an unescaped JPEG image data (not including SOS startcodes either). For default quantization and huffman tables see Appendix A. Sunplus 6 --------- 32bit packet size 8bit 0x0A 8bit 0x02 8bit 0x02 - 0xCE 8bit 0x00 02, 00, 01, 05, 03, 11, 32, 10, 21, 75, 03, 00, 61, 61, 03, ff, 03, ff Appendix -------- For default quantization tables, huffman tables and qscale arrays, view the FFmpeg cvs: http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/sp5x.h?rev=1.1 &content-type=text/x-cvsweb-markup&cvsroot=FFMpeg References ---------- FFmpeg sources: http://www.ffmpeg.org/