File was renamed from RtspFace/PL_Fork.h |
| | |
| | | #ifndef _PL_FORK_H_
|
| | | #define _PL_FORK_H_
|
| | | #ifndef _PL_FORK1_H_
|
| | | #define _PL_FORK1_H_
|
| | |
|
| | | #include "PipeLine.h"
|
| | |
|
| | | // p1e1 p1e2<fork> p1e3 ... p1eN
|
| | | // p2e1 p2e2... p2eN
|
| | | class PL_Fork : public PipeLineElem
|
| | | class PL_Fork1 : public PipeLineElem
|
| | | {
|
| | | public:
|
| | | enum ForkBy
|
| | |
| | | };
|
| | |
|
| | | public:
|
| | | PL_Fork();
|
| | | virtual ~PL_Fork();
|
| | | PL_Fork1();
|
| | | virtual ~PL_Fork1();
|
| | |
|
| | | virtual bool init(void* args);
|
| | | virtual void finit();
|
| | |
| | | PipeLine* pl;
|
| | | };
|
| | |
|
| | | struct PL_Fork_Config
|
| | | struct PL_Fork1_Config
|
| | | {
|
| | | PL_Fork::ForkBy forkBy;
|
| | | PL_Fork::ForkSync forkSync;
|
| | | PL_Fork1::ForkBy forkBy;
|
| | | PL_Fork1::ForkSync forkSync;
|
| | |
|
| | | int mainPLType;
|
| | | int branchPLType;
|
| | |
|
| | | PL_Fork_Config() : |
| | | forkBy(PL_Fork::FB_NONE), forkSync(PL_Fork::FS_NONE), mainPLType(0), branchPLType(0)
|
| | | PL_Fork1_Config() : |
| | | forkBy(PL_Fork1::FB_NONE), forkSync(PL_Fork1::FS_NONE), mainPLType(0), branchPLType(0)
|
| | | { }
|
| | | };
|
| | |
|
| | | PipeLineElem* create_PL_Fork();
|
| | | PipeLineElem* create_PL_Fork1();
|
| | |
|
| | | #endif
|