Read about our upcoming Code of Conduct on this issue

Commit 30d84460 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

700D: enabled FRAME_SHUTTER_BLANKING_READ/WRITE. Does it work?

How to test:
- read: shutter speed displayed by ML in movie mode must match the one dialed in Canon firmware. In particular, 1/50 and 1/33.333 should be exact.
- write: see previous commit.

--HG--
branch : crop_rec_4k
parent 046e3888a3bc
......@@ -225,6 +225,11 @@
#define FRAME_SHUTTER_TIMER (*(uint16_t*)(VIDEO_PARAMETERS_SRC_3+6))
#define FRAME_BV ((int)FRAME_SHUTTER + (int)FRAME_APERTURE - (int)FRAME_ISO)
#define FRAME_SHUTTER_BLANKING_ZOOM (*(uint16_t*)0x40452d18) // ADTG register 805f
#define FRAME_SHUTTER_BLANKING_NOZOOM (*(uint16_t*)0x40452d1c) // ADTG register 8061
#define FRAME_SHUTTER_BLANKING_READ (lv_dispsize > 1 ? FRAME_SHUTTER_BLANKING_NOZOOM : FRAME_SHUTTER_BLANKING_ZOOM) /* when reading, use the other mode, as it contains the original value (not overriden) */
#define FRAME_SHUTTER_BLANKING_WRITE (lv_dispsize > 1 ? &FRAME_SHUTTER_BLANKING_ZOOM : &FRAME_SHUTTER_BLANKING_NOZOOM)
// see "Malloc Information"
#define MALLOC_STRUCT 0x4b908
#define MALLOC_FREE_MEMORY (MEM(MALLOC_STRUCT + 8) - MEM(MALLOC_STRUCT + 0x1C)) // "Total Size" - "Allocated Size"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment