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

Side by Side Diff: talk/media/devices/gtkvideorenderer.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 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 unified diff | Download patch
« no previous file with comments | « talk/media/devices/gdivideorenderer.cc ('k') | talk/media/devices/gtkvideorenderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual bool RenderFrame(const VideoFrame* frame); 51 virtual bool RenderFrame(const VideoFrame* frame);
52 52
53 private: 53 private:
54 // Initialize the attributes when the first frame arrives. 54 // Initialize the attributes when the first frame arrives.
55 bool Initialize(int width, int height); 55 bool Initialize(int width, int height);
56 // Pump the Gtk event loop until there are no events left. 56 // Pump the Gtk event loop until there are no events left.
57 void Pump(); 57 void Pump();
58 // Check if the window has been closed. 58 // Check if the window has been closed.
59 bool IsClosed() const; 59 bool IsClosed() const;
60 60
61 rtc::scoped_ptr<uint8[]> image_; 61 rtc::scoped_ptr<uint8_t[]> image_;
62 GtkWidget* window_; 62 GtkWidget* window_;
63 GtkWidget* draw_area_; 63 GtkWidget* draw_area_;
64 // The initial position of the window. 64 // The initial position of the window.
65 int initial_x_; 65 int initial_x_;
66 int initial_y_; 66 int initial_y_;
67 67
68 int width_; 68 int width_;
69 int height_; 69 int height_;
70 }; 70 };
71 71
72 } // namespace cricket 72 } // namespace cricket
73 73
74 #endif // TALK_MEDIA_DEVICES_GTKVIDEORENDERER_H_ 74 #endif // TALK_MEDIA_DEVICES_GTKVIDEORENDERER_H_
OLDNEW
« no previous file with comments | « talk/media/devices/gdivideorenderer.cc ('k') | talk/media/devices/gtkvideorenderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698