The open source OpenXR runtime
at prediction-2 45 lines 786 B view raw
1// Copyright 2020-2021, Collabora, Ltd. 2// SPDX-License-Identifier: BSL-1.0 3/*! 4 * @file 5 * @brief Header 6 * @author Christoph Haag <christoph.haag@collabora.com> 7 * @ingroup drv_vf 8 */ 9 10#pragma once 11 12#include "xrt/xrt_frameserver.h" 13 14 15#ifdef __cplusplus 16extern "C" { 17#endif 18 19/*! 20 * @defgroup drv_vf Video Fileframeserver driver 21 * @ingroup drv 22 * 23 * @brief Frameserver using a video file. 24 */ 25 26/*! 27 * Create a vf frameserver by opening a video file. 28 * 29 * @ingroup drv_vf 30 */ 31struct xrt_fs * 32vf_fs_open_file(struct xrt_frame_context *xfctx, const char *path); 33 34/*! 35 * Create a vf frameserver that uses the videotestsource. 36 * 37 * @ingroup drv_vf 38 */ 39struct xrt_fs * 40vf_fs_videotestsource(struct xrt_frame_context *xfctx, uint32_t width, uint32_t height); 41 42 43#ifdef __cplusplus 44} 45#endif