Home
last modified time | relevance | path

Searched refs:roleFlags (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DFormat.java125 @C.RoleFlags private int roleFlags; field in Format.Builder
201 this.roleFlags = format.roleFlags; in Builder()
297 public Builder setRoleFlags(@C.RoleFlags int roleFlags) { in setRoleFlags() argument
298 this.roleFlags = roleFlags; in setRoleFlags()
598 roleFlags, in build()
645 @C.RoleFlags public final int roleFlags; field in Format
814 @C.RoleFlags int roleFlags) { in createVideoContainerFormat() argument
819 .setRoleFlags(roleFlags) in createVideoContainerFormat()
947 @C.RoleFlags int roleFlags, in createAudioContainerFormat() argument
954 .setRoleFlags(roleFlags) in createAudioContainerFormat()
[all …]
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultTrackNameProvider.java113 if ((format.roleFlags & C.ROLE_FLAG_ALTERNATE) != 0) { in buildRoleString()
116 if ((format.roleFlags & C.ROLE_FLAG_SUPPLEMENTARY) != 0) { in buildRoleString()
119 if ((format.roleFlags & C.ROLE_FLAG_COMMENTARY) != 0) { in buildRoleString()
122 if ((format.roleFlags & (C.ROLE_FLAG_CAPTION | C.ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND)) != 0) { in buildRoleString()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java807 .setRoleFlags(variantFormat.roleFlags)
817 int roleFlags = 0;
825 roleFlags = mediaTagFormat.roleFlags;
834 roleFlags = variantFormat.roleFlags;
853 .setRoleFlags(roleFlags)
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParserTest.java243 assertThat(adaptationSet.representations.get(0).format.roleFlags).isEqualTo(0); in parseMediaPresentationDescription_trickPlay()
248 assertThat(adaptationSet.representations.get(0).format.roleFlags).isEqualTo(0); in parseMediaPresentationDescription_trickPlay()
256 assertThat(adaptationSet.representations.get(0).format.roleFlags) in parseMediaPresentationDescription_trickPlay()
265 assertThat(adaptationSet.representations.get(0).format.roleFlags) in parseMediaPresentationDescription_trickPlay()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java309 int roleFlags = isIFrameOnlyVariant ? C.ROLE_FLAG_TRICK_PLAY : 0; in parseMasterPlaylist() local
364 .setRoleFlags(roleFlags) in parseMasterPlaylist()
830 @C.RoleFlags int roleFlags = 0; in parseRoleFlags() local
832 roleFlags |= C.ROLE_FLAG_DESCRIBES_VIDEO; in parseRoleFlags()
835 roleFlags |= C.ROLE_FLAG_TRANSCRIBES_DIALOG; in parseRoleFlags()
838 roleFlags |= C.ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND; in parseRoleFlags()
841 roleFlags |= C.ROLE_FLAG_EASY_TO_READ; in parseRoleFlags()
843 return roleFlags; in parseRoleFlags()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifestParser.java699 @C.RoleFlags int roleFlags = 0; in parseStartTag() local
704 roleFlags = C.ROLE_FLAG_CAPTION; in parseStartTag()
707 roleFlags = C.ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND; in parseStartTag()
713 formatBuilder.setContainerMimeType(MimeTypes.APPLICATION_MP4).setRoleFlags(roleFlags); in parseStartTag()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMasterPlaylistParserTest.java432 assertThat(playlist.variants.get(i).format.roleFlags).isEqualTo(0); in testIFrameVariant()
436 assertThat(iFramesOnlyVariant.format.roleFlags & C.ROLE_FLAG_TRICK_PLAY) in testIFrameVariant()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java617 @C.RoleFlags int roleFlags = parseRoleFlagsFromRoleDescriptors(roleDescriptors); in buildFormat() local
618 roleFlags |= parseRoleFlagsFromAccessibilityDescriptors(accessibilityDescriptors); in buildFormat()
619 roleFlags |= parseRoleFlagsFromProperties(essentialProperties); in buildFormat()
620 roleFlags |= parseRoleFlagsFromProperties(supplementalProperties); in buildFormat()
630 .setRoleFlags(roleFlags) in buildFormat()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelector.java1891 if ((format.roleFlags & C.ROLE_FLAG_TRICK_PLAY) != 0) { in isSupportedAdaptiveVideoTrack()
1919 if ((format.roleFlags & C.ROLE_FLAG_TRICK_PLAY) != 0) { in selectFixedVideoTrack()
2596 Integer.bitCount(format.roleFlags & parameters.preferredTextRoleFlags); in TextTrackScore()
2598 (format.roleFlags & (C.ROLE_FLAG_CAPTION | C.ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND)) != 0; in TextTrackScore()
/external/exoplayer/tree/
DRELEASENOTES.md633 * SmoothStreaming: Parse text stream `Subtype` into `Format.roleFlags`.
803 * Parse role and accessibility descriptors into `Format.roleFlags`.
811 * Parse `EXT-X-MEDIA` `CHARACTERISTICS` attribute into `Format.roleFlags`.