#ifndef _PL_BlockPredictor_H_
|
#define _PL_BlockPredictor_H_
|
|
#include "PipeLine.h"
|
|
typedef float (plbg_user_score_func_t*)(const PipeMaterial& pm);
|
|
struct PL_BlockPredictor_Config
|
{
|
|
PL_BlockPredictor_Config() :
|
copyData(true)
|
{ }
|
};
|
|
class PL_BlockPredictor : public PipeLineElem
|
{
|
public:
|
PL_BlockPredictor();
|
virtual ~PL_BlockPredictor();
|
|
virtual bool init(void* args);
|
virtual void finit();
|
|
virtual bool pay(const PipeMaterial& pm);
|
virtual bool gain(PipeMaterial& pm);
|
|
private:
|
static bool pay_breaker_MBFT_YUV(const PipeMaterial* pm, void* args);
|
|
private:
|
void* internal;
|
};
|
|
PipeLineElem* create_PL_BlockPredictor();
|
|
#endif
|