face tracking related API entrypoint functions.
More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "util/u_trace_marker.h"
#include "oxr_objects.h"
#include "oxr_logger.h"
#include "oxr_api_funcs.h"
#include "oxr_api_verify.h"
#include "oxr_handle.h"
|
XRAPI_ATTR XrResult XRAPI_CALL | oxr_xrCreateFacialTrackerHTC (XrSession session, const XrFacialTrackerCreateInfoHTC *createInfo, XrFacialTrackerHTC *facialTracker) |
|
XRAPI_ATTR XrResult XRAPI_CALL | oxr_xrDestroyFacialTrackerHTC (XrFacialTrackerHTC facialTracker) |
|
XRAPI_ATTR XrResult XRAPI_CALL | oxr_xrGetFacialExpressionsHTC (XrFacialTrackerHTC facialTracker, XrFacialExpressionsHTC *facialExpressions) |
|
◆ OXR_VERIFY_FACE_EXPRESSION_COUNT
#define OXR_VERIFY_FACE_EXPRESSION_COUNT |
( |
|
fttype | ) |
|
Value: if (facial_tracker_htc->facial_tracking_type == XRT_FACIAL_TRACKING_TYPE_##fttype##_DEFAULT_HTC && \
facialExpressions->expressionCount < XRT_FACIAL_EXPRESSION_##fttype##_COUNT_HTC) { \
&log, XR_ERROR_SIZE_INSUFFICIENT, \
"\"expressionCount\" (%d) size is less than the minimum size (%d) required for " #fttype \
" expressions.\n", \
facialExpressions->expressionCount, XRT_FACIAL_EXPRESSION_##fttype##_COUNT_HTC); \
}
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:203