Skip to main content

Stack support for multiple resolutions

5 replies [Last post]
scottkell
Offline
Joined: 2007-04-04
Points: 0

We have an app that switches the display resolution from 640 x 480 to 960 x 540. It crashes (which I will report as a bug).

1. First question. Does the stack support more than one resolution during a single run of the stack? If so, how is this configured?

From mpeenv.ini, it looks we need to pick only one resolution before OCAP starts and that's the only one available:

#### Display Configuration ####
# This will select an initial coherent config based on graphics resolution
# DISP.DEFAULT.GFXCONFIG={1, 2, 3, 4} for {640x480 4:3,960x540 4:3, 640x480 16:9, 960x540 16:9}
DISP.DEFAULT.GFXCONFIG=1
# This will select a particular initial coherent config based on index (0-based)
# DISP.DEFAULT.CONFIG=0

2. Second question. Are the only supported resolutions 640x480, 960x540, 640x480, 960x540? What about 1280 x 720?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
scottkell
Offline
Joined: 2007-04-04
Points: 0
scottkell
Offline
Joined: 2007-04-04
Points: 0

Thanks for the info. What is the timeframe for supporting:

1. 1280 x 720 resolution ?

2. Dynamically switching resolutions?

Thanks,

Scott K

judoal
Offline
Joined: 2006-05-23
Points: 0

A little more info: the resolutions listed are those that are currently supported in the stack as specified in section 25.2.1.1 of OCAP 1.1.1. In the constructor for VideoOutputSettingsProxy, the VideoOutputConfiguration comes from getSupportedConfigurations() which are set in a hashtable during initialization of the stack.

mmillard
Offline
Joined: 2008-11-05
Points: 0

Scott,

Your assumption in (1) is correct with regards to the RI MPEOS implementation. That is, I don't think the resolution can be changed dynamically in the underlying port. I'm not sure whether the stack support (above the MEPOS API) has been completed. Perhaps Craig or Lori could answer this quickly. Either way, until the MPEOS implementation is fixed, you can only pick one resolution before starting the stack/platform.

On (2), these resolutions were inherited from the enableTv Client Simulator (which had the restriction on the 4 configurations). Again, I am not sure whether these constraints were in the stack (above the MPEOS API) or in the MPEOS implementation itself. There needs to be some investigation to answer this fully.

judoal
Offline
Joined: 2006-05-23
Points: 0

DynamicVideoOutputConfiguration is enabled, but only at the stack level. The port configurations are indicated in mpeos_disp.c. The runtime configuration are set in mpeenv.ini. All of the methods in the Class VideoOutputSettings are implemented in the stack.