svc_config.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
  2. *
  3. * Use of this source code is governed by a BSD-style license
  4. * that can be found in the LICENSE file in the root of the source
  5. * tree. An additional intellectual property rights grant can be found
  6. * in the file PATENTS. All contributing project authors may
  7. * be found in the AUTHORS file in the root of the source tree.
  8. */
  9. #ifndef MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_
  10. #define MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_
  11. #include <stddef.h>
  12. #include <vector>
  13. #include "api/video_codecs/spatial_layer.h"
  14. namespace webrtc {
  15. std::vector<SpatialLayer> GetSvcConfig(size_t input_width,
  16. size_t input_height,
  17. float max_framerate_fps,
  18. size_t first_active_layer,
  19. size_t num_spatial_layers,
  20. size_t num_temporal_layers,
  21. bool is_screen_sharing);
  22. } // namespace webrtc
  23. #endif // MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_