diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-6021BE18-3416-55DF-A628-0071024D7586.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-6021BE18-3416-55DF-A628-0071024D7586.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,35 @@ + + + + + +Video Renderer Resource FileThe Video Renderer resource file (videorenderer.rss) provides a list of supported pixel formats and timed mode values for the Video Renderer. Videorenderer.rss is located in mmf/videorenderer/src.
Supported formats

The Video Renderer needs to know which pixel formats are supported by the Graphics composition engine. As there is no mechanism for the Video Renderer to query the composition engine, the formats are stored in the resource file.

The gce_supported_format section contains the list of supported formats. To specify support for more colour space formats, simply add them to the gce_supported_formats section:

/** Pixel format supported by video renderer/composition engine */ +RESOURCE SUPPORTED_FORMATS gce_supported_format + { + formats = + { + SUPPORTED_FORMAT + { + format = EVideoRendererPixelFormatXRGB_4444; + }, + SUPPORTED_FORMAT + { + format = EVideoRendererPixelFormatRGB_565; + }, + SUPPORTED_FORMAT + { + format = EVideoRendererPixelFormatXRGB_8888; + } + }; + }
Timer values

The timer section is used when the Video Renderer is running in timed mode. The timer values allow limits to be set on the Video Renderer, such as the maximum delay before skipping a buffer.

/** Timer values for timed mode*/ +RESOURCE TIMER_INFO timer + { + default_delay = 15000; // default delay for composition engine to display a buffer + max_delay = 0; // max delay allowed before video renderer skips a buffer + }
Video Renderer Component
\ No newline at end of file