#ifndef _PL_AndroidStagefrightDecoder_H_
|
#define _PL_AndroidStagefrightDecoder_H_
|
|
#include "PipeLine.h"
|
|
struct PL_ASFD_Config
|
{
|
const bool delay_init_in_pay;
|
|
PL_ASFD_Config() :
|
delay_init_in_pay(true)
|
{}
|
};
|
|
class PL_AndroidStagefrightDecoder : public PipeLineElem
|
{
|
public:
|
PL_AndroidStagefrightDecoder();
|
virtual ~PL_AndroidStagefrightDecoder();
|
|
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_AndroidStagefrightDecoder();
|
|
#endif
|