View difference between Paste ID: LPfPHk39 and twh1v9kj
SHOW: | | - or go back to the newest paste.
1-
1+
2
	// some variables
3
	public:
4
	//! this function will called on each packet
5-
	/*! this function will called on each packet
5+
6
		// How 
7
	}
8
	Frame* getFrame(){
9
	}
10
	Image* getOpenCVImage(){
11
	}
12
}
13
class MPEG_DEVICE{
14
	// some variables & functions
15
	public:
16
	bool hasSignal();
17
	char* getNextPacket();
18
};
19
int main(){
20
	MPEG_DEVICE dev;
21
	Analiser a;
22
	while(true){
23
		if(dev.hasSignal()){
24
			a.nextPacket(dev.getNextPacket());
25
		}
26
	}
27
}