Android 5.0 Source code learning (media)
来源:互联网 发布:软件项目合同书 编辑:程序博客网 时间:2024/06/05 04:15
Nuplayer
bool ACodec::UninitializedState::onAllocateComponent(const sp<AMessage> &msg) {
......
for (size_t matchIndex = 0; matchIndex < matchingCodecs.size();
++matchIndex) {
componentName = matchingCodecs.itemAt(matchIndex).mName.string();
quirks = matchingCodecs.itemAt(matchIndex).mQuirks;
pid_t tid = androidGetTid();
int prevPriority = androidGetThreadPriority(tid);
androidSetThreadPriority(tid, ANDROID_PRIORITY_FOREGROUND);
status_t err = omx->allocateNode(componentName.c_str(), observer, &node);
androidSetThreadPriority(tid, prevPriority);
if (err == OK) {//Get codecs by index in media_codecs.xml
break;
} else {
ALOGW("Allocating component '%s' failed, try next one.", componentName.c_str());
}
node = NULL;
}
......
}
- Android 5.0 Source code learning (media)
- Learning English From Android Source Code:1
- Learning OpenCV Source Code
- Learning English From Android Source Code:2 Ampersand
- subprocess source code learning - posix - 1
- android source code list
- Android source code debug
- Android download source code
- Get Android Source Code
- Get Android Source Code
- Android Source code
- Android source code
- Android Kernel Source Code
- Get Android source code
- about android source code
- Get Android Source Code
- android source code compile
- android source code online
- ArcGIS API for Silverlight QueryTask 查询方法使用
- pjlib简介
- Mysql常用操作
- 使用shell脚本编写cgi
- 获取字符串中某一个字段的数据,GetValueFromStr;拓展字符串解析parse_string
- Android 5.0 Source code learning (media)
- 背爱过河
- Winfrom 窗体加载数据防止抖动的语句
- poj1149
- hibernate之QBC
- Android 编程下的计时器 和 防止按钮重复点击事件
- msvcr120.dll、msvcp120.dll注册失败
- Java、Android中的回调(callBack)我写的一个网络回调大家可以参考参考
- 给新手的一个可以直接用的二维码扫描demo,放到工程就ok了