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

Unified Diff: remoting/codec/video_encoder_vpx.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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/codec/video_encoder_verbatim.cc ('k') | remoting/codec/video_encoder_vpx.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/video_encoder_vpx.h
diff --git a/remoting/codec/video_encoder_vpx.h b/remoting/codec/video_encoder_vpx.h
index 7d80592b0302ef3b7b5be596475c560354474f79..83c3549b54dc67d8c701d28dafead76d13569fdb 100644
--- a/remoting/codec/video_encoder_vpx.h
+++ b/remoting/codec/video_encoder_vpx.h
@@ -5,7 +5,10 @@
#ifndef REMOTING_CODEC_VIDEO_ENCODER_VPX_H_
#define REMOTING_CODEC_VIDEO_ENCODER_VPX_H_
+#include <stdint.h>
+
#include "base/callback.h"
+#include "base/macros.h"
#include "base/time/time.h"
#include "remoting/codec/scoped_vpx_codec.h"
#include "remoting/codec/video_encoder.h"
@@ -69,10 +72,10 @@ class VideoEncoderVpx : public VideoEncoder {
// VPX image and buffer to hold the actual YUV planes.
scoped_ptr<vpx_image_t> image_;
- scoped_ptr<uint8[]> image_buffer_;
+ scoped_ptr<uint8_t[]> image_buffer_;
// Active map used to optimize out processing of un-changed macroblocks.
- scoped_ptr<uint8[]> active_map_;
+ scoped_ptr<uint8_t[]> active_map_;
webrtc::DesktopSize active_map_size_;
// True if the codec wants unchanged frames to finish topping-off with.
« no previous file with comments | « remoting/codec/video_encoder_verbatim.cc ('k') | remoting/codec/video_encoder_vpx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698