Thomas Farstrike
5d100dc026
Support more webcam resolutions
2025-12-02 19:09:35 +01:00
Thomas Farstrike
d43ec571d1
quirc_decode.c: less debug
2025-11-29 12:54:01 +01:00
Thomas Farstrike
3bc5151407
Fix colormode QR decoding
...
But somehow buffer size is 8 bytes...
2025-11-29 09:19:48 +01:00
Thomas Farstrike
8e0063c236
Camera app: cleanups
2025-11-28 21:18:18 +01:00
Thomas Farstrike
6b8b72a7a0
quirc_decode: back to memcpy for stability
2025-11-28 17:55:02 +01:00
Thomas Farstrike
8f4b3c5fbe
quirc_decode.c: attempt zero-copy but crashes and black artifacts
2025-11-28 15:11:12 +01:00
Thomas Farstrike
ef06b58ed6
Camera app: more resolutions, less memory use
2025-11-27 13:57:57 +01:00
Thomas Farstrike
7679db3607
Refactor camera code: DRY, fix memory leak, improve error handling
...
- Extract RGB conversion helper to eliminate duplication
- Unify save functions
- Fix buffer cleanup on error (memory leak)
- Move retry logic into init_internal_cam()
- Add error handling for failed camera reinitialization
- Consolidate button sizing with class variables
- Remove redundant initialization and unnecessary copies
2025-11-25 14:28:09 +01:00
Thomas Farstrike
01f7a1f84f
Improve camera
2025-11-25 09:25:36 +01:00
Thomas Farstrike
f8da36b630
camera: fix crash and other bugs
2025-11-25 09:05:56 +01:00
Thomas Farstrike
5bf790ed61
Simplify: no scaling
2025-11-25 08:19:11 +01:00
Thomas Farstrike
31e61e7d88
Improve camera
2025-11-25 07:59:48 +01:00
Thomas Farstrike
7e4585e91e
Camera: support more resolutions
...
It's a bit unstable, as it crashes if the settings button is clicked after startup,
but not when closing and then re-opening. Seems to work for 640x480, including QR decoding.
2025-11-24 23:35:50 +01:00
Thomas Farstrike
1ab4970dc7
Work towards changing camera resolution
2025-11-24 22:54:26 +01:00
Thomas Farstrike
58220110ed
Remove useless hello_world.c
2025-10-24 23:19:15 +02:00
Thomas Farstrike
b70202eabd
QR decode: memory leak on ESP32 is fixed!
2025-05-15 16:48:05 +02:00
Thomas Farstrike
6432b650cc
QR decode: memleak might be fixed
2025-05-15 16:38:53 +02:00
Thomas Farstrike
65fe0ba84a
QR decode: try catching
2025-05-15 16:32:08 +02:00
Thomas Farstrike
c2b7b7628b
webcam: correct buffer size
2025-05-15 16:31:51 +02:00
Thomas Farstrike
2083e47e3d
Use standard 'b' for memoryview
2025-05-15 16:12:18 +02:00
Thomas Farstrike
7239f70442
QR decoding: fix memory leak
2025-05-15 15:42:18 +02:00
Thomas Farstrike
6631b98b48
Add QR code scanning labels
2025-05-15 13:28:04 +02:00
Thomas Farstrike
f982f28f54
camera: add status label, hide buttons until found
2025-05-15 12:49:27 +02:00
Thomas Farstrike
5a05457ef6
add qrdecode_rgb565
2025-05-14 22:38:31 +02:00
Thomas Farstrike
2534efbd5f
webcam: add support for outputting rgb565 format
2025-05-14 22:09:26 +02:00