From 474a5571e27ef70f2657f04206aa53b7bc03a2ca 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 (cherry picked from commit 75f920bf25bf052630a16d1d983516409e797363) --- .../androidx/media3/effect/MatrixTextureProcessor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java b/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java index 6ffefd9446..32535007d2 100644 --- a/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java +++ b/google3/third_party/java_src/android_libs/media/libraries/effect/src/main/java/androidx/media3/effect/MatrixTextureProcessor.java @@ -166,7 +166,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. @@ -226,7 +226,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. @@ -275,8 +275,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