mirror of
https://github.com/akai-katto/dandere2x.git
synced 2026-04-16 02:41:30 +02:00
56 lines
1.8 KiB
Objective-C
56 lines
1.8 KiB
Objective-C
|
|
/*
|
|
This file is part of the Dandere2x project.
|
|
|
|
Dandere2x 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 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Dandere2x is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Foobar. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/*
|
|
========= Copyright aka_katto 2018, All rights reserved. ============
|
|
Original Author: aka_katto
|
|
Date: 4/11/20
|
|
Purpose: Given two frames, try to find as many matching blocks between
|
|
them, either by using stationary block matching techniques,
|
|
or by using motion-prediction block matching algorithm.
|
|
===================================================================== */
|
|
|
|
|
|
#ifndef CPP_REWORK_PREDICTIVEFRAME_H
|
|
#define CPP_REWORK_PREDICTIVEFRAME_H
|
|
|
|
#include <memory>
|
|
#include <utility>
|
|
#import "AbstractPlugin.h"
|
|
#import "../frame/Frame.h"
|
|
|
|
using namespace std;
|
|
class PredictiveFrame : AbstractPlugin {
|
|
public:
|
|
PredictiveFrame(shared_ptr<Frame> current_frame,
|
|
const shared_ptr<Frame>& next_frame,
|
|
const shared_ptr<Frame>& next_frame_compressed,
|
|
const int block_size) : AbstractPlugin(move(current_frame),
|
|
next_frame,
|
|
next_frame_compressed,
|
|
block_size){
|
|
}
|
|
|
|
private:
|
|
|
|
|
|
};
|
|
|
|
|
|
#endif //CPP_REWORK_PREDICTIVEFRAME_H
|