#include "services/viz/privileged/mojom/compositing/frame_sink_video_capture.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 "services/viz/privileged/mojom/compositing/frame_sink_video_capture.mojom-params-data.h"
namespace viz {
namespace mojom {
NOINLINE static const char* BufferFormatPreferenceToStringHelper(BufferFormatPreference value) { … }
std::string BufferFormatPreferenceToString(BufferFormatPreference value) { … }
std::ostream& operator<<(std::ostream& os, BufferFormatPreference value) { … }
namespace internal {
bool VideoCaptureSubTarget_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool VideoCaptureTarget_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoCaptureTarget_Data::VideoCaptureTarget_Data()
: … { … }
bool FrameSinkVideoConsumerFrameCallbacks_Done_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoConsumerFrameCallbacks_Done_Params_Data::FrameSinkVideoConsumerFrameCallbacks_Done_Params_Data()
: … { … }
bool FrameSinkVideoConsumerFrameCallbacks_ProvideFeedback_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoConsumerFrameCallbacks_ProvideFeedback_Params_Data::FrameSinkVideoConsumerFrameCallbacks_ProvideFeedback_Params_Data()
: … { … }
bool FrameSinkVideoConsumer_OnFrameCaptured_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoConsumer_OnFrameCaptured_Params_Data::FrameSinkVideoConsumer_OnFrameCaptured_Params_Data()
: … { … }
bool FrameSinkVideoConsumer_OnNewSubCaptureTargetVersion_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoConsumer_OnNewSubCaptureTargetVersion_Params_Data::FrameSinkVideoConsumer_OnNewSubCaptureTargetVersion_Params_Data()
: … { … }
bool FrameSinkVideoConsumer_OnFrameWithEmptyRegionCapture_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoConsumer_OnFrameWithEmptyRegionCapture_Params_Data::FrameSinkVideoConsumer_OnFrameWithEmptyRegionCapture_Params_Data()
: … { … }
bool FrameSinkVideoConsumer_OnStopped_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoConsumer_OnStopped_Params_Data::FrameSinkVideoConsumer_OnStopped_Params_Data()
: … { … }
bool FrameSinkVideoConsumer_OnLog_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoConsumer_OnLog_Params_Data::FrameSinkVideoConsumer_OnLog_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_SetFormat_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_SetFormat_Params_Data::FrameSinkVideoCapturer_SetFormat_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_SetMinCapturePeriod_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_SetMinCapturePeriod_Params_Data::FrameSinkVideoCapturer_SetMinCapturePeriod_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_SetMinSizeChangePeriod_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_SetMinSizeChangePeriod_Params_Data::FrameSinkVideoCapturer_SetMinSizeChangePeriod_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_SetResolutionConstraints_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_SetResolutionConstraints_Params_Data::FrameSinkVideoCapturer_SetResolutionConstraints_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_SetAutoThrottlingEnabled_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_SetAutoThrottlingEnabled_Params_Data::FrameSinkVideoCapturer_SetAutoThrottlingEnabled_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_ChangeTarget_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_ChangeTarget_Params_Data::FrameSinkVideoCapturer_ChangeTarget_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_Start_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_Start_Params_Data::FrameSinkVideoCapturer_Start_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_Stop_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_Stop_Params_Data::FrameSinkVideoCapturer_Stop_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_RequestRefreshFrame_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_RequestRefreshFrame_Params_Data::FrameSinkVideoCapturer_RequestRefreshFrame_Params_Data()
: … { … }
bool FrameSinkVideoCapturer_CreateOverlay_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCapturer_CreateOverlay_Params_Data::FrameSinkVideoCapturer_CreateOverlay_Params_Data()
: … { … }
bool FrameSinkVideoCaptureOverlay_SetImageAndBounds_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCaptureOverlay_SetImageAndBounds_Params_Data::FrameSinkVideoCaptureOverlay_SetImageAndBounds_Params_Data()
: … { … }
bool FrameSinkVideoCaptureOverlay_SetBounds_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCaptureOverlay_SetBounds_Params_Data::FrameSinkVideoCaptureOverlay_SetBounds_Params_Data()
: … { … }
bool FrameSinkVideoCaptureOverlay_OnCapturedMouseEvent_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FrameSinkVideoCaptureOverlay_OnCapturedMouseEvent_Params_Data::FrameSinkVideoCaptureOverlay_OnCapturedMouseEvent_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::viz::mojom::BufferFormatPreference>::WriteIntoTrace(
perfetto::TracedValue context, ::viz::mojom::BufferFormatPreference value) { … }
}