Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: petvirus on October 17, 2008, 11:48:27 AM

Title: adobe flash opened up, does this affect rockbox?
Post by: petvirus on October 17, 2008, 11:48:27 AM
just read this:
http://blog.wired.com/monkeybites/2008/04/adobe-drops-lic.html

does this mean that rockbox can now get a flash player?
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: LambdaCalculus on October 17, 2008, 11:51:55 AM
Only if someone wants to work on one.
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: petvirus on October 17, 2008, 11:54:15 AM
do i understand correctly, that in order to get flash on any given supported player, one would need to write the code for that cpu, or can generic code be written and then ported to each player with "less" work then writing it from scratch?
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: saanaito on October 17, 2008, 11:55:01 AM
just read this:
http://blog.wired.com/monkeybites/2008/04/adobe-drops-lic.html

does this mean that rockbox can now get a flash player?

Not necessarily. Flash is still resource-intensive, and it will take a good deal of work just to port a Flash player to Rockbox to begin with.

While this is not an absolute, the most certain way to see a Flash player on Rockbox is to port it yourself. But even then, there are other obstacles to get pass before it has a shot at showing up in SVN.
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: karashata on October 17, 2008, 11:59:47 AM
do i understand correctly, that in order to get flash on any given supported player, one would need to write the code for that cpu, or can generic code be written and then ported to each player with "less" work then writing it from scratch?

Most of Rockbox's code is written in C, with assembly thrown in where it marks a definite improvement in performance and bin size, if I'm understanding things correctly.  I would imagine if you could write a flash player in C, the cross compilers for each target's processor would compile it such that it would be understood by that target's processor.  If you have any knowledge of assembly code for the various architectures the DAPs Rockbox supports, it may not hurt to use it where appropriate, if it helps improve the player's performance and/or reduces the bin size (without compromising performance).
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: gevaerts on October 17, 2008, 12:01:21 PM
That website says that documentation about a "porting layer" is available. That seems to imply that the entire code is almost certainly not compatible with the GPL, so it can't be legally made into a rockbox plugin.
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: petvirus on October 17, 2008, 12:17:39 PM
but illegally  ::)

there are many days i wish i knew C instead of java, and this is one of them
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: LambdaCalculus on October 17, 2008, 12:20:57 PM
but illegally  ::)

Absolutely not!
Title: Re: adobe flash opened up, does this affect rockbox?
Post by: safetydan on October 17, 2008, 04:51:16 PM
There's already two open source implementations of Flash out there. Take a look at Gnash (http://www.gnu.org/software/gnash/) and Swfdec (http://swfdec.freedesktop.org/wiki/). Either of those would be vastly more suitable for porting to Rockbox.