diff options
| author | saredd <[email protected]> | 2018-01-19 17:19:00 -0800 |
|---|---|---|
| committer | Wei Mao <[email protected]> | 2018-01-19 17:19:00 -0800 |
| commit | 6e7c8cb437135e55917c34cfebe1be944bbf6d3f (patch) | |
| tree | f7570fe170194facd45e4f9f887ff56dc683a31c /avstream/avscamera/common/MetadataInternal.h | |
| parent | dd7e6f697ed67e94dc45cd33078b1dbcb643f439 (diff) | |
Updating Camera WDK Samples to RS3 version (#193)
Diffstat (limited to 'avstream/avscamera/common/MetadataInternal.h')
| -rw-r--r-- | avstream/avscamera/common/MetadataInternal.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/avstream/avscamera/common/MetadataInternal.h b/avstream/avscamera/common/MetadataInternal.h index 28572efc..2f789a02 100644 --- a/avstream/avscamera/common/MetadataInternal.h +++ b/avstream/avscamera/common/MetadataInternal.h @@ -18,7 +18,7 @@ created 4/29/2013 **************************************************************************/ - +#pragma once enum MetadataId_Custom @@ -353,3 +353,23 @@ typedef struct _CAMERA_METADATA_INTRINSICS KS_CAMERA_INTRINSICS Data; } CAMERA_METADATA_INTRINSICS, *PCAMERA_METADATA_INTRINSICS; +#if !defined(STATIC_KSPROPERTYSETID_CameraAttributes) +// Property set implemented by USBVideo.sys and accessed by devproxy +// {2A3C5205-F9C8-4F78-B110-43D534C0CA64} +#define STATIC_KSPROPERTYSETID_CameraAttributes \ + 0x2a3c5205, 0xf9c8, 0x4f78, 0xb1, 0x10, 0x43, 0xd5, 0x34, 0xc0, 0xca, 0x64 +DEFINE_GUIDSTRUCT("2A3C5205-F9C8-4F78-B110-43D534C0CA64", KSPROPERTYSETID_CameraAttributes); +#define KSPROPERTYSETID_CameraAttributes DEFINE_GUIDNAMED(KSPROPERTYSETID_CameraAttributes) + +#define KSPROPERTY_CAMERA_ATTRIBUTES_EXTRINSICS 0 +#define KSPROPERTY_CAMERA_ATTRIBUTES_INTRINSICS 1 + +#pragma message( "Defining KSCAMERA_ATTRIBUTES_HEADER" ) + +typedef +struct _KSCAMERA_ATTRIBUTES_HEADER +{ + ULONG Size; // Size of the entire payload including this header. + ULONG PinId; // The Pin this payload affects. +} KSCAMERA_ATTRIBUTES_HEADER, *PKSCAMERA_ATTRIBUTES_HEADER; +#endif |
