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

// media/mojo/mojom/media_types.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

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

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "media/mojo/mojom/media_types.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "media/mojo/mojom/media_types.mojom-params-data.h"
#include "media/mojo/mojom/media_types.mojom-shared-message-ids.h"

#include "media/mojo/mojom/media_types.mojom-import-headers.h"
#include "media/mojo/mojom/media_types.mojom-test-utils.h"


namespace media::mojom {
VideoTransformation::VideoTransformation()
    :{}

VideoTransformation::VideoTransformation(
    ::media::VideoRotation rotation_in,
    bool mirrored_in)
    :{}

VideoTransformation::~VideoTransformation() = default;

void VideoTransformation::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoTransformation::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
VideoAspectRatio::VideoAspectRatio()
    :{}

VideoAspectRatio::VideoAspectRatio(
    VideoAspectRatio::Type type_in,
    double value_in)
    :{}

VideoAspectRatio::~VideoAspectRatio() = default;

void VideoAspectRatio::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoAspectRatio::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
VideoColorSpace::VideoColorSpace()
    :{}

VideoColorSpace::VideoColorSpace(
    ::media::VideoColorSpace::PrimaryID primaries_in,
    ::media::VideoColorSpace::TransferID transfer_in,
    ::media::VideoColorSpace::MatrixID matrix_in,
    ::gfx::ColorSpace::RangeID range_in)
    :{}

VideoColorSpace::~VideoColorSpace() = default;

void VideoColorSpace::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoColorSpace::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
AudioDecoderConfig::AudioDecoderConfig()
    :{}

AudioDecoderConfig::AudioDecoderConfig(
    ::media::AudioCodec codec_in,
    ::media::SampleFormat sample_format_in,
    ::media::ChannelLayout channel_layout_in,
    int32_t samples_per_second_in,
    std::vector<uint8_t> extra_data_in,
    ::media::EncryptionScheme encryption_scheme_in,
    ::base::TimeDelta seek_preroll_in,
    int32_t codec_delay_in,
    ::media::AudioCodecProfile profile_in,
    ::media::ChannelLayout target_output_channel_layout_in,
    ::media::SampleFormat target_output_sample_format_in,
    bool should_discard_decoder_delay_in,
    std::vector<uint8_t> aac_extra_data_in)
    :{}

AudioDecoderConfig::~AudioDecoderConfig() = default;

void AudioDecoderConfig::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool AudioDecoderConfig::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
VideoDecoderConfig::VideoDecoderConfig()
    :{}

VideoDecoderConfig::VideoDecoderConfig(
    ::media::VideoCodec codec_in,
    ::media::VideoCodecProfile profile_in,
    uint32_t level_in,
    bool has_alpha_in,
    const ::media::VideoTransformation& transformation_in,
    const ::gfx::Size& coded_size_in,
    const ::gfx::Rect& visible_rect_in,
    const ::gfx::Size& natural_size_in,
    const ::media::VideoAspectRatio& aspect_ratio_in,
    std::vector<uint8_t> extra_data_in,
    ::media::EncryptionScheme encryption_scheme_in,
    const ::media::VideoColorSpace& color_space_info_in,
    const std::optional<::gfx::HDRMetadata>& hdr_metadata_in)
    :{}

VideoDecoderConfig::~VideoDecoderConfig() = default;

void VideoDecoderConfig::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoDecoderConfig::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
DecryptConfig::DecryptConfig()
    :{}

DecryptConfig::DecryptConfig(
    ::media::EncryptionScheme encryption_scheme_in,
    const std::string& key_id_in,
    const std::string& iv_in,
    std::vector<::media::SubsampleEntry> subsamples_in,
    const std::optional<::media::EncryptionPattern>& encryption_pattern_in)
    :{}

DecryptConfig::~DecryptConfig() = default;

void DecryptConfig::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool DecryptConfig::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
DecoderBufferSideData::DecoderBufferSideData()
    :{}

DecoderBufferSideData::DecoderBufferSideData(
    std::vector<uint32_t> spatial_layers_in,
    std::vector<uint8_t> alpha_data_in,
    uint64_t secure_handle_in)
    :{}

DecoderBufferSideData::~DecoderBufferSideData() = default;

void DecoderBufferSideData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool DecoderBufferSideData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
DecoderBuffer::DecoderBuffer()
    :{}

DecoderBuffer::DecoderBuffer(
    ::base::TimeDelta timestamp_in,
    ::base::TimeDelta duration_in,
    bool is_end_of_stream_in,
    uint32_t data_size_in,
    bool is_key_frame_in,
    DecryptConfigPtr decrypt_config_in,
    ::base::TimeDelta front_discard_in,
    ::base::TimeDelta back_discard_in,
    DecoderBufferSideDataPtr side_data_in)
    :{}

DecoderBuffer::~DecoderBuffer() = default;

void DecoderBuffer::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool DecoderBuffer::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
AudioBuffer::AudioBuffer()
    :{}

AudioBuffer::AudioBuffer(
    ::media::SampleFormat sample_format_in,
    ::media::ChannelLayout channel_layout_in,
    int32_t channel_count_in,
    int32_t sample_rate_in,
    int32_t frame_count_in,
    bool end_of_stream_in,
    ::base::TimeDelta timestamp_in,
    std::vector<uint8_t> data_in)
    :{}

AudioBuffer::~AudioBuffer() = default;

void AudioBuffer::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool AudioBuffer::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
VideoFrameMetadata::VideoFrameMetadata()
    :{}

VideoFrameMetadata::VideoFrameMetadata(
    bool allow_overlay_in,
    std::optional<::base::TimeTicks> capture_begin_time_in,
    std::optional<::base::TimeTicks> capture_end_time_in,
    bool has_capture_counter_in,
    int32_t capture_counter_in,
    const std::optional<::gfx::Rect>& capture_update_rect_in,
    const std::optional<::gfx::Size>& source_size_in,
    const std::optional<::gfx::Rect>& region_capture_rect_in,
    uint32_t sub_capture_target_version_in,
    bool copy_required_in,
    bool end_of_stream_in,
    std::optional<::base::TimeDelta> frame_duration_in,
    bool has_frame_rate_in,
    double frame_rate_in,
    bool interactive_content_in,
    std::optional<::base::TimeTicks> reference_time_in,
    bool read_lock_fences_enabled_in,
    const std::optional<::media::VideoTransformation>& transformation_in,
    bool texture_owner_in,
    bool wants_promotion_hint_in,
    bool protected_video_in,
    bool hw_protected_in,
    bool needs_detiling_in,
    bool is_webgpu_compatible_in,
    const std::optional<::base::UnguessableToken>& overlay_plane_id_in,
    bool power_efficient_in,
    bool texture_origin_is_top_left_in,
    bool has_device_scale_factor_in,
    double device_scale_factor_in,
    bool has_page_scale_factor_in,
    double page_scale_factor_in,
    bool has_root_scroll_offset_x_in,
    double root_scroll_offset_x_in,
    bool has_root_scroll_offset_y_in,
    double root_scroll_offset_y_in,
    bool has_top_controls_visible_height_in,
    double top_controls_visible_height_in,
    std::optional<::base::TimeTicks> decode_begin_time_in,
    std::optional<::base::TimeTicks> decode_end_time_in,
    std::optional<::base::TimeDelta> processing_time_in,
    bool has_rtp_timestamp_in,
    double rtp_timestamp_in,
    std::optional<::base::TimeTicks> receive_time_in,
    std::optional<::base::TimeDelta> wallclock_frame_duration_in,
    std::optional<uint64_t> frame_sequence_in)
    :{}

VideoFrameMetadata::~VideoFrameMetadata() = default;

void VideoFrameMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoFrameMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
VideoFrame::VideoFrame()
    :{}

VideoFrame::VideoFrame(
    ::media::VideoPixelFormat format_in,
    const ::gfx::Size& coded_size_in,
    const ::gfx::Rect& visible_rect_in,
    const ::gfx::Size& natural_size_in,
    ::base::TimeDelta timestamp_in,
    VideoFrameDataPtr data_in,
    const ::media::VideoFrameMetadata& metadata_in,
    const ::gfx::ColorSpace& color_space_in,
    const std::optional<::gfx::HDRMetadata>& hdr_metadata_in,
    SharedImageFormatType shared_image_format_type_in)
    :{}

VideoFrame::~VideoFrame() = default;

void VideoFrame::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoFrame::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
EosVideoFrameData::EosVideoFrameData() {}

EosVideoFrameData::~EosVideoFrameData() = default;
size_t EosVideoFrameData::Hash(size_t seed) const {}

void EosVideoFrameData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool EosVideoFrameData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SharedMemoryVideoFrameData::SharedMemoryVideoFrameData()
    :{}

SharedMemoryVideoFrameData::SharedMemoryVideoFrameData(
    ::base::ReadOnlySharedMemoryRegion frame_data_in,
    std::vector<int32_t> strides_in,
    std::vector<uint32_t> offsets_in)
    :{}

SharedMemoryVideoFrameData::~SharedMemoryVideoFrameData() = default;

void SharedMemoryVideoFrameData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SharedMemoryVideoFrameData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
GpuMemoryBufferSharedImageVideoFrameData::GpuMemoryBufferSharedImageVideoFrameData()
    :{}

GpuMemoryBufferSharedImageVideoFrameData::GpuMemoryBufferSharedImageVideoFrameData(
    ::gfx::GpuMemoryBufferHandle gpu_memory_buffer_handle_in,
    const std::optional<::gpu::ExportedSharedImage>& shared_image_in,
    const ::gpu::SyncToken& sync_token_in,
    uint32_t texture_target_in)
    :{}

GpuMemoryBufferSharedImageVideoFrameData::~GpuMemoryBufferSharedImageVideoFrameData() = default;

void GpuMemoryBufferSharedImageVideoFrameData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool GpuMemoryBufferSharedImageVideoFrameData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
MailboxVideoFrameData::MailboxVideoFrameData()
    :{}

MailboxVideoFrameData::MailboxVideoFrameData(
    std::vector<::gpu::MailboxHolder> mailbox_holder_in,
    std::optional<::gpu::VulkanYCbCrInfo> ycbcr_data_in)
    :{}

MailboxVideoFrameData::~MailboxVideoFrameData() = default;

void MailboxVideoFrameData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool MailboxVideoFrameData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SharedImageVideoFrameData::SharedImageVideoFrameData()
    :{}

SharedImageVideoFrameData::SharedImageVideoFrameData(
    const ::gpu::ExportedSharedImage& shared_image_in,
    const ::gpu::SyncToken& sync_token_in,
    uint32_t texture_target_in,
    std::optional<::gpu::VulkanYCbCrInfo> ycbcr_data_in)
    :{}

SharedImageVideoFrameData::~SharedImageVideoFrameData() = default;

void SharedImageVideoFrameData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SharedImageVideoFrameData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PipelineStatistics::PipelineStatistics()
    :{}

PipelineStatistics::PipelineStatistics(
    uint64_t audio_bytes_decoded_in,
    uint64_t video_bytes_decoded_in,
    uint32_t video_frames_decoded_in,
    uint32_t video_frames_dropped_in,
    int64_t audio_memory_usage_in,
    int64_t video_memory_usage_in)
    :{}

PipelineStatistics::~PipelineStatistics() = default;

void PipelineStatistics::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PipelineStatistics::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PredictionFeatures::PredictionFeatures()
    :{}

PredictionFeatures::PredictionFeatures(
    ::media::VideoCodecProfile profile_in,
    const ::gfx::Size& video_size_in,
    double frames_per_sec_in,
    const std::string& key_system_in,
    bool use_hw_secure_codecs_in)
    :{}

PredictionFeatures::~PredictionFeatures() = default;

void PredictionFeatures::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PredictionFeatures::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PredictionTargets::PredictionTargets()
    :{}

PredictionTargets::PredictionTargets(
    uint32_t frames_decoded_in,
    uint32_t frames_dropped_in,
    uint32_t frames_power_efficient_in)
    :{}

PredictionTargets::~PredictionTargets() = default;
size_t PredictionTargets::Hash(size_t seed) const {}

void PredictionTargets::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PredictionTargets::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
AudioPipelineInfo::AudioPipelineInfo()
    :{}

AudioPipelineInfo::AudioPipelineInfo(
    ::media::AudioDecoderType decoder_type_in,
    bool is_platform_decoder_in,
    bool has_decrypting_demuxer_stream_in,
    EncryptionType encryption_type_in)
    :{}

AudioPipelineInfo::~AudioPipelineInfo() = default;

void AudioPipelineInfo::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool AudioPipelineInfo::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
VideoPipelineInfo::VideoPipelineInfo()
    :{}

VideoPipelineInfo::VideoPipelineInfo(
    ::media::VideoDecoderType decoder_type_in,
    bool is_platform_decoder_in,
    bool has_decrypting_demuxer_stream_in,
    EncryptionType encryption_type_in)
    :{}

VideoPipelineInfo::~VideoPipelineInfo() = default;

void VideoPipelineInfo::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoPipelineInfo::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
StatusData::StatusData()
    :{}

StatusData::StatusData(
    const std::string& group_in,
    uint16_t code_in,
    const std::string& message_in,
    ::base::Value::List frames_in,
    const std::optional<::media::internal::StatusData>& cause_in,
    ::base::Value data_in,
    uint64_t packed_root_cause_in)
    :{}

StatusData::~StatusData() = default;

void StatusData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool StatusData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
EncoderStatus::EncoderStatus()
    :{}

EncoderStatus::EncoderStatus(
    const std::optional<::media::internal::StatusData>& internal_in)
    :{}

EncoderStatus::~EncoderStatus() = default;

void EncoderStatus::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool EncoderStatus::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
DecoderStatus::DecoderStatus()
    :{}

DecoderStatus::DecoderStatus(
    const std::optional<::media::internal::StatusData>& internal_in)
    :{}

DecoderStatus::~DecoderStatus() = default;

void DecoderStatus::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool DecoderStatus::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PipelineStatus::PipelineStatus()
    :{}

PipelineStatus::PipelineStatus(
    const std::optional<::media::internal::StatusData>& internal_in)
    :{}

PipelineStatus::~PipelineStatus() = default;

void PipelineStatus::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool PipelineStatus::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
VideoFrameData::VideoFrameData() :{}

VideoFrameData::~VideoFrameData() {}


void VideoFrameData::set_eos_data(
    EosVideoFrameDataPtr eos_data) {}
void VideoFrameData::set_shared_memory_data(
    SharedMemoryVideoFrameDataPtr shared_memory_data) {}
void VideoFrameData::set_gpu_memory_buffer_shared_image_data(
    GpuMemoryBufferSharedImageVideoFrameDataPtr gpu_memory_buffer_shared_image_data) {}
void VideoFrameData::set_mailbox_data(
    MailboxVideoFrameDataPtr mailbox_data) {}
void VideoFrameData::set_shared_image_data(
    SharedImageVideoFrameDataPtr shared_image_data) {}

void VideoFrameData::DestroyActive() {}

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


}  // media::mojom


namespace mojo {


// static
bool StructTraits<::media::mojom::VideoTransformation::DataView, ::media::mojom::VideoTransformationPtr>::Read(
    ::media::mojom::VideoTransformation::DataView input,
    ::media::mojom::VideoTransformationPtr* output) {}


// static
bool StructTraits<::media::mojom::VideoAspectRatio::DataView, ::media::mojom::VideoAspectRatioPtr>::Read(
    ::media::mojom::VideoAspectRatio::DataView input,
    ::media::mojom::VideoAspectRatioPtr* output) {}


// static
bool StructTraits<::media::mojom::VideoColorSpace::DataView, ::media::mojom::VideoColorSpacePtr>::Read(
    ::media::mojom::VideoColorSpace::DataView input,
    ::media::mojom::VideoColorSpacePtr* output) {}


// static
bool StructTraits<::media::mojom::AudioDecoderConfig::DataView, ::media::mojom::AudioDecoderConfigPtr>::Read(
    ::media::mojom::AudioDecoderConfig::DataView input,
    ::media::mojom::AudioDecoderConfigPtr* output) {}


// static
bool StructTraits<::media::mojom::VideoDecoderConfig::DataView, ::media::mojom::VideoDecoderConfigPtr>::Read(
    ::media::mojom::VideoDecoderConfig::DataView input,
    ::media::mojom::VideoDecoderConfigPtr* output) {}


// static
bool StructTraits<::media::mojom::DecryptConfig::DataView, ::media::mojom::DecryptConfigPtr>::Read(
    ::media::mojom::DecryptConfig::DataView input,
    ::media::mojom::DecryptConfigPtr* output) {}


// static
bool StructTraits<::media::mojom::DecoderBufferSideData::DataView, ::media::mojom::DecoderBufferSideDataPtr>::Read(
    ::media::mojom::DecoderBufferSideData::DataView input,
    ::media::mojom::DecoderBufferSideDataPtr* output) {}


// static
bool StructTraits<::media::mojom::DecoderBuffer::DataView, ::media::mojom::DecoderBufferPtr>::Read(
    ::media::mojom::DecoderBuffer::DataView input,
    ::media::mojom::DecoderBufferPtr* output) {}


// static
bool StructTraits<::media::mojom::AudioBuffer::DataView, ::media::mojom::AudioBufferPtr>::Read(
    ::media::mojom::AudioBuffer::DataView input,
    ::media::mojom::AudioBufferPtr* output) {}


// static
bool StructTraits<::media::mojom::VideoFrameMetadata::DataView, ::media::mojom::VideoFrameMetadataPtr>::Read(
    ::media::mojom::VideoFrameMetadata::DataView input,
    ::media::mojom::VideoFrameMetadataPtr* output) {}


// static
bool StructTraits<::media::mojom::VideoFrame::DataView, ::media::mojom::VideoFramePtr>::Read(
    ::media::mojom::VideoFrame::DataView input,
    ::media::mojom::VideoFramePtr* output) {}


// static
bool StructTraits<::media::mojom::EosVideoFrameData::DataView, ::media::mojom::EosVideoFrameDataPtr>::Read(
    ::media::mojom::EosVideoFrameData::DataView input,
    ::media::mojom::EosVideoFrameDataPtr* output) {}


// static
bool StructTraits<::media::mojom::SharedMemoryVideoFrameData::DataView, ::media::mojom::SharedMemoryVideoFrameDataPtr>::Read(
    ::media::mojom::SharedMemoryVideoFrameData::DataView input,
    ::media::mojom::SharedMemoryVideoFrameDataPtr* output) {}


// static
bool StructTraits<::media::mojom::GpuMemoryBufferSharedImageVideoFrameData::DataView, ::media::mojom::GpuMemoryBufferSharedImageVideoFrameDataPtr>::Read(
    ::media::mojom::GpuMemoryBufferSharedImageVideoFrameData::DataView input,
    ::media::mojom::GpuMemoryBufferSharedImageVideoFrameDataPtr* output) {}


// static
bool StructTraits<::media::mojom::MailboxVideoFrameData::DataView, ::media::mojom::MailboxVideoFrameDataPtr>::Read(
    ::media::mojom::MailboxVideoFrameData::DataView input,
    ::media::mojom::MailboxVideoFrameDataPtr* output) {}


// static
bool StructTraits<::media::mojom::SharedImageVideoFrameData::DataView, ::media::mojom::SharedImageVideoFrameDataPtr>::Read(
    ::media::mojom::SharedImageVideoFrameData::DataView input,
    ::media::mojom::SharedImageVideoFrameDataPtr* output) {}


// static
bool StructTraits<::media::mojom::PipelineStatistics::DataView, ::media::mojom::PipelineStatisticsPtr>::Read(
    ::media::mojom::PipelineStatistics::DataView input,
    ::media::mojom::PipelineStatisticsPtr* output) {}


// static
bool StructTraits<::media::mojom::PredictionFeatures::DataView, ::media::mojom::PredictionFeaturesPtr>::Read(
    ::media::mojom::PredictionFeatures::DataView input,
    ::media::mojom::PredictionFeaturesPtr* output) {}


// static
bool StructTraits<::media::mojom::PredictionTargets::DataView, ::media::mojom::PredictionTargetsPtr>::Read(
    ::media::mojom::PredictionTargets::DataView input,
    ::media::mojom::PredictionTargetsPtr* output) {}


// static
bool StructTraits<::media::mojom::AudioPipelineInfo::DataView, ::media::mojom::AudioPipelineInfoPtr>::Read(
    ::media::mojom::AudioPipelineInfo::DataView input,
    ::media::mojom::AudioPipelineInfoPtr* output) {}


// static
bool StructTraits<::media::mojom::VideoPipelineInfo::DataView, ::media::mojom::VideoPipelineInfoPtr>::Read(
    ::media::mojom::VideoPipelineInfo::DataView input,
    ::media::mojom::VideoPipelineInfoPtr* output) {}


// static
bool StructTraits<::media::mojom::StatusData::DataView, ::media::mojom::StatusDataPtr>::Read(
    ::media::mojom::StatusData::DataView input,
    ::media::mojom::StatusDataPtr* output) {}


// static
bool StructTraits<::media::mojom::EncoderStatus::DataView, ::media::mojom::EncoderStatusPtr>::Read(
    ::media::mojom::EncoderStatus::DataView input,
    ::media::mojom::EncoderStatusPtr* output) {}


// static
bool StructTraits<::media::mojom::DecoderStatus::DataView, ::media::mojom::DecoderStatusPtr>::Read(
    ::media::mojom::DecoderStatus::DataView input,
    ::media::mojom::DecoderStatusPtr* output) {}


// static
bool StructTraits<::media::mojom::PipelineStatus::DataView, ::media::mojom::PipelineStatusPtr>::Read(
    ::media::mojom::PipelineStatus::DataView input,
    ::media::mojom::PipelineStatusPtr* output) {}

// static
bool UnionTraits<::media::mojom::VideoFrameData::DataView, ::media::mojom::VideoFrameDataPtr>::Read(
    ::media::mojom::VideoFrameData::DataView input,
    ::media::mojom::VideoFrameDataPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace media::mojom {




}  // media::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif