summaryrefslogtreecommitdiff
path: root/avstream/avscamera
diff options
context:
space:
mode:
authorJoel Corley <[email protected]>2020-02-11 15:56:59 -0800
committerJoel Corley <[email protected]>2020-02-11 15:56:59 -0800
commite787e936941ebdd25c5d4e5758fe52b8e2b8d4e5 (patch)
tree5f9afcc938ade97421144494b541872c61890896 /avstream/avscamera
parent2a945024ac070bd5d7bef09cb3cbef67757a2a44 (diff)
Revert the accidential overwriting of README.MD files.
Diffstat (limited to 'avstream/avscamera')
-rw-r--r--avstream/avscamera/README.md28
1 files changed, 16 insertions, 12 deletions
diff --git a/avstream/avscamera/README.md b/avstream/avscamera/README.md
index ef956c88..da8e8d65 100644
--- a/avstream/avscamera/README.md
+++ b/avstream/avscamera/README.md
@@ -1,22 +1,26 @@
-<!---
- name: AvsCamera - AVStream Camera Sample Driver
- platform: WDM
- language: cpp
- category: Camera AVStream
- description: Provides a pin-centric AVStream capture driver for a simulated front and back camera that performs simulated captures at 320x240 or 640x480 in RGB24, RGB32, YUY2 and NV12 formats at various frame rates.
- samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=620184
---->
+---
+page_type: sample
+description: "Provides a pin-centric AVStream capture driver for a simulated front and back camera that performs simulated captures."
+urlFragment: avscamera
+languages:
+- cpp
+products:
+- windows
+- windows-wdk
+---
-AvsCamera: AVStream Camera Sample Driver
-========================================
-The AvsCamera sample provides a pin-centric AVStream capture driver for a simulated front and back camera. The driver performs simulated captures at 320x240 or 640x480 in RGB24, RGB32, YUY2 and NV12 formats at various frame rates. The purpose of the sample is to demonstrate how to write a fully functional AVStream camera driver.
+# AvsCamera - AVStream Camera Sample Driver
+
+The AvsCamera sample provides a pin-centric AVStream capture driver for a simulated front and back camera. The driver performs simulated captures at 320x240 or 640x480 in RGB24, RGB32, YUY2 and NV12 formats at various frame rates. The purpose of the sample is to demonstrate how to write a fully functional AVStream camera driver.
This sample features strong parameter validation and overflow detection. It provides validation and simulation logic for all advanced camera controls in the CCaptureFilter class. A real camera driver would replace the filter automation table and CSensor and CSynthesizer class hierarchies to produce a new camera driver.
The sample comes with its own MFT0 called AvsCameraMft0.dll. This MFT0 is used to parse metadata supplied in the AvsCamera driver samples. The metadata communications from the driver is primarily a private channel to its MFT0. The MFT0 is responsible for reformatting that information for the capture pipeline.
## Universal Windows Driver Compliant
+
This sample builds a Universal Windows Driver. It uses only APIs and DDIs that are included in OneCoreUAP. The sample works on 32-bit and 64-bit x86, amd64 and arm platforms. Once installed, the simulated camera should show in the Windows Inbox camera app.
## Building the sample
-The AvsCamera sample can be built by opening the AvsCamera.sln solution file. A successful build produces AvsCamera.sys, AvsCameraMft0.dll, AvsCamera.inf and AvsCamera.cat.
+
+The AvsCamera sample can be built by opening the AvsCamera.sln solution file. A successful build produces AvsCamera.sys, AvsCameraMft0.dll, AvsCamera.inf and AvsCamera.cat.