Commit Graph

1459 Commits

Author SHA1 Message Date
Thomas Farstrike 5a0fc809d6 Camera app: simplify 2025-11-28 20:04:07 +01:00
Thomas Farstrike 7bca660b3b Simplify 2025-11-28 18:17:09 +01:00
Thomas Farstrike 55b5c66941 Add "colormode" option 2025-11-28 18:14:54 +01:00
Thomas Farstrike 1b0eb8d837 Add colormode option and move special effect to advanced tab 2025-11-28 17:55:41 +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 97a4a920f4 Camera: re-enable QR decoding after settings 2025-11-28 15:03:48 +01:00
Thomas Farstrike e42aa7d85b quirc.c: comments 2025-11-28 14:14:59 +01:00
Thomas Farstrike 1457ede0ca Work Camera app
- Add 1280x1280 resolution
- Fix dependent settings enablement
- Use grayscale for now
2025-11-28 12:35:45 +01:00
Thomas Farstrike a3db12f322 Fix image resolution setting 2025-11-28 09:56:05 +01:00
Thomas Farstrike ef06b58ed6 Camera app: more resolutions, less memory use 2025-11-27 13:57:57 +01:00
Thomas Farstrike e8665d0ce9 Camera app: eliminate tearing by copying buffer 2025-11-27 10:49:24 +01:00
Thomas Farstrike bfbf52b48d Zoomed on center and more resolutions 2025-11-26 16:16:34 +01:00
Thomas Farstrike 920edd8f51 Work towards "raw" tab 2025-11-26 12:15:37 +01:00
Thomas Farstrike 5c2fee33f7 Camera app: add "Erase" button and tweak UI 2025-11-26 11:42:25 +01:00
Thomas Farstrike 9ae929aad9 SharedPreferences: add erase_all() functionality 2025-11-26 11:41:42 +01:00
Thomas Farstrike 2b8ea88961 Camera app: improve settings UI 2025-11-26 11:07:59 +01:00
Thomas Farstrike d798aff80e Add camera settings 2025-11-26 10:35:25 +01:00
Thomas Farstrike e9810a34ba Merge branch 'main' into camera-resolution 2025-11-26 10:26:30 +01:00
Thomas Farstrike 4f18d8491d Update CHANGELOG 2025-11-26 09:26:49 +01:00
Thomas Farstrike ef0cb980f2 Settings app: fix un-checking of radio button 2025-11-26 09:25:43 +01:00
Thomas Farstrike 8c1903d05d Camera app: add experimental zoom button 2025-11-26 08:05:26 +01:00
Thomas Farstrike 3e9fbc380c Camera: retry more 2025-11-25 16:14:49 +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 385d551f3d Fix camera_app R128x128 vs R128X128 2025-11-25 13:46:47 +01:00