#ifndef SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_SHARED_IMAGE_FORMAT_MOJOM_SHARED_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_SHARED_IMAGE_FORMAT_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "services/viz/public/mojom/compositing/shared_image_format.mojom-shared-internal.h"
#include "services/viz/public/mojom/compositing/internal/singleplanar_format.mojom-shared.h"
namespace viz::mojom {
class MultiplanarFormatDataView;
class SharedImageFormatDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::viz::mojom::MultiplanarFormatDataView> { … };
template <>
struct MojomTypeTraits<::viz::mojom::SharedImageFormatDataView> { … };
}
}
namespace viz::mojom {
enum class PlaneConfig : int32_t { … };
std::ostream& operator<<(std::ostream& os, PlaneConfig value);
inline bool IsKnownEnumValue(PlaneConfig value) { … }
enum class Subsampling : int32_t { … };
std::ostream& operator<<(std::ostream& os, Subsampling value);
inline bool IsKnownEnumValue(Subsampling value) { … }
enum class ChannelFormat : int32_t { … };
std::ostream& operator<<(std::ostream& os, ChannelFormat value);
inline bool IsKnownEnumValue(ChannelFormat value) { … }
class MultiplanarFormatDataView { … };
class SharedImageFormatDataView { … };
}
namespace std {
template <>
struct hash<::viz::mojom::PlaneConfig>
: public mojo::internal::EnumHashImpl<::viz::mojom::PlaneConfig> { … };
template <>
struct hash<::viz::mojom::Subsampling>
: public mojo::internal::EnumHashImpl<::viz::mojom::Subsampling> { … };
template <>
struct hash<::viz::mojom::ChannelFormat>
: public mojo::internal::EnumHashImpl<::viz::mojom::ChannelFormat> { … };
}
namespace mojo {
namespace internal {
Serializer< ::viz::mojom::PlaneConfig, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::Subsampling, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::ChannelFormat, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::MultiplanarFormatDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::SharedImageFormatDataView, MaybeConstUserType>;
}
}
namespace viz::mojom {
inline void SharedImageFormatDataView::GetMultiplanarFormatDataView(
MultiplanarFormatDataView* output) const { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::viz::mojom::PlaneConfig> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::viz::mojom::Subsampling> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::viz::mojom::ChannelFormat> { … };
}
#endif