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

Unified Diff: remoting/client/rectangle_update_decoder.h

Issue 4136010: Cleanups in the video encoding decoding code. Reenable VP8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed arm build Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/chromoting_view_unittest.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/rectangle_update_decoder.h
diff --git a/remoting/client/rectangle_update_decoder.h b/remoting/client/rectangle_update_decoder.h
index b383c20ad11230e4d557f987d7e28a2eb18f1d36..e6c344e48a763cb58558866a1738a84390a46acb 100644
--- a/remoting/client/rectangle_update_decoder.h
+++ b/remoting/client/rectangle_update_decoder.h
@@ -16,8 +16,8 @@ namespace remoting {
class Decoder;
class FrameConsumer;
-class RectangleFormat;
-class RectangleUpdatePacket;
+class VideoPacketFormat;
+class VideoPacket;
// TODO(ajwong): Re-examine this API, especially with regards to how error
// conditions on each step are reported. Should they be CHECKs? Logs? Other?
@@ -34,14 +34,14 @@ class RectangleUpdateDecoder {
//
// TODO(ajwong): Should packet be a const pointer to make the lifetime
// more clear?
- void DecodePacket(const RectangleUpdatePacket& packet, Task* done);
+ void DecodePacket(const VideoPacket& packet, Task* done);
private:
- static bool IsValidPacket(const RectangleUpdatePacket& packet);
+ static bool IsValidPacket(const VideoPacket& packet);
- void InitializeDecoder(const RectangleFormat& format, Task* done);
+ void InitializeDecoder(const VideoPacketFormat& format, Task* done);
- void ProcessPacketData(const RectangleUpdatePacket& packet, Task* done);
+ void ProcessPacketData(const VideoPacket& packet, Task* done);
// Pointers to infrastructure objects. Not owned.
MessageLoop* message_loop_;
« no previous file with comments | « remoting/client/chromoting_view_unittest.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698