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

Unified Diff: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h

Issue 2135953002: AVFoundationVideoCapturer: Output native frames instead of I420 frames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: CVBufferRelease when dropping frame in capturer Created 4 years, 5 months 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/sdk/DEPS ('k') | webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
diff --git a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
index c523b527bbb0de88ee9adf88139e4d8348bbf1cd..37378e7da183edfdc0e91fce42f8a66ed247fbe8 100644
--- a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
+++ b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h
@@ -13,6 +13,7 @@
#import <AVFoundation/AVFoundation.h>
+#include "webrtc/common_video/include/i420_buffer_pool.h"
#include "webrtc/media/base/videocapturer.h"
#include "webrtc/video_frame.h"
@@ -61,10 +62,11 @@ class AVFoundationVideoCapturer : public cricket::VideoCapturer,
void OnMessage(rtc::Message *msg) override;
private:
- void OnFrameMessage(CVImageBufferRef image_buffer, int64_t capture_time);
+ void OnFrameMessage(CVImageBufferRef image_buffer, int64_t capture_time_ns);
RTCAVFoundationVideoCapturerInternal *_capturer;
rtc::Thread *_startThread; // Set in Start(), unset in Stop().
+ webrtc::I420BufferPool _buffer_pool;
}; // AVFoundationVideoCapturer
} // namespace webrtc
« no previous file with comments | « webrtc/sdk/DEPS ('k') | webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698