当前位置:网站首页>OMX initialization process

OMX initialization process

2022-06-24 07:12:00 Chengsiyang

AwesomePlayer How to obtain OMX What about the service ? The process is as follows :
• stay AwesomePlayer When initializing , Would call AwesomePlayer::onPrepareAsyncEvent.
, Then call AwesomePlayer::initVideoDecoder as well as AwesomePlayer::initAudioDecoder0
• Then start to officially enter OMX And the initialization of the hardware decoder .
Previous AwesomePlayer Initialization is all about laying the groundwork . When OMX When initializing , To really start nuclear Initialization of the mind . We know ,Android The components in are all providing services , There is a server side , There are clients. , Big Part of it is C/S Model , It has also been introduced in the previous chapters . stay AwesomePlayer in , Need and OMX Carry on communication Letter , Tracking code , There's a variable OMXClient mClient, be located frameworks\av\media\libstagefright\ OMXClient.cpp in , The code is as follows :

 MuxOMX(const sp<IOMX> &remoteOMX);
   virtual 
原网站

版权声明
本文为[Chengsiyang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206240100216847.html