/***************************************************************************
    copyright            : (C) 2011 by mean
    email                : fixounet@free.fr
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#pragma once

#include "msharpen.h"
/**
    \class flyMSharpen
*/
class flyMSharpen : public ADM_flyDialogYuv
{
protected:
   uint32_t    invstrength;
   ADMImage    *blur,*work;
public:
   msharpen    param;

   uint8_t     processYuv(ADMImage* in, ADMImage *out);
   uint8_t     download(void);
   uint8_t     upload();
   void        blockChanges(bool block);
   void        setTabOrder(void);
               flyMSharpen (QDialog *parent,uint32_t width,uint32_t height,ADM_coreVideoFilter *in,
                                    ADM_QCanvas *canvas, ADM_flyNavSlider *slider);
                
   virtual     ~flyMSharpen() ;
};
// EOF
