Remove unused static VideoEncoder functions
BUG=None
TBR=stefan
Review-Url: https://codereview.webrtc.org/2967853002
Cr-Original-Commit-Position: refs/heads/master@{#18891}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: cc8856c9c29509d5c814495f61f489651a4c9f91
diff --git a/api/video_codecs/video_encoder.h b/api/video_codecs/video_encoder.h
index 0c95dfa..d0003cc 100644
--- a/api/video_codecs/video_encoder.h
+++ b/api/video_codecs/video_encoder.h
@@ -67,12 +67,6 @@
class VideoEncoder {
public:
- enum EncoderType {
- kH264,
- kVp8,
- kVp9,
- kUnsupportedCodec,
- };
struct QpThresholds {
QpThresholds(int l, int h) : low(l), high(h) {}
QpThresholds() : low(-1), high(-1) {}
@@ -87,11 +81,6 @@
const bool enabled;
const rtc::Optional<QpThresholds> thresholds;
};
- static VideoEncoder* Create(EncoderType codec_type);
- // Returns true if this type of encoder can be created using
- // VideoEncoder::Create.
- static bool IsSupportedSoftware(EncoderType codec_type);
- static EncoderType CodecToEncoderType(VideoCodecType codec_type);
static VideoCodecVP8 GetDefaultVp8Settings();
static VideoCodecVP9 GetDefaultVp9Settings();