Commit 641f0477 by huangdarwin Committed by christosts

HDR: Clarify media3.effect hdrStaticInfo / colorRange support.

Clarify that we always output on full range colors, and don't handle
hdrStaticInfo input yet.

PiperOrigin-RevId: 503224687
parent c09f6108
......@@ -67,6 +67,11 @@ public final class GlEffectsFrameProcessor implements FrameProcessor {
* required, and {@link ColorInfo#colorTransfer outputColorInfo.colorTransfer} must be {@link
* C#COLOR_TRANSFER_ST2084}.
*
* <p>{@link Effect}s are applied on {@link C#COLOR_RANGE_FULL} colors with {@code null} {@link
* ColorInfo#hdrStaticInfo}. {@code inputColorInfo}'s {@link ColorInfo#hdrStaticInfo} and {@code
* outputColorInfo}'s {@link ColorInfo#colorRange} values are currently ignored, in favor of
* {@code null} and {@link C#COLOR_RANGE_FULL}, respectively.
*
* <p>Pass a {@link MoreExecutors#directExecutor() direct listenerExecutor} if invoking the
* {@code listener} on {@link GlEffectsFrameProcessor}'s internal thread is desired.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment