<?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"
	>
<channel>
	<title>Comments for Nito</title>
	<atom:link href="http://blog.pirelenito.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pirelenito.org</link>
	<description>My name is Nito... Pirelenito!</description>
	<pubDate>Wed, 07 Jan 2009 12:16:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Java movie playback: JOGL + Fobs4JMF by admin</title>
		<link>http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/#comment-28</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 30 Nov 2008 14:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=12#comment-28</guid>
		<description>Thank YOU! I am glad I helped.

Already applied your modifications on the code.

thanks again!</description>
		<content:encoded><![CDATA[<p>Thank YOU! I am glad I helped.</p>
<p>Already applied your modifications on the code.</p>
<p>thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java movie playback: JOGL + Fobs4JMF by CW</title>
		<link>http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/#comment-27</link>
		<dc:creator>CW</dc:creator>
		<pubDate>Sun, 30 Nov 2008 13:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=12#comment-27</guid>
		<description>Hi! Thanks for taking the time to write this, it's been most helpful during my reading up on JOGL and video. A simple improvement I'd like to suggest is changing the conversion loop in the process method of your VideoRenderer to:

byte[] line = new byte[width * 3];
int srcN = 0;
for (int y = height; y &#62; 0; y--) {
	int dstN = 0;
	for (int x = width; x &#62; 0; x--) {
		int rgb = conversionBuffer[srcN++];
		line[dstN++] = (byte) (rgb &#62;&#62; 16);
		line[dstN++] = (byte) (rgb &#62;&#62;  8);
		line[dstN++] = (byte) (rgb &#62;&#62;  0);
	}
	byteBuffer.put(line);
}

I get go from 50% CPU usage to 30% with this.</description>
		<content:encoded><![CDATA[<p>Hi! Thanks for taking the time to write this, it&#8217;s been most helpful during my reading up on JOGL and video. A simple improvement I&#8217;d like to suggest is changing the conversion loop in the process method of your VideoRenderer to:</p>
<p>byte[] line = new byte[width * 3];<br />
int srcN = 0;<br />
for (int y = height; y &gt; 0; y&#8211;) {<br />
	int dstN = 0;<br />
	for (int x = width; x &gt; 0; x&#8211;) {<br />
		int rgb = conversionBuffer[srcN++];<br />
		line[dstN++] = (byte) (rgb &gt;&gt; 16);<br />
		line[dstN++] = (byte) (rgb &gt;&gt;  8);<br />
		line[dstN++] = (byte) (rgb &gt;&gt;  0);<br />
	}<br />
	byteBuffer.put(line);<br />
}</p>
<p>I get go from 50% CPU usage to 30% with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java movie playback: JOGL + Fobs4JMF by admin</title>
		<link>http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/#comment-26</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 27 Nov 2008 16:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=12#comment-26</guid>
		<description>Hi lodestar,

The problem is that you haven't registered the custom renderer I've created on JMF, so when you are executing the getRenderer method it gets the default JMF renderer (Java2DRenderer) that obviously cannot be cast to my custom IGLTextureRenderer interface.

To fix this, simply follow the steps above on the paragraph that contains "register the render on JMF using the JMFRegistry"

Drop me by if you have any more problems.

Thanks for passing by!</description>
		<content:encoded><![CDATA[<p>Hi lodestar,</p>
<p>The problem is that you haven&#8217;t registered the custom renderer I&#8217;ve created on JMF, so when you are executing the getRenderer method it gets the default JMF renderer (Java2DRenderer) that obviously cannot be cast to my custom IGLTextureRenderer interface.</p>
<p>To fix this, simply follow the steps above on the paragraph that contains &#8220;register the render on JMF using the JMFRegistry&#8221;</p>
<p>Drop me by if you have any more problems.</p>
<p>Thanks for passing by!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java movie playback: JOGL + Fobs4JMF by lodestar</title>
		<link>http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/#comment-25</link>
		<dc:creator>lodestar</dc:creator>
		<pubDate>Sat, 22 Nov 2008 08:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=12#comment-25</guid>
		<description>Hi, I'm trying to run your code but I get this error:

Something got wrong!
java.lang.ClassCastException: com.omnividea.media.renderer.video.Java2DRenderer cannot be cast to org.pirelenito.multimedia.jmf.plugin.IGLTextureRenderer
        at org.pirelenito.multimedia.jmf.MoviePlayer.getRenderer(MoviePlayer.java:48)
        at org.pirelenito.movieGL.Main.(Main.java:104)
        at org.pirelenito.movieGL.Main.main(Main.java:74)

I don't understand what the problem is...</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m trying to run your code but I get this error:</p>
<p>Something got wrong!<br />
java.lang.ClassCastException: com.omnividea.media.renderer.video.Java2DRenderer cannot be cast to org.pirelenito.multimedia.jmf.plugin.IGLTextureRenderer<br />
        at org.pirelenito.multimedia.jmf.MoviePlayer.getRenderer(MoviePlayer.java:48)<br />
        at org.pirelenito.movieGL.Main.(Main.java:104)<br />
        at org.pirelenito.movieGL.Main.main(Main.java:74)</p>
<p>I don&#8217;t understand what the problem is&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 5200 + iSync by PC Toledo</title>
		<link>http://blog.pirelenito.org/2008/07/nokia-5200-isync/#comment-21</link>
		<dc:creator>PC Toledo</dc:creator>
		<pubDate>Sun, 26 Oct 2008 02:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=7#comment-21</guid>
		<description>It worked for me. Perfect. Thanks!</description>
		<content:encoded><![CDATA[<p>It worked for me. Perfect. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java movie playback: JOGL + Fobs4JMF by Jardel Weyrich</title>
		<link>http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/#comment-13</link>
		<dc:creator>Jardel Weyrich</dc:creator>
		<pubDate>Thu, 21 Aug 2008 23:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=12#comment-13</guid>
		<description>Cool nito!
Keep posting good stuff :)</description>
		<content:encoded><![CDATA[<p>Cool nito!<br />
Keep posting good stuff <img src='http://blog.pirelenito.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java movie playback: JOGL + Fobs4JMF by admin</title>
		<link>http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/#comment-12</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 21 Aug 2008 14:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=12#comment-12</guid>
		<description>Thanks man!

That conversion part is something I want to avoid by using popper pixel types, that is why I didn't look on doing it through JNI (:p), I hope I can get rid of it.

Check latter for more updates on the code... I am still messing with it!</description>
		<content:encoded><![CDATA[<p>Thanks man!</p>
<p>That conversion part is something I want to avoid by using popper pixel types, that is why I didn&#8217;t look on doing it through JNI (:p), I hope I can get rid of it.</p>
<p>Check latter for more updates on the code&#8230; I am still messing with it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java movie playback: JOGL + Fobs4JMF by tinsukE</title>
		<link>http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/#comment-11</link>
		<dc:creator>tinsukE</dc:creator>
		<pubDate>Thu, 21 Aug 2008 13:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=12#comment-11</guid>
		<description>Hey pal!

Interesting way to solve the problem =]

Using PBO would certainly increase performance, since you wouldn't need to 'draw frames to a texture', but would be writing directly to the buffer. One thing I think (THINK) that would still make my knees shake is the conversion from the media data format to RGB texture format (that 'for' statement made me feel a huge fear... look at http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35, the 'for' thing is also needed but was done through assembly code [REAL PROGRAMMERS CODE IN BINARY, aeouahaeo, or NOT!], don't know if Java's JIT is capable of increasing the 'for' perfomance), it (format conversion, if you got lost at the last 'parenthesis' statement.. hehe) is needed in both methods.

Congratulations! It's a pretty code chunk!!!</description>
		<content:encoded><![CDATA[<p>Hey pal!</p>
<p>Interesting way to solve the problem =]</p>
<p>Using PBO would certainly increase performance, since you wouldn&#8217;t need to &#8216;draw frames to a texture&#8217;, but would be writing directly to the buffer. One thing I think (THINK) that would still make my knees shake is the conversion from the media data format to RGB texture format (that &#8216;for&#8217; statement made me feel a huge fear&#8230; look at <a href="http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35" rel="nofollow">http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35</a>, the &#8216;for&#8217; thing is also needed but was done through assembly code [REAL PROGRAMMERS CODE IN BINARY, aeouahaeo, or NOT!], don&#8217;t know if Java&#8217;s JIT is capable of increasing the &#8216;for&#8217; perfomance), it (format conversion, if you got lost at the last &#8216;parenthesis&#8217; statement.. hehe) is needed in both methods.</p>
<p>Congratulations! It&#8217;s a pretty code chunk!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Joss Whedon&#8217;s &#8220;Dr. Horrible Sing Along Blog&#8221; by tinsukE</title>
		<link>http://blog.pirelenito.org/2008/07/joss-whedons-dr-horrible-sing-along-blog/#comment-8</link>
		<dc:creator>tinsukE</dc:creator>
		<pubDate>Sat, 19 Jul 2008 14:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=13#comment-8</guid>
		<description>With my freeze ray i will stop... the pain!

aeuaeohaouhea

Kinda hilarious stuff.

Thanks for pointing it out!</description>
		<content:encoded><![CDATA[<p>With my freeze ray i will stop&#8230; the pain!</p>
<p>aeuaeohaouhea</p>
<p>Kinda hilarious stuff.</p>
<p>Thanks for pointing it out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing Wii noisy drive. by tinsukE</title>
		<link>http://blog.pirelenito.org/2008/07/fixing-wii-noisy-drive/#comment-7</link>
		<dc:creator>tinsukE</dc:creator>
		<pubDate>Fri, 18 Jul 2008 17:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pirelenito.org/?p=9#comment-7</guid>
		<description>Great line of posting!!!

Guess I'm gonna to &lt;del&gt;copy&lt;/del&gt; take some inspiration... BTW, I've gotta post something =~

See ya, dude!</description>
		<content:encoded><![CDATA[<p>Great line of posting!!!</p>
<p>Guess I&#8217;m gonna to <del>copy</del> take some inspiration&#8230; BTW, I&#8217;ve gotta post something =~</p>
<p>See ya, dude!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
