mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #19827 from alalek:build_videoio_macosx_override_3.4
This commit is contained in:
commit
6865787a75
@ -90,13 +90,14 @@ class CvCaptureCAM : public CvCapture {
|
|||||||
public:
|
public:
|
||||||
CvCaptureCAM(int cameraNum = -1) ;
|
CvCaptureCAM(int cameraNum = -1) ;
|
||||||
~CvCaptureCAM();
|
~CvCaptureCAM();
|
||||||
virtual bool grabFrame();
|
bool grabFrame() CV_OVERRIDE;
|
||||||
virtual IplImage* retrieveFrame(int);
|
IplImage* retrieveFrame(int) CV_OVERRIDE;
|
||||||
virtual IplImage* queryFrame();
|
double getProperty(int property_id) const CV_OVERRIDE;
|
||||||
virtual double getProperty(int property_id) const;
|
bool setProperty(int property_id, double value) CV_OVERRIDE;
|
||||||
virtual bool setProperty(int property_id, double value);
|
|
||||||
virtual int didStart();
|
|
||||||
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
|
|
||||||
|
virtual IplImage* queryFrame();
|
||||||
|
virtual int didStart();
|
||||||
private:
|
private:
|
||||||
AVCaptureSession *mCaptureSession;
|
AVCaptureSession *mCaptureSession;
|
||||||
AVCaptureDeviceInput *mCaptureDeviceInput;
|
AVCaptureDeviceInput *mCaptureDeviceInput;
|
||||||
@ -132,12 +133,13 @@ class CvCaptureFile : public CvCapture {
|
|||||||
public:
|
public:
|
||||||
CvCaptureFile(const char* filename) ;
|
CvCaptureFile(const char* filename) ;
|
||||||
~CvCaptureFile();
|
~CvCaptureFile();
|
||||||
virtual bool grabFrame();
|
bool grabFrame() CV_OVERRIDE;
|
||||||
virtual IplImage* retrieveFrame(int);
|
IplImage* retrieveFrame(int) CV_OVERRIDE;
|
||||||
virtual double getProperty(int property_id) const;
|
double getProperty(int property_id) const CV_OVERRIDE;
|
||||||
virtual bool setProperty(int property_id, double value);
|
bool setProperty(int property_id, double value) CV_OVERRIDE;
|
||||||
virtual int didStart();
|
|
||||||
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
|
|
||||||
|
virtual int didStart();
|
||||||
private:
|
private:
|
||||||
AVAsset *mAsset;
|
AVAsset *mAsset;
|
||||||
AVAssetTrack *mAssetTrack;
|
AVAssetTrack *mAssetTrack;
|
||||||
|
@ -94,13 +94,14 @@ class CvCaptureCAM : public CvCapture {
|
|||||||
public:
|
public:
|
||||||
CvCaptureCAM(int cameraNum = -1) ;
|
CvCaptureCAM(int cameraNum = -1) ;
|
||||||
~CvCaptureCAM();
|
~CvCaptureCAM();
|
||||||
virtual bool grabFrame();
|
bool grabFrame() CV_OVERRIDE;
|
||||||
virtual IplImage* retrieveFrame(int);
|
IplImage* retrieveFrame(int) CV_OVERRIDE;
|
||||||
virtual double getProperty(int property_id) const;
|
double getProperty(int property_id) const CV_OVERRIDE;
|
||||||
virtual bool setProperty(int property_id, double value);
|
bool setProperty(int property_id, double value) CV_OVERRIDE;
|
||||||
virtual int didStart();
|
|
||||||
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
|
|
||||||
|
virtual int didStart();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AVCaptureSession *mCaptureSession;
|
AVCaptureSession *mCaptureSession;
|
||||||
AVCaptureDeviceInput *mCaptureDeviceInput;
|
AVCaptureDeviceInput *mCaptureDeviceInput;
|
||||||
@ -136,13 +137,14 @@ class CvCaptureFile : public CvCapture {
|
|||||||
public:
|
public:
|
||||||
CvCaptureFile(const char* filename) ;
|
CvCaptureFile(const char* filename) ;
|
||||||
~CvCaptureFile();
|
~CvCaptureFile();
|
||||||
virtual bool grabFrame();
|
bool grabFrame() CV_OVERRIDE;
|
||||||
virtual IplImage* retrieveFrame(int);
|
IplImage* retrieveFrame(int) CV_OVERRIDE;
|
||||||
virtual double getProperty(int property_id) const;
|
double getProperty(int property_id) const CV_OVERRIDE;
|
||||||
virtual bool setProperty(int property_id, double value);
|
bool setProperty(int property_id, double value) CV_OVERRIDE;
|
||||||
virtual int didStart();
|
|
||||||
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
|
|
||||||
|
virtual int didStart();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AVAsset *mAsset;
|
AVAsset *mAsset;
|
||||||
AVAssetTrack *mAssetTrack;
|
AVAssetTrack *mAssetTrack;
|
||||||
|
Loading…
Reference in New Issue
Block a user