mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Update LINT.IfChange for extension constants
PiperOrigin-RevId: 271617996
This commit is contained in:
parent
b50da6d72e
commit
9f8002f16a
@ -532,15 +532,19 @@ DECODER_FUNC(jint, vpxGetFrame, jlong jContext, jobject jOutputBuffer) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// LINT.IfChange
|
||||
const int kOutputModeYuv = 0;
|
||||
const int kOutputModeSurfaceYuv = 1;
|
||||
// LINT.ThenChange(../../../../../library/core/src/main/java/com/google/android/exoplayer2/C.java)
|
||||
|
||||
int outputMode = env->GetIntField(jOutputBuffer, outputModeField);
|
||||
if (outputMode == kOutputModeYuv) {
|
||||
// LINT.IfChange
|
||||
const int kColorspaceUnknown = 0;
|
||||
const int kColorspaceBT601 = 1;
|
||||
const int kColorspaceBT709 = 2;
|
||||
const int kColorspaceBT2020 = 3;
|
||||
// LINT.ThenChange(../../../../../library/core/src/main/java/com/google/android/exoplayer2/video/VideoDecoderOutputBuffer.java)
|
||||
|
||||
int colorspace = kColorspaceUnknown;
|
||||
switch (img->cs) {
|
||||
|
@ -31,15 +31,13 @@ public class VideoDecoderOutputBuffer extends OutputBuffer {
|
||||
*
|
||||
* @param outputBuffer Output buffer.
|
||||
*/
|
||||
public void releaseOutputBuffer(VideoDecoderOutputBuffer outputBuffer);
|
||||
void releaseOutputBuffer(VideoDecoderOutputBuffer outputBuffer);
|
||||
}
|
||||
|
||||
// LINT.IfChange
|
||||
public static final int COLORSPACE_UNKNOWN = 0;
|
||||
public static final int COLORSPACE_BT601 = 1;
|
||||
public static final int COLORSPACE_BT709 = 2;
|
||||
public static final int COLORSPACE_BT2020 = 3;
|
||||
// LINT.ThenChange(../../../../../../../../../../extensions/av1/src/main/jni/gav1_jni.cc)
|
||||
|
||||
/** Decoder private data. */
|
||||
public int decoderPrivate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user