45 XAresult XAEngineItfImpl_CreateCameraDevice(XAEngineItf self, |
45 XAresult XAEngineItfImpl_CreateCameraDevice(XAEngineItf self, |
46 XAObjectItf *pDevice, XAuint32 deviceID, XAuint32 numInterfaces, |
46 XAObjectItf *pDevice, XAuint32 deviceID, XAuint32 numInterfaces, |
47 const XAInterfaceID *pInterfaceIds, |
47 const XAInterfaceID *pInterfaceIds, |
48 const XAboolean *pInterfaceRequired) |
48 const XAboolean *pInterfaceRequired) |
49 { |
49 { |
|
50 #ifdef OMAX_CAMERABIN |
50 XAEngineItfImpl* impl = GetImpl(self); |
51 XAEngineItfImpl* impl = GetImpl(self); |
51 #ifdef OMAX_CAMERABIN |
|
52 return XACameraDeviceImpl_CreateCameraDevice( impl->mapper,impl->capabilities, |
52 return XACameraDeviceImpl_CreateCameraDevice( impl->mapper,impl->capabilities, |
53 pDevice, deviceID,numInterfaces, |
53 pDevice, deviceID,numInterfaces, |
54 pInterfaceIds, pInterfaceRequired ); |
54 pInterfaceIds, pInterfaceRequired ); |
55 #else |
55 #else |
56 return XA_RESULT_FEATURE_UNSUPPORTED; |
56 return XA_RESULT_FEATURE_UNSUPPORTED; |