media_foundation_rendering_mode.h 731 B

123456789101112131415161718192021222324
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef MEDIA_RENDERERS_WIN_MEDIA_FOUNDATION_RENDERING_MODE_H_
  5. #define MEDIA_RENDERERS_WIN_MEDIA_FOUNDATION_RENDERING_MODE_H_
  6. #include <ostream>
  7. namespace media {
  8. // This C++ enum is the equivalent to mojom::MediaFoundationRenderingMode
  9. enum class MediaFoundationRenderingMode : int32_t {
  10. DirectComposition = 0,
  11. FrameServer = 1,
  12. kMaxValue = 1,
  13. };
  14. std::ostream& operator<<(std::ostream& os,
  15. const MediaFoundationRenderingMode& render_mode);
  16. } // namespace media
  17. #endif // MEDIA_RENDERERS_WIN_MEDIA_FOUNDATION_RENDERING_MODE_H_