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

PDFImage_resize: copy in place with alpha and ~5x speed up #4666

Merged
merged 1 commit into from
Apr 24, 2014

Conversation

p01
Copy link
Contributor

@p01 p01 commented Apr 23, 2014

The implementation of PDFImage_resize was very basic.
Also when ColorSpace_fillRgb needs a resized copy with alpha, there was an unnecessary copy with padding for the alpha.

This PR also saves memory and garbage collection.

@Snuffleupagus
Copy link
Collaborator

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://107.22.172.223:8877/baa800cb5fe12f6/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/baa800cb5fe12f6/output.txt

Total script time: 21.89 mins

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

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

Total script time: 25.78 mins

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

yurydelendik added a commit that referenced this pull request Apr 24, 2014
PDFImage_resize: copy in place with alpha and ~5x speed up
@yurydelendik yurydelendik merged commit 26bea20 into mozilla:master Apr 24, 2014
@yurydelendik
Copy link
Contributor

Thank you

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.

4 participants