Skip to content

Commit

Permalink
Merge pull request #263 from rayacode/master
Browse files Browse the repository at this point in the history
Update TuneEnum.java
  • Loading branch information
a-schild authored Feb 19, 2024
2 parents 3be490d + 1161703 commit 7415504
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions jave-core/src/main/java/ws/schild/jave/encode/enums/TuneEnum.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,38 @@
package ws.schild.jave.encode.enums;

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
/**
* use for high quality movie content; lowers deblocking
*/
FILM("film"),
/**
* good for cartoons; uses higher deblocking and more reference frames
*/
ANIMATION("animation"),
/**
* preserves the grain structure in old, grainy film material
*/
GRAIN("grain"),
/**
* good for slideshow-like content
*/
STILLIMAGE("stillimage"),
/**
* allows faster decoding by disabling certain filters
*/
FASTDECODE("fastdecode"),
/**
* good for fast encoding and low-latency streaming
*/
ZEROLATENCY("zerolatency"),
/**
* ignore this as it is only used for codec development
*/
PSNR("psnr"),
/**
* ignore this as it is only used for codec development
*/
SSIM("ssim");

private final String tuneName;

Expand Down

0 comments on commit 7415504

Please sign in to comment.