jpeg compression algorithm

Um, we can do about 20 FPS at 640x480. The JPEG hardware is not what is slow either. It actually takes only 1 ms for the HW to jpeg compress the image. however, it takes ~49 ms for the CPU to feed the hardware data. ST forgot to HW accelerate the jpeg encode path. They only really accelerated the decode path.