Share via


Creating a Configuration File for the Camera Performance Test (Windows Embedded CE 6.0)

1/6/2010

You must create a configuration file, identified in the command line using the /c flag, which specifies what you wish to test. The following table shows what can be included in the configuration file.

Configuration file parameter Description

StillImageDestination, path_and_filename, List, 0

This is primarily if you wish to capture performance data when saving to an SD card or some other storage location. If no location is given, \StillImage%d.jpg is used. %d is replaced by an incrementing number for each still image captured by the test.

CaptureFileDestination, path_and_filename, List, 0

This is primarily if you wish to capture performance data when saving to an SD card or some other storage location. If no location is given, \VideoCapture%d.asf is used. %d is replaced by an incrementing number for each of the videos captured by the test.

AudioFormat, AudioCaptureFilter, List, 0, value

The value here is the index to the desired media type and capability pair of a format reported as supported by the IAMStreamConfig::GetNumberOfCapabilities and IAMStreamConfig::GetStreamCaps methods of the Audio Capture Filter. If no format is given, then the audio capture filter's default format is used.

CaptureFormat, VideoCaptureFilter, List, 0, value

The value here is the format index of a format reported as supported by the video capture filter, which in turn returns the list reported as supported by the camera driver. If no format is given, then the default format negotiated by the capture graph is used.

PreviewFormat, VideoCaptureFilter, List, 0, value

The value here is the format index of a format reported as supported by the video capture filter, which in turn returns the list reported as supported by the camera driver. If no format is given, then the default format negotiated by the capture graph is used.

StillImageFormat, VideoCaptureFilter, List, 0, value

The value here is the format index of a format reported as supported by the video capture filter, which in turn returns the list reported as supported by the camera driver. If no format is given, then the default format negotiated by the capture graph is used.

<whatever your video encoder supports>, VideoEncoder, List, 0, value

For WMV this value is _COMPLEXITYEX and _VBRQUALITY. Whatever is given here is passed directly to the encoder though the property bag.

<whatever your audio encoder supports>, AudioEncoder, List, 0, value

Whatever value is given here is passed directly to the encoder though the property bag.

Orientation, <ignored>, List, 0, 90, 180, 270

This sets the shell orientation to the orientation specified.

For example, a valid configuration file might look as follows:

StillImageDestination, \release\stillimage%d.jpg, List, 0

CaptureFileDestination, \release\captureimage%d.asf, List, 0

AudioFormat, AudioCaptureFilter, List, 12, 16

CaptureFormat, VideoCaptureFilter, List,0,1,2

This configuration file would result in the test iterating through five combinations, including three video capture formats and two audio formats.

See Also

Concepts

Camera Performance Test