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
|
|
|
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (const char *)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_003_HasCamera( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)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_003_GetCameraFrameSize( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)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_003_GetCameraIntrinsics( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)iface->GetCameraIntrinsics( 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_003_GetCameraProjection( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)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_003_AcquireVideoStreamingService( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)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_003_ReleaseVideoStreamingService( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)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_003_GetVideoStreamFrameBuffer( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)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
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight );
|
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_003_GetVideoStreamTextureD3D11( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader, params->nFrameHeaderSize );
|
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_003_GetVideoStreamTextureGL( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader, params->nFrameHeaderSize );
|
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_003_ReleaseVideoStreamTextureGL( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|