2023-09-29 12:28:17 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 14:08:49 +03:00
|
|
|
|
2023-11-07 22:56:28 +03:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_HasCamera( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetCameraIntrinisics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader, params->nFrameHeaderSize );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|