summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2016-06-28 22:27:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-06-28 22:27:53 +0000
commit1fe8871f043fe19d0017705f9cfd2746cd2133aa (patch)
tree65972b10c8682769862d7ed9c12116efd9ae9d65
parentaf9d9f9b3ed6f8059e547968938b94e186f21ffe (diff)
parent231746f67c9a8bbc674a600e7e6db3ec6d32cce6 (diff)
downloadbase-1fe8871f043fe19d0017705f9cfd2746cd2133aa.tar.gz
Merge "media: document VP9 CSD for MediaCodec" into nyc-dev
-rw-r--r--media/java/android/media/MediaCodec.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/media/java/android/media/MediaCodec.java b/media/java/android/media/MediaCodec.java
index ce844ff1f0e5..542dcedb007c 100644
--- a/media/java/android/media/MediaCodec.java
+++ b/media/java/android/media/MediaCodec.java
@@ -297,8 +297,8 @@ import java.util.Map;
Codec-specific data in the format is automatically submitted to the codec upon {@link #start};
you <strong>MUST NOT</strong> submit this data explicitly. If the format did not contain codec
specific data, you can choose to submit it using the specified number of buffers in the correct
- order, according to the format requirements. Alternately, you can concatenate all codec-specific
- data and submit it as a single codec-config buffer.
+ order, according to the format requirements. In case of H.264 AVC, you can also concatenate all
+ codec-specific data and submit it as a single codec-config buffer.
<p>
Android uses the following codec-specific data buffers. These are also required to be set in
the track format for proper {@link MediaMuxer} track configuration. Each parameter set and the
@@ -355,6 +355,13 @@ import java.util.Map;
<td class=NA>Not Used</td>
<td class=NA>Not Used</td>
</tr>
+ <tr>
+ <td>VP9</td>
+ <td>VP9 <a href="http://wiki.webmproject.org/vp9-codecprivate">CodecPrivate</a> Data
+ (optional)</td>
+ <td class=NA>Not Used</td>
+ <td class=NA>Not Used</td>
+ </tr>
</tbody>
</table>