mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
1177 lines
71 KiB
HTML
1177 lines
71 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_101) on Wed Dec 14 17:18:31 GMT 2016 -->
|
|
<title>MediaFormat (ExoPlayer library)</title>
|
|
<meta name="date" content="2016-12-14">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="MediaFormat (ExoPlayer library)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10};
|
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/google/android/exoplayer/MediaCodecVideoTrackRenderer.EventListener.html" title="interface in com.google.android.exoplayer"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/google/android/exoplayer/MediaFormatHolder.html" title="class in com.google.android.exoplayer"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/google/android/exoplayer/MediaFormat.html" target="_top">Frames</a></li>
|
|
<li><a href="MediaFormat.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.google.android.exoplayer</div>
|
|
<h2 title="Class MediaFormat" class="title">Class MediaFormat</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.google.android.exoplayer.MediaFormat</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true" title="class or interface in android.os">Parcelable</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public final class <span class="typeNameLabel">MediaFormat</span>
|
|
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
|
|
implements <a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true" title="class or interface in android.os">Parcelable</a></pre>
|
|
<div class="block">Defines the format of an elementary media stream.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.android.os.Parcelable">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from interface android.os.<a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true" title="class or interface in android.os">Parcelable</a></h3>
|
|
<code><a href="https://developer.android.com/reference/android/os/Parcelable.ClassLoaderCreator.html?is-external=true" title="class or interface in android.os">Parcelable.ClassLoaderCreator</a><<a href="https://developer.android.com/reference/android/os/Parcelable.ClassLoaderCreator.html?is-external=true" title="class or interface in android.os">T</a>>, <a href="https://developer.android.com/reference/android/os/Parcelable.Creator.html?is-external=true" title="class or interface in android.os">Parcelable.Creator</a><<a href="https://developer.android.com/reference/android/os/Parcelable.Creator.html?is-external=true" title="class or interface in android.os">T</a>></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#adaptive">adaptive</a></span></code>
|
|
<div class="block">Whether the format represents an adaptive track, meaning that the format of the actual media
|
|
data may change (e.g.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#bitrate">bitrate</a></span></code>
|
|
<div class="block">The average bandwidth in bits per second, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#channelCount">channelCount</a></span></code>
|
|
<div class="block">The number of audio channels, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="https://developer.android.com/reference/android/os/Parcelable.Creator.html?is-external=true" title="class or interface in android.os">Parcelable.Creator</a><<a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#CREATOR">CREATOR</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#durationUs">durationUs</a></span></code>
|
|
<div class="block">The duration in microseconds, or <a href="../../../../com/google/android/exoplayer/C.html#UNKNOWN_TIME_US"><code>C.UNKNOWN_TIME_US</code></a> if the duration is unknown, or
|
|
<a href="../../../../com/google/android/exoplayer/C.html#MATCH_LONGEST_US"><code>C.MATCH_LONGEST_US</code></a> if the duration should match the duration of the longest track whose
|
|
duration is known.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#encoderDelay">encoderDelay</a></span></code>
|
|
<div class="block">The number of samples to trim from the start of the decoded audio stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#encoderPadding">encoderPadding</a></span></code>
|
|
<div class="block">The number of samples to trim from the end of the decoded audio stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#height">height</a></span></code>
|
|
<div class="block">The height of the video in pixels, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#initializationData">initializationData</a></span></code>
|
|
<div class="block">Initialization data that must be provided to the decoder.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#language">language</a></span></code>
|
|
<div class="block">The language of the track, or null if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#maxHeight">maxHeight</a></span></code>
|
|
<div class="block">For formats that belong to an adaptive video track (either describing the track, or describing
|
|
a specific format within it), this is the maximum height of the video in pixels that will be
|
|
encountered in the stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#maxInputSize">maxInputSize</a></span></code>
|
|
<div class="block">The maximum size of a buffer of data (typically one sample) in the format, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a>
|
|
if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#maxWidth">maxWidth</a></span></code>
|
|
<div class="block">For formats that belong to an adaptive video track (either describing the track, or describing
|
|
a specific format within it), this is the maximum width of the video in pixels that will be
|
|
encountered in the stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#mimeType">mimeType</a></span></code>
|
|
<div class="block">The mime type of the format.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE">NO_VALUE</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#OFFSET_SAMPLE_RELATIVE">OFFSET_SAMPLE_RELATIVE</a></span></code>
|
|
<div class="block">A value for <a href="../../../../com/google/android/exoplayer/MediaFormat.html#subsampleOffsetUs"><code>subsampleOffsetUs</code></a> to indicate that subsample timestamps are relative to
|
|
the timestamps of their parent samples.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#pcmEncoding">pcmEncoding</a></span></code>
|
|
<div class="block">The encoding for PCM audio streams.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#pixelWidthHeightRatio">pixelWidthHeightRatio</a></span></code>
|
|
<div class="block">The width to height ratio of pixels in the video, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not
|
|
applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>byte[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#projectionData">projectionData</a></span></code>
|
|
<div class="block">The projection data for 360/VR video, or null if not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#rotationDegrees">rotationDegrees</a></span></code>
|
|
<div class="block">The clockwise rotation that should be applied to the video for it to be rendered in the correct
|
|
orientation, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#sampleRate">sampleRate</a></span></code>
|
|
<div class="block">The audio sampling rate in Hz, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#stereoMode">stereoMode</a></span></code>
|
|
<div class="block">The stereo layout for 360/3D/VR video, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#subsampleOffsetUs">subsampleOffsetUs</a></span></code>
|
|
<div class="block">For samples that contain subsamples, this is an offset that should be added to subsample
|
|
timestamps.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#trackId">trackId</a></span></code>
|
|
<div class="block">The identifier for the track represented by the format, or null if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#width">width</a></span></code>
|
|
<div class="block">The width of the video in pixels, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.android.os.Parcelable">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface android.os.<a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true" title="class or interface in android.os">Parcelable</a></h3>
|
|
<code><a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true#CONTENTS_FILE_DESCRIPTOR" title="class or interface in android.os">CONTENTS_FILE_DESCRIPTOR</a>, <a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true#PARCELABLE_WRITE_RETURN_VALUE" title="class or interface in android.os">PARCELABLE_WRITE_RETURN_VALUE</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyAsAdaptive-java.lang.String-">copyAsAdaptive</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId)</code> </td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyWithDurationUs-long-">copyWithDurationUs</a></span>(long durationUs)</code> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyWithFixedTrackInfo-java.lang.String-int-int-int-java.lang.String-">copyWithFixedTrackInfo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
int bitrate,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</code> </td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyWithGaplessInfo-int-int-">copyWithGaplessInfo</a></span>(int encoderDelay,
|
|
int encoderPadding)</code> </td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyWithLanguage-java.lang.String-">copyWithLanguage</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</code> </td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyWithMaxInputSize-int-">copyWithMaxInputSize</a></span>(int maxInputSize)</code> </td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyWithMaxVideoDimensions-int-int-">copyWithMaxVideoDimensions</a></span>(int maxWidth,
|
|
int maxHeight)</code> </td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#copyWithSubsampleOffsetUs-long-">copyWithSubsampleOffsetUs</a></span>(long subsampleOffsetUs)</code> </td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createAudioFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-java.lang.String-">createAudioFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int channelCount,
|
|
int sampleRate,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</code> </td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createAudioFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-java.lang.String-int-">createAudioFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int channelCount,
|
|
int sampleRate,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language,
|
|
int pcmEncoding)</code> </td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createFormatForMimeType-java.lang.String-java.lang.String-int-long-">createFormatForMimeType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs)</code> </td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createId3Format--">createId3Format</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createImageFormat-java.lang.String-java.lang.String-int-long-java.util.List-java.lang.String-">createImageFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</code> </td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createTextFormat-java.lang.String-java.lang.String-int-long-java.lang.String-">createTextFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</code> </td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createTextFormat-java.lang.String-java.lang.String-int-long-java.lang.String-long-">createTextFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language,
|
|
long subsampleOffsetUs)</code> </td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createVideoFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-">createVideoFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData)</code> </td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createVideoFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-int-float-">createVideoFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
int rotationDegrees,
|
|
float pixelWidthHeightRatio)</code> </td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#createVideoFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-int-float-byte:A-int-">createVideoFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
int rotationDegrees,
|
|
float pixelWidthHeightRatio,
|
|
byte[] projectionData,
|
|
int stereoMode)</code> </td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#describeContents--">describeContents</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> </td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/media/MediaFormat.html?is-external=true" title="class or interface in android.media">MediaFormat</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#getFrameworkMediaFormatV16--">getFrameworkMediaFormatV16</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#hashCode--">hashCode</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#toString--">toString</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/google/android/exoplayer/MediaFormat.html#writeToParcel-android.os.Parcel-int-">writeToParcel</a></span>(<a href="https://developer.android.com/reference/android/os/Parcel.html?is-external=true" title="class or interface in android.os">Parcel</a> dest,
|
|
int flags)</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="NO_VALUE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>NO_VALUE</h4>
|
|
<pre>public static final int NO_VALUE</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#com.google.android.exoplayer.MediaFormat.NO_VALUE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="OFFSET_SAMPLE_RELATIVE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>OFFSET_SAMPLE_RELATIVE</h4>
|
|
<pre>public static final long OFFSET_SAMPLE_RELATIVE</pre>
|
|
<div class="block">A value for <a href="../../../../com/google/android/exoplayer/MediaFormat.html#subsampleOffsetUs"><code>subsampleOffsetUs</code></a> to indicate that subsample timestamps are relative to
|
|
the timestamps of their parent samples.</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#com.google.android.exoplayer.MediaFormat.OFFSET_SAMPLE_RELATIVE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="trackId">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>trackId</h4>
|
|
<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId</pre>
|
|
<div class="block">The identifier for the track represented by the format, or null if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="mimeType">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mimeType</h4>
|
|
<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType</pre>
|
|
<div class="block">The mime type of the format.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="bitrate">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bitrate</h4>
|
|
<pre>public final int bitrate</pre>
|
|
<div class="block">The average bandwidth in bits per second, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="maxInputSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>maxInputSize</h4>
|
|
<pre>public final int maxInputSize</pre>
|
|
<div class="block">The maximum size of a buffer of data (typically one sample) in the format, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a>
|
|
if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="durationUs">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>durationUs</h4>
|
|
<pre>public final long durationUs</pre>
|
|
<div class="block">The duration in microseconds, or <a href="../../../../com/google/android/exoplayer/C.html#UNKNOWN_TIME_US"><code>C.UNKNOWN_TIME_US</code></a> if the duration is unknown, or
|
|
<a href="../../../../com/google/android/exoplayer/C.html#MATCH_LONGEST_US"><code>C.MATCH_LONGEST_US</code></a> if the duration should match the duration of the longest track whose
|
|
duration is known.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="initializationData">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>initializationData</h4>
|
|
<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData</pre>
|
|
<div class="block">Initialization data that must be provided to the decoder. Will not be null, but may be empty
|
|
if initialization data is not required.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="adaptive">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>adaptive</h4>
|
|
<pre>public final boolean adaptive</pre>
|
|
<div class="block">Whether the format represents an adaptive track, meaning that the format of the actual media
|
|
data may change (e.g. to adapt to network conditions).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="width">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>width</h4>
|
|
<pre>public final int width</pre>
|
|
<div class="block">The width of the video in pixels, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="height">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>height</h4>
|
|
<pre>public final int height</pre>
|
|
<div class="block">The height of the video in pixels, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="maxWidth">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>maxWidth</h4>
|
|
<pre>public final int maxWidth</pre>
|
|
<div class="block">For formats that belong to an adaptive video track (either describing the track, or describing
|
|
a specific format within it), this is the maximum width of the video in pixels that will be
|
|
encountered in the stream. Set to <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="maxHeight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>maxHeight</h4>
|
|
<pre>public final int maxHeight</pre>
|
|
<div class="block">For formats that belong to an adaptive video track (either describing the track, or describing
|
|
a specific format within it), this is the maximum height of the video in pixels that will be
|
|
encountered in the stream. Set to <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="rotationDegrees">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>rotationDegrees</h4>
|
|
<pre>public final int rotationDegrees</pre>
|
|
<div class="block">The clockwise rotation that should be applied to the video for it to be rendered in the correct
|
|
orientation, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable. Only 0, 90, 180 and 270 are
|
|
supported.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pixelWidthHeightRatio">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pixelWidthHeightRatio</h4>
|
|
<pre>public final float pixelWidthHeightRatio</pre>
|
|
<div class="block">The width to height ratio of pixels in the video, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not
|
|
applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="stereoMode">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>stereoMode</h4>
|
|
<pre>public final int stereoMode</pre>
|
|
<div class="block">The stereo layout for 360/3D/VR video, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if not applicable. Valid stereo
|
|
modes are <a href="../../../../com/google/android/exoplayer/C.html#STEREO_MODE_MONO"><code>C.STEREO_MODE_MONO</code></a>, <a href="../../../../com/google/android/exoplayer/C.html#STEREO_MODE_TOP_BOTTOM"><code>C.STEREO_MODE_TOP_BOTTOM</code></a>, <a href="../../../../com/google/android/exoplayer/C.html#STEREO_MODE_LEFT_RIGHT"><code>C.STEREO_MODE_LEFT_RIGHT</code></a>.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="projectionData">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>projectionData</h4>
|
|
<pre>public final byte[] projectionData</pre>
|
|
<div class="block">The projection data for 360/VR video, or null if not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="channelCount">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>channelCount</h4>
|
|
<pre>public final int channelCount</pre>
|
|
<div class="block">The number of audio channels, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="sampleRate">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sampleRate</h4>
|
|
<pre>public final int sampleRate</pre>
|
|
<div class="block">The audio sampling rate in Hz, or <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pcmEncoding">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pcmEncoding</h4>
|
|
<pre>public final int pcmEncoding</pre>
|
|
<div class="block">The encoding for PCM audio streams. If <a href="../../../../com/google/android/exoplayer/MediaFormat.html#mimeType"><code>mimeType</code></a> is <a href="../../../../com/google/android/exoplayer/util/MimeTypes.html#AUDIO_RAW"><code>MimeTypes.AUDIO_RAW</code></a> then
|
|
one of <a href="../../../../com/google/android/exoplayer/C.html#ENCODING_PCM_8BIT"><code>C.ENCODING_PCM_8BIT</code></a>, <a href="../../../../com/google/android/exoplayer/C.html#ENCODING_PCM_16BIT"><code>C.ENCODING_PCM_16BIT</code></a>, <a href="../../../../com/google/android/exoplayer/C.html#ENCODING_PCM_24BIT"><code>C.ENCODING_PCM_24BIT</code></a>
|
|
and <a href="../../../../com/google/android/exoplayer/C.html#ENCODING_PCM_32BIT"><code>C.ENCODING_PCM_32BIT</code></a>. Set to <a href="../../../../com/google/android/exoplayer/MediaFormat.html#NO_VALUE"><code>NO_VALUE</code></a> for other media types.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="encoderDelay">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>encoderDelay</h4>
|
|
<pre>public final int encoderDelay</pre>
|
|
<div class="block">The number of samples to trim from the start of the decoded audio stream.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="encoderPadding">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>encoderPadding</h4>
|
|
<pre>public final int encoderPadding</pre>
|
|
<div class="block">The number of samples to trim from the end of the decoded audio stream.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="language">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>language</h4>
|
|
<pre>public final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language</pre>
|
|
<div class="block">The language of the track, or null if unknown or not applicable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="subsampleOffsetUs">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>subsampleOffsetUs</h4>
|
|
<pre>public final long subsampleOffsetUs</pre>
|
|
<div class="block">For samples that contain subsamples, this is an offset that should be added to subsample
|
|
timestamps. A value of <a href="../../../../com/google/android/exoplayer/MediaFormat.html#OFFSET_SAMPLE_RELATIVE"><code>OFFSET_SAMPLE_RELATIVE</code></a> indicates that subsample timestamps are
|
|
relative to the timestamps of their parent samples.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="CREATOR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>CREATOR</h4>
|
|
<pre>public static final <a href="https://developer.android.com/reference/android/os/Parcelable.Creator.html?is-external=true" title="class or interface in android.os">Parcelable.Creator</a><<a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a>> CREATOR</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="createVideoFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createVideoFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createVideoFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createVideoFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-int-float-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createVideoFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createVideoFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
int rotationDegrees,
|
|
float pixelWidthHeightRatio)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createVideoFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-int-float-byte:A-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createVideoFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createVideoFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
int rotationDegrees,
|
|
float pixelWidthHeightRatio,
|
|
byte[] projectionData,
|
|
int stereoMode)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createAudioFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createAudioFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createAudioFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int channelCount,
|
|
int sampleRate,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createAudioFormat-java.lang.String-java.lang.String-int-int-long-int-int-java.util.List-java.lang.String-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createAudioFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createAudioFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
int maxInputSize,
|
|
long durationUs,
|
|
int channelCount,
|
|
int sampleRate,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language,
|
|
int pcmEncoding)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createTextFormat-java.lang.String-java.lang.String-int-long-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createTextFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createTextFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createTextFormat-java.lang.String-java.lang.String-int-long-java.lang.String-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createTextFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createTextFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language,
|
|
long subsampleOffsetUs)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createImageFormat-java.lang.String-java.lang.String-int-long-java.util.List-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createImageFormat</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createImageFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]> initializationData,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createFormatForMimeType-java.lang.String-java.lang.String-int-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createFormatForMimeType</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createFormatForMimeType(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> mimeType,
|
|
int bitrate,
|
|
long durationUs)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createId3Format--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createId3Format</h4>
|
|
<pre>public static <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> createId3Format()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyWithMaxInputSize-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyWithMaxInputSize</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyWithMaxInputSize(int maxInputSize)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyWithMaxVideoDimensions-int-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyWithMaxVideoDimensions</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyWithMaxVideoDimensions(int maxWidth,
|
|
int maxHeight)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyWithSubsampleOffsetUs-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyWithSubsampleOffsetUs</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyWithSubsampleOffsetUs(long subsampleOffsetUs)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyWithDurationUs-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyWithDurationUs</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyWithDurationUs(long durationUs)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyWithLanguage-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyWithLanguage</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyWithLanguage(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyWithFixedTrackInfo-java.lang.String-int-int-int-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyWithFixedTrackInfo</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyWithFixedTrackInfo(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId,
|
|
int bitrate,
|
|
int width,
|
|
int height,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> language)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyAsAdaptive-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyAsAdaptive</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyAsAdaptive(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trackId)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="copyWithGaplessInfo-int-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copyWithGaplessInfo</h4>
|
|
<pre>public <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer">MediaFormat</a> copyWithGaplessInfo(int encoderDelay,
|
|
int encoderPadding)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getFrameworkMediaFormatV16--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFrameworkMediaFormatV16</h4>
|
|
<pre>public final <a href="https://developer.android.com/reference/android/media/MediaFormat.html?is-external=true" title="class or interface in android.media">MediaFormat</a> getFrameworkMediaFormatV16()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>A <a href="../../../../com/google/android/exoplayer/MediaFormat.html" title="class in com.google.android.exoplayer"><code>MediaFormat</code></a> representation of this format.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toString--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hashCode--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hashCode</h4>
|
|
<pre>public int hashCode()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="equals-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>equals</h4>
|
|
<pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="describeContents--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>describeContents</h4>
|
|
<pre>public int describeContents()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true#describeContents--" title="class or interface in android.os">describeContents</a></code> in interface <code><a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true" title="class or interface in android.os">Parcelable</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeToParcel-android.os.Parcel-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>writeToParcel</h4>
|
|
<pre>public void writeToParcel(<a href="https://developer.android.com/reference/android/os/Parcel.html?is-external=true" title="class or interface in android.os">Parcel</a> dest,
|
|
int flags)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true#writeToParcel-android.os.Parcel-int-" title="class or interface in android.os">writeToParcel</a></code> in interface <code><a href="https://developer.android.com/reference/android/os/Parcelable.html?is-external=true" title="class or interface in android.os">Parcelable</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/google/android/exoplayer/MediaCodecVideoTrackRenderer.EventListener.html" title="interface in com.google.android.exoplayer"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/google/android/exoplayer/MediaFormatHolder.html" title="class in com.google.android.exoplayer"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/google/android/exoplayer/MediaFormat.html" target="_top">Frames</a></li>
|
|
<li><a href="MediaFormat.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|