Home
last modified time | relevance | path

Searched refs:RendererCapabilities (Results 1 – 25 of 32) sorted by relevance

12

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelectorTest.java25 import com.google.android.exoplayer2.RendererCapabilities;
26 import com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport;
27 import com.google.android.exoplayer2.RendererCapabilities.Capabilities;
44 private static final RendererCapabilities VIDEO_CAPABILITIES =
46 private static final RendererCapabilities AUDIO_CAPABILITIES =
48 private static final RendererCapabilities METADATA_CAPABILITIES =
68 RendererCapabilities[] rendererCapabilities = in selectTracks_audioAndVideo_sameOrderAsRenderers_mappedToCorrectRenderer()
69 new RendererCapabilities[] {VIDEO_CAPABILITIES, AUDIO_CAPABILITIES}; in selectTracks_audioAndVideo_sameOrderAsRenderers_mappedToCorrectRenderer()
83 RendererCapabilities[] reverseOrderRendererCapabilities = in selectTracks_audioAndVideo_reverseOrderToRenderers_mappedToCorrectRenderer()
84 new RendererCapabilities[] {AUDIO_CAPABILITIES, VIDEO_CAPABILITIES}; in selectTracks_audioAndVideo_reverseOrderToRenderers_mappedToCorrectRenderer()
[all …]
DDefaultTrackSelectorTest.java18 import static com.google.android.exoplayer2.RendererCapabilities.ADAPTIVE_NOT_SEAMLESS;
19 import static com.google.android.exoplayer2.RendererCapabilities.FORMAT_EXCEEDS_CAPABILITIES;
20 import static com.google.android.exoplayer2.RendererCapabilities.FORMAT_HANDLED;
21 import static com.google.android.exoplayer2.RendererCapabilities.FORMAT_UNSUPPORTED_SUBTYPE;
39 import com.google.android.exoplayer2.RendererCapabilities;
65 private static final RendererCapabilities ALL_AUDIO_FORMAT_SUPPORTED_RENDERER_CAPABILITIES =
67 private static final RendererCapabilities ALL_TEXT_FORMAT_SUPPORTED_RENDERER_CAPABILITIES =
69 private static final RendererCapabilities ALL_AUDIO_FORMAT_EXCEEDED_RENDERER_CAPABILITIES =
72 private static final RendererCapabilities VIDEO_CAPABILITIES =
74 private static final RendererCapabilities AUDIO_CAPABILITIES =
[all …]
DTrackSelectorTest.java23 import com.google.android.exoplayer2.RendererCapabilities;
46 RendererCapabilities[] rendererCapabilities, in setUp()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelector.java24 import com.google.android.exoplayer2.RendererCapabilities;
25 import com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport;
26 import com.google.android.exoplayer2.RendererCapabilities.Capabilities;
27 import com.google.android.exoplayer2.RendererCapabilities.FormatSupport;
180 switch (RendererCapabilities.getFormatSupport(trackFormatSupport)) { in getRendererSupport()
181 case RendererCapabilities.FORMAT_HANDLED: in getRendererSupport()
183 case RendererCapabilities.FORMAT_EXCEEDS_CAPABILITIES: in getRendererSupport()
186 case RendererCapabilities.FORMAT_UNSUPPORTED_TYPE: in getRendererSupport()
187 case RendererCapabilities.FORMAT_UNSUPPORTED_SUBTYPE: in getRendererSupport()
188 case RendererCapabilities.FORMAT_UNSUPPORTED_DRM: in getRendererSupport()
[all …]
DTrackSelector.java22 import com.google.android.exoplayer2.RendererCapabilities;
126 RendererCapabilities[] rendererCapabilities, in selectTracks()
DDefaultTrackSelector.java32 import com.google.android.exoplayer2.RendererCapabilities;
33 import com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport;
34 import com.google.android.exoplayer2.RendererCapabilities.Capabilities;
35 import com.google.android.exoplayer2.RendererCapabilities.FormatSupport;
1736 ? (RendererCapabilities.ADAPTIVE_NOT_SEAMLESS | RendererCapabilities.ADAPTIVE_SEAMLESS) in selectAdaptiveVideoTrack()
1737 : RendererCapabilities.ADAPTIVE_SEAMLESS; in selectAdaptiveVideoTrack()
2287 if (RendererCapabilities.getTunnelingSupport(trackFormatSupport)
2288 != RendererCapabilities.TUNNELING_SUPPORTED) {
2324 @FormatSupport int maskedSupport = RendererCapabilities.getFormatSupport(formatSupport);
2325 return maskedSupport == RendererCapabilities.FORMAT_HANDLED || (allowExceedsCapabilities
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DRendererCapabilities.java28 public interface RendererCapabilities { interface
248 case RendererCapabilities.FORMAT_HANDLED: in getFormatSupportString()
250 case RendererCapabilities.FORMAT_EXCEEDS_CAPABILITIES: in getFormatSupportString()
252 case RendererCapabilities.FORMAT_UNSUPPORTED_DRM: in getFormatSupportString()
254 case RendererCapabilities.FORMAT_UNSUPPORTED_SUBTYPE: in getFormatSupportString()
256 case RendererCapabilities.FORMAT_UNSUPPORTED_TYPE: in getFormatSupportString()
DExoPlaybackException.java22 import com.google.android.exoplayer2.RendererCapabilities.FormatSupport;
132 rendererFormat == null ? RendererCapabilities.FORMAT_HANDLED : rendererFormatSupport); in createForRenderer()
173 /* rendererFormatSupport= */ RendererCapabilities.FORMAT_HANDLED); in ExoPlaybackException()
184 /* rendererFormatSupport= */ RendererCapabilities.FORMAT_HANDLED); in ExoPlaybackException()
275 + RendererCapabilities.getFormatSupportString(rendererFormatSupport); in deriveMessage()
DBaseRenderer.java28 public abstract class BaseRenderer implements Renderer, RendererCapabilities {
59 public final RendererCapabilities getCapabilities() { in getCapabilities()
321 @FormatSupport int formatSupport = RendererCapabilities.FORMAT_HANDLED; in createRendererException()
326 formatSupport = RendererCapabilities.getFormatSupport(supportsFormat(format)); in createRendererException()
DNoSampleRenderer.java29 public abstract class NoSampleRenderer implements Renderer, RendererCapabilities {
43 public final RendererCapabilities getCapabilities() { in getCapabilities()
169 return RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
/external/exoplayer/tree/extensions/vp9/src/main/java/com/google/android/exoplayer2/ext/vp9/
DLibvpxVideoRenderer.java25 import com.google.android.exoplayer2.RendererCapabilities;
129 return RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
135 return RendererCapabilities.create(FORMAT_UNSUPPORTED_DRM); in supportsFormat()
137 return RendererCapabilities.create(FORMAT_HANDLED, ADAPTIVE_SEAMLESS, TUNNELING_NOT_SUPPORTED); in supportsFormat()
/external/exoplayer/tree/extensions/av1/src/main/java/com/google/android/exoplayer2/ext/av1/
DLibgav1VideoRenderer.java25 import com.google.android.exoplayer2.RendererCapabilities;
120 return RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
123 return RendererCapabilities.create(FORMAT_UNSUPPORTED_DRM); in supportsFormat()
125 return RendererCapabilities.create(FORMAT_HANDLED, ADAPTIVE_SEAMLESS, TUNNELING_NOT_SUPPORTED); in supportsFormat()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/audio/
DDecoderAudioRendererTest.java18 import static com.google.android.exoplayer2.RendererCapabilities.ADAPTIVE_NOT_SEAMLESS;
19 import static com.google.android.exoplayer2.RendererCapabilities.FORMAT_HANDLED;
20 import static com.google.android.exoplayer2.RendererCapabilities.TUNNELING_NOT_SUPPORTED;
21 import static com.google.android.exoplayer2.RendererCapabilities.TUNNELING_SUPPORTED;
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/
DCameraMotionRenderer.java25 import com.google.android.exoplayer2.RendererCapabilities;
62 ? RendererCapabilities.create(FORMAT_HANDLED) in supportsFormat()
63 : RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeRenderer.java25 import com.google.android.exoplayer2.RendererCapabilities;
146 ? RendererCapabilities.create(FORMAT_HANDLED, ADAPTIVE_SEAMLESS, TUNNELING_NOT_SUPPORTED) in supportsFormat()
147 : RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
DFakeTrackSelector.java19 import com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport;
20 import com.google.android.exoplayer2.RendererCapabilities.Capabilities;
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java28 import com.google.android.exoplayer2.RendererCapabilities;
29 import com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport;
234 RendererCapabilities.getFormatSupportString( in onTracksChanged()
273 RendererCapabilities.getFormatSupportString( in onTracksChanged()
274 RendererCapabilities.FORMAT_UNSUPPORTED_TYPE); in onTracksChanged()
586 case RendererCapabilities.ADAPTIVE_SEAMLESS: in getAdaptiveSupportString()
588 case RendererCapabilities.ADAPTIVE_NOT_SEAMLESS: in getAdaptiveSupportString()
590 case RendererCapabilities.ADAPTIVE_NOT_SUPPORTED: in getAdaptiveSupportString()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DTextRenderer.java28 import com.google.android.exoplayer2.RendererCapabilities;
133 return RendererCapabilities.create( in supportsFormat()
136 return RendererCapabilities.create(FORMAT_UNSUPPORTED_SUBTYPE); in supportsFormat()
138 return RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/
DFfmpegVideoRenderer.java23 import com.google.android.exoplayer2.RendererCapabilities;
68 @RendererCapabilities.Capabilities
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DMediaCodecAudioRenderer.java32 import com.google.android.exoplayer2.RendererCapabilities;
215 return RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
221 return RendererCapabilities.create(FORMAT_HANDLED, ADAPTIVE_NOT_SEAMLESS, tunnelingSupport); in supportsFormat()
227 return RendererCapabilities.create(FORMAT_UNSUPPORTED_SUBTYPE); in supportsFormat()
232 return RendererCapabilities.create(FORMAT_UNSUPPORTED_SUBTYPE); in supportsFormat()
235 return RendererCapabilities.create(FORMAT_UNSUPPORTED_DRM); in supportsFormat()
247 return RendererCapabilities.create(formatSupport, adaptiveSupport, tunnelingSupport); in supportsFormat()
DDecoderAudioRenderer.java30 import com.google.android.exoplayer2.RendererCapabilities;
194 return RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
198 return RendererCapabilities.create(formatSupport); in supportsFormat()
202 return RendererCapabilities.create(formatSupport, ADAPTIVE_NOT_SEAMLESS, tunnelingSupport); in supportsFormat()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/
DMetadataRenderer.java29 import com.google.android.exoplayer2.RendererCapabilities;
105 return RendererCapabilities.create( in supportsFormat()
108 return RendererCapabilities.create(FORMAT_UNSUPPORTED_TYPE); in supportsFormat()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadHelper.java28 import com.google.android.exoplayer2.RendererCapabilities;
166 public static RendererCapabilities[] getRendererCapabilities(RenderersFactory renderersFactory) { in getRendererCapabilities()
174 RendererCapabilities[] capabilities = new RendererCapabilities[renderers.length]; in getRendererCapabilities()
208 /* rendererCapabilities= */ new RendererCapabilities[0]); in forProgressive()
226 /* rendererCapabilities= */ new RendererCapabilities[0]); in forProgressive()
493 private final RendererCapabilities[] rendererCapabilities;
525 RendererCapabilities[] rendererCapabilities) { in DownloadHelper()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DTrackSelectionView.java29 import com.google.android.exoplayer2.RendererCapabilities;
275 == RendererCapabilities.FORMAT_HANDLED) { in updateViews()
376 != RendererCapabilities.ADAPTIVE_NOT_SUPPORTED; in shouldEnableAdaptiveSelection()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/video/
DDecoderVideoRendererTest.java32 import com.google.android.exoplayer2.RendererCapabilities;
91 return RendererCapabilities.create(FORMAT_HANDLED); in setUp()

12