#include "media/mojo/mojom/video_encoder_metrics_provider.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/video_encoder_metrics_provider.mojom-params-data.h"
namespace media {
namespace mojom {
NOINLINE static const char* VideoEncoderUseCaseToStringHelper(VideoEncoderUseCase value) { … }
std::string VideoEncoderUseCaseToString(VideoEncoderUseCase value) { … }
std::ostream& operator<<(std::ostream& os, VideoEncoderUseCase value) { … }
namespace internal {
bool VideoEncoderMetricsProvider_Initialize_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoEncoderMetricsProvider_Initialize_Params_Data::VideoEncoderMetricsProvider_Initialize_Params_Data()
: … { … }
bool VideoEncoderMetricsProvider_SetEncodedFrameCount_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoEncoderMetricsProvider_SetEncodedFrameCount_Params_Data::VideoEncoderMetricsProvider_SetEncodedFrameCount_Params_Data()
: … { … }
bool VideoEncoderMetricsProvider_SetError_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoEncoderMetricsProvider_SetError_Params_Data::VideoEncoderMetricsProvider_SetError_Params_Data()
: … { … }
bool VideoEncoderMetricsProvider_Complete_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoEncoderMetricsProvider_Complete_Params_Data::VideoEncoderMetricsProvider_Complete_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::VideoEncoderUseCase>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::VideoEncoderUseCase value) { … }
}