Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
EnTerr
Level 8

roScreen - what are the allowed resolutions?

For an app/channel i am working on, i was doing CreateObject("roScreen") and sizing the elements for the default HD resolution 1280x720. I saw it does not fit on player in SD mode but "i'll deal with it when i get to it". Well, today i got to it - i knew from RTFM that only some resolutions are blessed, depending on the screen type:
"roScreen" wrote:
[...] there is a fixed set of bitmap resolutions that are allowed to be created for screens:
  • HD mode screensizes: 1280x720 [...], 854x480 [...], 940x480 [...]

  • SD mode screensizes: 720x480 [...], 640x480 [...], 854x626 [...]

1280x720 is not listed as allowed for SD modes - something i suspected since SD is physically limited to 480 horizontal lines. But for grins and giggles, i though i'd try forcing it, CreateObject("roScreen", true, 1280, 720) - and see what happens. My expectation was that createObject will return invalid and subsequently program will crash. Lo and behold... it worked, though! Everything was showing and working on SD screen.

So, what's going on?

Is 1280x720 officially ok for SD screens?
Do i mis-read the documentation or have there been changes to the allowed modes?
Which are the resolutions that can be used?
0 Kudos
5 Replies
EnTerr
Level 8

Re: roScreen - what are the allowed resolutions?

Bump?
0 Kudos
Roku Employee
Roku Employee

Re: roScreen - what are the allowed resolutions?

Device rescales the 1280x720 down to fit on the SDTV screen automatically.

Joel
0 Kudos
EnTerr
Level 8

Re: roScreen - what are the allowed resolutions?

"RokuJoel" wrote:
Device rescales the 1280x720 down to fit on the SDTV screen automatically.

Yes - as i mentioned, i saw that 1280x720 works for SD. Don't get me wrong: i don't mind that it works - i love it. But it contradicts the documentation, unless i am reading it wrong. And so i ask for some clarity
  • Is 1280x720 officially ok for SD screens? [assuming UI still looks passable]

  • Have there been changes to the allowed modes?

  • Which are the resolutions that can be used?
0 Kudos
EnTerr
Level 8

Re: roScreen - what are the allowed resolutions?

Can i get answer to the questions asked?
"we haven't decided yet" would be ok answer if that is indeed the case.
0 Kudos
Roku Employee
Roku Employee

Re: roScreen - what are the allowed resolutions?

Is 1280x720 officially ok for SD screens? [assuming UI still looks passable]


Yes

Have there been changes to the allowed modes?


Not that I'm aware of.

which are the resolutions that can be used?


The official list is in the documentation here:

http://sdkdocs.roku.com/display/sdkdoc/roScreen

HD mode screensizes:

1280x720PAR=1:1 (default for HD)
854x480 PAR=1:1 useful for higher performance HD games, also for 640x480 games
940x480 PAR=1.1:1 used for displaying a RokuSD (720x480) games

SD mode screensizes:

720x480 PAR=1.1:1 (default for SD)
640x480 PAR=1:1 (used for 640x480 games)
854x626 PAR=1:1 (used for 854x480 HD games)

but that doesn't mean you can't experiment and see if something else works.

- Joel
0 Kudos