Wikia

CHDK Wiki

Changes: User:Srsa 4c/Ideas

Edit

Back to page

(Created page with " Following is a list of possible(?) future improvements. ===Integrate [http://code.google.com/p/miniz miniz] as a library (module)=== *zlib compression, decompression *opera...")
 
m (Integrate miniz as a library (module))
 
Line 8: Line 8:
 
*has a simple PNG writer
 
*has a simple PNG writer
 
* Uses:
 
* Uses:
**CHDK installer
+
:* CHDK installer
 
::: - SFX-like distribution, extracts itself, makes card bootable
 
::: - SFX-like distribution, extracts itself, makes card bootable
*In-camera format and keeping CHDK installed
+
:* In-camera format and keeping CHDK installed
 
::: - Needs a hook on the formatter task, zip up all needed files, store the zip in an exmem allocation (or in regular malloc'd memory if there's enough free space there), decompress the archive when the formatted card is accessible again, reinstall bootflag
 
::: - Needs a hook on the formatter task, zip up all needed files, store the zip in an exmem allocation (or in regular malloc'd memory if there's enough free space there), decompress the archive when the formatted card is accessible again, reinstall bootflag
   
 
::: - Supporting multiple partitions is probably impossible
 
::: - Supporting multiple partitions is probably impossible
*creating PNG snapshots of the bitmap overlay
+
:* creating PNG snapshots of the bitmap overlay
 
::: - the PNG writer needs to be improved to write paletted images
 
::: - the PNG writer needs to be improved to write paletted images
   
 
First test was succesful (create test archive). Needs realloc(), and a working assert().
 
First test was succesful (create test archive). Needs realloc(), and a working assert().
 
   
 
===Store CHDK config in camera===
 
===Store CHDK config in camera===

Latest revision as of 14:04, April 20, 2013

Following is a list of possible(?) future improvements.


Integrate miniz as a library (module)Edit

  • zlib compression, decompression
  • operations on zip files (compression, decompression)
  • has a simple PNG writer
  • Uses:
  • CHDK installer
- SFX-like distribution, extracts itself, makes card bootable
  • In-camera format and keeping CHDK installed
- Needs a hook on the formatter task, zip up all needed files, store the zip in an exmem allocation (or in regular malloc'd memory if there's enough free space there), decompress the archive when the formatted card is accessible again, reinstall bootflag
- Supporting multiple partitions is probably impossible
  • creating PNG snapshots of the bitmap overlay
- the PNG writer needs to be improved to write paletted images

First test was succesful (create test archive). Needs realloc(), and a working assert().

Store CHDK config in cameraEdit

  • need to find a safe way (i.e. hooking a firmware process instead of doing the flashing ourselves)
    • Safest would be: using a recordable operation sound
      • since the sound data is uncompressed, only one's ears would be at risk
      • limited to approx. 8kB (1s 8bit mono 8kHz wave)
    • Much less safe: using a custom startup image
      • more cameras support this, but chances are that the camera's decoder chokes on the chosen method (JPEG comment? earlier JPEG ending?): bricking possibility
      • the size limit is probably higher

Around Wikia's network

Random Wiki