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

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

Issue 2358683002: Android: enable/disable WebRTC HW H264 with a flag. (Closed)
Patch Set: loop codecs in fineHWEncoder() and other fixes. Created 4 years, 3 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_util.h
diff --git a/media/base/android/media_codec_util.h b/media/base/android/media_codec_util.h
index 09e5ac84d1de63908e321f4a74bd4191aac6deed..59f07467bc0e3143b4a6dde4051531c3d6db7856 100644
--- a/media/base/android/media_codec_util.h
+++ b/media/base/android/media_codec_util.h
@@ -77,6 +77,9 @@ class MEDIA_EXPORT MediaCodecUtil {
// Indicates if the vp9 decoder is available on this device.
static bool IsVp9DecoderAvailable();
+ // Indicates if the h264 encoder is available on this device.
+ static bool IsH264EncoderAvailable();
+
// Indicates if SurfaceView and MediaCodec work well together on this device.
static bool IsSurfaceViewOutputSupported();

Powered by Google App Engine
This is Rietveld 408576698