本文整理了Java中com.google.android.exoplayer2.Format.<init>()
方法的一些代码示例,展示了Format.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Format.<init>()
方法的具体详情如下:
包路径:com.google.android.exoplayer2.Format
类名称:Format
方法名:<init>
暂无
代码示例来源:origin: google/ExoPlayer
@Override
public Format createFromParcel(Parcel in) {
return new Format(in);
}
代码示例来源:origin: google/ExoPlayer
public Format copyWithSubsampleOffsetUs(long subsampleOffsetUs) {
return new Format(
id,
label,
containerMimeType,
sampleMimeType,
codecs,
bitrate,
maxInputSize,
width,
height,
frameRate,
rotationDegrees,
pixelWidthHeightRatio,
projectionData,
stereoMode,
colorInfo,
channelCount,
sampleRate,
pcmEncoding,
encoderDelay,
encoderPadding,
selectionFlags,
language,
accessibilityChannel,
subsampleOffsetUs,
initializationData,
drmInitData,
metadata);
}
代码示例来源:origin: google/ExoPlayer
public Format copyWithFrameRate(float frameRate) {
return new Format(
id,
label,
containerMimeType,
sampleMimeType,
codecs,
bitrate,
maxInputSize,
width,
height,
frameRate,
rotationDegrees,
pixelWidthHeightRatio,
projectionData,
stereoMode,
colorInfo,
channelCount,
sampleRate,
pcmEncoding,
encoderDelay,
encoderPadding,
selectionFlags,
language,
accessibilityChannel,
subsampleOffsetUs,
initializationData,
drmInitData,
metadata);
}
代码示例来源:origin: google/ExoPlayer
public Format copyWithMaxInputSize(int maxInputSize) {
return new Format(
id,
label,
containerMimeType,
sampleMimeType,
codecs,
bitrate,
maxInputSize,
width,
height,
frameRate,
rotationDegrees,
pixelWidthHeightRatio,
projectionData,
stereoMode,
colorInfo,
channelCount,
sampleRate,
pcmEncoding,
encoderDelay,
encoderPadding,
selectionFlags,
language,
accessibilityChannel,
subsampleOffsetUs,
initializationData,
drmInitData,
metadata);
}
代码示例来源:origin: google/ExoPlayer
public Format copyWithGaplessInfo(int encoderDelay, int encoderPadding) {
return new Format(
id,
label,
containerMimeType,
sampleMimeType,
codecs,
bitrate,
maxInputSize,
width,
height,
frameRate,
rotationDegrees,
pixelWidthHeightRatio,
projectionData,
stereoMode,
colorInfo,
channelCount,
sampleRate,
pcmEncoding,
encoderDelay,
encoderPadding,
selectionFlags,
language,
accessibilityChannel,
subsampleOffsetUs,
initializationData,
drmInitData,
metadata);
}
代码示例来源:origin: google/ExoPlayer
public Format copyWithRotationDegrees(int rotationDegrees) {
return new Format(
id,
label,
containerMimeType,
sampleMimeType,
codecs,
bitrate,
maxInputSize,
width,
height,
frameRate,
rotationDegrees,
pixelWidthHeightRatio,
projectionData,
stereoMode,
colorInfo,
channelCount,
sampleRate,
pcmEncoding,
encoderDelay,
encoderPadding,
selectionFlags,
language,
accessibilityChannel,
subsampleOffsetUs,
initializationData,
drmInitData,
metadata);
}
代码示例来源:origin: google/ExoPlayer
public Format copyWithMetadata(@Nullable Metadata metadata) {
return new Format(
id,
label,
containerMimeType,
sampleMimeType,
codecs,
bitrate,
maxInputSize,
width,
height,
frameRate,
rotationDegrees,
pixelWidthHeightRatio,
projectionData,
stereoMode,
colorInfo,
channelCount,
sampleRate,
pcmEncoding,
encoderDelay,
encoderPadding,
selectionFlags,
language,
accessibilityChannel,
subsampleOffsetUs,
initializationData,
drmInitData,
metadata);
}
代码示例来源:origin: google/ExoPlayer
public Format copyWithDrmInitData(@Nullable DrmInitData drmInitData) {
return new Format(
id,
label,
containerMimeType,
sampleMimeType,
codecs,
bitrate,
maxInputSize,
width,
height,
frameRate,
rotationDegrees,
pixelWidthHeightRatio,
projectionData,
stereoMode,
colorInfo,
channelCount,
sampleRate,
pcmEncoding,
encoderDelay,
encoderPadding,
selectionFlags,
language,
accessibilityChannel,
subsampleOffsetUs,
initializationData,
drmInitData,
metadata);
}
代码示例来源:origin: google/ExoPlayer
public static Format createSampleFormat(
@Nullable String id, @Nullable String sampleMimeType, long subsampleOffsetUs) {
return new Format(
id,
代码示例来源:origin: google/ExoPlayer
int bitrate,
@Nullable DrmInitData drmInitData) {
return new Format(
id,
代码示例来源:origin: google/ExoPlayer
@Nullable String language,
@Nullable DrmInitData drmInitData) {
return new Format(
id,
代码示例来源:origin: google/ExoPlayer
@C.SelectionFlags int selectionFlags,
@Nullable String language) {
return new Format(
id,
label,
代码示例来源:origin: google/ExoPlayer
@Nullable List<byte[]> initializationData,
@C.SelectionFlags int selectionFlags) {
return new Format(
id,
label,
@Nullable ColorInfo colorInfo,
@Nullable DrmInitData drmInitData) {
return new Format(
id,
@C.SelectionFlags int selectionFlags,
@Nullable String language) {
return new Format(
id,
label,
@Nullable String language,
@Nullable Metadata metadata) {
return new Format(
id,
@Nullable String language,
int accessibilityChannel) {
return new Format(
id,
label,
long subsampleOffsetUs,
代码示例来源:origin: google/ExoPlayer
DrmInitData.createSessionCreationData(manifestFormat.drmInitData, this.drmInitData);
return new Format(
id,
label,
代码示例来源:origin: google/ExoPlayer
new Format(
"id",
"label",
内容来源于网络,如有侵权,请联系作者删除!