<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;feed=atom&amp;action=history</id>
		<title>Testing Video Input of Hawkboard - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;action=history"/>
		<updated>2013-05-22T02:41:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=23785&amp;oldid=prev</id>
		<title>Droy: added dsp-code at the arm+dsp function-call</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=23785&amp;oldid=prev"/>
				<updated>2010-09-23T14:53:06Z</updated>
		
		<summary type="html">&lt;p&gt;added dsp-code at the arm+dsp function-call&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:53, 23 September 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 111:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Then copy both ''all.x674'' and ''app_remote.xv5T'' binaries to the same folder and run the application with following commands:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Then copy both ''all.x674'' and ''app_remote.xv5T'' binaries to the same folder and run the application with following commands:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ./app_remote.xv5T&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ./app_remote.xv5T &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;all.x674&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now you should see 25 fps video on your screen. Unfortunately, If you want to compile this example on your own, you will need whole Codec Engine tree. You will find a patch containing necessary changes in the ''sources/arm+dsp'' folder along with my own Makefile. If you are not using DVSDK and you have a working OpenEmbedded tree around you can use provided Makefile to compile this example.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now you should see 25 fps video on your screen. Unfortunately, If you want to compile this example on your own, you will need whole Codec Engine tree. You will find a patch containing necessary changes in the ''sources/arm+dsp'' folder along with my own Makefile. If you are not using DVSDK and you have a working OpenEmbedded tree around you can use provided Makefile to compile this example.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:21296:newid:23785 --&gt;
&lt;/table&gt;</summary>
		<author><name>Droy</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=21296&amp;oldid=prev</id>
		<title>Alokprasad: wikifying the article</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=21296&amp;oldid=prev"/>
				<updated>2010-05-21T04:09:25Z</updated>
		
		<summary type="html">&lt;p&gt;wikifying the article&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:09, 21 May 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Using Off-the-shelf Software Components ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Using Off-the-shelf Software Components ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I tried &lt;/del&gt;GStreamer and Mplayer on the board and both were failed to capture camera input.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Currently &lt;/ins&gt;GStreamer and Mplayer on the board and both were failed to capture camera input.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===GStreamer===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===GStreamer===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===MPlayer===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===MPlayer===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I'm fairly sure that &lt;/del&gt;MPlayer should support NV16 but &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I couldn't make it &lt;/del&gt;work on &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;my &lt;/del&gt;Hawkboard. MPlayer was unable to find a suitable color format for &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;my &lt;/del&gt;camera&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;. Due to performance limitations, I didn't try so hard to make it work&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;MPlayer should support NV16 but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;right now doesnt &lt;/ins&gt;work on Hawkboard. MPlayer was unable to find a suitable color format for camera. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Firing up a &lt;/del&gt;Custom Solution ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Custom Solution ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Since &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I couldn't test my &lt;/del&gt;camera with off-the-shelf components, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I tried to do my own. Then I came-up with to solutions&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Since &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;testing of &lt;/ins&gt;camera with off-the-shelf components &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;couldnt be performed&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;following solution could be used&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== ARM only Solution ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== ARM only Solution ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I wrote &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;simple &lt;/del&gt;V4L2 application, cross-compiled it and tried on &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;my &lt;/del&gt;board. Results were:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Make &lt;/ins&gt;a V4L2 application, cross-compiled it and tried on &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;board. Results were:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Camera interface was functional.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Camera interface was functional.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== ARM + DSP Solution ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== ARM + DSP Solution ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To increase the fps, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I modified &lt;/del&gt;existing Codec Engine following examples:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To increase the fps, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;modify the &lt;/ins&gt;existing Codec Engine following examples:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* video_copy application : This is the ARM side application capturing camera data and showing on the VGA display.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* video_copy application : This is the ARM side application capturing camera data and showing on the VGA display.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* viddec_copy codec : This is the DSP codec doing the actual NV16 &amp;lt;-&amp;gt; RGB565 conversion.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* viddec_copy codec : This is the DSP codec doing the actual NV16 &amp;lt;-&amp;gt; RGB565 conversion.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This ARM + DSP solution &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gave me &lt;/del&gt;a 25 fps nice camera test on &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;my board&lt;/del&gt;. You can find &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;my &lt;/del&gt;binaries and source codes at [http://code.google.com/p/hawkboard/downloads/detail?name=vpif_example.tar.gz&amp;amp;can=2&amp;amp;q=]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This ARM + DSP solution &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;that gives&amp;#160; &lt;/ins&gt;a 25 fps nice camera test on &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the hawkboard&lt;/ins&gt;. You can find &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;binaries and source codes at [http://code.google.com/p/hawkboard/downloads/detail?name=vpif_example.tar.gz&amp;amp;can=2&amp;amp;q=]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Using Provided Binaries ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Using Provided Binaries ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* uImage&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* uImage&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Note : &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I was having &lt;/del&gt;a TVP5146 issue with &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;my board&lt;/del&gt;, such that TVP5146 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;was &lt;/del&gt;not &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;detecting my &lt;/del&gt;camera and throwing input setting errors. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Note : &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;There might be &lt;/ins&gt;a TVP5146 issue with &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;hawkboard&lt;/ins&gt;, such that TVP5146 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;being &lt;/ins&gt;not &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;detected by &lt;/ins&gt;camera and throwing input setting errors. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; To overcome this situation &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I had to &lt;/del&gt;patch &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;my &lt;/del&gt;kernel with the following patch. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I uploaded my patched kernel for your convenience. Note that&amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; To overcome this situation &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;you could &lt;/ins&gt;patch &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;kernel with the following patch. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Patch &lt;/ins&gt;can be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;downloaded from &lt;/ins&gt;[http://groups.google.com/group/hawkboard/browse_thread/thread/723b11a40c287a4/e2948904ae45f154?lnk=gst]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; patch &lt;/del&gt;can be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;broken due to wiki formatting, if that is the case you can find the original patch at &lt;/del&gt;[http://groups.google.com/group/hawkboard/browse_thread/thread/723b11a40c287a4/e2948904ae45f154?lnk=gst]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --- kernel_source_original/drivers/media/video/tvp514x.c&amp;#160; &amp;#160; &amp;#160; &amp;#160; 2010-03-18 14:33:44.000000000 +0200&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; --- kernel_source_original/drivers/media/video/tvp514x.c&amp;#160; &amp;#160; &amp;#160; &amp;#160; 2010-03-18 14:33:44.000000000 +0200&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 100:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Testing ARM-DSP Code ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Testing ARM-DSP Code ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First of all make sure that your CMEM and DSPLINK modules are loaded. If you are using an Angstrom file-system, make sure that your kernel is booted with ''mem=34M'' option so that CMEM module is automatically loaded. Also you can decrease necessary kernel buffer size with ''vpif_capture.ch0_bufsize=1658880'' parameters. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Here is how boot my board &lt;/del&gt;under U-Boot:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First of all make sure that your CMEM and DSPLINK modules are loaded. If you are using an Angstrom file-system, make sure that your kernel is booted with ''mem=34M'' option so that CMEM module is automatically loaded. Also you can decrease necessary kernel buffer size with ''vpif_capture.ch0_bufsize=1658880'' parameters. under U-Boot:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; setenv bootargs 'console=ttyS2,115200n8 ubi.mtd=filesystem root=ubi0:hawkboard-rootfs rootfstype=ubifs mem=34M vpif_capture.ch0_bufsize=1658880'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; setenv bootargs 'console=ttyS2,115200n8 ubi.mtd=filesystem root=ubi0:hawkboard-rootfs rootfstype=ubifs mem=34M vpif_capture.ch0_bufsize=1658880'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 109:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; $insmod cmemk.ko phys_start=0xC2200000 phys_end=0xC3200000 pools=1x5250000,3x1048576,3x829440,1x256000,4x131072&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; $insmod cmemk.ko phys_start=0xC2200000 phys_end=0xC3200000 pools=1x5250000,3x1048576,3x829440,1x256000,4x131072&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; $insmod dsplinkk.ko&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; $insmod dsplinkk.ko&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; Don't ask me why I didn't upload my modules as well, I don't know either :)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Then copy both ''all.x674'' and ''app_remote.xv5T'' binaries to the same folder and run the application with following commands:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Then copy both ''all.x674'' and ''app_remote.xv5T'' binaries to the same folder and run the application with following commands:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alokprasad</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=20929&amp;oldid=prev</id>
		<title>Alokprasad at 02:04, 12 May 2010</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=20929&amp;oldid=prev"/>
				<updated>2010-05-12T02:04:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:04, 12 May 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Linux]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category: OMAP]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category: DSP]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Hawkboard]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Problem Description ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Problem Description ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:20912:newid:20929 --&gt;
&lt;/table&gt;</summary>
		<author><name>Alokprasad</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=20912&amp;oldid=prev</id>
		<title>Caglar: Created page with '== Problem Description ==  OMAP L-138 kernels are supporting composite(camera) interface of Hawkboard out of the box, however there are 3 obstacles for using it:  * L-138 VPIF vi…'</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Testing_Video_Input_of_Hawkboard&amp;diff=20912&amp;oldid=prev"/>
				<updated>2010-05-11T20:02:49Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Problem Description ==  OMAP L-138 kernels are supporting composite(camera) interface of Hawkboard out of the box, however there are 3 obstacles for using it:  * L-138 VPIF vi…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Problem Description ==&lt;br /&gt;
&lt;br /&gt;
OMAP L-138 kernels are supporting composite(camera) interface of Hawkboard out of the box, however there are 3 obstacles for using it:&lt;br /&gt;
&lt;br /&gt;
* L-138 VPIF video input offers camera data in 2 plane YUV format, namely NV16.&lt;br /&gt;
* L-138 LCDC output, VGA output of Hawkboard, accepts display data in RGB565 format&lt;br /&gt;
* L-138 does not have hardware support for converting NV16 &amp;lt;-&amp;gt; RGB565&lt;br /&gt;
&lt;br /&gt;
Due to these problems, if we want to see camera input on the VGA output of the board we need to perform color conversion in the software.&lt;br /&gt;
&lt;br /&gt;
== Using Off-the-shelf Software Components ==&lt;br /&gt;
&lt;br /&gt;
I tried GStreamer and Mplayer on the board and both were failed to capture camera input.&lt;br /&gt;
&lt;br /&gt;
===GStreamer===&lt;br /&gt;
&lt;br /&gt;
At the time of this writing, GStreamer v4l2 plugin, v4l2src, doesn't support NV16 format. Here is the output from 'gst-inspect v4l2src | grep NV' :&lt;br /&gt;
&lt;br /&gt;
 format: NV12&lt;br /&gt;
 format: NV21&lt;br /&gt;
&lt;br /&gt;
NV16 uses 4:2:2 sampling whereas NV12 uses 4:2:0.&lt;br /&gt;
&lt;br /&gt;
===MPlayer===&lt;br /&gt;
&lt;br /&gt;
I'm fairly sure that MPlayer should support NV16 but I couldn't make it work on my Hawkboard. MPlayer was unable to find a suitable color format for my camera. Due to performance limitations, I didn't try so hard to make it work.&lt;br /&gt;
&lt;br /&gt;
== Firing up a Custom Solution ==&lt;br /&gt;
&lt;br /&gt;
Since I couldn't test my camera with off-the-shelf components, I tried to do my own. Then I came-up with to solutions.&lt;br /&gt;
&lt;br /&gt;
=== ARM only Solution ===&lt;br /&gt;
&lt;br /&gt;
I wrote a simple V4L2 application, cross-compiled it and tried on my board. Results were:&lt;br /&gt;
&lt;br /&gt;
* Camera interface was functional.&lt;br /&gt;
* Frame-rate was  very low, maybe 3-4 fps.&lt;br /&gt;
&lt;br /&gt;
=== ARM + DSP Solution ===&lt;br /&gt;
&lt;br /&gt;
To increase the fps, I modified existing Codec Engine following examples:&lt;br /&gt;
&lt;br /&gt;
* video_copy application : This is the ARM side application capturing camera data and showing on the VGA display.&lt;br /&gt;
* viddec_copy codec : This is the DSP codec doing the actual NV16 &amp;lt;-&amp;gt; RGB565 conversion.&lt;br /&gt;
&lt;br /&gt;
This ARM + DSP solution gave me a 25 fps nice camera test on my board. You can find my binaries and source codes at [http://code.google.com/p/hawkboard/downloads/detail?name=vpif_example.tar.gz&amp;amp;can=2&amp;amp;q=]&lt;br /&gt;
&lt;br /&gt;
=== Using Provided Binaries ===&lt;br /&gt;
&lt;br /&gt;
Assumptions:&lt;br /&gt;
&lt;br /&gt;
* You have a working file-system image. If you download from http://www.angstrom-distribution.org/narcissus/, you will be able to run DSP part as well.&lt;br /&gt;
* You have your composite camera plugged.&lt;br /&gt;
&lt;br /&gt;
When you download the provided vpi_example.tar.gz from the Hawkboard download page at code.google.com and extract it you will see the following files:&lt;br /&gt;
&lt;br /&gt;
* binaries&lt;br /&gt;
** arm+dsp&lt;br /&gt;
***all.x674&lt;br /&gt;
***app_remote.xv5T&lt;br /&gt;
** arm+only&lt;br /&gt;
***camera-test&lt;br /&gt;
* sources&lt;br /&gt;
** arm+dsp&lt;br /&gt;
***camera.patch&lt;br /&gt;
** arm+only&lt;br /&gt;
***.&lt;br /&gt;
***.&lt;br /&gt;
***.&lt;br /&gt;
* uImage&lt;br /&gt;
&lt;br /&gt;
 Note : I was having a TVP5146 issue with my board, such that TVP5146 was not detecting my camera and throwing input setting errors. &lt;br /&gt;
        To overcome this situation I had to patch my kernel with the following patch. I uploaded my patched kernel for your convenience. Note that      &lt;br /&gt;
        patch can be broken due to wiki formatting, if that is the case you can find the original patch at [http://groups.google.com/group/hawkboard/browse_thread/thread/723b11a40c287a4/e2948904ae45f154?lnk=gst]&lt;br /&gt;
 &lt;br /&gt;
 --- kernel_source_original/drivers/media/video/tvp514x.c        2010-03-18 14:33:44.000000000 +0200&lt;br /&gt;
 +++ kernel_source/drivers/media/video/tvp514x.c 2010-05-07 00:46:05.284494625 +0300&lt;br /&gt;
 @@ -741,8 +741,9 @@&lt;br /&gt;
                         break;&lt;br /&gt;
         }&lt;br /&gt;
 -       if ((current_std == STD_INVALID) || (try_count &amp;lt; 0))&lt;br /&gt;
 -               return -EINVAL;&lt;br /&gt;
 +       if ((current_std == STD_INVALID) || (try_count &amp;lt; 0)) {&lt;br /&gt;
 +               current_std = STD_PAL_BDGHIN;&lt;br /&gt;
 +       }&lt;br /&gt;
         decoder-&amp;gt;current_std = current_std;&lt;br /&gt;
         decoder-&amp;gt;input = input;&lt;br /&gt;
&lt;br /&gt;
=== Testing ARM only Code ===&lt;br /&gt;
&lt;br /&gt;
Copy ''camera-test'' ARM-only binary somewhere in your filesystem on the board and run like any application:&lt;br /&gt;
&lt;br /&gt;
 ./camera-test&lt;br /&gt;
&lt;br /&gt;
No parameters are needed, program will open ''/dev/video0'' and ''/dev/fb0'' nodes, perform color conversion and you should see the results. You can find related source code in ''sources/arm-only' directory of the archive.&lt;br /&gt;
&lt;br /&gt;
=== Testing ARM-DSP Code ===&lt;br /&gt;
&lt;br /&gt;
First of all make sure that your CMEM and DSPLINK modules are loaded. If you are using an Angstrom file-system, make sure that your kernel is booted with ''mem=34M'' option so that CMEM module is automatically loaded. Also you can decrease necessary kernel buffer size with ''vpif_capture.ch0_bufsize=1658880'' parameters. Here is how boot my board under U-Boot:&lt;br /&gt;
&lt;br /&gt;
 setenv bootargs 'console=ttyS2,115200n8 ubi.mtd=filesystem root=ubi0:hawkboard-rootfs rootfstype=ubifs mem=34M vpif_capture.ch0_bufsize=1658880'&lt;br /&gt;
&lt;br /&gt;
If you need to load DSP modules by hand here is the necessary commands:&lt;br /&gt;
&lt;br /&gt;
 $insmod cmemk.ko phys_start=0xC2200000 phys_end=0xC3200000 pools=1x5250000,3x1048576,3x829440,1x256000,4x131072&lt;br /&gt;
 $insmod dsplinkk.ko&lt;br /&gt;
&lt;br /&gt;
 Don't ask me why I didn't upload my modules as well, I don't know either :)&lt;br /&gt;
&lt;br /&gt;
Then copy both ''all.x674'' and ''app_remote.xv5T'' binaries to the same folder and run the application with following commands:&lt;br /&gt;
&lt;br /&gt;
 ./app_remote.xv5T&lt;br /&gt;
&lt;br /&gt;
Now you should see 25 fps video on your screen. Unfortunately, If you want to compile this example on your own, you will need whole Codec Engine tree. You will find a patch containing necessary changes in the ''sources/arm+dsp'' folder along with my own Makefile. If you are not using DVSDK and you have a working OpenEmbedded tree around you can use provided Makefile to compile this example.&lt;/div&gt;</summary>
		<author><name>Caglar</name></author>	</entry>

	</feed>