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

Unified Diff: media/video/video_decode_accelerator.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
Index: media/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index 81f3794b2961122ad51de7ecbb1473b31e5b4026..d7e79c8fe15d183e42ea5d20d6846b0ae1ab6b82 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -8,7 +8,6 @@
#include <memory>
#include <vector>
-#include "base/basictypes.h"
#include "media/base/bitstream_buffer.h"
#include "media/base/video_decoder_config.h"
#include "media/video/picture.h"
@@ -105,19 +104,19 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
// Callback to tell client how many and what size of buffers to provide.
// Note that the actual count provided through AssignPictureBuffers() can be
// larger than the value requested.
- virtual void ProvidePictureBuffers(uint32 requested_num_of_buffers,
+ virtual void ProvidePictureBuffers(uint32_t requested_num_of_buffers,
const gfx::Size& dimensions,
- uint32 texture_target) = 0;
+ uint32_t texture_target) = 0;
// Callback to dismiss picture buffer that was assigned earlier.
- virtual void DismissPictureBuffer(int32 picture_buffer_id) = 0;
+ virtual void DismissPictureBuffer(int32_t picture_buffer_id) = 0;
// Callback to deliver decoded pictures ready to be displayed.
virtual void PictureReady(const Picture& picture) = 0;
// Callback to notify that decoded has decoded the end of the current
// bitstream buffer.
- virtual void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id) = 0;
+ virtual void NotifyEndOfBitstreamBuffer(int32_t bitstream_buffer_id) = 0;
// Flush completion callback.
virtual void NotifyFlushDone() = 0;
@@ -184,7 +183,7 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
//
// Parameters:
// |picture_buffer_id| id of the picture buffer that is to be reused.
- virtual void ReusePictureBuffer(int32 picture_buffer_id) = 0;
+ virtual void ReusePictureBuffer(int32_t picture_buffer_id) = 0;
// Flushes the decoder: all pending inputs will be decoded and pictures handed
// back to the client, followed by NotifyFlushDone() being called on the

Powered by Google App Engine
This is Rietveld 408576698