Package 

Class SaturationEffect

  • All Implemented Interfaces:
    com.shuyu.gsyvideoplayer.render.view.GSYVideoGLView.ShaderInterface

    
    public class SaturationEffect
     implements GSYVideoGLView.ShaderInterface
                        

    Adjusts color saturation of video. There is still some issue with this effect.

    • Constructor Summary

      Constructors 
      Constructor Description
      SaturationEffect(float scale) 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

      • SaturationEffect

        SaturationEffect(float scale)
        Initialize Effect
        Parameters:
        scale - Float, between -1 and 1.