Can somebody confirm that Quality Overrides work with chdk in exmem? I can't set the superfine quality which works in the normal memory allocation.
Works on G12 and SX30.
Your EXMEM_HEAP_SKIP value is large (6.4MB) and if 4MB of EXMEM causes problems with RAW buffers (from previous post) it's possible there just isn't enough memory available.
Try enabling OPT_CHDK_EXMEM_TESTING (and disable OPT_CHDK_IN_EXMEM).
Enable superfine and see if you get any EXMEM corruption. If so adjust EXMEM size.
You may need to disable the superfine option override - in my opinion it's of very little value anyway. Canon's fine mode is indistinguishable from superfine under normal viewing conditions. You can see some tests I did using the SX30 here -
http://forums.dpreview.com/forums/read.asp?forum=1010&message=37238416Another option (that I've toyed with; but not implemented fully) is to load CHDK into EXMEM using just enough EXMEM memory for CHDK itself; but then use the normal Canon heap memory for malloc/free.
We would then have four scenarios:
- no EXMEM, CHDK loaded in low memory and uses Canon heap in low memory
- CHDK loaded in low memory; but CHDK heap in EXMEM memory
- CHDK loaded in EXMEM, and CHDK heap in EXMEM
- CHDK loaded in EXMEM, CHDK heap using Canon heap in low memory
Phil.