Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9f8002f1
authored
Sep 27, 2019
by
andrewlewis
Committed by
Oliver Woodman
Oct 02, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update LINT.IfChange for extension constants
PiperOrigin-RevId: 271617996
parent
b50da6d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
extensions/vp9/src/main/jni/vpx_jni.cc
library/core/src/main/java/com/google/android/exoplayer2/video/VideoDecoderOutputBuffer.java
extensions/vp9/src/main/jni/vpx_jni.cc
View file @
9f8002f1
...
@@ -532,15 +532,19 @@ DECODER_FUNC(jint, vpxGetFrame, jlong jContext, jobject jOutputBuffer) {
...
@@ -532,15 +532,19 @@ DECODER_FUNC(jint, vpxGetFrame, jlong jContext, jobject jOutputBuffer) {
return
1
;
return
1
;
}
}
// LINT.IfChange
const
int
kOutputModeYuv
=
0
;
const
int
kOutputModeYuv
=
0
;
const
int
kOutputModeSurfaceYuv
=
1
;
const
int
kOutputModeSurfaceYuv
=
1
;
// LINT.ThenChange(../../../../../library/core/src/main/java/com/google/android/exoplayer2/C.java)
int
outputMode
=
env
->
GetIntField
(
jOutputBuffer
,
outputModeField
);
int
outputMode
=
env
->
GetIntField
(
jOutputBuffer
,
outputModeField
);
if
(
outputMode
==
kOutputModeYuv
)
{
if
(
outputMode
==
kOutputModeYuv
)
{
// LINT.IfChange
const
int
kColorspaceUnknown
=
0
;
const
int
kColorspaceUnknown
=
0
;
const
int
kColorspaceBT601
=
1
;
const
int
kColorspaceBT601
=
1
;
const
int
kColorspaceBT709
=
2
;
const
int
kColorspaceBT709
=
2
;
const
int
kColorspaceBT2020
=
3
;
const
int
kColorspaceBT2020
=
3
;
// LINT.ThenChange(../../../../../library/core/src/main/java/com/google/android/exoplayer2/video/VideoDecoderOutputBuffer.java)
int
colorspace
=
kColorspaceUnknown
;
int
colorspace
=
kColorspaceUnknown
;
switch
(
img
->
cs
)
{
switch
(
img
->
cs
)
{
...
...
library/core/src/main/java/com/google/android/exoplayer2/video/VideoDecoderOutputBuffer.java
View file @
9f8002f1
...
@@ -31,15 +31,13 @@ public class VideoDecoderOutputBuffer extends OutputBuffer {
...
@@ -31,15 +31,13 @@ public class VideoDecoderOutputBuffer extends OutputBuffer {
*
*
* @param outputBuffer Output buffer.
* @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_UNKNOWN
=
0
;
public
static
final
int
COLORSPACE_BT601
=
1
;
public
static
final
int
COLORSPACE_BT601
=
1
;
public
static
final
int
COLORSPACE_BT709
=
2
;
public
static
final
int
COLORSPACE_BT709
=
2
;
public
static
final
int
COLORSPACE_BT2020
=
3
;
public
static
final
int
COLORSPACE_BT2020
=
3
;
// LINT.ThenChange(../../../../../../../../../../extensions/av1/src/main/jni/gav1_jni.cc)
/** Decoder private data. */
/** Decoder private data. */
public
int
decoderPrivate
;
public
int
decoderPrivate
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment