Index: media/video/video_encode_accelerator.h |
diff --git a/media/video/video_encode_accelerator.h b/media/video/video_encode_accelerator.h |
index 39ad0b70c302457b63f72456b7b25693fa8685b9..ee0ee339680cfe718a1cee49fcd593aeca8709ef 100644 |
--- a/media/video/video_encode_accelerator.h |
+++ b/media/video/video_encode_accelerator.h |
@@ -8,7 +8,6 @@ |
#include <memory> |
#include <vector> |
-#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
#include "media/base/bitstream_buffer.h" |
#include "media/base/media_export.h" |
@@ -29,8 +28,8 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
~SupportedProfile(); |
VideoCodecProfile profile; |
gfx::Size max_resolution; |
- uint32 max_framerate_numerator; |
- uint32 max_framerate_denominator; |
+ uint32_t max_framerate_numerator; |
+ uint32_t max_framerate_denominator; |
}; |
using SupportedProfiles = std::vector<SupportedProfile>; |
@@ -77,7 +76,7 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
// |bitstream_buffer_id| is the id of the buffer that is ready. |
// |payload_size| is the byte size of the used portion of the buffer. |
// |key_frame| is true if this delivered frame is a keyframe. |
- virtual void BitstreamBufferReady(int32 bitstream_buffer_id, |
+ virtual void BitstreamBufferReady(int32_t bitstream_buffer_id, |
size_t payload_size, |
bool key_frame) = 0; |
@@ -116,7 +115,7 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
virtual bool Initialize(VideoPixelFormat input_format, |
const gfx::Size& input_visible_size, |
VideoCodecProfile output_profile, |
- uint32 initial_bitrate, |
+ uint32_t initial_bitrate, |
Client* client) = 0; |
// Encodes the given frame. |
@@ -138,8 +137,8 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
// Parameters: |
// |bitrate| is the requested new bitrate, in bits per second. |
// |framerate| is the requested new framerate, in frames per second. |
- virtual void RequestEncodingParametersChange(uint32 bitrate, |
- uint32 framerate) = 0; |
+ virtual void RequestEncodingParametersChange(uint32_t bitrate, |
+ uint32_t framerate) = 0; |
// Destroys the encoder: all pending inputs and outputs are dropped |
// immediately and the component is freed. This call may asynchronously free |