2023-09-29 11:28:17 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 13:08:49 +02:00
|
|
|
|
2023-11-07 20:56:28 +01:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_HasCamera( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->HasCamera( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetCameraFirmwareDescription( params->nDeviceIndex, params->pBuffer, params->nBufferLen );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetCameraFrameDimensions( params->nDeviceIndex, params->nVideoStreamFormat, params->pWidth, params->pHeight );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetCameraVideoStreamFormat( params->nDeviceIndex, params->nVideoStreamFormat );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetCameraVideoStreamFormat( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->EnableCameraForStreaming( params->nDeviceIndex, params->bEnable );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->StartVideoStream( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->StopVideoStream( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsVideoStreamActive( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetVideoStreamElapsedTime( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
|
|
|
u_CameraVideoStreamFrame_t_0914 u_pFrameImage;
|
|
|
|
if (params->pFrameImage) u_pFrameImage = *params->pFrameImage;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ReleaseVideoStreamFrame( params->nDeviceIndex, params->pFrameImage ? &u_pFrameImage : nullptr );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetAutoExposure( params->nDeviceIndex, params->bEnable );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->PauseVideoStream( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ResumeVideoStream( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsVideoStreamPaused( params->nDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetCameraDistortion( params->nDeviceIndex, params->flInputU, params->flInputV, params->pflOutputU, params->pflOutputV );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( void *args )
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->flWidthPixels, params->flHeightPixels, params->flZNear, params->flZFar, params->pProjection );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|