Monado OpenXR Runtime
u_sink_deinterleaver.c File Reference

An xrt_frame_sink that deinterleaves stereo frames. More...

#include "util/u_misc.h"
#include "util/u_sink.h"
#include "util/u_frame.h"
#include "util/u_trace_marker.h"
Include dependency graph for u_sink_deinterleaver.c:

Data Structures

struct  u_sink_deinterleaver
 An xrt_frame_sink that deinterleaves stereo frames. More...
 

Functions

static void L8_interleaved_to_L8 (const uint8_t *input, uint8_t *l8a, uint8_t *l8b)
 
static void from_L8_interleaved_to_L8 (struct xrt_frame *frame, uint32_t w, uint32_t h, size_t stride, const uint8_t *data)
 
static void deinterleave_frame (struct xrt_frame_sink *xfs, struct xrt_frame *xf)
 
static void deinterleave_break_apart (struct xrt_frame_node *node)
 
static void deinterleave_destroy (struct xrt_frame_node *node)
 
void u_sink_deinterleaver_create (struct xrt_frame_context *xfctx, struct xrt_frame_sink *downstream, struct xrt_frame_sink **out_xfs)
 

Detailed Description