mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-29 16:15:52 +03:00
37785cfbd3
CW-Bug-Id: #22729
116 lines
7.4 KiB
C++
116 lines
7.4 KiB
C++
/* This file is auto-generated, do not edit. */
|
|
#include "unix_private.h"
|
|
|
|
#if 0
|
|
#pragma makedep unix
|
|
#endif
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_HasCamera( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader;
|
|
if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader;
|
|
uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0;
|
|
params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize );
|
|
if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader;
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader;
|
|
if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader;
|
|
uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0;
|
|
params->_ret = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize );
|
|
if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader;
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader;
|
|
if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader;
|
|
uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0;
|
|
params->_ret = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize );
|
|
if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader;
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( void *args )
|
|
{
|
|
struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *)args;
|
|
struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side;
|
|
params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId );
|
|
return 0;
|
|
}
|
|
|