Skip to content

Commit

Permalink
This fixes the case when we have one high-pass line. There is another…
Browse files Browse the repository at this point in the history
… bug when two rows are transformed.
  • Loading branch information
aous72 committed Feb 5, 2024
1 parent f90bb33 commit 46cc02c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/codestream/ojph_resolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,9 @@ namespace ojph {
}
else
{
float* sp = lines[0].f32;
for (ui32 i = width; i > 0; --i)
*sp++ *= 2.0f;
//push to H
irrev_horz_wvlt_fwd_tx(lines, bands[2].get_line(),
bands[3].get_line(), width, horz_even);
Expand Down

0 comments on commit 46cc02c

Please sign in to comment.