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
b2d93549
authored
Jan 24, 2023
by
huangdarwin
Committed by
christosts
Jan 25, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Effect: Clarify GlEffect javadoc exception cause.
PiperOrigin-RevId: 504273335
parent
7abbd6aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
library/effect/src/main/java/com/google/android/exoplayer2/effect/GlEffect.java
library/effect/src/main/java/com/google/android/exoplayer2/effect/GlEffect.java
View file @
b2d93549
...
...
@@ -29,11 +29,13 @@ import com.google.android.exoplayer2.util.FrameProcessingException;
public
interface
GlEffect
extends
Effect
{
/**
* Returns a {@link
SingleFrame
GlTextureProcessor} that applies the effect.
* Returns a {@link GlTextureProcessor} that applies the effect.
*
* @param context A {@link Context}.
* @param useHdr Whether input textures come from an HDR source. If {@code true}, colors will be
* in linear RGB BT.2020. If {@code false}, colors will be in linear RGB BT.709.
* @throws FrameProcessingException If an error occurs while creating the {@link
* GlTextureProcessor}.
*/
GlTextureProcessor
toGlTextureProcessor
(
Context
context
,
boolean
useHdr
)
throws
FrameProcessingException
;
...
...
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