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

Unified Diff: talk/media/webrtc/webrtcvideoframe.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/media/webrtc/webrtcvideoengine2_unittest.cc ('k') | talk/media/webrtc/webrtcvideoframe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/webrtc/webrtcvideoframe.h
diff --git a/talk/media/webrtc/webrtcvideoframe.h b/talk/media/webrtc/webrtcvideoframe.h
index f173c969080af8da648db6ce7f335d26238e2e12..abc238f1fcbade9c292eff2e874e5a799d1395bb 100644
--- a/talk/media/webrtc/webrtcvideoframe.h
+++ b/talk/media/webrtc/webrtcvideoframe.h
@@ -57,12 +57,12 @@ class WebRtcVideoFrame : public VideoFrame {
// "h" can be negative indicating a vertically flipped image.
// "dh" is destination height if cropping is desired and is always positive.
// Returns "true" if successful.
- bool Init(uint32 format,
+ bool Init(uint32_t format,
int w,
int h,
int dw,
int dh,
- uint8* sample,
+ uint8_t* sample,
size_t sample_size,
size_t pixel_width,
size_t pixel_height,
@@ -82,12 +82,12 @@ class WebRtcVideoFrame : public VideoFrame {
int64_t time_stamp_ns);
// From base class VideoFrame.
- virtual bool Reset(uint32 format,
+ virtual bool Reset(uint32_t format,
int w,
int h,
int dw,
int dh,
- uint8* sample,
+ uint8_t* sample,
size_t sample_size,
size_t pixel_width,
size_t pixel_height,
@@ -97,15 +97,15 @@ class WebRtcVideoFrame : public VideoFrame {
virtual size_t GetWidth() const;
virtual size_t GetHeight() const;
- virtual const uint8* GetYPlane() const;
- virtual const uint8* GetUPlane() const;
- virtual const uint8* GetVPlane() const;
- virtual uint8* GetYPlane();
- virtual uint8* GetUPlane();
- virtual uint8* GetVPlane();
- virtual int32 GetYPitch() const;
- virtual int32 GetUPitch() const;
- virtual int32 GetVPitch() const;
+ virtual const uint8_t* GetYPlane() const;
+ virtual const uint8_t* GetUPlane() const;
+ virtual const uint8_t* GetVPlane() const;
+ virtual uint8_t* GetYPlane();
+ virtual uint8_t* GetUPlane();
+ virtual uint8_t* GetVPlane();
+ virtual int32_t GetYPitch() const;
+ virtual int32_t GetUPitch() const;
+ virtual int32_t GetVPitch() const;
virtual void* GetNativeHandle() const;
virtual rtc::scoped_refptr<webrtc::VideoFrameBuffer> GetVideoFrameBuffer()
const;
@@ -122,8 +122,10 @@ class WebRtcVideoFrame : public VideoFrame {
virtual VideoFrame* Copy() const;
virtual bool IsExclusive() const;
virtual bool MakeExclusive();
- virtual size_t ConvertToRgbBuffer(uint32 to_fourcc, uint8* buffer,
- size_t size, int stride_rgb) const;
+ virtual size_t ConvertToRgbBuffer(uint32_t to_fourcc,
+ uint8_t* buffer,
+ size_t size,
+ int stride_rgb) const;
const VideoFrame* GetCopyWithRotationApplied() const override;
« no previous file with comments | « talk/media/webrtc/webrtcvideoengine2_unittest.cc ('k') | talk/media/webrtc/webrtcvideoframe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698