add bilateral to local denoise and enhanced GUI

This commit is contained in:
Desmis
2017-12-23 09:34:39 +01:00
parent 42d0f550c9
commit 9713604b12
15 changed files with 422 additions and 38 deletions

View File

@@ -625,30 +625,53 @@ enum ProcEventCode {
Evlocallabhuerefblur = 595,
EvlocallabEnabled = 596,
EvlocallablocY = 597,
Evlocallabbilateral = 598,
NUMOFEVENTS
};
class ProcEvent {
class ProcEvent
{
public:
ProcEvent(): code_(0) {}
ProcEvent(ProcEventCode code): code_(code) {}
explicit ProcEvent(int code): code_(code) {}
operator int() { return code_; }
operator int()
{
return code_;
}
private:
int code_;
};
inline bool operator==(ProcEvent a, ProcEvent b) { return int(a) == int(b); }
inline bool operator==(ProcEvent a, ProcEventCode b) { return int(a) == int(b); }
inline bool operator==(ProcEventCode a, ProcEvent b) { return int(a) == int(b); }
inline bool operator!=(ProcEvent a, ProcEvent b) { return int(a) != int(b); }
inline bool operator!=(ProcEvent a, ProcEventCode b) { return int(a) != int(b); }
inline bool operator!=(ProcEventCode a, ProcEvent b) { return int(a) != int(b); }
inline bool operator==(ProcEvent a, ProcEvent b)
{
return int(a) == int(b);
}
inline bool operator==(ProcEvent a, ProcEventCode b)
{
return int(a) == int(b);
}
inline bool operator==(ProcEventCode a, ProcEvent b)
{
return int(a) == int(b);
}
inline bool operator!=(ProcEvent a, ProcEvent b)
{
return int(a) != int(b);
}
inline bool operator!=(ProcEvent a, ProcEventCode b)
{
return int(a) != int(b);
}
inline bool operator!=(ProcEventCode a, ProcEvent b)
{
return int(a) != int(b);
}
}
#endif