Package me.kikoqiu.opencl.filters

Examples of me.kikoqiu.opencl.filters.ImageFilter


 
  public void init() throws IOException{
    if(clear!=null){
      return;
    }
    clear=new ImageFilter("data/helpers.c","clear");
    copy=new me.kikoqiu.opencl.filters.CopyFilter();
    _copy2array=Kernels.createFromFile(context, "data/helpers.c", "copy2array", "-cl-enable-mad");
    _adjust=Kernels.createFromFile(context, "data/helpers.c", "adjust", "-cl-enable-mad");   
  }
View Full Code Here


  }

  /***/
  private void initialize() {
    try {
      preprocess=new ImageFilter("data/optflow.c", "preprocess");
      solve=new ImageFilter("data/optflow.c","solve");
      solve_k=new ImageFilter("data/optflow.c","solve_k");
      sfPrev=new ScaleFilter();
      sfNow=new ScaleFilter();
    } catch (IOException e) {
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of me.kikoqiu.opencl.filters.ImageFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.