<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shiqi Yu's Homepage &#187; Notes</title>
	<atom:link href="http://yushiqi.cn/archives/category/notes/feed" rel="self" type="application/rss+xml" />
	<link>http://yushiqi.cn</link>
	<description></description>
	<lastBuildDate>Tue, 13 Jul 2010 09:22:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Emacs: Enabling Flyspell mode gave an error</title>
		<link>http://yushiqi.cn/archives/247</link>
		<comments>http://yushiqi.cn/archives/247#comments</comments>
		<pubDate>Thu, 29 May 2008 06:52:17 +0000</pubDate>
		<dc:creator>Shiqi Yu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://yushiqi.cn/archives/247</guid>
		<description><![CDATA[启动Emacs的拼写检查，得到错误：Enabling Flyspell mode gave an error。
解决方法：安装ispell及其依赖的软件包iamerican和wamerican，在安装过程中提示设置“系统默认的 ispell 字典”，设置为“american (American English)”。
]]></description>
			<content:encoded><![CDATA[<p>启动Emacs的拼写检查，得到错误：Enabling Flyspell mode gave an error。</p>
<p>解决方法：安装ispell及其依赖的软件包iamerican和wamerican，在安装过程中提示设置“系统默认的 ispell 字典”，设置为“american (American English)”。</p>
]]></content:encoded>
			<wfw:commentRss>http://yushiqi.cn/archives/247/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>基于DSP的视频算法系统优化若干策略</title>
		<link>http://yushiqi.cn/archives/229</link>
		<comments>http://yushiqi.cn/archives/229#comments</comments>
		<pubDate>Fri, 21 Mar 2008 04:35:46 +0000</pubDate>
		<dc:creator>Shiqi Yu</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://yushiqi.cn/archives/229</guid>
		<description><![CDATA[全文请访问：http://focus.ti.com.cn/cn/general/docs/gencontent.tsp?contentId=34910
关键算法模块的优化可以按照如下几步进行 ：

调整代码，如尽量减少有判断跳转的代码，特别是for循环 ；
使用TI的CCS中所提供的#pragma提供编译器尽量多的信息，这些信息包括for循环的次数信息、数据对齐信息等；
使用线性汇编编写关键代码；
使用汇编编写关键代码。

内存管理非常关键。
“实际的基于TI DSP视频算法优化集成过程，会是基于图1所示的步骤，先初步配置Memory，并选择相应编译优化选项，如果编译的结果已经可以达到实时性要求之后就结 束后面的优化；否则开始优化Memory和EDMA的配置，从而提高对Cache和内部总线的利用率；如果还无法达到要求则通过剖析整个工程确定消耗 CPU资源最高的代码段或者函数，对这些关键模块进行优化，采用线性汇编、甚至汇编直到整个系统可以满足要求为止。”

]]></description>
			<content:encoded><![CDATA[<p>全文请访问：<a href="http://focus.ti.com.cn/cn/general/docs/gencontent.tsp?contentId=34910" target="_blank">http://focus.ti.com.cn/cn/general/docs/gencontent.tsp?contentId=34910</a></p>
<p>关键算法模块的优化可以按照如下几步进行 ：</p>
<ol>
<li>调整代码，如尽量减少有判断跳转的代码，特别是for循环 ；</li>
<li>使用TI的CCS中所提供的#pragma提供编译器尽量多的信息，这些信息包括for循环的次数信息、数据对齐信息等；</li>
<li>使用线性汇编编写关键代码；</li>
<li>使用汇编编写关键代码。</li>
</ol>
<p>内存管理非常关键。</p>
<blockquote><p>“实际的基于TI DSP视频算法优化集成过程，会是基于图1所示的步骤，先初步配置Memory，并选择相应编译优化选项，如果编译的结果已经可以达到实时性要求之后就结 束后面的优化；否则开始优化Memory和EDMA的配置，从而提高对Cache和内部总线的利用率；如果还无法达到要求则通过剖析整个工程确定消耗 CPU资源最高的代码段或者函数，对这些关键模块进行优化，采用线性汇编、甚至汇编直到整个系统可以满足要求为止。”</p>
<p><a href="http://yushiqi.cn/wp-content/uploads/2008/03/video_cal_strategy_1.gif" title="图1"><img src="http://yushiqi.cn/wp-content/uploads/2008/03/video_cal_strategy_1.gif" alt="图1" /></a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://yushiqi.cn/archives/229/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot open include file: &#8217;strsafe.h&#8217;: No such file or directory</title>
		<link>http://yushiqi.cn/archives/221</link>
		<comments>http://yushiqi.cn/archives/221#comments</comments>
		<pubDate>Fri, 22 Feb 2008 07:29:38 +0000</pubDate>
		<dc:creator>Shiqi Yu</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://yushiqi.cn/archives/221</guid>
		<description><![CDATA[Question:
VC6: Cannot open include file: &#8217;strsafe.h&#8217;: No such file or directory
Answer:
strsafe.h和lib文件在VC6 SP6中的platformsdk中不存在，必须安装platformsdk，且要早于 2003年2月的platform sdk，才可支持VC6。
]]></description>
			<content:encoded><![CDATA[<p>Question:</p>
<p>VC6: Cannot open include file: &#8217;strsafe.h&#8217;: No such file or directory</p>
<p>Answer:</p>
<p>strsafe.h和lib文件在VC6 SP6中的platformsdk中不存在，必须安装platformsdk，且要早于 2003年2月的platform sdk，才可支持VC6。</p>
]]></content:encoded>
			<wfw:commentRss>http://yushiqi.cn/archives/221/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
