| Index: content/renderer/media/video_capture_message_filter.h
|
| diff --git a/content/renderer/media/video_capture_message_filter.h b/content/renderer/media/video_capture_message_filter.h
|
| index 1418208e35e773fa5120c566d84dd66fab4e0817..dbfd1fc97d1fc5970df4974353053d5de312c96b 100644
|
| --- a/content/renderer/media/video_capture_message_filter.h
|
| +++ b/content/renderer/media/video_capture_message_filter.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| //
|
| @@ -18,6 +18,8 @@
|
| #include "content/common/media/video_capture.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| #include "media/video/capture/video_capture.h"
|
| +#include "media/video/encoded_video_source.h"
|
| +#include "media/video/video_encode_types.h"
|
|
|
| namespace content {
|
|
|
| @@ -92,6 +94,23 @@ class CONTENT_EXPORT VideoCaptureMessageFilter
|
| void OnDeviceInfoReceived(int device_id,
|
| const media::VideoCaptureParams& params);
|
|
|
| + // Encoded video source message support.
|
| + void OnBitstreamCreated(int device_id,
|
| + int stream_id,
|
| + media::VideoEncodingParameters params,
|
| + std::map<int, base::SharedMemoryHandle> buffers);
|
| + void OnBitstreamDestroyed(
|
| + int device_id,
|
| + int stream_id,
|
| + media::EncodedVideoBitstream::DestructionReason reason);
|
| + void OnBitstreamConfigChanged(int device_id,
|
| + int stream_id,
|
| + media::RuntimeVideoEncodingParameters params);
|
| + void OnBitstreamReady(int device_id,
|
| + int stream_id,
|
| + int buffer_id,
|
| + media::BufferEncodingMetadata metadata);
|
| +
|
| // A map of device ids to delegates.
|
| Delegates delegates_;
|
| Delegates pending_delegates_;
|
|
|