mirror of
https://github.com/Michael-Prince-Sharpe/bsnes-classic.git
synced 2025-04-02 10:21:42 -04:00
22 lines
479 B
C++
22 lines
479 B
C++
class XbrzFilter : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
void bind(configuration&);
|
|
void size(unsigned&, unsigned&, unsigned, unsigned);
|
|
void render(uint32_t*, unsigned, const uint16_t*, unsigned, unsigned, unsigned);
|
|
QWidget *settings();
|
|
|
|
private:
|
|
QWidget *widget = nullptr;
|
|
|
|
private:
|
|
unsigned factor;
|
|
bool nearestNeighbor;
|
|
std::vector<uint32_t> src_32;
|
|
|
|
private slots:
|
|
void factorChanged(int value);
|
|
void nearestNeighborChanged(int value);
|
|
} filter_xbrz;
|
|
|