Skip to content

feat: Sony A7 V (ILCE-7M5) support#1

Open
puzza007 wants to merge 2 commits into
NarrativeApp:masterfrom
puzza007:feat/sony-a7v-support
Open

feat: Sony A7 V (ILCE-7M5) support#1
puzza007 wants to merge 2 commits into
NarrativeApp:masterfrom
puzza007:feat/sony-a7v-support

Conversation

@puzza007

@puzza007 puzza007 commented Jul 7, 2026

Copy link
Copy Markdown
Member

Sony A7 V (ILCE-7M5) support

Adds full RAW decode support for the Sony A7 V across all capture modes.

  • Camera identification, color matrix, body features, and crop rules — lossless-compressed ARW decodes via the existing path.
  • ARW6 "Compressed RAW 2" decoder for the lossy and HQ modes (TIFF Compression 32766).

Validated byte-exact against Adobe DNG Converter on full-frame and APS-C, lossy and HQ samples (100% identical, max diff 0).

Provenance / review note: src/decoders/sony_arw6.cpp (2nd commit) is vendored from the still-unmerged upstream LibRaw PR LibRaw#824 (author y-g-jiang; LGPL/CDDL). It embeds an Adobe-derived tone-curve LUT and uses green-average R/B decorrelation (cf. GoPro US8718390, active ~2027).

puzza007 added 2 commits July 7, 2026 16:28
Camera ID, model normalization, body features, color matrix, camera-list entry, and crop rules for the Sony A7 V. Enables correct decoding of lossless-compressed ARW files via the existing decode path.
Vendor the ARW6 wavelet decoder from LibRaw PR LibRaw#824 (y-g-jiang) and dispatch TIFF Compression=32766 to it, covering the A7 V lossy and HQ RAW modes. The decoder emits a 2x-scaled (~15-bit) buffer, so the native 14-bit black/white levels are doubled for the ARW6 path (lossless frames keep their native levels). Validated byte-exact against Adobe DNG Converter, for both the raw plane and developed color, on full-frame and APS-C samples.
@puzza007 puzza007 force-pushed the feat/sony-a7v-support branch from d8acfc2 to aecdf07 Compare July 7, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant