chromium/out/Default/gen/media/mojo/mojom/stable/stable_video_decoder_types.mojom-shared.cc

// media/mojo/mojom/stable/stable_video_decoder_types.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "media/mojo/mojom/stable/stable_video_decoder_types.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#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 {


// static
bool SubsampleEntry_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

SubsampleEntry_Data::SubsampleEntry_Data()
    :{}


// static
bool DecryptConfig_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DecryptConfig_Data::DecryptConfig_Data()
    :{}


// static
bool ColorVolumeMetadata_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ColorVolumeMetadata_Data::ColorVolumeMetadata_Data()
    :{}


// static
bool HDRMetadata_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

HDRMetadata_Data::HDRMetadata_Data()
    :{}


// static
bool VideoDecoderConfig_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

VideoDecoderConfig_Data::VideoDecoderConfig_Data()
    :{}


// static
bool SupportedVideoDecoderConfig_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

SupportedVideoDecoderConfig_Data::SupportedVideoDecoderConfig_Data()
    :{}


// static
bool StatusData_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

StatusData_Data::StatusData_Data()
    :{}


// static
bool Status_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

Status_Data::Status_Data()
    :{}


// static
bool DecoderBufferSideData_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DecoderBufferSideData_Data::DecoderBufferSideData_Data()
    :{}


// static
bool DecoderBuffer_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

DecoderBuffer_Data::DecoderBuffer_Data()
    :{}


// static
bool ColorSpace_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

ColorSpace_Data::ColorSpace_Data()
    :{}


// static
bool NativeGpuMemoryBufferHandle_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

NativeGpuMemoryBufferHandle_Data::NativeGpuMemoryBufferHandle_Data()
    :{}


// static
bool VideoFrameMetadata_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

VideoFrameMetadata_Data::VideoFrameMetadata_Data()
    :{}


// static
bool VideoFrame_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

VideoFrame_Data::VideoFrame_Data()
    :{}


// static
bool MediaLogRecord_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

MediaLogRecord_Data::MediaLogRecord_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace stable
}  // namespace media

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::VideoCodec>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::VideoCodec value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::VideoCodecProfile>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::VideoCodecProfile value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::EncryptionScheme>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::EncryptionScheme value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::StatusCode>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::StatusCode value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::VideoDecoderType>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::VideoDecoderType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::ColorSpacePrimaryID>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::ColorSpacePrimaryID value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::ColorSpaceTransferID>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::ColorSpaceTransferID value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::ColorSpaceMatrixID>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::ColorSpaceMatrixID value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::ColorSpaceRangeID>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::ColorSpaceRangeID value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::VideoPixelFormat>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::VideoPixelFormat value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::WaitingReason>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::WaitingReason value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::DecryptStatus>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::DecryptStatus value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::CdmContextEvent>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::CdmContextEvent value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::media::stable::mojom::MediaLogRecord_Type>::WriteIntoTrace(
   perfetto::TracedValue context, ::media::stable::mojom::MediaLogRecord_Type value) {}

} // namespace perfetto