typedef struct jpeg_draw_tag
{
int x, y; // corner offset of this block of pixels
int iWidth, iHeight; // size of this pixel block
**uint8_t *pPixels; // RGB565 pixels**
} JPEGDRAW;
but is :
typedef struct jpeg_draw_tag
{
int x, y; // upper left corner of current MCU
int iWidth, iHeight; // size of this MCU
**int iBpp; // bit depth of the pixels (8 or 16)**
**uint16_t *pPixels; // 16-bit pixels**
void *pUser;
} JPEGDRAW;
That change may make some trouble for old prog.
Thanks in advance,
(great job, it save me 30ms for better result than the ESP32-cam library)
Hi,
In the JPEGDRAW structur is defined as :
but is :
That change may make some trouble for old prog.
Thanks in advance,
(great job, it save me 30ms for better result than the ESP32-cam library)