Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1108)

Unified Diff: webrtc/modules/video_capture/video_capture_defines.h

Issue 2534553002: Replace VideoCaptureDataCallback by VideoSinkInterface. (Closed)
Patch Set: Break overlong lines. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/video_capture/video_capture.h ('k') | webrtc/modules/video_capture/video_capture_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_capture/video_capture_defines.h
diff --git a/webrtc/modules/video_capture/video_capture_defines.h b/webrtc/modules/video_capture/video_capture_defines.h
index ef97ecab9db478e0656f2aa271cbc1eed61bf943..5124d745acfa76d486c28741e38725e886c0cc85 100644
--- a/webrtc/modules/video_capture/video_capture_defines.h
+++ b/webrtc/modules/video_capture/video_capture_defines.h
@@ -69,12 +69,6 @@ struct VideoCaptureCapability
}
};
-enum VideoCaptureAlarm
-{
- Raised = 0,
- Cleared = 1
-};
-
/* External Capture interface. Returned by Create
and implemented by the capture module.
*/
@@ -90,29 +84,6 @@ protected:
~VideoCaptureExternal() {}
};
-// Callback class to be implemented by module user
-class VideoCaptureDataCallback
-{
-public:
- virtual void OnIncomingCapturedFrame(const int32_t id,
- const VideoFrame& videoFrame) = 0;
- virtual void OnCaptureDelayChanged(const int32_t id,
- const int32_t delay) = 0;
-protected:
- virtual ~VideoCaptureDataCallback(){}
-};
-
-class VideoCaptureFeedBack
-{
-public:
- virtual void OnCaptureFrameRate(const int32_t id,
- const uint32_t frameRate) = 0;
- virtual void OnNoPictureAlarm(const int32_t id,
- const VideoCaptureAlarm alarm) = 0;
-protected:
- virtual ~VideoCaptureFeedBack(){}
-};
-
} // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEFINES_H_
« no previous file with comments | « webrtc/modules/video_capture/video_capture.h ('k') | webrtc/modules/video_capture/video_capture_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698