pans
2017-08-30 71c92f101b6c8b4a678a8c3cfe2d8edbf488efa4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#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