上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页
摘要: OpenMAX组件基类在omx_base_component.c中定义。1. 组件构造和析构 1) 构造函数 Constructor 基类构造函数为omx_base_component_Constructor 这是基于C方式的构造函数实现,其中openmaxStandComp->pComponentPrivate指针指向可能的私有数据。私有数据指针原型为omx_base_component_PrivateType,所有的组件数据继承基本以此为基础。 构造函数的下一个任务是设置有关数据结构,包括: messageQueue 消息队列 messageSem 消息信号量 bMgmtSem 管理 阅读全文
posted @ 2008-10-07 16:54 quanben 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 解析以OpenMAX非Tunneled为例,从应用线程开始。一、应用线程基本流程1. OMX_Init()2. 获取句柄,组件转到Loaded状态 OMX_GetHandle(out handle, in componentName, in appData, in callbacks); 其中callbacks结构包括三个回调函数指针(作用后文介绍): 1) EventHandler 2) EmptyBufferDone 3) FillBufferDone3. 参数交互 如: OMX_GetParameter(in handle, in type, out param); OMX_SetPa. 阅读全文
posted @ 2008-10-07 13:49 quanben 阅读(398) 评论(0) 推荐(0) 编辑
摘要: The following parameters are only for recommendation.These parameters always slip off my mind.Video chatting(QCIF)MPEG-4 Simple Profile, Level 0 (1object allowed at maximum). (up to 4-object allowed in Level1 (up to QCIF), 2 and 3(up to CIF))H.263 Baseline Profile + I,J,K,T, Level 10.Stream media / 阅读全文
posted @ 2008-10-07 10:44 quanben 阅读(160) 评论(0) 推荐(0) 编辑
摘要: ENVDIR = (SOME PLACE)/ws # the project environmentinclude $(ENVDIR)/tpmakeenv # predefinition by the environment# directory for output filesOS_OBJDIR = (SOME PLACE)/lib# directory for source filesOS_SRCDIR = ../src/libjpeg# TARGET LIB FILEOS_TARGET = $(OS_OBJDIR)/libjpeg.a# object filesOS_COBJECTS = 阅读全文
posted @ 2008-10-07 09:50 quanben 阅读(145) 评论(0) 推荐(0) 编辑
摘要: The following code picks element from a text file according to the pattern specified.It is first used in collecting source file names from a vc project file in order to list them in a common makefile.usingSystem.IO;usingSystem.Text;usingSystem;usingSystem.Text.RegularExpressions;namespacePicker{publ 阅读全文
posted @ 2008-10-06 15:46 quanben 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1. SwappingThe following piece of code is what I discovered by a glance to what my deskmate was reading:It is about swapping and I think it can be applied to all kinds of data swapping if there is no high-level requirements involved. Until then, I was convinced that a temporary variable is inevitabl 阅读全文
posted @ 2008-09-27 21:49 quanben 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Cygwin内含MinGW,于是就把原有的MinGW卸载了。但是由于某种原因(原因在最后介绍)gcc在Windows命令行下就不起作用了(运行后并不产生编译结果),即使Path设置正确。采用掩蔽DLL的方法。将gcc放置于一个新建的文件夹,并运行,会出现缺失DLL,逐个加上这些DLL后能执行通过,但结果仍是无法产生输出文件。估计仍是有相关的DLL没有被链入。但是使用Dependency Walker也无法发现(显然在执行而言,装入文件夹的这些DLL已经足够了)。这些DLL是:cygwin1.dllcygintl-8.dllcygiconv-2.dll于是就想通过暴力方法找到这个缺失的DLL,想 阅读全文
posted @ 2008-09-25 12:48 quanben 阅读(271) 评论(0) 推荐(0) 编辑
摘要: It is published as google doc:http://docs.google.com/Doc?id=dc5txnhj_73cz9vssgn 阅读全文
posted @ 2008-09-19 23:32 quanben 阅读(121) 评论(0) 推荐(0) 编辑
摘要: H.264环路内滤波顾名思义在编码侧开启后解码部分必须跟随开启,因此是该视频编码方案的不可分割的组成部分。以下整理了Baseline情形下环路滤波的四种情形:All cases that may exist for BaselineBs = 4:either is intra, MB edgeBs = 3:either is intra, block edgeBs = 2: both are inter, either is codedBs = 1: both are inter neither is coded, different ref pictures, either MV comp. 阅读全文
posted @ 2008-09-08 11:21 quanben 阅读(393) 评论(0) 推荐(0) 编辑
摘要: DateTypeDescriptionThe scale of the program by thenTime for Locating the problemTime for DebuggingRemarks2008-09-07InconsistencySQL string doesn't go with the data structure definitionthousands of linesabout 15 minutesabout 1hr 阅读全文
posted @ 2008-09-07 15:08 quanben 阅读(155) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页