-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use iterators in create_border_luma, add_residue, predict_dcpred (#15)
Use iterators in places where indices are manually calculated because the compiler doesn't always optimize them. Iterators can remove extra bound checks or enable other optimzations like memset/memcpy or vectorized mov instructions. Use branchless clamping in a loop to produce better vectorized code
- Loading branch information
Showing
1 changed file
with
13 additions
and
15 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