-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve encoder parameter configuration (#196)
**Motivation:** Hello, Currently, configuring `Encoder.Parameters` requires the following two steps: 1. Create an `Encoder.Parameters` object. 2. Use setter methods like `quality`, `lgwin`, or `mode` to configure it. This approach can be unnecessarily complex and may lack clarity. **Modification:** In this PR, I propose adding static methods to configure `Encoder.Parameters` without explicitly creating an object. This makes the configuration process more intuitive and concise. **Result:** I believe this change will enhance code usability. I would appreciate your review! Thanks.
- Loading branch information
1 parent
a422ac9
commit 7c3f557
Showing
3 changed files
with
30 additions
and
6 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