#ifndef _PL_H264DECODER_H_
|
#define _PL_H264DECODER_H_
|
|
#include "PipeLine.h"
|
|
struct PL_H264Decoder_Config
|
{
|
bool resetPTS;
|
|
PL_H264Decoder_Config() : resetPTS(true) { }
|
};
|
|
class PL_H264Decoder : public PipeLineElem
|
{
|
public:
|
PL_H264Decoder();
|
virtual ~PL_H264Decoder();
|
|
virtual bool init(void* args);
|
virtual void finit();
|
|
virtual bool pay(const PipeMaterial& pm);
|
virtual bool gain(PipeMaterial& pm);
|
|
private:
|
void* internal;
|
};
|
|
PipeLineElem* create_PL_H264Decoder();
|
|
#endif
|