-
- All Implemented Interfaces:
-
com.shuyu.gsyvideoplayer.render.view.GSYVideoGLView.ShaderInterface
public class DuotoneEffect implements GSYVideoGLView.ShaderInterface
Representation of video using only two color tones.
-
-
Constructor Summary
Constructors Constructor Description DuotoneEffect(int mFirstColor, int mSecondColor)Initialize effect
-
Method Summary
Modifier and Type Method Description StringgetShader(GLSurfaceView mGlSurfaceView)-
-
Constructor Detail
-
DuotoneEffect
DuotoneEffect(int mFirstColor, int mSecondColor)
Initialize effect- Parameters:
mFirstColor- Integer, representing an ARGB color with 8 bits per channel.May be created using Color class.mSecondColor- Integer, representing an ARGB color with 8 bits per channel.May be created using Color class.
-
-
Method Detail
-
getShader
String getShader(GLSurfaceView mGlSurfaceView)
-
-
-
-