#include "media/mojo/mojom/stable/stable_video_decoder_types.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/stable/stable_video_decoder_types.mojom-params-data.h"
namespace media {
namespace stable {
namespace mojom {
NOINLINE static const char* VideoCodecToStringHelper(VideoCodec value) { … }
std::string VideoCodecToString(VideoCodec value) { … }
std::ostream& operator<<(std::ostream& os, VideoCodec value) { … }
NOINLINE static const char* VideoCodecProfileToStringHelper(VideoCodecProfile value) { … }
std::string VideoCodecProfileToString(VideoCodecProfile value) { … }
std::ostream& operator<<(std::ostream& os, VideoCodecProfile value) { … }
NOINLINE static const char* EncryptionSchemeToStringHelper(EncryptionScheme value) { … }
std::string EncryptionSchemeToString(EncryptionScheme value) { … }
std::ostream& operator<<(std::ostream& os, EncryptionScheme value) { … }
NOINLINE static const char* StatusCodeToStringHelper(StatusCode value) { … }
std::string StatusCodeToString(StatusCode value) { … }
std::ostream& operator<<(std::ostream& os, StatusCode value) { … }
NOINLINE static const char* VideoDecoderTypeToStringHelper(VideoDecoderType value) { … }
std::string VideoDecoderTypeToString(VideoDecoderType value) { … }
std::ostream& operator<<(std::ostream& os, VideoDecoderType value) { … }
NOINLINE static const char* ColorSpacePrimaryIDToStringHelper(ColorSpacePrimaryID value) { … }
std::string ColorSpacePrimaryIDToString(ColorSpacePrimaryID value) { … }
std::ostream& operator<<(std::ostream& os, ColorSpacePrimaryID value) { … }
NOINLINE static const char* ColorSpaceTransferIDToStringHelper(ColorSpaceTransferID value) { … }
std::string ColorSpaceTransferIDToString(ColorSpaceTransferID value) { … }
std::ostream& operator<<(std::ostream& os, ColorSpaceTransferID value) { … }
NOINLINE static const char* ColorSpaceMatrixIDToStringHelper(ColorSpaceMatrixID value) { … }
std::string ColorSpaceMatrixIDToString(ColorSpaceMatrixID value) { … }
std::ostream& operator<<(std::ostream& os, ColorSpaceMatrixID value) { … }
NOINLINE static const char* ColorSpaceRangeIDToStringHelper(ColorSpaceRangeID value) { … }
std::string ColorSpaceRangeIDToString(ColorSpaceRangeID value) { … }
std::ostream& operator<<(std::ostream& os, ColorSpaceRangeID value) { … }
NOINLINE static const char* VideoPixelFormatToStringHelper(VideoPixelFormat value) { … }
std::string VideoPixelFormatToString(VideoPixelFormat value) { … }
std::ostream& operator<<(std::ostream& os, VideoPixelFormat value) { … }
NOINLINE static const char* WaitingReasonToStringHelper(WaitingReason value) { … }
std::string WaitingReasonToString(WaitingReason value) { … }
std::ostream& operator<<(std::ostream& os, WaitingReason value) { … }
NOINLINE static const char* DecryptStatusToStringHelper(DecryptStatus value) { … }
std::string DecryptStatusToString(DecryptStatus value) { … }
std::ostream& operator<<(std::ostream& os, DecryptStatus value) { … }
NOINLINE static const char* CdmContextEventToStringHelper(CdmContextEvent value) { … }
std::string CdmContextEventToString(CdmContextEvent value) { … }
std::ostream& operator<<(std::ostream& os, CdmContextEvent value) { … }
NOINLINE static const char* MediaLogRecord_TypeToStringHelper(MediaLogRecord_Type value) { … }
std::string MediaLogRecord_TypeToString(MediaLogRecord_Type value) { … }
std::ostream& operator<<(std::ostream& os, MediaLogRecord_Type value) { … }
namespace internal {
bool SubsampleEntry_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SubsampleEntry_Data::SubsampleEntry_Data()
: … { … }
bool DecryptConfig_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DecryptConfig_Data::DecryptConfig_Data()
: … { … }
bool ColorVolumeMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ColorVolumeMetadata_Data::ColorVolumeMetadata_Data()
: … { … }
bool HDRMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HDRMetadata_Data::HDRMetadata_Data()
: … { … }
bool VideoDecoderConfig_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoDecoderConfig_Data::VideoDecoderConfig_Data()
: … { … }
bool SupportedVideoDecoderConfig_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SupportedVideoDecoderConfig_Data::SupportedVideoDecoderConfig_Data()
: … { … }
bool StatusData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
StatusData_Data::StatusData_Data()
: … { … }
bool Status_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Status_Data::Status_Data()
: … { … }
bool DecoderBufferSideData_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DecoderBufferSideData_Data::DecoderBufferSideData_Data()
: … { … }
bool DecoderBuffer_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DecoderBuffer_Data::DecoderBuffer_Data()
: … { … }
bool ColorSpace_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ColorSpace_Data::ColorSpace_Data()
: … { … }
bool NativeGpuMemoryBufferHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
NativeGpuMemoryBufferHandle_Data::NativeGpuMemoryBufferHandle_Data()
: … { … }
bool VideoFrameMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoFrameMetadata_Data::VideoFrameMetadata_Data()
: … { … }
bool VideoFrame_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoFrame_Data::VideoFrame_Data()
: … { … }
bool MediaLogRecord_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MediaLogRecord_Data::MediaLogRecord_Data()
: … { … }
}
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::VideoCodec>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::VideoCodec value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::VideoCodecProfile>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::VideoCodecProfile value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::EncryptionScheme>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::EncryptionScheme value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::StatusCode>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::StatusCode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::VideoDecoderType>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::VideoDecoderType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::ColorSpacePrimaryID>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::ColorSpacePrimaryID value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::ColorSpaceTransferID>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::ColorSpaceTransferID value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::ColorSpaceMatrixID>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::ColorSpaceMatrixID value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::ColorSpaceRangeID>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::ColorSpaceRangeID value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::VideoPixelFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::VideoPixelFormat value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::WaitingReason>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::WaitingReason value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::DecryptStatus>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::DecryptStatus value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::CdmContextEvent>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::CdmContextEvent value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::stable::mojom::MediaLogRecord_Type>::WriteIntoTrace(
perfetto::TracedValue context, ::media::stable::mojom::MediaLogRecord_Type value) { … }
}