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

Side by Side Diff: talk/media/devices/yuvframescapturer.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/mobiledevicemanager.cc ('k') | talk/media/devices/yuvframescapturer.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 2010 Google Inc. 3 * Copyright 2010 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 void Init(); 64 void Init();
65 // Override virtual methods of parent class VideoCapturer. 65 // Override virtual methods of parent class VideoCapturer.
66 virtual CaptureState Start(const VideoFormat& capture_format); 66 virtual CaptureState Start(const VideoFormat& capture_format);
67 virtual void Stop(); 67 virtual void Stop();
68 virtual bool IsRunning(); 68 virtual bool IsRunning();
69 virtual bool IsScreencast() const { return false; } 69 virtual bool IsScreencast() const { return false; }
70 70
71 protected: 71 protected:
72 // Override virtual methods of parent class VideoCapturer. 72 // Override virtual methods of parent class VideoCapturer.
73 virtual bool GetPreferredFourccs(std::vector<uint32>* fourccs); 73 virtual bool GetPreferredFourccs(std::vector<uint32_t>* fourccs);
74 74
75 // Read a frame and determine how long to wait for the next frame. 75 // Read a frame and determine how long to wait for the next frame.
76 void ReadFrame(bool first_frame); 76 void ReadFrame(bool first_frame);
77 77
78 private: 78 private:
79 class YuvFramesThread; // Forward declaration, defined in .cc. 79 class YuvFramesThread; // Forward declaration, defined in .cc.
80 80
81 YuvFrameGenerator* frame_generator_; 81 YuvFrameGenerator* frame_generator_;
82 CapturedFrame captured_frame_; 82 CapturedFrame captured_frame_;
83 YuvFramesThread* frames_generator_thread; 83 YuvFramesThread* frames_generator_thread;
84 int width_; 84 int width_;
85 int height_; 85 int height_;
86 uint32 frame_data_size_; 86 uint32_t frame_data_size_;
87 uint32 frame_index_; 87 uint32_t frame_index_;
88 88
89 int64 barcode_reference_timestamp_millis_; 89 int64_t barcode_reference_timestamp_millis_;
90 int32 barcode_interval_; 90 int32_t barcode_interval_;
91 int32 GetBarcodeValue(); 91 int32_t GetBarcodeValue();
92 92
93 RTC_DISALLOW_COPY_AND_ASSIGN(YuvFramesCapturer); 93 RTC_DISALLOW_COPY_AND_ASSIGN(YuvFramesCapturer);
94 }; 94 };
95 95
96 } // namespace cricket 96 } // namespace cricket
97 97
98 #endif // TALK_MEDIA_DEVICES_YUVFRAMESCAPTURER_H_ 98 #endif // TALK_MEDIA_DEVICES_YUVFRAMESCAPTURER_H_
OLDNEW
« no previous file with comments | « talk/media/devices/mobiledevicemanager.cc ('k') | talk/media/devices/yuvframescapturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698