Package 

Class DuotoneEffect

  • 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
      String getShader(GLSurfaceView mGlSurfaceView)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.