#include "media/mojo/mojom/audio_encoder.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "media/mojo/mojom/audio_encoder.mojom-params-data.h"
namespace media {
namespace mojom {
NOINLINE static const char* AacOutputFormatToStringHelper(AacOutputFormat value) { … }
std::string AacOutputFormatToString(AacOutputFormat value) { … }
std::ostream& operator<<(std::ostream& os, AacOutputFormat value) { … }
namespace internal {
bool AacAudioEncoderConfig_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AacAudioEncoderConfig_Data::AacAudioEncoderConfig_Data()
: … { … }
bool AudioEncoderConfig_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoderConfig_Data::AudioEncoderConfig_Data()
: … { … }
bool EncodedAudioBuffer_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
EncodedAudioBuffer_Data::EncodedAudioBuffer_Data()
: … { … }
bool AudioEncoder_Initialize_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoder_Initialize_Params_Data::AudioEncoder_Initialize_Params_Data()
: … { … }
bool AudioEncoder_Initialize_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoder_Initialize_ResponseParams_Data::AudioEncoder_Initialize_ResponseParams_Data()
: … { … }
bool AudioEncoder_Encode_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoder_Encode_Params_Data::AudioEncoder_Encode_Params_Data()
: … { … }
bool AudioEncoder_Encode_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoder_Encode_ResponseParams_Data::AudioEncoder_Encode_ResponseParams_Data()
: … { … }
bool AudioEncoder_Flush_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoder_Flush_Params_Data::AudioEncoder_Flush_Params_Data()
: … { … }
bool AudioEncoder_Flush_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoder_Flush_ResponseParams_Data::AudioEncoder_Flush_ResponseParams_Data()
: … { … }
bool AudioEncoderClient_OnEncodedBufferReady_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioEncoderClient_OnEncodedBufferReady_Params_Data::AudioEncoderClient_OnEncodedBufferReady_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::AacOutputFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::AacOutputFormat value) { … }
}