Monado OpenXR Runtime
Data Structures | Functions
u_sink_converter.c File Reference

xrt_frame_sink converters and other helpers. More...

#include "xrt/xrt_config_have.h"
#include "util/u_misc.h"
#include "util/u_sink.h"
#include "util/u_frame.h"
#include "util/u_format.h"
#include <stdio.h>
Include dependency graph for u_sink_converter.c:

Data Structures

struct  u_sink_converter
 

Functions

void u_sink_create_format_converter (struct xrt_frame_context *xfctx, enum xrt_format f, struct xrt_frame_sink *downstream, struct xrt_frame_sink **out_xfs)
 
void u_sink_create_to_r8g8b8_or_l8 (struct xrt_frame_context *xfctx, struct xrt_frame_sink *downstream, struct xrt_frame_sink **out_xfs)
 
void u_sink_create_to_yuv_yuyv_uyvy_or_l8 (struct xrt_frame_context *xfctx, struct xrt_frame_sink *downstream, struct xrt_frame_sink **out_xfs)
 
void u_sink_create_to_yuv_or_yuyv (struct xrt_frame_context *xfctx, struct xrt_frame_sink *downstream, struct xrt_frame_sink **out_xfs)
 

Detailed Description

xrt_frame_sink converters and other helpers.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ u_sink_create_format_converter()

void u_sink_create_format_converter ( struct xrt_frame_context xfctx,
enum xrt_format  f,
struct xrt_frame_sink downstream,
struct xrt_frame_sink **  out_xfs 
)

◆ u_sink_create_to_r8g8b8_or_l8()

void u_sink_create_to_r8g8b8_or_l8 ( struct xrt_frame_context xfctx,
struct xrt_frame_sink downstream,
struct xrt_frame_sink **  out_xfs 
)

◆ u_sink_create_to_yuv_or_yuyv()

void u_sink_create_to_yuv_or_yuyv ( struct xrt_frame_context xfctx,
struct xrt_frame_sink downstream,
struct xrt_frame_sink **  out_xfs 
)

◆ u_sink_create_to_yuv_yuyv_uyvy_or_l8()

void u_sink_create_to_yuv_yuyv_uyvy_or_l8 ( struct xrt_frame_context xfctx,
struct xrt_frame_sink downstream,
struct xrt_frame_sink **  out_xfs 
)