Skip to content

Commit

Permalink
Create TuneEnum.java
Browse files Browse the repository at this point in the history
Tune enum for h264
  • Loading branch information
rayacode authored Jan 31, 2024
1 parent 5a2a6e3 commit 80ac60f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions jave-core/src/main/java/ws/schild/jave/encode/enums/TuneEnum.java
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;
}
}

0 comments on commit 80ac60f

Please sign in to comment.