Class HslAdjustment
- java.lang.Object
-
- com.google.android.exoplayer2.effect.HslAdjustment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHslAdjustment.BuilderA builder forHslAdjustmentinstances.
-
Field Summary
Fields Modifier and Type Field Description floathueAdjustmentDegreesIndicates the hue adjustment in degrees.floatlightnessAdjustmentIndicates the lightness adjustment.floatsaturationAdjustmentIndicates the saturation adjustment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleFrameGlTextureProcessortoGlTextureProcessor(Context context, boolean useHdr)Returns aSingleFrameGlTextureProcessorthat applies the effect.
-
-
-
Field Detail
-
hueAdjustmentDegrees
public final float hueAdjustmentDegrees
Indicates the hue adjustment in degrees.
-
saturationAdjustment
public final float saturationAdjustment
Indicates the saturation adjustment.
-
lightnessAdjustment
public final float lightnessAdjustment
Indicates the lightness adjustment.
-
-
Method Detail
-
toGlTextureProcessor
public SingleFrameGlTextureProcessor toGlTextureProcessor(Context context, boolean useHdr) throws FrameProcessingException
Description copied from interface:GlEffectReturns aSingleFrameGlTextureProcessorthat applies the effect.- Specified by:
toGlTextureProcessorin interfaceGlEffect- 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
-
-