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

Saturation: streamline and parallelize #428

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Feb 6, 2020

Once again, Saturation was fairly efficient already, but adding #pragma omp parallel for and eliminating some intermediate variable storage allows it to run roughly twice as fast on my system, and I would expect even better results from a more powerful CPU.

@codecov-io
Copy link

codecov-io commented Feb 6, 2020

Codecov Report

Merging #428 into develop will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #428      +/-   ##
===========================================
+ Coverage    42.37%   42.39%   +0.01%     
===========================================
  Files          129      129              
  Lines        13276    13270       -6     
===========================================
  Hits          5626     5626              
+ Misses        7650     7644       -6
Impacted Files Coverage Δ
src/effects/Saturation.cpp 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 49972b2...4979028. Read the comment docs.

@jonoomph
Copy link
Member

I love these optimizations, so long as they don't crash on systems. 👍

@jonoomph jonoomph merged commit e5f11e9 into OpenShot:develop Feb 27, 2020
@ferdnyc ferdnyc deleted the optimize-sat branch February 28, 2020 02:45
@ferdnyc
Copy link
Contributor Author

ferdnyc commented Feb 28, 2020

I love them even if they crash! #LivingDangerously (Besides, crashes can be fixed. 👼 )

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.

None yet

3 participants