Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mpipe_sink Struct Reference

Sink Element Structure. More...

#include <mpipe_sink.h>

Data Fields

struct mpipe_element element
 Base element structure.
struct mpipe_pad sink_pad
 Input pad for receiving data.
int(* set_caps )(struct mpipe_sink *sink, const struct mpipe_structure *caps)
 Set a given caps to the element.
int(* propose_buffer_pool )(struct mpipe_sink *self, struct mpipe_dispatch *query)
 Propose a buffer pool to the upstream peer.

Detailed Description

Sink Element Structure.

Represents a sink element in the media pipeline. Sink elements are terminal elements that consume data from upstream elements through their sink pad.

Field Documentation

◆ element

struct mpipe_element mpipe_sink::element

Base element structure.

◆ propose_buffer_pool

int(* mpipe_sink::propose_buffer_pool) (struct mpipe_sink *self, struct mpipe_dispatch *query)

Propose a buffer pool to the upstream peer.

Parameters
selfPointer to the sink element
queryAllocation query to process
Returns
0 on success, negative errno on failure

◆ set_caps

int(* mpipe_sink::set_caps) (struct mpipe_sink *sink, const struct mpipe_structure *caps)

Set a given caps to the element.

Parameters
sinkPointer to the sink element
capsCapability to set
Returns
0 on success, negative errno on failure

◆ sink_pad

struct mpipe_pad mpipe_sink::sink_pad

Input pad for receiving data.


The documentation for this struct was generated from the following file: