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

Unified Diff: webrtc/modules/video_coding/codecs/test/objc_codec_h264_test.h

Issue 2978623002: Implement H264 codec in Objective-C classes. (Closed)
Patch Set: Fix test after rebase. Created 3 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/modules/video_coding/DEPS ('k') | webrtc/modules/video_coding/codecs/test/objc_codec_h264_test.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/codecs/test/objc_codec_h264_test.h
diff --git a/webrtc/modules/video_coding/codecs/test/objc_codec_h264_test.h b/webrtc/modules/video_coding/codecs/test/objc_codec_h264_test.h
new file mode 100644
index 0000000000000000000000000000000000000000..879a6525b6d8a735a0392579e7c9d2fb7b98378b
--- /dev/null
+++ b/webrtc/modules/video_coding/codecs/test/objc_codec_h264_test.h
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2017 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_OBJC_CODEC_H264_TEST_H_
+#define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_OBJC_CODEC_H264_TEST_H_
+
+#include "webrtc/media/engine/webrtcvideodecoderfactory.h"
+#include "webrtc/media/engine/webrtcvideoencoderfactory.h"
+
+namespace webrtc {
+
+/** Wrap ObjCVideoEncoderFactory in a header that can be used from pure C++ */
+class ObjCVideoEncoderFactoryWrapper {
+ public:
+ ObjCVideoEncoderFactoryWrapper();
+ ~ObjCVideoEncoderFactoryWrapper();
+
+ cricket::WebRtcVideoEncoderFactory* wrapped_encoder_factory() const;
+
+ private:
+ cricket::WebRtcVideoEncoderFactory* encoder_factory_;
+};
+
+/** Wrap ObjCVideoDecoderFactory in a header that can be used from pure C++ */
+class ObjCVideoDecoderFactoryWrapper {
+ public:
+ ObjCVideoDecoderFactoryWrapper();
+ ~ObjCVideoDecoderFactoryWrapper();
+
+ cricket::WebRtcVideoDecoderFactory* wrapped_decoder_factory() const;
+
+ private:
+ cricket::WebRtcVideoDecoderFactory* decoder_factory_;
+};
+
+} // namespace webrtc
+
+#endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_OBJC_CODEC_H264_TEST_H_
« no previous file with comments | « webrtc/modules/video_coding/DEPS ('k') | webrtc/modules/video_coding/codecs/test/objc_codec_h264_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698