Effect: Improve setEnableColorTransfers javadoc.
PiperOrigin-RevId: 619250163
This commit is contained in:
parent
7a105e0e57
commit
24e1796c50
@ -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…
x
Reference in New Issue
Block a user