Interface GlEffect
-
- All Superinterfaces:
Effect
- All Known Subinterfaces:
ColorLut
,GlMatrixTransformation
,MatrixTransformation
,RgbMatrix
- All Known Implementing Classes:
Contrast
,Crop
,HslAdjustment
,Presentation
,RgbAdjustment
,RgbFilter
,ScaleToFitTransformation
,SingleColorLut
public interface GlEffect extends Effect
Interface for a video frame effect with aGlTextureProcessor
implementation.Implementations contain information specifying the effect and can be converted to a
GlTextureProcessor
which applies the effect.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlTextureProcessor
toGlTextureProcessor(Context context, boolean useHdr)
Returns aSingleFrameGlTextureProcessor
that applies the effect.
-
-
-
Method Detail
-
toGlTextureProcessor
GlTextureProcessor toGlTextureProcessor(Context context, boolean useHdr) throws FrameProcessingException
Returns aSingleFrameGlTextureProcessor
that applies the effect.- Parameters:
context
- AContext
.useHdr
- Whether input textures come from an HDR source. Iftrue
, colors will be in linear RGB BT.2020. Iffalse
, colors will be in linear RGB BT.709.- Throws:
FrameProcessingException
-
-