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

// media/mojo/mojom/media_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/media_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/media_types.mojom-params-data.h"
namespace media {
namespace mojom {

NOINLINE static const char* VideoRotationToStringHelper(VideoRotation value) {}

std::string VideoRotationToString(VideoRotation value) {}

std::ostream& operator<<(std::ostream& os, VideoRotation value) {}

NOINLINE static const char* EncryptionTypeToStringHelper(EncryptionType value) {}

std::string EncryptionTypeToString(EncryptionType value) {}

std::ostream& operator<<(std::ostream& os, EncryptionType value) {}

NOINLINE static const char* SVCScalabilityModeToStringHelper(SVCScalabilityMode value) {}

std::string SVCScalabilityModeToString(SVCScalabilityMode value) {}

std::ostream& operator<<(std::ostream& os, SVCScalabilityMode value) {}

NOINLINE static const char* SVCInterLayerPredModeToStringHelper(SVCInterLayerPredMode value) {}

std::string SVCInterLayerPredModeToString(SVCInterLayerPredMode value) {}

std::ostream& operator<<(std::ostream& os, SVCInterLayerPredMode value) {}

NOINLINE static const char* CdmSessionClosedReasonToStringHelper(CdmSessionClosedReason value) {}

std::string CdmSessionClosedReasonToString(CdmSessionClosedReason value) {}

std::ostream& operator<<(std::ostream& os, CdmSessionClosedReason value) {}

NOINLINE static const char* SharedImageFormatTypeToStringHelper(SharedImageFormatType value) {}

std::string SharedImageFormatTypeToString(SharedImageFormatType value) {}

std::ostream& operator<<(std::ostream& os, SharedImageFormatType value) {}

NOINLINE static const char* MediaStreamTypeToStringHelper(MediaStreamType value) {}

std::string MediaStreamTypeToString(MediaStreamType value) {}

std::ostream& operator<<(std::ostream& os, MediaStreamType value) {}

NOINLINE static const char* InputStreamErrorCodeToStringHelper(InputStreamErrorCode value) {}

std::string InputStreamErrorCodeToString(InputStreamErrorCode value) {}

std::ostream& operator<<(std::ostream& os, InputStreamErrorCode value) {}

NOINLINE static const char* RendererTypeToStringHelper(RendererType value) {}

std::string RendererTypeToString(RendererType value) {}

std::ostream& operator<<(std::ostream& os, RendererType value) {}

NOINLINE static const char* CreateCdmStatusToStringHelper(CreateCdmStatus value) {}

std::string CreateCdmStatusToString(CreateCdmStatus value) {}

std::ostream& operator<<(std::ostream& os, CreateCdmStatus value) {}

NOINLINE static const char* VideoAspectRatio_TypeToStringHelper(VideoAspectRatio_Type value) {}

std::string VideoAspectRatio_TypeToString(VideoAspectRatio_Type value) {}

std::ostream& operator<<(std::ostream& os, VideoAspectRatio_Type value) {}

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


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

VideoTransformation_Data::VideoTransformation_Data()
    :{}


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

VideoAspectRatio_Data::VideoAspectRatio_Data()
    :{}


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

VideoColorSpace_Data::VideoColorSpace_Data()
    :{}


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

AudioDecoderConfig_Data::AudioDecoderConfig_Data()
    :{}


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

VideoDecoderConfig_Data::VideoDecoderConfig_Data()
    :{}


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

DecryptConfig_Data::DecryptConfig_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 AudioBuffer_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

AudioBuffer_Data::AudioBuffer_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 EosVideoFrameData_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

EosVideoFrameData_Data::EosVideoFrameData_Data()
    :{}


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

SharedMemoryVideoFrameData_Data::SharedMemoryVideoFrameData_Data()
    :{}


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

GpuMemoryBufferSharedImageVideoFrameData_Data::GpuMemoryBufferSharedImageVideoFrameData_Data()
    :{}


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

MailboxVideoFrameData_Data::MailboxVideoFrameData_Data()
    :{}


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

SharedImageVideoFrameData_Data::SharedImageVideoFrameData_Data()
    :{}


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

PipelineStatistics_Data::PipelineStatistics_Data()
    :{}


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

PredictionFeatures_Data::PredictionFeatures_Data()
    :{}


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

PredictionTargets_Data::PredictionTargets_Data()
    :{}


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

AudioPipelineInfo_Data::AudioPipelineInfo_Data()
    :{}


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

VideoPipelineInfo_Data::VideoPipelineInfo_Data()
    :{}


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

StatusData_Data::StatusData_Data()
    :{}


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

EncoderStatus_Data::EncoderStatus_Data()
    :{}


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

DecoderStatus_Data::DecoderStatus_Data()
    :{}


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

PipelineStatus_Data::PipelineStatus_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto