Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jpx optimization #4568

Merged
merged 1 commit into from
Apr 9, 2014
Merged

Jpx optimization #4568

merged 1 commit into from
Apr 9, 2014

Conversation

p01
Copy link
Contributor

@p01 p01 commented Apr 7, 2014

20% faster JPX decoding

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Apr 7, 2014

From: Bot.io (Linux)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/df1b3459ad8637a/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 7, 2014

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.22.172.223:8877/5ed88af9a74f261/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 7, 2014

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/5ed88af9a74f261/output.txt

Total script time: 21.72 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.22.172.223:8877/5ed88af9a74f261/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Apr 7, 2014

From: Bot.io (Linux)


Failed

Full output at http://107.21.233.14:8877/df1b3459ad8637a/output.txt

Total script time: 25.49 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.21.233.14:8877/df1b3459ad8637a/reftest-analyzer.html#web=eq.log

@Snuffleupagus
Copy link
Collaborator

Based on the test results, this seems to undo the rendering improvements of "S2.pdf" from PR #4565.

@p01
Copy link
Contributor Author

p01 commented Apr 8, 2014

Snuffleupagus: I believe the breakage of "S2.pdf" is due to the little snafu in p01@fc9bc54#src-core-jpx-js-P72

@fkaelberer
Copy link
Contributor

((y[j - 1] + y[j + 1] + 2) >> 2)

Sure, you're right.

I believe the breakage of "S2.pdf" is due to the little snafu in p01/pdf.js@fc9bc54#src-core-jpx-js-P72

S2 does not use reversible transform, so I guess it's something else.

@p01
Copy link
Contributor Author

p01 commented Apr 9, 2014

Thanks!
The problem I "reintroduced" with S2.pdf was very simple.

See the fix: p01@bebf202
n was now a float and I could not use a bit shift directly.

The color differences between this branch and master never exceed 1 shade now.

@p01
Copy link
Contributor Author

p01 commented Apr 9, 2014

Any chance to get a run from BOTIO ? I don't want to block @fkaelberer 's work on memory optimizations too long

@timvandermeij
Copy link
Contributor

Sure! Here we go.

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.22.172.223:8877/8547801c61157dd/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Linux)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/de5d306cf44a297/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/8547801c61157dd/output.txt

Total script time: 21.90 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.22.172.223:8877/8547801c61157dd/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Linux)


Failed

Full output at http://107.21.233.14:8877/de5d306cf44a297/output.txt

Total script time: 25.81 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.21.233.14:8877/de5d306cf44a297/reftest-analyzer.html#web=eq.log

@p01
Copy link
Contributor Author

p01 commented Apr 9, 2014

Thanks, this seems as expected: no more than 1 shade difference.

@yurydelendik
Copy link
Contributor

/botio makeref

Really nice! Thank you for the patch

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Linux)


Received

Command cmd_makeref from @yurydelendik received. Current queue size: 0

Live output at: http://107.21.233.14:8877/95a922d2880f051/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Windows)


Received

Command cmd_makeref from @yurydelendik received. Current queue size: 0

Live output at: http://107.22.172.223:8877/75736254ec535a6/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/75736254ec535a6/output.txt

Total script time: 22.24 mins

  • Lint: Ignored
  • Make references: Passed
  • Check references: Passed

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2014

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/95a922d2880f051/output.txt

Total script time: 25.90 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

yurydelendik added a commit that referenced this pull request Apr 9, 2014
@yurydelendik yurydelendik merged commit af53635 into mozilla:master Apr 9, 2014
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.

6 participants