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_ |