-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opencl: Clean handling of lmask32, rmask32
Both arrays are only used in openclwrapper.cpp, so move them into that file. The first element of both arrays was unused. Remove it and fix the code which reads the array elements accordingly. Sort this code, too. These changes reduce the code size a little bit: text data bss dec hex filename 2461743 6676 2742784 5211203 4f8443 1/api/tesseract (old) 2461599 6676 2742784 5211059 4f83b3 2/api/tesseract (new) Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
24 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
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