Android DSP 隨手札 (zt)
2011-10-25 13:48
162 查看
opencore與omx的接口:hardware/ti/omap3/omx/core_plugin/omx_core_plugin/src
使用singleton pattern, 由TIOMXInterface繼承OMXInterface
libOMX_Core.so由ti_omx_interface.cpp開啟
external/opencore/codecs_v2/omx/omx_core_plugins/template/src/pv_omx_interface.cpp的PVOMXInterface為使用OMXInterface的範本
由PVGetInterface()得到真正的物件, 回傳void*, 常見的一種寫法, 之後再轉型
PVOMXInterface繼承於OMXInterface, 標準singleton寫法,由static PVOMXInterface* Instance()得到真正的物件
external/opencore/codecs_v2/omx/下的物件, 皆由PVGetInterface()得到
codecs_v2/omx/下所有的component都繼承於OmxComponentBase
由oscl/oscl/oscllib/src/oscl_shared_library.cpp取得.so檔中的PVGetInterface symbol
由oscl/oscl/oscllib/src/oscl_shared_library.cpp的QueryInterface()取得實際物件
使用singleton pattern, 由TIOMXInterface繼承OMXInterface
libOMX_Core.so由ti_omx_interface.cpp開啟
external/opencore/codecs_v2/omx/omx_core_plugins/template/src/pv_omx_interface.cpp的PVOMXInterface為使用OMXInterface的範本
由PVGetInterface()得到真正的物件, 回傳void*, 常見的一種寫法, 之後再轉型
PVOMXInterface繼承於OMXInterface, 標準singleton寫法,由static PVOMXInterface* Instance()得到真正的物件
external/opencore/codecs_v2/omx/下的物件, 皆由PVGetInterface()得到
codecs_v2/omx/下所有的component都繼承於OmxComponentBase
由oscl/oscl/oscllib/src/oscl_shared_library.cpp取得.so檔中的PVGetInterface symbol
由oscl/oscl/oscllib/src/oscl_shared_library.cpp的QueryInterface()取得實際物件
相关文章推荐
- Android LOGCAT输出编码,eclipse下DDMS乱码(zt)
- ZT android -- 蓝牙 bluetooth (二) 打开蓝牙
- 在android的spinner中,实现取VALUE值和TEXT值。 ZT
- IBM高级工程师,谷歌等国际知名公司工程师撰写Android开发教程合集 ZT
- ZT android -- 蓝牙 bluetooth (四)OPP文件传输
- Android Binder(zt)
- Android手机上Audio DSP频率低 memory小的应对措施
- Android知识点手札
- ZT Android 4.2 BT系统之蓝牙关闭过程全跟踪
- (ZT)谷歌Android手机在美国销量首超苹果iPhone
- ant debug 出现的错误:build.xml:49 taskdef class com.android.ant.SetupTask cannot be found(zt)
- <ZT>Android中string.xml使用总结
- ZT android -- 蓝牙 bluetooth (三)搜索蓝牙
- Android平台framework层的开发(收集,ZT)
- Android 手札小记
- (ZT)iPhone为什么比Android好
- Android 学习手札(备注)
- 【转帖】未来的选择,ARM+Android还是 MeeGo+X86?(zt)
- 金点工作室制作手札 :《圣剑英雄传之英雄救美》[ZT]