<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.ti.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Digital Media Processors based on DaVinci™ Technology</title><link>http://community.ti.com/forums/33.aspx</link><description>TMS320DM646x, TMS320DM644x, TMS320DM643x, TMS320DM64x Processors</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Debug Build: 40407.4157)</generator><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/41503.aspx</link><pubDate>Wed, 30 Sep 2009 12:12:37 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:41503</guid><dc:creator>liangzhu chen</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/41503.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=41503</wfw:commentRss><description>&lt;p&gt;[root@OMAP3EVM example]# ./app_remote.xv5T &lt;br /&gt;@0x0008bff1:[T:0x4001cfb0] ti.sdo.ce.examples.apps.video_copy.singlecpu - main&amp;gt; ti.sdo.ce.exampl&amp;lt;1&amp;gt;Existing entry&amp;#39;s end address is covered by given entry&amp;#39;s start &amp;amp; end address]&lt;br /&gt;Existing entry&amp;#39;s end address is covered by given entry&amp;#39;s start &amp;amp; end address., can not create TLB entry for address: [0x86000000] size: [0x1000000]&lt;br /&gt;es.apps.video_copy.singlecpu&lt;br /&gt;@0&amp;lt;1&amp;gt; DSP_init status [0x80008050] &lt;br /&gt;&amp;nbsp;DSP_init status [0x80008050] &lt;br /&gt;x0008c272:[T:0x4001cfb0] ti.sdo.ce.examples.apps.video_copy.singlecpu - App-&amp;gt; Application started.&lt;br /&gt;app: error: can&amp;#39;t open engine video_copy&lt;br /&gt;@0x0009787a:[T:0x4001cfb0] ti.sdo.ce.examples.apps.video_copy.singlecpu - app done.&lt;/p&gt;
&lt;p&gt;in the xdcpaths.mak ,I set PROGRAMs = DSP_SERVER&amp;nbsp; APP_CLIENT&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/19399.aspx</link><pubDate>Fri, 24 Apr 2009 15:41:48 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:19399</guid><dc:creator>Juan Gonzales</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/19399.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=19399</wfw:commentRss><description>&lt;p&gt;Hi Jonners,&lt;/p&gt;
&lt;p&gt;So first, I just want to clarify what you mean by image, since &amp;#39;DSP image&amp;#39; is a term we often use to refer to the DSP binary which is loaded and executed on the DSP.&amp;nbsp; From&amp;nbsp;the context of your inquiry, it appears we are referring to sharing memory buffers (which can contain a video image or anything else)&amp;nbsp;between the ARM and DSP.&amp;nbsp; Just wanted to clarify this for anyone else that may be reading this post.&lt;/p&gt;
&lt;p&gt;If we are aligned on the above, then the simplest form of this process are demos (encode, decode, encodedecode) included with the DVSDK; this will give you the Linux application level interface (what is commonly referred to VISA APIs) to allow ARM to pass video buffer to DSP (say for encoding), and DSP pass the processed video buffer back to ARM.&amp;nbsp; In this scenerio, all you would need to learn is VISA APIs (they use DSPLINK underneath without application developer having to learn it)&lt;/p&gt;
&lt;p&gt;If however, you are writing not only the consumer Linux application, but also the DSP algorithm, and packaging your algorithm into a DSP server image that ARM Linux application can consume, then you will need to learn a bit more than the VISA APIs.&amp;nbsp; In this case the best place to look are the codec engine examples, which include examples with source code for DSP algorithms, DSP servers and applications.&amp;nbsp; Again, if you stick to our codec engine framework, eventually this would lead to using VISA APIs or extension of them at the Linux application level.&amp;nbsp; Let me know if this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/19383.aspx</link><pubDate>Fri, 24 Apr 2009 14:54:32 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:19383</guid><dc:creator>Jonners</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/19383.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=19383</wfw:commentRss><description>&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://community.ti.com/Themes/tihawaii/images/icon-quote.gif"&gt; &lt;strong&gt;Juan Gonzales:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://community.ti.com/Themes/tihawaii/images/icon-quote.gif"&gt; &lt;strong&gt;BMillikan:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; &lt;/p&gt;
&lt;p&gt;Is there an example of this somewhere so we can kind of get a feel for how this works?&amp;nbsp; I understand the CMEM pointer sharing, but what does the &amp;quot;DSP&amp;quot; driver look like in linux?&amp;nbsp; How does the DSP side know that that it received&amp;nbsp;a new image?&amp;nbsp; Can it be interrrupt or event driven (instead of using a flag?)&lt;/p&gt;
&lt;div style="CLEAR:both;"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hopefully my previous post will help you too.&amp;nbsp; The best place to see how it all fits together is to look at the codec engine examples.&amp;nbsp; FYI, only one DSP image can be loaded on DSP at an one time, but this image can have multiple instances of dsp algorithms.&amp;nbsp; Let us know if you need any further assistance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="CLEAR:both;"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi Juan,&lt;/p&gt;
&lt;p&gt;I have similar a question. I am using DM6446.&amp;nbsp;I have done all my image processing on the DSP side. Now,&amp;nbsp;I would like to send an image from the ARM to the DSP for processing and send the results back to the arm.&amp;nbsp; I have read how CE, DSP link&amp;nbsp; works but, I am a bit confused.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you help, please give or direct me to &amp;nbsp;a simplest example on how&amp;nbsp; to pass an image from the ARM to the DSP for processing and back to the ARM.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Jonners&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/19379.aspx</link><pubDate>Fri, 24 Apr 2009 14:50:53 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:19379</guid><dc:creator>Jonners</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/19379.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=19379</wfw:commentRss><description>&lt;p&gt;Hi Juan,&lt;/p&gt;
&lt;p&gt;I have similar a question. I am using DM6446.&amp;nbsp;I have done all my image processing on the DSP side. Now,&amp;nbsp;I would like to send an image from the ARM to the DSP for processing and send the results back to the arm.&amp;nbsp; I have read how CE, DSP link&amp;nbsp; works but, I am a bit confused.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you help, please give or direct me to &amp;nbsp;a simplest example on how&amp;nbsp; to pass an image from the ARM to the DSP for processing and back to the ARM.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Jonners&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/14205.aspx</link><pubDate>Tue, 10 Mar 2009 12:49:36 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:14205</guid><dc:creator>Miao</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/14205.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=14205</wfw:commentRss><description>&lt;p&gt;I also want to develop a video processing&amp;nbsp;algorithm of XDAIS(non-XDM),&amp;nbsp; in my opinion:&lt;/p&gt;
&lt;p&gt;a) in ccs, write XDAIS algorithm and complie to .lib file, i.e. a64p file in linux;&lt;/p&gt;
&lt;p&gt;b) in linux. produce from .a64p to .x64p(codec server);&lt;/p&gt;
&lt;p&gt;c)in linux, write application program thar run in arn, as well as&amp;nbsp;stub&amp;nbsp;and skeleton;&lt;/p&gt;
&lt;p&gt;d)in linux,&amp;nbsp;&amp;nbsp;install the executable program and the .x64p to workdir&amp;nbsp;and work&lt;/p&gt;
&lt;p&gt;am i right?&lt;/p&gt;
&lt;p&gt;question:&lt;/p&gt;
&lt;p&gt;1.in b) below, how to produce .x64p file (dsp server&amp;nbsp;or codec server) from .a64p(changed suffix from .lib in ccs) in linux ?&lt;/p&gt;
&lt;p&gt;i&amp;#39;ve done the same as Lorry&lt;/p&gt;
&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://community.ti.com/Themes/tihawaii/images/icon-quote.gif"&gt; &lt;strong&gt;LorryAstra:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;I&amp;#39;ve tried to compile an achive file in CCS (for example: videnc_copy.lib) in windows, and then I rename it (videnc_copy.a64P) in lib folder in Linux. And then I compile an codec server and copy it to &amp;quot;/home/usraccount/workdir/filesys/opt/dvevm&amp;quot;. I want to know whether my codec can work well, but I failed.&lt;br /&gt;&lt;br /&gt;Sequence:&lt;br /&gt;&lt;br /&gt;a) I compile videnc_copy.lib in CCS, and I&amp;#39;m sure that all the interfaces have been realized.&lt;/p&gt;
&lt;p&gt;b) I copy videnc_copy.lib to /home/usracc/dvevm_x_xx/codec_engine_x_xx/examples/codecs/videnc_copy/lib , and I rename this lib file to videnc_copy.a64P.&lt;/p&gt;
&lt;p&gt;c) In&amp;nbsp; .../examples/servers/video_copy/ folder, I recompile codec server file and copy it to .../workdir/filesys/opt/dvevm.&lt;/p&gt;
&lt;p&gt;d) I want to test whether videnc_copy can work well. &lt;/p&gt;
&lt;p&gt;After checking, I find that the videnc works, but it is not the code that I compile in CCS, it works as the original videnc_copy.a64P in videnc_copy example in Linux. It sounds that the videnc_copy.lib does not affect codec server (video_copy.x64P).&lt;/p&gt;
&lt;p&gt;So I guess, the new videnc_copy.a64P( renamed from videnc_copy.lib) is not compiled when generating video_copy.x64P.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div style="CLEAR:both;"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;then&amp;nbsp; how can i produce&amp;nbsp; &amp;#39;my&amp;#39; &amp;nbsp;video_copy.x64p from &amp;#39;my&amp;#39;&amp;nbsp; videnc_copy.a64P(renamed from videnc_copy.lib)?&lt;/p&gt;
&lt;p&gt;2. if i write an XDAIS algorithm in ccs and compile it to .lib, then write a test.c in ccs and produce&amp;nbsp; .out, can this .out file be&amp;nbsp;codec server&amp;nbsp;in linux after renamed as .x64p?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if not, then&amp;nbsp;the .out file &amp;nbsp;is just used to test the .lib, and after testing we integrate the .lib to .x64p (codec server) in linux , am i right ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/14080.aspx</link><pubDate>Mon, 09 Mar 2009 13:58:48 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:14080</guid><dc:creator>mursel yildiz</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/14080.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=14080</wfw:commentRss><description>&lt;p&gt;I think it has.. couse anytime I try to define a function (arbitrary) inside videnc_copy.c file, I get errors like &amp;quot;the function is not defined&amp;quot; types...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/14031.aspx</link><pubDate>Mon, 09 Mar 2009 07:00:02 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:14031</guid><dc:creator>LorryAstra</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/14031.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=14031</wfw:commentRss><description>&lt;p&gt;Of course, it does not have special rules, it is c language.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/14026.aspx</link><pubDate>Mon, 09 Mar 2009 06:30:40 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:14026</guid><dc:creator>mursel yildiz</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/14026.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=14026</wfw:commentRss><description>&lt;p&gt;Hi Lorry...&lt;/p&gt;
&lt;p&gt;Is that possible to use a function (that is predefined somewhere)&amp;nbsp;inside a codec engine process function? Or let me ask how we may define a functions that are planned to be used inside a process function ? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/13730.aspx</link><pubDate>Thu, 05 Mar 2009 06:06:21 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:13730</guid><dc:creator>LorryAstra</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/13730.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=13730</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s really a problem. for example: If I want to blur a image, I don&amp;#39;t want to use convolution in ImgLib, so I have to use the code like &amp;quot; x = input [ i ]; y = x * a; &amp;quot;... continuousely, If this is a main reason for a slow program, then my blur algorithm will be very slow.&amp;nbsp;&amp;nbsp; I guess if there are two or more thread in an algorithm,&amp;nbsp; the collision you&amp;#39;ve said maybe occur in that scene. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/13691.aspx</link><pubDate>Wed, 04 Mar 2009 21:15:55 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:13691</guid><dc:creator>mursel yildiz</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/13691.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=13691</wfw:commentRss><description>&lt;p&gt;hi Lorry... &lt;/p&gt;
&lt;p&gt;I actually have another question for the problem...( I should clear it more :) ) ... Having experimented many algorithms on DSP core ( just for exploring DSP performance ) I realized that no matter what kind of statement inside the code I write, may be because of a possible pipeline architecture, once I write statements like: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;x&amp;nbsp; = input&lt;img src="https://community.ti.com:443/emoticons/emotion-55.gif" alt="Idea" /&gt;;&lt;/p&gt;
&lt;p&gt;y = x * a; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i.e. , y waits for read of x, the DSP algorithm becomes slower, I think second statement waits after &amp;quot;instruction decode&amp;quot; phase for the first statement and delaying other instructions ... However once I try &lt;/p&gt;
&lt;p&gt;x = input&lt;img src="https://community.ti.com:443/emoticons/emotion-55.gif" alt="Idea" /&gt;;&lt;/p&gt;
&lt;p&gt;....(unrelated stm1)....&lt;/p&gt;
&lt;p&gt;....(unrelated stm2)....&lt;/p&gt;
&lt;p&gt;....(unrelated stm3)...&lt;/p&gt;
&lt;p&gt;y = x * a &lt;/p&gt;
&lt;p&gt;the DSP algorithm becomes faster... Well actually this is just a suggestion, I am not sure.... Do you think this may be the problem???&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/13604.aspx</link><pubDate>Wed, 04 Mar 2009 02:27:13 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:13604</guid><dc:creator>LorryAstra</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/13604.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=13604</wfw:commentRss><description>&lt;p&gt;Hi, mursel , I just tried your code described above, but I did not find your question ( I use evm6446) ,&amp;nbsp; I believe to read from memory is not the main reason related to your question, because this kind of operation is very common in algorithm I believe. So I think maybe .... there are some other code operations collide with the reading.&amp;nbsp;&amp;nbsp; That&amp;#39;s just what I guess.&amp;nbsp; :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/13544.aspx</link><pubDate>Tue, 03 Mar 2009 17:03:23 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:13544</guid><dc:creator>mursel yildiz</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/13544.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=13544</wfw:commentRss><description>&lt;p&gt;sorry for &lt;img src="http://community.ti.com/emoticons/emotion-55.gif" alt="Idea" /&gt; symbols they are off course [ i ] :D &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/13543.aspx</link><pubDate>Tue, 03 Mar 2009 17:00:25 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:13543</guid><dc:creator>mursel yildiz</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/13543.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=13543</wfw:commentRss><description>&lt;p&gt;Hi all, &lt;/p&gt;
&lt;p&gt;I have written my algorithm inside videnc_process() function and saw that it worked well... However it is unfortunately slow. I have a for statement inside the function like: &lt;/p&gt;
&lt;p&gt;for(i = 0; i &amp;lt; 100000; i ++) {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // x&amp;nbsp; = myinbuf&lt;img src="https://community.ti.com:443/emoticons/emotion-55.gif" alt="Idea" /&gt;; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ......&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ......&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;when I dont perform this memory read statement (  x = myinbuf&lt;img src="https://community.ti.com:443/emoticons/emotion-55.gif" alt="Idea" /&gt; ) the algorithm runs very fast and I get 25 fps image frames. However, when I write this statement inside for, I get only 1 fps image frame. Actually there are lots of MAC operations and divisions inside this for statement and they are performed very fast as expected... The given myinbuf is generated by a memcpy() statement from CMEM area. I could not actually understand why a memory read statement costed so much.... Should I try something different??? or what may be the reason for such a case ??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/13187.aspx</link><pubDate>Thu, 26 Feb 2009 17:25:59 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:13187</guid><dc:creator>Chris Ring</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/13187.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=13187</wfw:commentRss><description>&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://community.ti.com/Themes/tihawaii/images/icon-quote.gif"&gt; &lt;strong&gt;Juan Gonzales:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;
&lt;p&gt;Inside codec engine, you have three types of examples.&lt;/p&gt;
&lt;p&gt;1) The DSP codec (e.g. videnc_copy); this normally produces a library (a64P or lib file) that runs on DSP.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;2) The DSP server which produces an x64P file.&amp;nbsp; This is the actual DSP image that you will load and run on DSP.&lt;/p&gt;
&lt;p&gt;3) ARM side Linux application which uses codec engine APIs to load DSP server and access codecs within a server.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-family:courier new,courier;"&gt;FWIW, the CE examples reflect the user roles described here:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-family:courier new,courier;"&gt;&lt;a href="http://wiki.davincidsp.com/index.php?title=Codec_Engine_Roles"&gt;http://wiki.davincidsp.com/index.php?title=Codec_Engine_Roles&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-family:courier new,courier;"&gt;Tha&lt;span style="color:#0000ff;"&gt;t article may also help with understanding what docs/tools are available as you march through the different &lt;/span&gt;roles.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-family:courier new,courier;"&gt;Chris&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Video processing algorithm in DSP</title><link>http://community.ti.com/forums/thread/13162.aspx</link><pubDate>Thu, 26 Feb 2009 14:49:54 GMT</pubDate><guid isPermaLink="false">35ded035-4cd5-4bbd-851f-937553e04a39:13162</guid><dc:creator>Juan Gonzales</dc:creator><slash:comments>0</slash:comments><comments>http://community.ti.com/forums/thread/13162.aspx</comments><wfw:commentRss>http://community.ti.com/forums/commentrss.aspx?SectionID=33&amp;PostID=13162</wfw:commentRss><description>&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://community.ti.com/Themes/tihawaii/images/icon-quote.gif"&gt; &lt;strong&gt;BMillikan:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;Is there an example of this somewhere so we can kind of get a feel for how this works?&amp;nbsp; I understand the CMEM pointer sharing, but what does the &amp;quot;DSP&amp;quot; driver look like in linux?&amp;nbsp; How does the DSP side know that that it received&amp;nbsp;a new image?&amp;nbsp; Can it be interrrupt or event driven (instead of using a flag?)&lt;/p&gt;
&lt;div style="CLEAR:both;"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;Hopefully my previous post will help you too.&amp;nbsp; The best place to see how it all fits together is to look at the codec engine examples.&amp;nbsp; FYI, only one DSP image can be loaded on DSP at an one time, but this image can have multiple instances of dsp algorithms.&amp;nbsp; Let us know if you need any further assistance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>