From 10cb5f17e0169d669866bc6fcf1825b48102cd3d Mon Sep 17 00:00:00 2001 From: leonwind Date: Mon, 12 Sep 2022 09:52:09 +0000 Subject: [PATCH] Add rgb matrices to java docs for public constructors. PiperOrigin-RevId: 473699927 --- .../androidx/media3/effect/MatrixTextureProcessor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java b/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java index 7b6062e916..d967e104e5 100644 --- a/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java +++ b/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java @@ -168,7 +168,7 @@ import java.util.List; * *

Applies the {@code electricalColorInfo} EOTF to convert from electrical color input, to * intermediate optical {@link GlTextureProcessor} color output, before {@code - * matrixTransformations} are applied. + * matrixTransformations} and {@code rgbMatrices} are applied. * *

Intermediate optical colors are linear RGB BT.2020 if {@code electricalColorInfo} is * {@linkplain ColorInfo#isTransferHdr(ColorInfo) HDR}, and gamma RGB BT.709 if not. @@ -228,7 +228,7 @@ import java.util.List; * *

Applies the {@code electricalColorInfo} OETF to convert from intermediate optical {@link * GlTextureProcessor} color input, to electrical color output, after {@code - * matrixTransformations} are applied. + * matrixTransformations} and {@code rgbMatrices} are applied. * *

Intermediate optical colors are linear RGB BT.2020 if {@code electricalColorInfo} is * {@linkplain ColorInfo#isTransferHdr(ColorInfo) HDR}, and gamma RGB BT.709 if not. @@ -277,8 +277,8 @@ import java.util.List; * #setTextureTransformMatrix(float[])} to provide the transformation matrix associated with the * external texture. * - *

Applies the OETF, {@code matrixTransformations}, then the EOTF, to convert from and to input - * and output electrical colors. + *

Applies the OETF, {@code matrixTransformations}, {@code rgbMatrices}, then the EOTF, to + * convert from and to input and output electrical colors. * * @param context The {@link Context}. * @param matrixTransformations The {@link GlMatrixTransformation GlMatrixTransformations} to