2019-07-23 12:38:58 +00:00
|
|
|
// Copyright 2019, Collabora, Ltd.
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
/*!
|
|
|
|
* @file
|
2019-08-20 11:17:24 +00:00
|
|
|
* @brief @ref xrt_frame_sink converters and other helpers.
|
2019-07-23 12:38:58 +00:00
|
|
|
* @author Jakob Bornecrantz <jakob@collabora.com>
|
|
|
|
* @ingroup aux_util
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-08-20 11:17:24 +00:00
|
|
|
#include "xrt/xrt_frame.h"
|
2019-07-23 12:38:58 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
u_sink_create_format_converter(enum xrt_format f,
|
2019-08-20 11:17:24 +00:00
|
|
|
struct xrt_frame_sink *downstream,
|
|
|
|
struct xrt_frame_sink **out_xfs);
|
2019-07-23 12:38:58 +00:00
|
|
|
|
2019-08-05 18:20:53 +00:00
|
|
|
void
|
|
|
|
u_sink_create_to_yuv_or_yuyv(struct xrt_frame_sink *downstream,
|
|
|
|
struct xrt_frame_sink **out_xfs);
|
|
|
|
|
2019-07-23 12:38:58 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|