Commit Graph

942 Commits

Author SHA1 Message Date
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 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
Thomas Farstrike de35a9dd39 Camera app: tweak layout 2025-11-25 09:45:39 +01:00
Thomas Farstrike b0592f8e22 Webcam: only supported resolutions 2025-11-25 09:30:55 +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 858df97372 Default to 320x240 2025-11-25 08:23:07 +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 fa80b7ce13 Add showbattery app for testing 2025-11-24 22:12:44 +01:00
Thomas Farstrike 142c23256c AppStore app: remove unnecessary scrollbar over publisher's name 2025-11-24 22:12:27 +01:00