Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some initial optimization work on RGB converter.
Unrolled loop once so we don't have to read the same pb and pr array elements twice, and moved some variables out of the inner loop. Now a little less than 2x as fast as before! Note that this was about 4x as slow as the YV12 output, now it's about 2x as slow. :)
- Loading branch information
Showing
1 changed file
with
38 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters