-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoder: add convenience input sett. alternatives
Add function returning gpujpeg_encoder_input structure for convenience, mostly to make tools like clang-tidy happy that the struct is initialized when defined. It is much better than tempting user to use something like (`= { 0 }`) to suppress the warning. Also this can be used in C++ brace-or-equal or class initializer section.
- Loading branch information
1 parent
27503d7
commit 5a5d8ae
Showing
3 changed files
with
38 additions
and
0 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
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