f9022120fb1e5301180e29bfa1e75c0313b95c0b
14 /*----------------------------------------------------------------------*\
16 \*---------------------------------------------------------------------*/
18 /*--------------------------------------*\
20 \*-------------------------------------*/
23 * http://opencv.willowgarage.com/wiki/VideoCodecs
27 /*--------------------------------------*\
29 \*-------------------------------------*/
33 Capture_A(VideoCapture
* ptrCaptureStream
,const string
& title
, uchar4
* ptrHostMemory
=NULL
);
34 virtual ~Capture_A(void);
36 /*--------------------------------------*\
38 \*-------------------------------------*/
42 VideoCapture
* getVideoCapture(void);
45 string
getTitle(void);
46 Chronos
getChronos(void);
50 int nbOctetImage(void);
53 virtual void printInfo(void);
56 * Temps a attendre entre 2 captures pour respecter fps original
58 virtual int dtOriginalMS(void);
61 * To be call periodicly to obtain image
62 * Type pas RVBA, mais BVRA
67 static uchar4
* castToUChar4(uchar
* ptrTab
);
68 static uchar4
* castToUChar4(Mat
* ptrMap
);
72 virtual void readStream(VideoCapture
* ptrCaptureStream
, Mat
* ptrMatCaptureSrc
)=0;
77 /*--------------------------------------*\
79 \*-------------------------------------*/
98 VideoCapture
* ptrCaptureStream
;
103 /*----------------------------------------------------------------------*\
105 \*---------------------------------------------------------------------*/