-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from rayacode/master
Adding Tune video attribute
- Loading branch information
Showing
3 changed files
with
39 additions
and
3 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
20 changes: 20 additions & 0 deletions
20
jave-core/src/main/java/ws/schild/jave/encode/enums/TuneEnum.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
public enum TuneEnum { | ||
FILM("film"),//use for high quality movie content; lowers deblocking | ||
ANIMATION("animation"),//good for cartoons; uses higher deblocking and more reference frames | ||
GRAIN("grain"),//preserves the grain structure in old, grainy film material | ||
STILLIMAGE("stillimage"),//good for slideshow-like content | ||
FASTDECODE("fastdecode"),//allows faster decoding by disabling certain filters | ||
ZEROLATENCY("zerolatency"),//good for fast encoding and low-latency streaming | ||
PSNR("psnr"),//ignore this as it is only used for codec development | ||
SSIM("ssim");//ignore this as it is only used for codec development | ||
|
||
private final String tuneName; | ||
|
||
TuneEnum(String tuneName) { | ||
this.tuneName = tuneName; | ||
} | ||
|
||
public String getTuneName() { | ||
return tuneName; | ||
} | ||
} |