Camera Driver Test - Photo Capture - Capture an NV12 photo from the default type exposed by the preview pin

These sets of tests validate cameras functionality with the MF and IMFCaptureEngine.

  • Camera Driver Basic Tests - *

    Tests against a subset of camera media types and shorter duration of tests than functional or reliability.

  • Camera Driver Functional Tests - *

    Tests against a larger set of media types and have longer duration of the test.

  • Camera Driver Reliability Tests - *

    Tests against a larger set of media types and have longer duration of the test, and more complex scenarios.

  • *- Image Stream - *

    Validates that the system is able to take photo from MF_CAPTURE_ENGINE_PREFERRED_SOURCE_STREAM_FOR_IMAGE.

Test details

Specifications
  • Device.Streaming.Camera.Base.MediaFoundation
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows 10, client editions (ARM64)
  • Windows 10, mobile edition (ARM)
  • Windows 10, mobile edition (ARM64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 15
Category Scenario
Timeout (in minutes) 15
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

Running the test

Before you run the test, complete the test setup as described in the test requirements: System Client Testing Prerequisites.

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting System Client Testing.

Error Description/Workaround

0x8004005 : E_FAIL

The most often occurrence of this error code is during the verification of the Recorded file for Video or Photo. This will occur if the resulting file contains no data because it did not receive samples.

Check to ensure the device is producing valid samples when it enters the run state. Valid includes that the sample is the right size, format, and time for when it was produced.

0x80070102

This will occur when a Capture Asynchronous Operation has timed out. These include Initialize, Start Preview, Stop Preview, Start Record, Stop Record, Take Photo, and Change Mediatype. The test allows for 9-10 seconds for each operation before failing. Mediatype change can include pin tear down and bring up time.

Check that the device isn't waiting for future commands that prevent it from changing state. Ensure that all buffers are flushed out of the device on device reset commands.

0xC00D3704 : MF_E_HW_MFT_FAILED_START_STREAMING

This error occurs when the device cannot enter the run state.

Check that the device is able to transition through all states without failure, or that other pins aren't preventing the device from entering a state.

0xC00D4A44 : MF_E_SINK_NO_SAMPLES_PROCESSED

This error occurs during finalization of files, if no samples have been delivered.

Check to ensure the device is producing valid samples when it enters the run state. Valid includes that the sample is the right size, format, and time for when it was produced.

 

More information

Parameters

Parameter name Parameter description
WDKDeviceID Device id of DUT
DriverVerifierExcludedFlags Driver Verifier flags that may be manually excluded for the test run