Skip to content
Jonathan Neuschäfer edited this page Aug 21, 2022 · 1 revision

JPEG engine

[MMIO] repeat size description
0xbf420000 0x400 JPEG engine

After boot, the framebuffer is configured as follows (on my system):

  • Luma buffer, 8 bits * 1920 * 1080, 0x01fe77e0
  • Chroma buffer, 16 bits * 960 * 540, 0x021e5840
> rw bf420000 0x20
bf420000: 00ff00ff 00010101 ff003f00 00000000 04400780 00000000 00000000 00000000
bf420020: 01fb8160 01fe2fdd 01fb8160 01fb8160 01fb82da 01fe2fdd 01fe77e0 00000780
bf420040: 021e5840 021e5840 021e5840 00000780 0000010b 00000001 00000001 00430077
bf420060: 00000000 00007f03 00007f03 00007f03 00000100 0000001e 0000001e 0000001e

Interesting values:

reg value description
0xbf420020 0x01fb8160 JPEG file content
0xbf420024 0x01fe2fdd last byte of JPEG file content
0xbf420010 0x04400780 0x0440 = 1088, 0x0780 = 1920
0xbf420038 0x01fe77e0 Luma buffer address
0xbf420040 0x021e5840 Chroma buffer address
0xbf420044 0x021e5840 Chroma buffer address
0xbf420048 0x021e5840 Chroma buffer address
0xbf420048 0x00000780 1920 (scanline length)

Clone this wiki locally