Showing 1 of 1 files from the diff.
@@ -150,9 +150,9 @@
Loading
150 | 150 | mRootIFD->getEntryRecursive(static_cast<CiffTag>(0x0032)); |
|
151 | 151 | if (wb->type == CIFF_BYTE && wb->count == 768) { |
|
152 | 152 | // We're in a D30 file, values are RGGB |
|
153 | - | // This will probably not get used anyway as a 0x102c tag should exist |
|
154 | - | std::array<uint8_t, 4> wbMuls{{wb->getByte(72), wb->getByte(73), |
|
155 | - | wb->getByte(74), wb->getByte(75)}}; |
|
153 | + | // This, not 0x102c tag, should be used. |
|
154 | + | std::array<uint16_t, 4> wbMuls{ |
|
155 | + | {wb->getU16(36), wb->getU16(37), wb->getU16(38), wb->getU16(39)}}; |
|
156 | 156 | for (const auto& mul : wbMuls) { |
|
157 | 157 | if (0 == mul) |
|
158 | 158 | ThrowRDE("WB coeffient is zero!"); |
@@ -189,7 +189,7 @@
Loading
189 | 189 | mRaw->metadata.wbCoeffs[1] = static_cast<float>(entry->getU16(63)); |
|
190 | 190 | mRaw->metadata.wbCoeffs[2] = static_cast<float>(entry->getU16(60)); |
|
191 | 191 | mRaw->metadata.wbCoeffs[3] = static_cast<float>(entry->getU16(61)); |
|
192 | - | } else if (entry->type == CIFF_SHORT) { |
|
192 | + | } else if (entry->type == CIFF_SHORT && entry->getU16() != 276) { |
|
193 | 193 | /* G2, S30, S40 */ |
|
194 | 194 | mRaw->metadata.wbCoeffs[0] = static_cast<float>(entry->getU16(51)); |
|
195 | 195 | mRaw->metadata.wbCoeffs[1] = (static_cast<float>(entry->getU16(50)) + |
Files | Coverage |
---|---|
fuzz | 1.10% |
src | 58.59% |
test/librawspeed | 62.48% |
Project Totals (215 files) | 56.93% |
linux.GNU.Coverage.Integration
CXX=GNU ARCH=x86_64 OS=linux
integration
rpu_u
windows-latest.MINGW64.GNU.Coverage.Unittests
CXX=GNU ARCH=x86_64 OS=windows
unittests
windows-latest.MINGW32.GNU.Coverage.Unittests
CXX=GNU ARCH=i686 OS=windows
unittests
1 |
codecov: |
2 |
notify: |
3 |
require_ci_to_pass: true |
4 |
coverage: |
5 |
precision: 2 |
6 |
range: "0...100" |
7 |
round: down |
8 |
status: |
9 |
changes: false |
10 |
patch: false |
11 |
project: false |
12 |
ignore: |
13 |
- test/.* |
14 |
notify: |
15 |
irc: |
16 |
default: |
17 |
server: "chat.freenode.net" |
18 |
channel: "#rawspeed" |
19 |
parsers: |
20 |
gcov: |
21 |
branch_detection: |
22 |
conditional: true |
23 |
loop: true |
24 |
macro: false |
25 |
method: false |
26 |
comment: |
27 |
behavior: default |
28 |
layout: header, diff |
29 |
require_changes: false |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.