Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Side by Side Diff: remoting/client/frame_producer.h

Issue 136763009: Add VideoProcessor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/client/frame_consumer_proxy.cc ('k') | remoting/client/jni/chromoting_jni_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_FRAME_PRODUCER_H_ 5 #ifndef REMOTING_CLIENT_FRAME_PRODUCER_H_
6 #define REMOTING_CLIENT_FRAME_PRODUCER_H_ 6 #define REMOTING_CLIENT_FRAME_PRODUCER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 9
10 namespace webrtc { 10 namespace webrtc {
(...skipping 24 matching lines...) Expand all
35 35
36 // Requests returing of all pending buffers to the consumer via 36 // Requests returing of all pending buffers to the consumer via
37 // FrameConsumer::ReturnBuffer() calls. 37 // FrameConsumer::ReturnBuffer() calls.
38 virtual void RequestReturnBuffers(const base::Closure& done) = 0; 38 virtual void RequestReturnBuffers(const base::Closure& done) = 0;
39 39
40 // Notifies the producer of changes to the output view size or clipping area. 40 // Notifies the producer of changes to the output view size or clipping area.
41 // Implementations must cope with empty |view_size| or |clip_area|. 41 // Implementations must cope with empty |view_size| or |clip_area|.
42 virtual void SetOutputSizeAndClip(const webrtc::DesktopSize& view_size, 42 virtual void SetOutputSizeAndClip(const webrtc::DesktopSize& view_size,
43 const webrtc::DesktopRect& clip_area) = 0; 43 const webrtc::DesktopRect& clip_area) = 0;
44 44
45 // Returns a reference to the shape of the most recently drawn buffer.
46 virtual const webrtc::DesktopRegion* GetBufferShape() = 0;
47
48 protected: 45 protected:
49 virtual ~FrameProducer() {} 46 virtual ~FrameProducer() {}
50 47
51 private: 48 private:
52 DISALLOW_COPY_AND_ASSIGN(FrameProducer); 49 DISALLOW_COPY_AND_ASSIGN(FrameProducer);
53 }; 50 };
54 51
55 } // namespace remoting 52 } // namespace remoting
56 53
57 #endif // REMOTING_CLIENT_FRAME_PRODUCER_H_ 54 #endif // REMOTING_CLIENT_FRAME_PRODUCER_H_
OLDNEW
« no previous file with comments | « remoting/client/frame_consumer_proxy.cc ('k') | remoting/client/jni/chromoting_jni_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698