XeSS-SR SDK API Reference Guide 2.0.2
Loading...
Searching...
No Matches
xess_debug.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (C) 2021 Intel Corporation
3 *
4 * This software and the related documents are Intel copyrighted materials, and
5 * your use of them is governed by the express license under which they were
6 * provided to you ("License"). Unless the License provides otherwise, you may
7 * not use, modify, copy, publish, distribute, disclose or transmit this
8 * software or the related documents without Intel's prior written permission.
9 *
10 * This software and the related documents are provided as is, with no express
11 * or implied warranties, other than those that are expressly stated in the
12 * License.
13 ******************************************************************************/
14
15
16#ifndef XESS_DEBUG_H
17#define XESS_DEBUG_H
18
19#include "xess.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#ifndef XESS_DEBUG_ENABLE_PROFILING
26#define XESS_DEBUG_ENABLE_PROFILING (1U << 30)
27#endif
28
42
58
60
86
100
116
117
120
121
128
150
151
168
170
171// Enum size checks. All enums must be 4 bytes
172typedef char sizecheck__LINE__[ (sizeof(xess_network_model_t) == 4) ? 1 : -1];
173typedef char sizecheck__LINE__[ (sizeof(xess_dump_element_bits_t) == 4) ? 1 : -1];
174
175#ifdef __cplusplus
176}
177#endif
178
179#endif
XESS_API xess_result_t xessSelectNetworkModel(xess_context_handle_t hContext, xess_network_model_t network)
Select network to be used by XeSS.
XESS_API xess_result_t xessStartDump(xess_context_handle_t hContext, const xess_dump_parameters_t *dump_parameters)
Dumps sequence of frames to the provided folder.
XESS_API xess_result_t xessGetProfilingData(xess_context_handle_t hContext, xess_profiling_data_t **pProfilingData)
Query XeSS model performance data for past executions. To enable performance collection,...
xess_dump_elements_mask_t dump_elements_mask
Definition xess_debug.h:80
const char *const * gpu_duration_names
Definition xess_debug.h:95
const double * gpu_duration_values
Definition xess_debug.h:97
xess_profiled_frame_data_t * frames
Definition xess_debug.h:107
uint32_t any_profiling_data_in_flight
Definition xess_debug.h:113
#define XESS_PACK_E()
Definition xess.h:38
enum _xess_result_t xess_result_t
XeSS return codes.
#define XESS_PACK_B()
Definition xess.h:39
char sizecheck__LINE__[(sizeof(xess_quality_settings_t)==4) ? 1 :-1]
Definition xess.h:424
#define XESS_API
Definition xess.h:29
struct _xess_context_handle_t * xess_context_handle_t
Definition xess.h:47
enum _xess_network_model_t xess_network_model_t
XeSS network type.
uint32_t xess_dump_elements_mask_t
Definition xess_debug.h:59
enum _xess_dump_element_bits_t xess_dump_element_bits_t
struct _xess_dump_parameters_t xess_dump_parameters_t
struct _xess_profiled_frame_data_t xess_profiled_frame_data_t
_xess_network_model_t
XeSS network type.
Definition xess_debug.h:33
@ XESS_NETWORK_MODEL_5
Definition xess_debug.h:38
@ XESS_NETWORK_MODEL_KPSS
Definition xess_debug.h:34
@ XESS_NETWORK_MODEL_4
Definition xess_debug.h:37
@ XESS_NETWORK_MODEL_SPLAT
Definition xess_debug.h:35
@ XESS_NETWORK_MODEL_UNKNOWN
Definition xess_debug.h:40
@ XESS_NETWORK_MODEL_3
Definition xess_debug.h:36
@ XESS_NETWORK_MODEL_6
Definition xess_debug.h:39
struct _xess_profiling_data_t xess_profiling_data_t
_xess_dump_element_bits_t
Definition xess_debug.h:44
@ XESS_DUMP_INPUT_RESPONSIVE_PIXEL_MASK
Definition xess_debug.h:49
@ XESS_DUMP_ALL
Definition xess_debug.h:56
@ XESS_DUMP_ALL_INPUTS
Definition xess_debug.h:53
@ XESS_DUMP_EXECUTION_PARAMETERS
All parameters passed to xessExecute.
Definition xess_debug.h:52
@ XESS_DUMP_INPUT_COLOR
Definition xess_debug.h:45
@ XESS_DUMP_INPUT_VELOCITY
Definition xess_debug.h:46
@ XESS_DUMP_INPUT_EXPOSURE_SCALE
Definition xess_debug.h:48
@ XESS_DUMP_INPUT_DEPTH
Definition xess_debug.h:47
@ XESS_DUMP_OUTPUT
Definition xess_debug.h:50
@ XESS_DUMP_HISTORY
Definition xess_debug.h:51