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

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

Issue 2693653003: Merge M57: "Make setOutputSurface, encrypted capabilities. Blacklist hi6210sft." (Closed)
Patch Set: Created 3 years, 10 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // Indicates if the vp9 decoder is available on this device. 76 // Indicates if the vp9 decoder is available on this device.
77 static bool IsVp9DecoderAvailable(); 77 static bool IsVp9DecoderAvailable();
78 78
79 // Indicates if the h264 encoder is available on this device. 79 // Indicates if the h264 encoder is available on this device.
80 static bool IsH264EncoderAvailable(); 80 static bool IsH264EncoderAvailable();
81 81
82 // Indicates if SurfaceView and MediaCodec work well together on this device. 82 // Indicates if SurfaceView and MediaCodec work well together on this device.
83 static bool IsSurfaceViewOutputSupported(); 83 static bool IsSurfaceViewOutputSupported();
84 84
85 // Indicates if MediaCodec.setOutputSurface() works on this device.
86 static bool IsSetOutputSurfaceSupported();
87
85 // Indicates if the decoder is known to fail when flushed. (b/8125974, 88 // Indicates if the decoder is known to fail when flushed. (b/8125974,
86 // b/8347958) 89 // b/8347958)
87 // When true, the client should work around the issue by releasing the 90 // When true, the client should work around the issue by releasing the
88 // decoder and instantiating a new one rather than flushing the current one. 91 // decoder and instantiating a new one rather than flushing the current one.
89 static bool CodecNeedsFlushWorkaround(MediaCodecBridge* codec); 92 static bool CodecNeedsFlushWorkaround(MediaCodecBridge* codec);
90 }; 93 };
91 94
92 } // namespace media 95 } // namespace media
93 96
94 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_ 97 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_UTIL_H_
OLDNEW
« no previous file with comments | « media/base/android/java/src/org/chromium/media/MediaCodecUtil.java ('k') | media/base/android/media_codec_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698