MPC5604E JPEG Configuration Stream

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5604E JPEG Configuration Stream

693 Views
suhass
Contributor II

Hi,

I have configured MJPEG Encoder with JPEG Configuration stream according to AN4514 - Video Encoder Wrapper Application note, there is no ellaborative information about JPEG Configuration stream, changes that have to be made to DHT & DQT to change the compression ratios and so on. Do provide the the ellaborate information about the JPEG Configuration stream.

 

Thanks & Regards

SUHAS S

Labels (1)
Tags (2)
0 Kudos
2 Replies

572 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

I have received:

  https://en.wikipedia.org/wiki/JPEG#Syntax_and_structure
Here is an example for resolution 1280x800 with 8bits depth:
const uint32_t jpeg_conf_stream[] = {
0xFFD8FFE0, 0x00104A46, 0x49460001, 0x01000001, 0x00010000, 0xFFFFFFFF,
0xDB004300, 0x100B0C0E, 0x0C0A100E, 0x0D0E1211, 0x10131828, 0x1A181616,
0x18312325, 0x1D283A33, 0x3D3C3933, 0x38374048, 0x5C4E4044, 0x57453738,
0x506D5157, 0x5F626768, 0x673E4D71, 0x79706478, 0x5C656763, 0xFFFFFFFF,
0xDB004301, 0x11121218, 0x15182F1A, 0x1A2F6342, 0x38426363, 0x63636363,
0x63636363, 0x63636363, 0x63636363, 0x63636363, 0x63636363, 0x63636363,
0x63636363, 0x63636363, 0x63636363, 0x63636363, 0x63636363, 0xFFC00011,
0x08032005, 0x00030122, 0x00021101, 0x031101FF, 0xC4001F00, 0x00010501,
0x01010101, 0x01000000, 0x00000000, 0x00010203, 0x04050607, 0x08090A0B,
0xFFC400B5, 0x10000201, 0x03030204, 0x03050504, 0x04000001, 0x7D010203,
0x00041105, 0x12213141, 0x06135161, 0x07227114, 0x328191A1, 0x082342B1,
0xC11552D1, 0xF0243362, 0x7282090A, 0x16171819, 0x1A252627, 0x28292A34,
0x35363738, 0x393A4344, 0x45464748, 0x494A5354, 0x55565758, 0x595A6364,
0x65666768, 0x696A7374, 0x75767778, 0x797A8384, 0x85868788, 0x898A9293,
0x94959697, 0x98999AA2, 0xA3A4A5A6, 0xA7A8A9AA, 0xB2B3B4B5, 0xB6B7B8B9,
0xBAC2C3C4, 0xC5C6C7C8, 0xC9CAD2D3, 0xD4D5D6D7, 0xD8D9DAE1, 0xE2E3E4E5,
0xE6E7E8E9, 0xEAF1F2F3, 0xF4F5F6F7, 0xF8F9FAFF, 0xC4001F01, 0x00030101,
0x01010101, 0x01010100, 0x00000000, 0x00010203, 0x04050607, 0x08090A0B,
0xFFC400B5, 0x11000201, 0x02040403, 0x04070504, 0x04000102, 0x77000102,
0x03110405, 0x21310612, 0x41510761, 0x71132232, 0x81081442, 0x91A1B1C1,
0x09233352, 0xF0156272, 0xD10A1624, 0x34E125F1, 0x1718191A, 0x26272829,
0x2A353637, 0x38393A43, 0x44454647, 0x48494A53, 0x54555657, 0x58595A63,
0x64656667, 0x68696A73, 0x74757677, 0x78797A82, 0x83848586, 0x8788898A,
0x92939495, 0x96979899, 0x9AA2A3A4, 0xA5A6A7A8, 0xA9AAB2B3, 0xB4B5B6B7,
0xB8B9BAC2, 0xC3C4C5C6, 0xC7C8C9CA, 0xD2D3D4D5, 0xD6D7D8D9, 0xDAE2E3E4,
0xE5E6E7E8, 0xE9EAF2F3, 0xF4F5F6F7, 0xF8F9FAFF, 0xDD000400, 0x50FFDA00,
0x0C030100, 0x02110311, 0x003F00FF, 0xD9000000
};

0 Kudos

572 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I need to ask app engineer if we have more details. He is out of office now, so give me a few days. I will ask also about your other question (MJPEG buffer to SPI).

Regards,

Lukas

0 Kudos