blob: f5f49db559772b316fba7e1f97d8060751287a8b [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module video_capture.mojom;
import "media_perception/mojom/video_capture_buffer.mojom";
import "media_perception/mojom/video_capture_types.mojom";
// An interface for providing buffer info updates to the producer of
// video frames for the associated |VirtualDevice| interface.
interface Producer {
OnNewBuffer(int32 buffer_id, media.mojom.VideoBufferHandle buffer_handle)
=> ();
OnBufferRetired(int32 buffer_id);
};