Getting ready for Arduino IDE Library Manager#29
Merged
Conversation
Select frame buffer location by pixel format: keep raw RGB/GRAY in DRAM, keep JPEG in PSRAM. Check sensor set_pixformat/set_framesize return values during init. Re-apply pixel format after framesize setup to preserve requested RGB565/GRAY. Validate captured framebuffer format against requested image format. Remove RGB565->BGR565 post-copy swap and silence unused capture mode params. Signed-off-by: Ozan Durgut <ozandurgut.2001@hotmail.com>
This was
linked to
issues
Apr 25, 2026
Closed
Add ESP32-native JPEG compression backend in compress.c. Detect img_converters.h and enable fmt2jpg path when libjpeg is absent. Signed-off-by: Ozan Durgut <ozandurgut.2001@hotmail.com>
Implement serial_send_jpeg() for ESP32 UART transport. Signed-off-by: Ozan Durgut <ozandurgut.2001@hotmail.com>
Improve out-of-the-box Arduino builds by inferring EMBED_DIP target macros when explicit defines are not provided. Signed-off-by: Ozan Durgut <ozandurgut.2001@hotmail.com>
94c958d to
d96bf58
Compare
Use pixel count as the iteration bound instead of inImg->size. inImg->size is byte-based for RGB888, but the loop indexes pixels with i*3. Using size as the bound can overrun input/output buffers and produce invalid grayscale conversion results. This aligns iteration with pixel indexing and prevents out-of-bounds access. Fixes: 7eb82eb ("embedDIP: initial public release") Signed-off-by: Ozan Durgut <ozandurgut.2001@hotmail.com>
Add RGB565 byte swapping in serial_send() for ESP32 UART output. When image format is RGB565, payload bytes are now swapped in chunks using a static transmit buffer before Serial.write(). This keeps the wire format compatible with host-side decoders expecting RGB565 byte order. Non-RGB565 formats keep the existing block-based transmission path. Signed-off-by: Ozan Durgut <ozandurgut.2001@hotmail.com>
Track camera init state and deinit before reinit. Uninstall GPIO ISR service to avoid re-install failures. Route stop/setRes through full reinit. Signed-off-by: Ozan Durgut <ozandurgut.2001@hotmail.com>
d96bf58 to
7f345b9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.