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

Side by Side Diff: webrtc/modules/video_coding/codecs/h264/include/h264.h

Issue 1306813009: H.264 video codec support using OpenH264/FFmpeg (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Re-enable H264 in video_loopback and screenshare_loopback after rebase (video_quality_test) Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 */
(...skipping 12 matching lines...) Expand all
23 23
24 #endif // defined(WEBRTC_IOS) || defined(WEBRTC_MAC) 24 #endif // defined(WEBRTC_IOS) || defined(WEBRTC_MAC)
25 25
26 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" 26 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h"
27 27
28 namespace webrtc { 28 namespace webrtc {
29 29
30 class H264Encoder : public VideoEncoder { 30 class H264Encoder : public VideoEncoder {
31 public: 31 public:
32 static H264Encoder* Create(); 32 static H264Encoder* Create();
33 // If H.264 is supported (any implementation).
33 static bool IsSupported(); 34 static bool IsSupported();
35 // If H.264 is supported with OpenH264/H264EncoderImpl implementation.
36 static bool IsSupportedOpenH264();
hta - Chromium 2015/10/01 09:45:51 I can't see anyone who calls this function. 1) Is
hbos 2015/10/01 12:19:45 My bad, it was used in a prior PS. It's not needed
stefan-webrtc 2015/10/01 13:13:52 Then I guess you want to delete it? :)
hbos 2015/11/27 14:43:42 Oh, alright then! :)
34 37
35 ~H264Encoder() override {} 38 ~H264Encoder() override {}
36 }; 39 };
37 40
38 class H264Decoder : public VideoDecoder { 41 class H264Decoder : public VideoDecoder {
39 public: 42 public:
40 static H264Decoder* Create(); 43 static H264Decoder* Create();
44 // If H.264 is supported (any implementation).
41 static bool IsSupported(); 45 static bool IsSupported();
46 // If H.264 is supported with OpenH264/H264DecoderImpl implementation.
47 static bool IsSupportedOpenH264();
42 48
43 ~H264Decoder() override {} 49 ~H264Decoder() override {}
44 }; 50 };
45 51
46 } // namespace webrtc 52 } // namespace webrtc
47 53
48 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_ 54 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698