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

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

Issue 648613003: Add support for color formats negotiation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update per Pawel's comment, ptal. Created 6 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
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 da2348f497556b9b86cc715dc038552721c6de7d..f7c9e2b4c23dc0079b3c8646936aba93cf21fa88 100644
--- a/media/base/android/media_codec_bridge.h
+++ b/media/base/android/media_codec_bridge.h
@@ -81,6 +81,11 @@ class MEDIA_EXPORT MediaCodecBridge {
static std::string GetDefaultCodecName(const std::string& mime_type,
MediaCodecDirection direction);
+ // Get a list of encoder supported color formats for |mime_type|.
+ // The mapping of color format name and its value refers to
+ // MediaCodecInfo.CodecCapabilities.
+ static std::set<int> GetEncoderColorFormats(const std::string& mime_type);
+
virtual ~MediaCodecBridge();
// Resets both input and output, all indices previously returned in calls to
« no previous file with comments | « media/base/android/java/src/org/chromium/media/MediaCodecBridge.java ('k') | media/base/android/media_codec_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698