I am currently using an STM32F4xx and extracting an already compressed JPEG from a camera module OV5645 as that particular sensor has an internal JPEG codec. I want to starting using a new sensor, OV8865, that does not come with the internal codec and I wonder if it is feasible to use a STM32 MCU in order to extract the RAW RGB and encode it into a JPEG getting at least 2 frames per second. I can't use the Digital camera interface (DCMI) for STM32 MCUs built into the STM32F4 as the maximum input size is 2048 × 2048 pixels and I'd like to use at least the resolution of 2816 x 1584 pixels the sensor offers (although 3264 x 2448 would be better).
Is there any estimation on how long it would take to a Cortex M4 such as STM32F4xx to encode a 2816 x 1584 or a full 8MP image (3264 x 2448).
I wonder if a MCU is enough for 2 fps.
Do you know any comercial IC that encodes RAW RGB into JPEG? I guess I could design an FPGA but it will be out of the scope of the scale of the project.