<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Some Flash Pixel Bender performance tips + benchmarks</title>
	<atom:link href="http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/</link>
	<description>Flash Platform Experiments</description>
	<lastBuildDate>Sat, 21 Jan 2012 13:12:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: BigAl</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-43668</link>
		<dc:creator>BigAl</dc:creator>
		<pubDate>Thu, 26 May 2011 12:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-43668</guid>
		<description>Good stuff!

Speaking on performance, be sure to check out this recent article on Flash 10.3 and AIR 2.6 performance:
http://blog.flexwiz.net/top-10-performance-killers-in-your-air-application/</description>
		<content:encoded><![CDATA[<p>Good stuff!</p>
<p>Speaking on performance, be sure to check out this recent article on Flash 10.3 and AIR 2.6 performance:<br />
<a href="http://blog.flexwiz.net/top-10-performance-killers-in-your-air-application/" rel="nofollow">http://blog.flexwiz.net/top-10-performance-killers-in-your-air-application/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bits and Pieces &#183; Pixel Bender Differences</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-31490</link>
		<dc:creator>Bits and Pieces &#183; Pixel Bender Differences</dc:creator>
		<pubDate>Fri, 11 Feb 2011 18:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-31490</guid>
		<description>[...] Also, check out this: Some Flash Pixel Bender performance tips + benchmarks [...]</description>
		<content:encoded><![CDATA[<p>[...] Also, check out this: Some Flash Pixel Bender performance tips + benchmarks [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-14277</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 18 May 2010 07:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-14277</guid>
		<description>Erik: I think the second answer in that list says it best (quote: &quot;I think the problem is that you are really comparing Pixel Bender against native player code, not against &quot;actionscript&quot;. I doubt Pixel Bender will ever win on that scenario.&quot;). And he&#039;s right, BitmapData::draw is coded in C++ directly in the player (so running natively on the &quot;system&quot;), so it&#039;ll always have the upper hand :)</description>
		<content:encoded><![CDATA[<p>Erik: I think the second answer in that list says it best (quote: &#8220;I think the problem is that you are really comparing Pixel Bender against native player code, not against &#8220;actionscript&#8221;. I doubt Pixel Bender will ever win on that scenario.&#8221;). And he&#8217;s right, BitmapData::draw is coded in C++ directly in the player (so running natively on the &#8220;system&#8221;), so it&#8217;ll always have the upper hand <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-14263</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Tue, 18 May 2010 00:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-14263</guid>
		<description>Thanks for these tips!  I ran into an optimization problem today doubling an image&#039;s size and wrote it up here:

http://stackoverflow.com/questions/2853257/using-pixelbender-to-double-the-size-of-a-bitmap

Any idea what the bottleneck is?  I am guessing it is overhead of moving from as3 into pixelbender, but really have no idea.  Would be super to understand why it is suffering and how to help.</description>
		<content:encoded><![CDATA[<p>Thanks for these tips!  I ran into an optimization problem today doubling an image&#8217;s size and wrote it up here:</p>
<p><a href="http://stackoverflow.com/questions/2853257/using-pixelbender-to-double-the-size-of-a-bitmap" rel="nofollow">http://stackoverflow.com/questions/2853257/using-pixelbender-to-double-the-size-of-a-bitmap</a></p>
<p>Any idea what the bottleneck is?  I am guessing it is overhead of moving from as3 into pixelbender, but really have no idea.  Would be super to understand why it is suffering and how to help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cold Constructs &#187; Blog Archive &#187; Pixel Bender gap guide</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-7179</link>
		<dc:creator>Cold Constructs &#187; Blog Archive &#187; Pixel Bender gap guide</dc:creator>
		<pubDate>Mon, 12 Oct 2009 22:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-7179</guid>
		<description>[...] Nice user article on optimizations and some speed tests (turns out, for input bitmapData beats ByteArray beats Vector.) [...]</description>
		<content:encoded><![CDATA[<p>[...] Nice user article on optimizations and some speed tests (turns out, for input bitmapData beats ByteArray beats Vector.) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: around as3 &#187; Еще несколько важных фактов о производительности Pixel Blender&#8217;а</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-5142</link>
		<dc:creator>around as3 &#187; Еще несколько важных фактов о производительности Pixel Blender&#8217;а</dc:creator>
		<pubDate>Tue, 28 Jul 2009 08:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-5142</guid>
		<description>[...] блоге Дэвида Ленартса появился интересный тест производительности Пиксел Блендера. В частности интересно, что при работе [...]</description>
		<content:encoded><![CDATA[<p>[...] блоге Дэвида Ленартса появился интересный тест производительности Пиксел Блендера. В частности интересно, что при работе [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: desgraci</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-5091</link>
		<dc:creator>desgraci</dc:creator>
		<pubDate>Sun, 26 Jul 2009 15:54:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-5091</guid>
		<description>good job David, a lot of ideas now in my mind (and no need for canavis this time :p)</description>
		<content:encoded><![CDATA[<p>good job David, a lot of ideas now in my mind (and no need for canavis this time :p)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-5060</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 25 Jul 2009 10:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-5060</guid>
		<description>Yeah, for Farbe I&#039;m also still sticking to ByteArrays for most of the paint simulations for the same reasons. Especially those that require fluid sims; lower precision causes strong dissipation.

I&#039;ve been thinking of several scenarios that could cause the slowdowns for each type, but none have been really satisfactory or weren&#039;t logical. The fact that I don&#039;t have any insight on how _exactly_ data is passed to the kernel doesn&#039;t help, either. One of those was the type of data the kernel would expect as straight memory chunks so it can easily receive screen buffer data for filters or blend modes (which are in fact relatively fast). But there has to be a conversion to float at some point, so for Vectors and ByteArrays it would mean doing 2 conversions. But such an implementation would not make sense in the context of Flash.</description>
		<content:encoded><![CDATA[<p>Yeah, for Farbe I&#8217;m also still sticking to ByteArrays for most of the paint simulations for the same reasons. Especially those that require fluid sims; lower precision causes strong dissipation.</p>
<p>I&#8217;ve been thinking of several scenarios that could cause the slowdowns for each type, but none have been really satisfactory or weren&#8217;t logical. The fact that I don&#8217;t have any insight on how _exactly_ data is passed to the kernel doesn&#8217;t help, either. One of those was the type of data the kernel would expect as straight memory chunks so it can easily receive screen buffer data for filters or blend modes (which are in fact relatively fast). But there has to be a conversion to float at some point, so for Vectors and ByteArrays it would mean doing 2 conversions. But such an implementation would not make sense in the context of Flash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joa Ebert</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-5035</link>
		<dc:creator>Joa Ebert</dc:creator>
		<pubDate>Fri, 24 Jul 2009 18:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-5035</guid>
		<description>It is not a surprise that Vector. is slower. than both other alternatives. But what worries me is the fact it is that much slower. And especially that ByteArray is slower than BitmapData.

Conversion from BitmapData to float can be done using a simple mapping function with a lookup table. E.g. f(x) = t[x]; where t is initialized with t[i] = i / 255.0f for all i in [0,255].

For Vector. to float this is a different story. Something like ((float)x) might be done but that should not cause such a big difference.

Now what is really strange is that ByteArray is slower since no conversion is needed at all.

Thank you for the tests. For a new ImageProcessing framework I am using Vector.. But I will keep doing it since pre-multiplied alpha is a pain and I am shooting for high quality :o)</description>
		<content:encoded><![CDATA[<p>It is not a surprise that Vector. is slower. than both other alternatives. But what worries me is the fact it is that much slower. And especially that ByteArray is slower than BitmapData.</p>
<p>Conversion from BitmapData to float can be done using a simple mapping function with a lookup table. E.g. f(x) = t[x]; where t is initialized with t[i] = i / 255.0f for all i in [0,255].</p>
<p>For Vector. to float this is a different story. Something like ((float)x) might be done but that should not cause such a big difference.</p>
<p>Now what is really strange is that ByteArray is slower since no conversion is needed at all.</p>
<p>Thank you for the tests. For a new ImageProcessing framework I am using Vector.. But I will keep doing it since pre-multiplied alpha is a pain and I am shooting for high quality <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Video &#124; Enjolt.com &#124; Innovate for Success</title>
		<link>http://www.derschmale.com/2009/07/23/some-flash-pixel-bender-performance-tips-benchmarks/comment-page-1/#comment-5021</link>
		<dc:creator>Video &#124; Enjolt.com &#124; Innovate for Success</dc:creator>
		<pubDate>Fri, 24 Jul 2009 10:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=196#comment-5021</guid>
		<description>[...] workflow. In this episode they discussed Flash Catalyst and their experiences working with it.   Some Flash Pixel Bender performance tips + benchmarks - derschmale.com 07/23/2009 Since I started playing around with Pixel Bender in Flash, I’ve been [...]</description>
		<content:encoded><![CDATA[<p>[...] workflow. In this episode they discussed Flash Catalyst and their experiences working with it.   Some Flash Pixel Bender performance tips + benchmarks &#8211; derschmale.com 07/23/2009 Since I started playing around with Pixel Bender in Flash, I’ve been [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

