mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Effect: Improve setEnableColorTransfers javadoc.
PiperOrigin-RevId: 619250163
This commit is contained in:
parent
7a105e0e57
commit
24e1796c50
1 changed files with 7 additions and 0 deletions
|
|
@ -111,7 +111,14 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
|||
/**
|
||||
* Sets whether to transfer colors to an intermediate color space when applying effects.
|
||||
*
|
||||
* <p>The default value is {@code true}.
|
||||
*
|
||||
* <p>If the input or output is HDR, this must be {@code true}.
|
||||
*
|
||||
* <p>If all input and output content will be SDR, it's recommended to set this value to
|
||||
* {@code false}. This is because 8-bit colors in SDR may result in color banding.
|
||||
*
|
||||
* <p>This doesn't currently work with overlay effects (ex. {@link TextureOverlay}).
|
||||
*/
|
||||
@CanIgnoreReturnValue
|
||||
public Builder setEnableColorTransfers(boolean enableColorTransfers) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue