Skip to content

Raw fixes part 3

Alex requested to merge branch/raw_fixes into branch/unified

Most of them are cherry-picked from the recent experimental branches, but they do not depend on the new features, so I think they can be merged into unified right now - of course, if they look OK to you. They are bugfixes or minor backend refactors.

Next on the list: mlv_lite. After that, revisit pre-recording.

  • EOSM, 700D, 650D, 6D: enabled CONFIG_EDMAC_RAW_SLURP (EOSM: included fix from 061ac7652184)

  • all cameras with RAW_SLURP:

    • get LV RAW resolution from 0xC0F06800/4 or 0xC0F06084/8, instead of hardcoded values

    • use the same PREFERRED_RAW_TYPE (CCD); see this analysis; should fix digital ISO behavior (e.g. 640 should be identical to 800 in RAW) and bad pixels in preview (if your camera had these issues); in other words, raw behavior should be consistent with 5D3 on most recent models now

    • use the same EDMAC channel as Canon code (0x12 on all new models)

  • edmac-memcpy.c: refactored to avoid static struct edmac_info

  • Raw backend: RAW_TYPE_ADDRESS no longer needed

  • raw_rec: fix recording speed not measured with lvinfo indicator

  • Raw backend: fix noise around raw previews on HDMI screens

  • Attempt to fix null ptr issues (not tested, as I'm unable to reproduce the bug)

Merge request reports