#ifndef MEDIA_MOJO_MOJOM_AUDIO_ENCODER_MOJOM_SHARED_H_
#define MEDIA_MOJO_MOJOM_AUDIO_ENCODER_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 "media/mojo/mojom/audio_encoder.mojom-shared-internal.h"
#include "media/mojo/mojom/media_types.mojom-shared.h"
#include "media/mojo/mojom/audio_parameters.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/public/cpp/bindings/native_enum.h"
#include "mojo/public/cpp/bindings/lib/native_struct_serialization.h"
namespace media::mojom {
class AacAudioEncoderConfigDataView;
class AudioEncoderConfigDataView;
class EncodedAudioBufferDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::media::mojom::AacAudioEncoderConfigDataView> { … };
template <>
struct MojomTypeTraits<::media::mojom::AudioEncoderConfigDataView> { … };
template <>
struct MojomTypeTraits<::media::mojom::EncodedAudioBufferDataView> { … };
}
}
namespace media::mojom {
enum class AacOutputFormat : int32_t { … };
std::ostream& operator<<(std::ostream& os, AacOutputFormat value);
inline bool IsKnownEnumValue(AacOutputFormat value) { … }
class AudioEncoderInterfaceBase { … };
AudioEncoderPtrDataView;
AudioEncoderRequestDataView;
AudioEncoderAssociatedPtrInfoDataView;
AudioEncoderAssociatedRequestDataView;
class AudioEncoderClientInterfaceBase { … };
AudioEncoderClientPtrDataView;
AudioEncoderClientRequestDataView;
AudioEncoderClientAssociatedPtrInfoDataView;
AudioEncoderClientAssociatedRequestDataView;
class AacAudioEncoderConfigDataView { … };
class AudioEncoderConfigDataView { … };
class EncodedAudioBufferDataView { … };
}
namespace std {
template <>
struct hash<::media::mojom::AacOutputFormat>
: public mojo::internal::EnumHashImpl<::media::mojom::AacOutputFormat> { … };
}
namespace mojo {
namespace internal {
Serializer< ::media::mojom::AacOutputFormat, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::AacAudioEncoderConfigDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::AudioEncoderConfigDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::EncodedAudioBufferDataView, MaybeConstUserType>;
}
}
namespace media::mojom {
inline void AudioEncoderConfigDataView::GetAacDataView(
AacAudioEncoderConfigDataView* output) { … }
inline void EncodedAudioBufferDataView::GetParamsDataView(
::media::mojom::AudioParametersDataView* output) { … }
inline void EncodedAudioBufferDataView::GetTimestampDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void EncodedAudioBufferDataView::GetDurationDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void EncodedAudioBufferDataView::GetDataDataView(
mojo::ArrayDataView<uint8_t>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::media::mojom::AacOutputFormat> { … };
}
#endif