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

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

Issue 2365103002: Send the h264 SPS and PPS configuration parameters to AVDA (Closed)
Patch Set: Shot in the dark Created 4 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 | « no previous file | media/base/android/sdk_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/sdk_media_codec_bridge.h
diff --git a/media/base/android/sdk_media_codec_bridge.h b/media/base/android/sdk_media_codec_bridge.h
index 9be4cbc78a9378da230780aa8c2a3979c8d1e891..82684af881e3c816668c470f6da4b6d30d9fd01e 100644
--- a/media/base/android/sdk_media_codec_bridge.h
+++ b/media/base/android/sdk_media_codec_bridge.h
@@ -136,14 +136,17 @@ class MEDIA_EXPORT VideoCodecBridge : public SdkMediaCodecBridge {
// Create, start, and return a VideoCodecBridge decoder or NULL on failure.
static VideoCodecBridge* CreateDecoder(
- const VideoCodec& codec, // e.g. media::kCodecVP8
- bool is_secure, // Will be used with encrypted content.
- const gfx::Size& size, // Output frame size.
- jobject surface, // Output surface, optional.
- jobject media_crypto, // MediaCrypto object, optional.
- bool allow_adaptive_playback =
- true, // Should adaptive playback be allowed if supported.
- bool require_software_codec = false); // Require software decoder?
+ const VideoCodec& codec,
+ bool is_secure, // Will be used with encrypted content.
+ const gfx::Size& size, // Output frame size.
+ jobject surface, // Output surface, optional.
+ jobject media_crypto, // MediaCrypto object, optional.
+ // Codec specific data. See MediaCodec docs.
+ const std::vector<uint8_t>& csd0,
+ const std::vector<uint8_t>& csd1,
+ // Should adaptive playback be allowed if supported.
+ bool allow_adaptive_playback = true,
+ bool require_software_codec = false);
// Create, start, and return a VideoCodecBridge encoder or NULL on failure.
static VideoCodecBridge* CreateEncoder(
« no previous file with comments | « no previous file | media/base/android/sdk_media_codec_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698