blob: 7420129600c4c1f56e035c7383752ed4402318e8 [file] [log] [blame]
magjeddd407022016-12-01 00:27:27 -08001/*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#ifndef MEDIA_ENGINE_INTERNALDECODERFACTORY_H_
12#define MEDIA_ENGINE_INTERNALDECODERFACTORY_H_
magjeddd407022016-12-01 00:27:27 -080013
Magnus Jedvert7501b1c2017-11-09 13:43:42 +010014#include <memory>
magjeddd407022016-12-01 00:27:27 -080015#include <vector>
16
Magnus Jedvert7501b1c2017-11-09 13:43:42 +010017#include "api/video_codecs/video_decoder_factory.h"
magjeddd407022016-12-01 00:27:27 -080018
Magnus Jedvert7501b1c2017-11-09 13:43:42 +010019namespace webrtc {
magjeddd407022016-12-01 00:27:27 -080020
Magnus Jedvert7501b1c2017-11-09 13:43:42 +010021class InternalDecoderFactory : public VideoDecoderFactory {
magjeddd407022016-12-01 00:27:27 -080022 public:
Magnus Jedvert7501b1c2017-11-09 13:43:42 +010023 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
24 std::unique_ptr<VideoDecoder> CreateVideoDecoder(
25 const SdpVideoFormat& format) override;
magjeddd407022016-12-01 00:27:27 -080026};
27
Magnus Jedvert7501b1c2017-11-09 13:43:42 +010028} // namespace webrtc
magjeddd407022016-12-01 00:27:27 -080029
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020030#endif // MEDIA_ENGINE_INTERNALDECODERFACTORY_H_