图文版stagefright arch 03 -- how to choose decoder
来源:互联网 发布:淘宝网卖家信誉 编辑:程序博客网 时间:2024/05/23 01:12
在《Stagefright (1) – Video Playback的流程》中,我們並沒有詳述Stagefright是如何根據影片檔的類型來選擇適合的video decoder,現在,就讓我們來看一看。
(1) Video decoder是在onPrepareAsyncEvent中的initVideoDecoder被決定的OMXCodec::Create()會回傳video decoder給mVideoSource。
status_t AwesomePlayer::initVideoDecoder()
{
}
sp<MediaSource>
{
}
(2)
void
{
}
static
{
}
(3)
static
{
}
所有的software decoder都會被列在kFactoryInfo中,我們藉由傳進來的name來對應到適合的decoder。
(4)
status_t OMX::allocateNode(name,
{
}
OMX_ERRORTYPE OMXMaster::makeComponentInstance(name,
{
}
OMX_ERRORTYPE OMXPVCodecsPlugin::makeComponentInstance(name,
{
}
OMX_ERRORTYPE OMX_MasterGetHandle(...)
{
}
(5)
- 图文版stagefright arch 03 -- how to choose decoder
- 图文版stagefright arch 05 -- video render
- 图文版stagefright arch 06 -- audio playback
- 图文版stagefright arch 02 -- Stagefright and OMX
- 图文版stagefright Arch 01 -- AwesomePlayer playback flow
- 图文版stagefright arch 04 -- video buffer Empty/Fill
- 图文版stagefright arch 07 -- Audio and Video Sync
- How to choose statistical test
- Android stagefright decoder
- How to Choose a Good Computer Username
- How to choose the digital camera
- How to choose an in-circuit emulator
- How to Choose an AOP Framework?
- How To Choose and Use Strong Passwords
- How to Choose a MongoDB Shard Key
- How To Choose a Good Scientific Problem
- How to choose WPF container controls
- Opencl how to choose work_group size
- StrictMode的使用(转)
- netlink知识
- org.hibernate.StaleStateException:Batch update returned unexpected row count from update [0]; actua
- Spring 和 mybaits 整合
- js日期时间比较
- 图文版stagefright arch 03 -- how to choose decoder
- 使用Web服务
- 西安一村庄集资买客车当公交 交管称非法应取缔
- 笔试题收集
- Mac 下配置php环境
- tell function
- 图文版stagefright arch 04 -- video buffer Empty/Fill
- vb调用office OCR识别组件
- [MSSQL]SQL查询去除重复记录