#include "services/video_effects/test/fake_video_effects_processor.h"
#include "base/functional/bind.h"
#include "services/video_effects/public/mojom/video_effects_processor.mojom-shared.h"
#include "services/video_effects/public/mojom/video_effects_processor.mojom.h"
namespace video_effects {
FakeVideoEffectsProcessor::FakeVideoEffectsProcessor(
mojo::PendingReceiver<mojom::VideoEffectsProcessor> processor,
mojo::PendingRemote<media::mojom::VideoEffectsManager> manager)
: … { … }
FakeVideoEffectsProcessor::~FakeVideoEffectsProcessor() = default;
void FakeVideoEffectsProcessor::PostProcess(
media::mojom::VideoBufferHandlePtr input_frame_data,
media::mojom::VideoFrameInfoPtr input_frame_info,
media::mojom::VideoBufferHandlePtr result_frame_data,
media::VideoPixelFormat result_pixel_format,
PostProcessCallback callback) { … }
mojo::Remote<media::mojom::VideoEffectsManager>&
FakeVideoEffectsProcessor::GetVideoEffectsManager() { … }
void FakeVideoEffectsProcessor::OnMojoConnectionLost() { … }
}