[FE training-materials-updates] android: Update Stagefright behaviour with JB
Maxime Ripard
maxime.ripard at free-electrons.com
Thu Aug 22 11:52:17 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : jelly-bean
Link : http://git.free-electrons.com/training-materials/commit/?id=d333f21776372dfa0cd5ec4f1704d00f7e1b9e7c
>---------------------------------------------------------------
commit d333f21776372dfa0cd5ec4f1704d00f7e1b9e7c
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Wed Aug 21 16:59:33 2013 +0200
android: Update Stagefright behaviour with JB
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>---------------------------------------------------------------
d333f21776372dfa0cd5ec4f1704d00f7e1b9e7c
.../android-native-layer-stagefright.tex | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/slides/android-native-layer-stagefright/android-native-layer-stagefright.tex b/slides/android-native-layer-stagefright/android-native-layer-stagefright.tex
index a7944f4..a3e24ed 100644
--- a/slides/android-native-layer-stagefright/android-native-layer-stagefright.tex
+++ b/slides/android-native-layer-stagefright/android-native-layer-stagefright.tex
@@ -29,19 +29,19 @@
\item Develop a new Decoder class, that implements the interface
needed by the StageFright core to read the data.
\item Associate the mime-type of the files to read to your new
- Decoder in the \code{OMXCodec.cpp} file, in the
- \code{kDecoderInfo} array.
+ Decoder in the \code{/etc/media_codecs.xml} file provided by
+ your device, either in the \code{Decoders} list.
\begin{itemize}
\item $\rightarrow$ No runtime extension of the decoders, this
is done at compilation time.
\end{itemize}
\end{itemize}
\end{itemize}
-\begin{minted}{c}
-static const CodecInfo kDecoderInfo[] = {
- { MEDIA_MIMETYPE_AUDIO_AAC, "OMX.TI.AAC.decode" },
- { MEDIA_MIMETYPE_AUDIO_AAC, "AACDecoder" },
-};
+\begin{minted}[fontsize=\scriptsize]{xml}
+<Decoders>
+ <MediaCodec name="OMX.google.vorbis.decoder" type="audio/vorbis" />
+ <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" />
+</Decoders>
\end{minted}
\end{frame}
More information about the training-materials-updates
mailing list