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

Side by Side Diff: media/base/android/media_codec_util.h

Issue 1796393002: Remove Exynos from MediaCodec blacklist. Limit MediaTek blacklist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert hunks. Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_ 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_
6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_ 6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Test whether the path of a URL ends with ".m3u8". 60 // Test whether the path of a URL ends with ".m3u8".
61 static bool IsHLSURL(const GURL& url); 61 static bool IsHLSURL(const GURL& url);
62 62
63 // Test whether a URL contains "m3u8". (Using exactly the same logic as 63 // Test whether a URL contains "m3u8". (Using exactly the same logic as
64 // NuPlayer does to determine if a stream is HLS.) 64 // NuPlayer does to determine if a stream is HLS.)
65 static bool IsHLSPath(const GURL& url); 65 static bool IsHLSPath(const GURL& url);
66 66
67 static bool RegisterMediaCodecUtil(JNIEnv* env); 67 static bool RegisterMediaCodecUtil(JNIEnv* env);
68 68
69 // Indicates if the vp8 decoder is available on this device. 69 // Indicates if the vp8 decoder or encoder is available on this device.
70 static bool IsVp8DecoderAvailable(); 70 static bool IsVp8DecoderAvailable();
71 static bool IsVp8EncoderAvailable();
71 }; 72 };
72 73
73 } // namespace media 74 } // namespace media
74 75
75 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_ 76 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/android_video_encode_accelerator.cc ('k') | media/base/android/media_codec_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698