MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / isPropertySupported

Method isPropertySupported

src/openni2/ColorStream.cpp:137–150  ·  view source on GitHub ↗

from StreamBase

Source from the content-addressed store, hash-verified

135
136// from StreamBase
137OniBool ColorStream::isPropertySupported(int propertyId)
138{
139 switch(propertyId)
140 {
141 default:
142 return VideoStream::isPropertySupported(propertyId);
143
144 case ONI_STREAM_PROPERTY_HORIZONTAL_FOV:
145 case ONI_STREAM_PROPERTY_VERTICAL_FOV:
146 case ONI_STREAM_PROPERTY_AUTO_WHITE_BALANCE:
147 case ONI_STREAM_PROPERTY_AUTO_EXPOSURE:
148 return true;
149 }
150}
151
152OniStatus ColorStream::getProperty(int propertyId, void* data, int* pDataSize)
153{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected