com.google.android.exoplayer2.Format.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(203)

本文整理了Java中com.google.android.exoplayer2.Format.<init>()方法的一些代码示例,展示了Format.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Format.<init>()方法的具体详情如下:
包路径:com.google.android.exoplayer2.Format
类名称:Format
方法名:<init>

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",

相关文章