with libjpeg or using hardware in polling, mode compression works fine.but when using DMA image is getting corrupted#include "jpeg_encode.h"
#include "jpeglib.h"
#include "jdata_conf.h"
// variables used for dma mode
uint32_t YCBCR_Size;
uint32_t...
Thanksgot it working I had to put SCB_CleanInvalidateDCache(); SCB_InvalidateICache();before dma call and removing this line "HAL_JPEG_ConfigInputBuffer(hjpeg, YCBCR_IMG, 4);" from HAL_JPEG_GetDataCallback