Skip to content

LJpeg: "ban" point transform#576

Merged
LebedevRI merged 1 commit into
darktable-org:developfrom
LebedevRI:ljpeg-ban-point-xform
Dec 3, 2023
Merged

LJpeg: "ban" point transform#576
LebedevRI merged 1 commit into
darktable-org:developfrom
LebedevRI:ljpeg-ban-point-xform

Conversation

@LebedevRI
Copy link
Copy Markdown
Member

I was looking at the blac/white level reading for CR2, and that apparently requires scaling said levels with the frame precision, and then i have noticed the point transform,
and that we apparently never (as of RPU sample set at least) encounter the case where it's actually active.

Looking at the spec, the thing that gives me a pause is whether the change to the initial predictor all that is to it, or do we need to also scale the decoded data?

Until such case is hit, let's single it out.

I was looking at the blac/white level reading for CR2,
and that apparently requires scaling said levels with the frame precision,
and then i have noticed the point transform,
and that we apparently never (as of RPU sample set at least)
encounter the case where it's actually active.

Looking at the spec, the thing that gives me a pause
is whether the change to the initial predictor all that is to it,
or do we need to also scale the decoded data?

Until such case is hit, let's single it out.
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 3, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (3e42f6c) 58.72% compared to head (08ee383) 58.72%.

Files Patch % Lines
...librawspeed/decompressors/AbstractLJpegDecoder.cpp 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #576      +/-   ##
===========================================
- Coverage    58.72%   58.72%   -0.01%     
===========================================
  Files          245      245              
  Lines        14180    14182       +2     
  Branches      1939     1940       +1     
===========================================
+ Hits          8327     8328       +1     
- Misses        5735     5736       +1     
  Partials       118      118              
Flag Coverage Δ
benchmarks 8.32% <0.00%> (-0.01%) ⬇️
integration 47.03% <50.00%> (+<0.01%) ⬆️
linux 56.70% <50.00%> (-0.01%) ⬇️
macOS 19.12% <0.00%> (-0.01%) ⬇️
rpu_u 47.03% <50.00%> (+<0.01%) ⬆️
unittests 17.75% <0.00%> (-0.01%) ⬇️
windows ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LebedevRI LebedevRI merged commit 1d031f6 into darktable-org:develop Dec 3, 2023
@LebedevRI LebedevRI deleted the ljpeg-ban-point-xform branch December 3, 2023 01:19
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