X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcolorplaneexport.h;fp=src%2Fcolorplaneexport.h;h=32ec2bbea7f4c14f41991151a9df298e504b5b0d;hb=2f0bbf264645a589fad0cb4b7d686699a00ed00f;hp=0000000000000000000000000000000000000000;hpb=4cf9cdc9891b0ce00d5818320f942349946d695b;p=kdenlive diff --git a/src/colorplaneexport.h b/src/colorplaneexport.h new file mode 100644 index 00000000..32ec2bbe --- /dev/null +++ b/src/colorplaneexport.h @@ -0,0 +1,48 @@ +/*************************************************************************** + * Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com) * + * This file is part of kdenlive. See www.kdenlive.org. * + * * + * 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. * + ***************************************************************************/ + +/** + Exports color planes (e.g. YUV-UV-planes) to a file. + Basically just for fun, but also for comparing color models. + */ + +#ifndef COLORPLANEEXPORT_H +#define COLORPLANEEXPORT_H + +#include +#include "ui_colorplaneexport_ui.h" +#include "colortools.h" + +class ColorPlaneExport_UI; + +enum COLOR_EXPORT_MODE { CPE_YUV, CPE_YUV_MOD }; + +class ColorPlaneExport : public QDialog, public Ui::ColorPlaneExport_UI { + Q_OBJECT +public: + ColorPlaneExport(QWidget *parent = 0); + ~ColorPlaneExport(); + +protected: + +private: + ColorTools *m_colorTools; + float m_scaling; + float m_Y; + + +private slots: + void slotValidate(); + void slotExportPlane(); + void slotColormodeChanged(); + void slotUpdateDisplays(); +}; + +#endif // COLORPLANEEXPORT_H