Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Adding JPEG to PictureFlow
« previous next »
  • Print
Pages: [1]

Author Topic: Adding JPEG to PictureFlow  (Read 2713 times)

zajacattack

  • Guest
Adding JPEG to PictureFlow
« on: December 29, 2007, 06:19:57 PM »
For PictureFlow, would it be possible to simply include apps/plugins/jpeg.c in it and then add JPEG in from there?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Adding JPEG to PictureFlow
« Reply #1 on: December 29, 2007, 06:21:19 PM »
What would be the point, JPEG images still won't work for the WPS and would just cause more complaints because "Album Art works in pictureflow but not my WPS". One of the points of pictureflow is to work the same as what the WPS supports.
Logged

zajacattack

  • Guest
Re: Adding JPEG to PictureFlow
« Reply #2 on: December 29, 2007, 06:24:41 PM »
OK, so it is preferred to add JPEG to the core and WPS, then to pictureflow, right?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9137
Re: Adding JPEG to PictureFlow
« Reply #3 on: December 29, 2007, 06:27:06 PM »
Yes, in the long term decoding/resizing/etc should probably all be handled by the core on targets with sufficient ram to spare in order to avoid duplicating code across all the different parts of rockbox that need those items.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Adding JPEG to PictureFlow
« Reply #4 on: December 29, 2007, 06:27:19 PM »
There's a group that strongly feels jpeg in the core is unnecessary.
Logged

zajacattack

  • Guest
Re: Adding JPEG to PictureFlow
« Reply #5 on: December 29, 2007, 06:29:38 PM »
Well, what would be the pros and cons of it? Why would anyone be against it?
EDIT:
Is there resistance to PNG in the core as well?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Adding JPEG to PictureFlow
« Reply #6 on: December 29, 2007, 06:31:01 PM »
Because it uses additional ram and adds unnecessary complexity? It's the same reason why hundreds of "Well, why can't you also do this" features get rejected. Rockbox doesn't need to do _everything_ and generally speaking you can spare more disk space than you can CPU time and RAM. That's not to say JPEG won't be implemented, just that "it's more convenient" is really the only argument for it, and "it hurts people who don't use it, even if it's a fairly small amount" is the argument against it.
Logged

zajacattack

  • Guest
Re: Adding JPEG to PictureFlow
« Reply #7 on: December 29, 2007, 06:37:15 PM »
So, it would take RAM even if it was only used for album art?
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Adding JPEG to PictureFlow
« Reply #8 on: December 29, 2007, 06:38:13 PM »
There are also core devs who feel that Rockbox should be able to play any file a user throws on their DAP, and as Rockbox supports album-art, we should support the most common way album art is stored - as embedded JPEG...

But this argument is pointless until someone actually writes a patch to do it.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Adding JPEG to PictureFlow
« Reply #9 on: December 29, 2007, 06:39:28 PM »
Any time you make the Rockbox core code larger, it uses more RAM, yes.

And yeah, "most common formats" is a good argument in favour of it.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Adding JPEG to PictureFlow
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.023 seconds with 17 queries.