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

Side by Side Diff: talk/media/webrtc/webrtcvideocapturer.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/webrtc/simulcast.cc ('k') | talk/media/webrtc/webrtcvideocapturer.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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual bool GetBestCaptureFormat(const VideoFormat& desired, 70 virtual bool GetBestCaptureFormat(const VideoFormat& desired,
71 VideoFormat* best_format); 71 VideoFormat* best_format);
72 virtual CaptureState Start(const VideoFormat& capture_format); 72 virtual CaptureState Start(const VideoFormat& capture_format);
73 virtual void Stop(); 73 virtual void Stop();
74 virtual bool IsRunning(); 74 virtual bool IsRunning();
75 virtual bool IsScreencast() const { return false; } 75 virtual bool IsScreencast() const { return false; }
76 virtual bool SetApplyRotation(bool enable); 76 virtual bool SetApplyRotation(bool enable);
77 77
78 protected: 78 protected:
79 // Override virtual methods of the parent class VideoCapturer. 79 // Override virtual methods of the parent class VideoCapturer.
80 virtual bool GetPreferredFourccs(std::vector<uint32>* fourccs); 80 virtual bool GetPreferredFourccs(std::vector<uint32_t>* fourccs);
81 81
82 private: 82 private:
83 // Callback when a frame is captured by camera. 83 // Callback when a frame is captured by camera.
84 virtual void OnIncomingCapturedFrame(const int32_t id, 84 virtual void OnIncomingCapturedFrame(const int32_t id,
85 const webrtc::VideoFrame& frame); 85 const webrtc::VideoFrame& frame);
86 virtual void OnCaptureDelayChanged(const int32_t id, 86 virtual void OnCaptureDelayChanged(const int32_t id,
87 const int32_t delay); 87 const int32_t delay);
88 88
89 // Used to signal captured frames on the same thread as invoked Start(). 89 // Used to signal captured frames on the same thread as invoked Start().
90 // With WebRTC's current VideoCapturer implementations, this will mean a 90 // With WebRTC's current VideoCapturer implementations, this will mean a
(...skipping 16 matching lines...) Expand all
107 public: 107 public:
108 WebRtcCapturedFrame(const webrtc::VideoFrame& frame, 108 WebRtcCapturedFrame(const webrtc::VideoFrame& frame,
109 void* buffer, 109 void* buffer,
110 size_t length); 110 size_t length);
111 }; 111 };
112 112
113 } // namespace cricket 113 } // namespace cricket
114 114
115 #endif // HAVE_WEBRTC_VIDEO 115 #endif // HAVE_WEBRTC_VIDEO
116 #endif // TALK_MEDIA_WEBRTCVIDEOCAPTURER_H_ 116 #endif // TALK_MEDIA_WEBRTCVIDEOCAPTURER_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/simulcast.cc ('k') | talk/media/webrtc/webrtcvideocapturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698