I have a custom decoder, which is currently not supported by the android multimedia framework. Now, I would like to integrate it to Android's multimedia framework.
I got to know the basics that i need. First of all i need to integrate my codec into Jelly Bean. I have downloaded the android source code and added my Decoder information in media_codecs.xml a code snippet of it is shown below:
<Decoders>
<MediaCodec name="OMX.CustomDecoder.DECODER" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
</MediaCodec>
.
.
.
Once i have done the above,
What I'm thinking is, in which directory of the android source tree should I add the source code of my customDecoder.
Once I have added my customDecoder code, in which place should I give commands/ write make file to compile my source code.
Which functions invoke my decoder source code(Does the softomxplugin source file invoke my decoder ?).
And atlast when everything has been successfully build and compiled, if i want to add libstagefright.so to the hardware, what should be the steps to be performed.
Any experts who know something about my queries, please please answer them.
Thanks in advance.
I got to know the basics that i need. First of all i need to integrate my codec into Jelly Bean. I have downloaded the android source code and added my Decoder information in media_codecs.xml a code snippet of it is shown below:
<Decoders>
<MediaCodec name="OMX.CustomDecoder.DECODER" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
</MediaCodec>
.
.
.
Once i have done the above,
What I'm thinking is, in which directory of the android source tree should I add the source code of my customDecoder.
Once I have added my customDecoder code, in which place should I give commands/ write make file to compile my source code.
Which functions invoke my decoder source code(Does the softomxplugin source file invoke my decoder ?).
And atlast when everything has been successfully build and compiled, if i want to add libstagefright.so to the hardware, what should be the steps to be performed.
Any experts who know something about my queries, please please answer them.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire