![]() |
XeSS-SR SDK API Reference Guide 2.0.2
|
Functions | |
| XESS_API xess_result_t | xessGetVersion (xess_version_t *pVersion) |
| Gets the XeSS version. This is baked into the XeSS SDK release. | |
| XESS_API xess_result_t | xessGetIntelXeFXVersion (xess_context_handle_t hContext, xess_version_t *pVersion) |
| Gets the version of the loaded Intel XeFX library. When running on Intel platforms this function will return the version of the loaded Intel XeFX library, for other platforms 0.0.0 will be returned. | |
| XESS_API xess_result_t | xessGetProperties (xess_context_handle_t hContext, const xess_2d_t *pOutputResolution, xess_properties_t *pBindingProperties) |
| Gets XeSS internal resources properties. | |
| XESS_API xess_result_t | xessGetInputResolution (xess_context_handle_t hContext, const xess_2d_t *pOutputResolution, xess_quality_settings_t qualitySettings, xess_2d_t *pInputResolution) |
| Get the input resolution for a specified output resolution for a given quality setting. XeSS expects all the input buffers except motion vectors to be in the returned resolution. Motion vectors can be either in output resolution (XESS_INIT_FLAG_HIGH_RES_MV) or returned resolution (default). | |
| XESS_API xess_result_t | xessGetOptimalInputResolution (xess_context_handle_t hContext, const xess_2d_t *pOutputResolution, xess_quality_settings_t qualitySettings, xess_2d_t *pInputResolutionOptimal, xess_2d_t *pInputResolutionMin, xess_2d_t *pInputResolutionMax) |
| Get the optimal input resolution and possible range for a specified output resolution for a given quality setting. XeSS expects all the input buffers except motion vectors to be in the returned resolution range and all input buffers to be in the same resolution. Motion vectors can be either in output resolution (XESS_INIT_FLAG_HIGH_RES_MV) or in the same resolution as other input buffers (by default). | |
| XESS_API xess_result_t | xessGetJitterScale (xess_context_handle_t hContext, float *pX, float *pY) |
| Gets jitter scale value. | |
| XESS_API xess_result_t | xessGetVelocityScale (xess_context_handle_t hContext, float *pX, float *pY) |
| Gets velocity scale value. | |
| XESS_API xess_result_t | xessDestroyContext (xess_context_handle_t hContext) |
| Destroys the XeSS context. The user must ensure that any pending command lists are completed before destroying the context. | |
| XESS_API xess_result_t | xessSetJitterScale (xess_context_handle_t hContext, float x, float y) |
| Sets jitter scale value. | |
| XESS_API xess_result_t | xessSetVelocityScale (xess_context_handle_t hContext, float x, float y) |
| Sets velocity scale value. | |
| XESS_API xess_result_t | xessSetExposureMultiplier (xess_context_handle_t hContext, float scale) |
| Sets exposure scale value. | |
| XESS_API xess_result_t | xessGetExposureMultiplier (xess_context_handle_t hContext, float *pScale) |
| Gets exposure scale value. | |
| XESS_API xess_result_t | xessSetMaxResponsiveMaskValue (xess_context_handle_t hContext, float value) |
| Sets maximum value for responsive mask. | |
| XESS_API xess_result_t | xessGetMaxResponsiveMaskValue (xess_context_handle_t hContext, float *pValue) |
| Gets maximum value for responsive mask. | |
| XESS_API xess_result_t | xessSetLoggingCallback (xess_context_handle_t hContext, xess_logging_level_t loggingLevel, xess_app_log_callback_t loggingCallback) |
| Sets logging callback. | |
| XESS_API xess_result_t | xessIsOptimalDriver (xess_context_handle_t hContext) |
| Indicates if the installed driver supports best XeSS experience. | |
| XESS_API xess_result_t | xessForceLegacyScaleFactors (xess_context_handle_t hContext, bool force) |
| Forces usage of legacy (pre 1.3.0) scale factors. | |
| XESS_API xess_result_t | xessGetPipelineBuildStatus (xess_context_handle_t hContext) |
| Returns current state of pipeline build This function can only be called after xess*BuildPipelines and before corresponding xess*Init. This call returns XESS_RESULT_SUCCESS if pipelines already built, and XESS_RESULT_ERROR_OPERATION_IN_PROGRESS if pipline build is in progress. If function called before XeSS API exports*BuildPipelines or after XeSS API exports*Init - XESS_RESULT_ERROR_WRONG_CALL_ORDER will be returned. | |
| XESS_API xess_result_t xessDestroyContext | ( | xess_context_handle_t | hContext | ) |
Destroys the XeSS context. The user must ensure that any pending command lists are completed before destroying the context.
| hContext | The XeSS context handle. |
| XESS_API xess_result_t xessForceLegacyScaleFactors | ( | xess_context_handle_t | hContext, |
| bool | force ) |
Forces usage of legacy (pre 1.3.0) scale factors.
Following scale factors will be applied:
| hContext | The XeSS context handle. |
| force | if set to true legacy scale factors will be forced, if set to false - scale factors will be selected by XeSS |
| XESS_API xess_result_t xessGetExposureMultiplier | ( | xess_context_handle_t | hContext, |
| float * | pScale ) |
Gets exposure scale value.
| hContext | The XeSS context handle. | |
| [out] | pScale | Exposure scale pointer. |
| XESS_API xess_result_t xessGetInputResolution | ( | xess_context_handle_t | hContext, |
| const xess_2d_t * | pOutputResolution, | ||
| xess_quality_settings_t | qualitySettings, | ||
| xess_2d_t * | pInputResolution ) |
Get the input resolution for a specified output resolution for a given quality setting. XeSS expects all the input buffers except motion vectors to be in the returned resolution. Motion vectors can be either in output resolution (XESS_INIT_FLAG_HIGH_RES_MV) or returned resolution (default).
| hContext | The XeSS context handle. | |
| pOutputResolution | Output resolution to calculate input resolution for. | |
| qualitySettings | Desired quality setting. | |
| [out] | pInputResolution | Required input resolution. |
| XESS_API xess_result_t xessGetIntelXeFXVersion | ( | xess_context_handle_t | hContext, |
| xess_version_t * | pVersion ) |
Gets the version of the loaded Intel XeFX library. When running on Intel platforms this function will return the version of the loaded Intel XeFX library, for other platforms 0.0.0 will be returned.
| hContext | The XeSS context handle. | |
| [out] | pVersion | Returned Intel XeFX library version. |
| XESS_API xess_result_t xessGetJitterScale | ( | xess_context_handle_t | hContext, |
| float * | pX, | ||
| float * | pY ) |
Gets jitter scale value.
| hContext | The XeSS context handle. | |
| [out] | pX | Jitter scale pointer for the X axis. |
| [out] | pY | Jitter scale pointer for the Y axis. |
| XESS_API xess_result_t xessGetMaxResponsiveMaskValue | ( | xess_context_handle_t | hContext, |
| float * | pValue ) |
Gets maximum value for responsive mask.
| hContext | The XeSS context handle. | |
| [out] | pValue | maximum clip value pointer. |
| XESS_API xess_result_t xessGetOptimalInputResolution | ( | xess_context_handle_t | hContext, |
| const xess_2d_t * | pOutputResolution, | ||
| xess_quality_settings_t | qualitySettings, | ||
| xess_2d_t * | pInputResolutionOptimal, | ||
| xess_2d_t * | pInputResolutionMin, | ||
| xess_2d_t * | pInputResolutionMax ) |
Get the optimal input resolution and possible range for a specified output resolution for a given quality setting. XeSS expects all the input buffers except motion vectors to be in the returned resolution range and all input buffers to be in the same resolution. Motion vectors can be either in output resolution (XESS_INIT_FLAG_HIGH_RES_MV) or in the same resolution as other input buffers (by default).
| hContext | The XeSS context handle. | |
| pOutputResolution | Output resolution to calculate input resolution for. | |
| qualitySettings | Desired quality setting. | |
| [out] | pInputResolutionOptimal | Optimal input resolution. |
| [out] | pInputResolutionMin | Required minimal input resolution. |
| [out] | pInputResolutionMax | Required maximal input resolution. |
| XESS_API xess_result_t xessGetPipelineBuildStatus | ( | xess_context_handle_t | hContext | ) |
Returns current state of pipeline build This function can only be called after xess*BuildPipelines and before corresponding xess*Init. This call returns XESS_RESULT_SUCCESS if pipelines already built, and XESS_RESULT_ERROR_OPERATION_IN_PROGRESS if pipline build is in progress. If function called before XeSS API exports*BuildPipelines or after XeSS API exports*Init - XESS_RESULT_ERROR_WRONG_CALL_ORDER will be returned.
| hContext | The XeSS context handle. |
| XESS_API xess_result_t xessGetProperties | ( | xess_context_handle_t | hContext, |
| const xess_2d_t * | pOutputResolution, | ||
| xess_properties_t * | pBindingProperties ) |
Gets XeSS internal resources properties.
| hContext | The XeSS context handle. | |
| pOutputResolution | Output resolution to calculate properties for. | |
| [out] | pBindingProperties | Returned properties. |
| XESS_API xess_result_t xessGetVelocityScale | ( | xess_context_handle_t | hContext, |
| float * | pX, | ||
| float * | pY ) |
Gets velocity scale value.
| hContext | The XeSS context handle. | |
| [out] | pX | Velocity scale pointer for the X axis. |
| [out] | pY | Velocity scale pointer for the Y axis. |
| XESS_API xess_result_t xessGetVersion | ( | xess_version_t * | pVersion | ) |
Gets the XeSS version. This is baked into the XeSS SDK release.
| [out] | pVersion | Returned XeSS version. |
| XESS_API xess_result_t xessIsOptimalDriver | ( | xess_context_handle_t | hContext | ) |
Indicates if the installed driver supports best XeSS experience.
| hContext | The XeSS context handle. |
| XESS_API xess_result_t xessSetExposureMultiplier | ( | xess_context_handle_t | hContext, |
| float | scale ) |
Sets exposure scale value.
This value will be applied on top of any passed exposure value or automatically calculated exposure.
| hContext | The XeSS context handle. |
| scale | scale value. |
| XESS_API xess_result_t xessSetJitterScale | ( | xess_context_handle_t | hContext, |
| float | x, | ||
| float | y ) |
Sets jitter scale value.
| hContext | The XeSS context handle. |
| x | scale for the X axis |
| y | scale for the Y axis |
| XESS_API xess_result_t xessSetLoggingCallback | ( | xess_context_handle_t | hContext, |
| xess_logging_level_t | loggingLevel, | ||
| xess_app_log_callback_t | loggingCallback ) |
Sets logging callback.
| hContext | The XeSS context handle. |
| loggingLevel | Minimum logging level for logging callback. |
| loggingCallback | Logging callback |
| XESS_API xess_result_t xessSetMaxResponsiveMaskValue | ( | xess_context_handle_t | hContext, |
| float | value ) |
Sets maximum value for responsive mask.
This value used to clip responsive mask values. Final responsive mask value calculated as clip(responsive_mask, 0.0, max_value). Value must be within range [0.0; 1.0]
| hContext | The XeSS context handle. |
| value | maximum clip value. |
| XESS_API xess_result_t xessSetVelocityScale | ( | xess_context_handle_t | hContext, |
| float | x, | ||
| float | y ) |
Sets velocity scale value.
| hContext | The XeSS context handle. |
| x | scale for the X axis |
| y | scale for the Y axis |