Effect
@UnstableApi
public interface Effect
AlphaScale |
Scales the alpha value (i.e. the translucency) of a frame. |
Brightness |
Modifies brightness of an input frame. |
ByteBufferGlEffect |
A |
ColorConversion |
Converts frames from an input color space to an electrical output color space. |
ColorLut |
Specifies color transformations using color lookup tables to apply to each frame in the fragment shader. |
Contrast |
A |
Crop |
Specifies a crop to apply in the vertex shader. |
DebugViewEffect |
|
FrameCache |
Caches the input frames. |
FrameDropEffect |
Drops frames to lower average frame rate to around |
GaussianBlurWithFrameOverlaid |
A |
GaussianBlur |
A |
GlMatrixTransformation |
Specifies a 4x4 transformation |
HslAdjustment |
Adjusts the HSL (Hue, Saturation, and Lightness) of a frame. |
LanczosResample |
A |
MatrixTransformation |
Specifies a 3x3 transformation |
OverlayEffect |
Applies a list of |
Presentation |
Controls how a frame is presented with options to set the output resolution and choose how to map the input pixels onto the output frame geometry (for example, by stretching the input frame to match the specified output frame, or fitting the input frame using letterboxing). |
RgbAdjustment |
Scales the red, green, and blue color channels of a frame. |
RgbFilter |
Provides common color filters. |
RgbMatrix |
Specifies a 4x4 RGB color transformation matrix to apply to each frame in the fragment shader. |
ScaleAndRotateTransformation |
Specifies a simple rotation and/or scale to apply in the vertex shader. |
SeparableConvolution |
A |
SingleColorLut |
Transforms the colors of a frame by applying the same color lookup table to each frame. |
SpeedChangeEffect |
This class is deprecated. Use |
TimestampAdjustment |
This class is deprecated. Use |
TimestampWrapper |
Applies a |
Marker interface for a video frame effect.
Summary
Public methods
getDurationAfterEffectApplied
default long getDurationAfterEffectApplied(long durationUs)
Returns the expected duration of the output stream when the effect is applied given a input durationUs.
