1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27

media / renderers / win / media_foundation_rendering_mode.h [blame]

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MEDIA_RENDERERS_WIN_MEDIA_FOUNDATION_RENDERING_MODE_H_
#define MEDIA_RENDERERS_WIN_MEDIA_FOUNDATION_RENDERING_MODE_H_

#include "media/base/media_export.h"

#include <ostream>

namespace media {

// This C++ enum is the equivalent to mojom::MediaFoundationRenderingMode
enum class MediaFoundationRenderingMode : int32_t {
  DirectComposition = 0,
  FrameServer = 1,
  kMaxValue = 1,
};

MEDIA_EXPORT std::ostream& operator<<(
    std::ostream& os,
    const MediaFoundationRenderingMode& render_mode);

}  // namespace media

#endif  // MEDIA_RENDERERS_WIN_MEDIA_FOUNDATION_RENDERING_MODE_H_