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 aGlTextureProcessorimplementation.Implementations contain information specifying the effect and can be converted to a
GlTextureProcessorwhich applies the effect.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlTextureProcessortoGlTextureProcessor(Context context, boolean useHdr)Returns aSingleFrameGlTextureProcessorthat applies the effect.
-
-
-
Method Detail
-
toGlTextureProcessor
GlTextureProcessor toGlTextureProcessor(Context context, boolean useHdr) throws FrameProcessingException
Returns aSingleFrameGlTextureProcessorthat 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
-
-