VC5Decompressor: support GoPro HERO10/HERO11 CFA pattern
Should be a more performant variant of https://github.com/darktable-org/rawspeed/pull/308
Didn't bother w/ further generalization because of the 1 vs 2 vs many rule ;) (GPR codec seems to use only these 2 patterns)
Codecov Report
Merging #372 (7ab3837) into develop (d723728) will decrease coverage by
0.08%. The diff coverage is42.42%.
@@ Coverage Diff @@
## develop #372 +/- ##
===========================================
- Coverage 59.58% 59.50% -0.09%
===========================================
Files 207 207
Lines 12625 12643 +18
Branches 1766 1769 +3
===========================================
Hits 7523 7523
- Misses 4964 4981 +17
- Partials 138 139 +1
| Flag | Coverage Δ | |
|---|---|---|
| integration | 47.42% <46.66%> (-0.07%) |
:arrow_down: |
| rpu_u | 47.42% <46.66%> (-0.07%) |
:arrow_down: |
| unittests | 21.78% <0.00%> (-0.04%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/librawspeed/decompressors/VC5Decompressor.cpp | 72.87% <42.42%> (-2.83%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update d723728...7ab3837. Read the comment docs.
BTW, someone still needs to contribute a raw sample from GoPo HERO11 to https://raw.pixls.us/.
Yeah, admittedly not the most elegant...