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

Side by Side Diff: remoting/client/plugin/pepper_video_renderer_3d.h

Issue 850983002: Implement video frame acknowledgements in the chromoting protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
(...skipping 21 matching lines...) Expand all
32 ~PepperVideoRenderer3D() override; 32 ~PepperVideoRenderer3D() override;
33 33
34 // PepperVideoRenderer interface. 34 // PepperVideoRenderer interface.
35 bool Initialize(pp::Instance* instance, 35 bool Initialize(pp::Instance* instance,
36 const ClientContext& context, 36 const ClientContext& context,
37 EventHandler* event_handler) override; 37 EventHandler* event_handler) override;
38 void OnViewChanged(const pp::View& view) override; 38 void OnViewChanged(const pp::View& view) override;
39 void OnSessionConfig(const protocol::SessionConfig& config) override; 39 void OnSessionConfig(const protocol::SessionConfig& config) override;
40 ChromotingStats* GetStats() override; 40 ChromotingStats* GetStats() override;
41 void ProcessVideoPacket(scoped_ptr<VideoPacket> packet, 41 void ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
42 const base::Closure& done) override; 42 const ProgressCallback& progress_callback) override;
43 43
44 private: 44 private:
45 class PendingPacket; 45 class PendingPacket;
46 class Picture; 46 class Picture;
47 47
48 struct FrameDecodeTimestamp { 48 struct FrameDecodeTimestamp {
49 FrameDecodeTimestamp(uint32_t frame_id, 49 FrameDecodeTimestamp(uint32_t frame_id,
50 base::TimeTicks decode_started_time); 50 base::TimeTicks decode_started_time);
51 uint32_t frame_id; 51 uint32_t frame_id;
52 base::TimeTicks decode_started_time; 52 base::TimeTicks decode_started_time;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 int shader_texcoord_scale_location_; 143 int shader_texcoord_scale_location_;
144 144
145 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_; 145 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D); 147 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D);
148 }; 148 };
149 149
150 } // namespace remoting 150 } // namespace remoting
151 151
152 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ 152 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698