| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 * | 9 * |
| 10 */ | 10 */ |
| 11 #ifndef WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEOTOOLBOXVIDEOCODECFACTORY_H_ | 11 #ifndef WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEOTOOLBOX_VIDEOCODECFACTORY_H_ |
| 12 #define WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEOTOOLBOXVIDEOCODECFACTORY_H_ | 12 #define WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEOTOOLBOX_VIDEOCODECFACTORY_H_ |
| 13 | 13 |
| 14 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" | 14 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" |
| 15 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" | 15 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" |
| 16 | 16 |
| 17 namespace webrtc { | 17 namespace webrtc { |
| 18 | 18 |
| 19 class VideoToolboxVideoEncoderFactory | 19 class VideoToolboxVideoEncoderFactory |
| 20 : public cricket::WebRtcVideoEncoderFactory { | 20 : public cricket::WebRtcVideoEncoderFactory { |
| 21 public: | 21 public: |
| 22 VideoToolboxVideoEncoderFactory(); | 22 VideoToolboxVideoEncoderFactory(); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 42 // WebRtcVideoDecoderFactory implementation. | 42 // WebRtcVideoDecoderFactory implementation. |
| 43 VideoDecoder* CreateVideoDecoder(VideoCodecType type) override; | 43 VideoDecoder* CreateVideoDecoder(VideoCodecType type) override; |
| 44 void DestroyVideoDecoder(VideoDecoder* decoder) override; | 44 void DestroyVideoDecoder(VideoDecoder* decoder) override; |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 std::vector<cricket::VideoCodec> supported_codecs_; | 47 std::vector<cricket::VideoCodec> supported_codecs_; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace webrtc | 50 } // namespace webrtc |
| 51 | 51 |
| 52 #endif // WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEOTOOLBOXVIDEOCODECFACTORY_H_ | 52 #endif // WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEOTOOLBOX_VIDEOCODECFACTORY_H_ |
| OLD | NEW |