mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Effect: Clarify GlEffect javadoc exception cause.
PiperOrigin-RevId: 504273335
This commit is contained in:
parent
7abbd6aa1f
commit
b2d9354951
1 changed files with 3 additions and 1 deletions
|
|
@ -29,11 +29,13 @@ import com.google.android.exoplayer2.util.FrameProcessingException;
|
||||||
public interface GlEffect extends Effect {
|
public interface GlEffect extends Effect {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a {@link SingleFrameGlTextureProcessor} that applies the effect.
|
* Returns a {@link GlTextureProcessor} that applies the effect.
|
||||||
*
|
*
|
||||||
* @param context A {@link Context}.
|
* @param context A {@link Context}.
|
||||||
* @param useHdr Whether input textures come from an HDR source. If {@code true}, colors will be
|
* @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.
|
* 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)
|
GlTextureProcessor toGlTextureProcessor(Context context, boolean useHdr)
|
||||||
throws FrameProcessingException;
|
throws FrameProcessingException;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue