InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IConvertDepthImageStreamData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: jargast
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __IConvertDepthImageStreamData__
25 #define __IConvertDepthImageStreamData__
26 
27 #include "IPMUnknown.h"
28 
38 {
39 public:
47  typedef enum
48  {
49  kConvertFromP8Hi = 1,
50  kConvertFromP8Low = 2,
51  kConvertToP8Hi = 3,
52  kConvertToP8Low = 4
53  } ConvertType;
54 
64  typedef struct {
65  uint32 width;
66  uint32 bitdepth;
67  uint32 numberOfChannels;
68  uint8 threshold;
69  uint8 unused[3]; //long align
70  ConvertType convertType;
72 
78  virtual void SetConvertDepthInfo (const ConvertDepthInfo& convertDepthInfo) = 0;
79 
85  virtual void GetConvertDepthInfo (ConvertDepthInfo* convertDepthInfo) const = 0;
86 
87 };
88 
89 #endif