Latest Lua updates (details).
Includes many other backend changes, e.g. focus, menu, Q button handling, fonts etc.
Therefore, it's important to give it a good try on all functions, not just Lua, so we can include it in the nightly builds.
Also includes lens.focus_pos and dynamic-my-menu.
Merged allocate-raw-lv-buffer into lua_fix
Merged qemu into lua_fix
Merged 100D_merge_fw101 into lua_fix
500D: experimental workaround for ERR70, issue #1468
(only enabled when recording H.264 with sound)
500D: removed old workarounds for ERR70
VRAM: recompute LUTs only when display parameters actually change
(appears to help with 500D's ERR70 while recording; to be tested with external monitors)
selftest: info screen toggling test
Lua: fix printing pointer values
(no %p in Canon's vsnprintf)
Lua: minor stack fix
(apparently never triggered)
Lua: simple stack checking when yielding to other tasks
Lua: stack dump function for debugging
Lua dryos: removed card.cluster_size
(too low-level to be useful for Lua)
Lua dryos: refactored card functions for consistency with directory functions
Lua: moved dryos.dcim_dir to dryos.shooting_card:dcim_dir
Lua dryos: fix card free_space field
Lua: added dryos.cf_card and dryos.sd_card
(just for consistency)
650D DEFAULT_RAW_BUFFER_SIZE is the same as on the 700D
Lua: added dryos.shooting_card.get_image_path to fix edge cases
from api_test.lua when image number wrapped around at 9999->0001
(this replaced the hardcoded logic from api_test.lua for getting previous/future still image paths)
Merged img_name into lua_fix
(required to test the file number updates, i.e. wrapping around at 9999->0001)
shoot.c: Canon wraps around from IMG_9999 to IMG_0001, not 0000
(affected: fast pictures, intervalometer/bracketing scripts)
crop_rec module with higher resolutions (4K, 1080p48 etc):
EOSM, 650D, 700D, 100D:
This is also the "de facto" bleeding edge branch, with other experimental stuff being tested here.
mlv_dump: pass INFO blocks as image description
mlv_dump: fix compile warnings / empty lines
mlv_dump: change DNG code to pass through RAWI color matrix if the camera model could not be determined
mlv_dump: harden string length handling for DEBG and VERS against inconsistent field sizes
mlv_dump: fix incorrectly placed null byte for text blocks line DEBG and VERS
Experimental raw video recording at lower bit depths. Only models with CONFIG_EDMAC_RAW_SLURP/CONFIG_EDMAC_RAW_PATCH are compiled.
Raw backend: experimental method for overriding raw stream parameters in Canon firmware (CONFIG_EDMAC_RAW_PATCH)
Stubs for 5D2. Clean footage in 1080p30 10-bit!
Merged patchmgr into raw_video_10bit_12bit_LVState
Raw backend: use generic resolution autodetection for LVState models
mlv.c: fix buffer overflow in mlv_build_vers
Merged allocate-raw-lv-buffer into raw_video_10bit_12bit
650D DEFAULT_RAW_BUFFER_SIZE is the same as on the 700D
arm-mcr.h: minor cleanups, non-functional:
- moved _sync_caches in the old place
- commented out setup_memory_region et al
Patch manager: provide a default sync_caches for targets that don't include it
(minimal, installer, reboot)
Patch manager: moved sync_caches in patch.c and removed the "weak" trickery
(fixes patch restoring when called from modules)
Patch manager: reworked mechanism for re-applying cache patches when needed
* arm-mcr.h: clean_d_cache and flush_i_cache are now private (sync_caches is the high-level function to be used)
* replaced all calls to clean_d_cache/flush_i_cache with sync_caches
* should fix issues with randomly "disappearing" cache patches
* to be tested for performance issues etc
Modules: patch.h no longer needed
Raw backend: DEFAULT_RAW_BUFFER_SIZE for 700D and EOSM (thanks dfort)
mem.c: fix compiling for 5D3.123
(display buffer address depends on HDMI options)
selftest: EOSM takes the crown for the lowest amount of shoot_memory available
(fragmented allocation can no longer be tested with hardcoded value)
Raw backend: 60D appears to allocate 28MB for the raw buffer
Raw backend: updated 5D3 hypothesis about Canon LV RAW buffer
(todo: re-check 1.2.3)
Raw backend: attempt to autodetect Canon's raw buffer size
- compile with CONFIG_MARK_UNUSED_MEMORY_AT_STARTUP (config-defines.h)
- open the console (Debug menu) and enable something that uses LiveView RAW features (raw video, raw histogram etc)
- test by starting the camera in all video modes (photo, 1080p, 720p, crop, x5 etc)
- take a screenshot or write down the console messages
Raw backend: fix compilation on very old models
1100D: CONFIG_ALLOCATE_RAW_LV_BUFFER may not be needed, after all
Free Memory dialog: updated common addresses to allow dynamically allocated buffers (not just hardcoded ones);
also show current RAW and BMP buffer(s), not just the YUV ones
Raw backend: 1100D also needs DEFAULT_RAW_BUFFER / DEFAULT_RAW_BUFFER_SIZE
Pre-recording with half-shutter triggers (details).
Should work on top of latest nightly build.
mlv_lite: fix compilation
mlv_lite: prevent recording in x10 zoom
(to be used for focusing)
Set lens name, focal length and aperture for manual lenses. Lua script.
selftest: missing * causes compile error
Copyright (C) 2009-2017 Magic Lantern Development Team
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.