blob: 0129fb217336b21ec578fbdfbb9ca83ee9610286 [file] [log] [blame]
magjeddd407022016-12-01 08:27:271/*
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
Steve Anton10542f22019-01-11 17:11:0011#ifndef MEDIA_ENGINE_INTERNAL_DECODER_FACTORY_H_
12#define MEDIA_ENGINE_INTERNAL_DECODER_FACTORY_H_
magjeddd407022016-12-01 08:27:2713
Magnus Jedvert7501b1c2017-11-09 12:43:4214#include <memory>
magjeddd407022016-12-01 08:27:2715#include <vector>
16
Yves Gerey3e707812018-11-28 15:47:4917#include "api/video_codecs/sdp_video_format.h"
18#include "api/video_codecs/video_decoder.h"
Magnus Jedvert7501b1c2017-11-09 12:43:4219#include "api/video_codecs/video_decoder_factory.h"
Mirko Bonadei66e76792019-04-02 09:33:5920#include "rtc_base/system/rtc_export.h"
magjeddd407022016-12-01 08:27:2721
Magnus Jedvert7501b1c2017-11-09 12:43:4222namespace webrtc {
magjeddd407022016-12-01 08:27:2723
Mirko Bonadei66e76792019-04-02 09:33:5924class RTC_EXPORT InternalDecoderFactory : public VideoDecoderFactory {
magjeddd407022016-12-01 08:27:2725 public:
Magnus Jedvert7501b1c2017-11-09 12:43:4226 std::vector<SdpVideoFormat> GetSupportedFormats() const override;
Johannes Kronb26863e2021-09-15 10:56:0427 CodecSupport QueryCodecSupport(const SdpVideoFormat& format,
28 bool reference_scaling) const override;
Magnus Jedvert7501b1c2017-11-09 12:43:4229 std::unique_ptr<VideoDecoder> CreateVideoDecoder(
30 const SdpVideoFormat& format) override;
magjeddd407022016-12-01 08:27:2731};
32
Magnus Jedvert7501b1c2017-11-09 12:43:4233} // namespace webrtc
magjeddd407022016-12-01 08:27:2734
Steve Anton10542f22019-01-11 17:11:0035#endif // MEDIA_ENGINE_INTERNAL_DECODER_FACTORY_H_