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

Unified Diff: media/base/android/media_codec_bridge.h

Issue 1499423004: Remove kint32max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint9
Patch Set: rebase 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 | « content/test/fileapi_test_file_set.cc ('k') | media/base/android/media_codec_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_bridge.h
diff --git a/media/base/android/media_codec_bridge.h b/media/base/android/media_codec_bridge.h
index 0719448f3d05385551838f4cf9c1818b0a237e7e..02a29f918123399589d3223ae5bda54378b04dea 100644
--- a/media/base/android/media_codec_bridge.h
+++ b/media/base/android/media_codec_bridge.h
@@ -5,6 +5,8 @@
#ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_
#define MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_
+#include <stdint.h>
+
#include <set>
#include <string>
#include <vector>
@@ -74,7 +76,7 @@ class MEDIA_EXPORT MediaCodecBridge {
// |data_size| must be less than kint32max (because Java).
virtual MediaCodecStatus QueueInputBuffer(
int index,
- const uint8* data,
+ const uint8_t* data,
size_t data_size,
const base::TimeDelta& presentation_time) = 0;
@@ -84,7 +86,7 @@ class MEDIA_EXPORT MediaCodecBridge {
// |data_size|). |data_size| must be less than kint32max (because Java).
MediaCodecStatus QueueSecureInputBuffer(
int index,
- const uint8* data,
+ const uint8_t* data,
size_t data_size,
const std::string& key_id,
const std::string& iv,
@@ -97,7 +99,7 @@ class MEDIA_EXPORT MediaCodecBridge {
// switch to the Spitzer pipeline.
virtual MediaCodecStatus QueueSecureInputBuffer(
int index,
- const uint8* data,
+ const uint8_t* data,
size_t data_size,
const std::vector<char>& key_id,
const std::vector<char>& iv,
@@ -149,7 +151,7 @@ class MEDIA_EXPORT MediaCodecBridge {
// Returns an input buffer's base pointer and capacity.
virtual void GetInputBuffer(int input_buffer_index,
- uint8** data,
+ uint8_t** data,
size_t* capacity) = 0;
// Copy |dst_size| bytes from output buffer |index|'s |offset| onwards into
@@ -165,7 +167,7 @@ class MEDIA_EXPORT MediaCodecBridge {
// Fills a particular input buffer; returns false if |data_size| exceeds the
// input buffer's capacity (and doesn't touch the input buffer in that case).
bool FillInputBuffer(int index,
- const uint8* data,
+ const uint8_t* data,
size_t data_size) WARN_UNUSED_RESULT;
DISALLOW_COPY_AND_ASSIGN(MediaCodecBridge);
« no previous file with comments | « content/test/fileapi_test_file_set.cc ('k') | media/base/android/media_codec_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698