feat: Sony A7 V (ILCE-7M5) support#1
Open
puzza007 wants to merge 2 commits into
Open
Conversation
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.
d8acfc2 to
aecdf07
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sony A7 V (ILCE-7M5) support
Adds full RAW decode support for the Sony A7 V across all capture modes.
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).