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
| |-+  Feature Ideas
| | |-+  What would you do with slow and limited TV out?
« previous next »
  • Print
Pages: [1] 2

Author Topic: What would you do with slow and limited TV out?  (Read 6031 times)

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
What would you do with slow and limited TV out?
« on: January 18, 2009, 11:49:38 PM »
I've found one method for TV out on Video iPods, and I've submitted a preliminary patch.  The method I'm using has several limitations:
  • If an LCD update command happens while picture data is being output, there will be a few black lines in that field
  • TV output stops for a bit while the image is changed
  • This method is probably too slow for video

Would you want this in Rockbox, and how would you integrate it into Rockbox?  I'm think it would only be useful for still image viewing and slideshows.

In case you're wondering about why the original firmware can do so much better:  This code is uploading picture data and sending commands to the BCM (the DSP chip which handles the LCD and TV out).  The original firmware runs programs on the BCM, and they do work such as H.264 and AAC-LC decoding or slideshows.  I did not investigate how to do this.  I believe the following is a directory listing of BCM firmware, created by someone else:
http://74.125.95.132/search?q=cache:bZy7xfpGS5UJ:fr.pastebin.ca/1232048
« Last Edit: January 18, 2009, 11:52:55 PM by dreamlayers »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: What would you do with slow and limited TV out?
« Reply #1 on: January 19, 2009, 12:59:14 AM »
My 5g iPod is broken at the moment.  But I could see using this functionality for slideshows/presentations.  It would seem to make sense as a viewer plugin, though probably not the default one (i.e. select via context menu).
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: What would you do with slow and limited TV out?
« Reply #2 on: January 19, 2009, 02:14:32 PM »
What about just having an option to use TV out in the JPEG viewer plugin?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: What would you do with slow and limited TV out?
« Reply #3 on: January 19, 2009, 02:17:21 PM »
What's the maximum framerate on it (possibly if you disable normal LCD updating while it's active, since apparently that causes graphical glitches?) and does it create much CPU overhead while active, or just bog down the broadcom chip itself?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: What would you do with slow and limited TV out?
« Reply #4 on: January 19, 2009, 11:12:47 PM »
Quote from: dreamlayers on January 19, 2009, 02:14:32 PM
What about just having an option to use TV out in the JPEG viewer plugin?

Sure, that sounds fine too.  I'll let others chime in since I can't really take advantage of this at the moment anyway.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: What would you do with slow and limited TV out?
« Reply #5 on: January 20, 2009, 06:41:54 AM »
TV out for the JPEG plugin would be useful. Although the iPod 4G color has TV out as well, that model doesn't have a Broadcom chip in it. I need to look again to see what the 4G color uses for TV out.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: What would you do with slow and limited TV out?
« Reply #6 on: January 20, 2009, 07:05:50 AM »
I'd be more likely to want to display WPS than jpeg.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: What would you do with slow and limited TV out?
« Reply #7 on: January 21, 2009, 01:38:31 AM »
Regarding frame rates and displaying the WPS, the main problem is that the TV out signal is lost for a short time while switching images.  (And I mean lost; not even sync is output.)  This might be acceptable for slideshows but I don't think it would be acceptable for WPS or video.   

Frame rate is certainly enough for slide shows, even at 720x480.   I'll time it tomorrow.

Finally, here are the benchmarks:

30 Mhz:
320x240, NTSC: 52.5 FPS, 42% CPU
720x480, NTSC: 6.6 FPS, 24% CPU
720x576, PAL: 5.5 FPS, 24% CPU

80 Mhz:
320x240, NTSC: 72 FPS, 21% CPU
720x480, NTSC: 7.7 FPS, 11% CPU
720x576, PAL: 6.4 FPS, 10% CPU

The speed increase at 80 Mhz comes purely from faster loading of data into the BCM.  The amount of time the BCM takes after that is unchanged.
« Last Edit: January 23, 2009, 01:46:53 AM by dreamlayers »
Logged

Offline jswetzen

  • Artist
  • Member
  • *
  • Posts: 113
Re: What would you do with slow and limited TV out?
« Reply #8 on: January 23, 2009, 10:07:02 AM »
I can see the potential of presenting slide shows with a much higher resolution than the OF, if that is possible. 320x240 pixels gets too blurry for serious presentations. Powerpoint-like presentations would also be a possibility, perhaps using something like the WPS syntax for formatting?
Logged

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: What would you do with slow and limited TV out?
« Reply #9 on: January 27, 2009, 10:00:19 AM »
Quote from: jswetzen on January 23, 2009, 10:07:02 AM
Powerpoint-like presentations would also be a possibility, perhaps using something like the WPS syntax for formatting?
I think that much more feasible would be to convert the slides of the presentation to bitmaps (PNG, BMP...) The already existing image viewer would need just some enhancements to be better suited for presentations.
Logged

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: What would you do with slow and limited TV out?
« Reply #10 on: February 08, 2009, 12:23:32 AM »
I found the BCM's TV output frame buffer.  Writes to it allow the image to be updated instantly and without any interruptions in the signal.  This will allow video and more.  See http://www.rockbox.org/tracker/task/9787#comment28147
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: What would you do with slow and limited TV out?
« Reply #11 on: February 10, 2009, 06:41:08 PM »
Neat.  I wish my 5g wasn't dead.   :'(
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: What would you do with slow and limited TV out?
« Reply #12 on: February 10, 2009, 07:30:56 PM »
Quote from: Chronon on February 10, 2009, 06:41:08 PM
Neat.  I wish my 5g wasn't dead.   :'(
Is it dead due to one of the inductors getting ripped off the board?  I've managed to solder one back on even though I had to solder to just a tiny bit of fine wire under the inductor.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: What would you do with slow and limited TV out?
« Reply #13 on: February 10, 2009, 08:01:00 PM »
Yes.  That's the one.

Thanks for the encouragement.  I have actually come by a cheap (dead) main board with the inductors on it, so I can have a go this weekend.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: What would you do with slow and limited TV out?
« Reply #14 on: February 10, 2009, 10:09:00 PM »
Quote from: Chronon on February 10, 2009, 08:01:00 PM
Yes.  That's the one.

Thanks for the encouragement.  I have actually come by a cheap (dead) main board with the inductors on it, so I can have a go this weekend.

Great!  That should be an easier and better fix than attaching a ripped off inductor.

On the 30G there are supposed to be rubber pieces around both inductors.  They prevent the HD from slamming into the inductors if the iPod is dropped.  You can add some rubber between the HD and metal frame if you are missing those.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  What would you do with slow and limited TV out?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.112 seconds with 14 queries.