![]() |
Maestro Audio Framework v 1.5
NXP Semiconductors
|
This file contains the streamer element pad implementation. More...
Functions | |
| static FlowReturn | pad_chain (StreamPad *pad, StreamBuffer *buffer) |
| Function for processing the pad chain handler. More... | |
| static FlowReturn | pad_pull (StreamPad *pad, uint32_t offset, uint32_t size, StreamBuffer *buffer) |
| Function for processing the pad pull handler. More... | |
| static void | pre_activate (StreamPad *pad, PadScheduling new_mode) |
| Pre activation function. More... | |
| static void | post_activate (StreamPad *pad, PadScheduling new_mode) |
| Post activation function. More... | |
| static FlowReturn | event_create (StreamEvent *event, EventType type, StreamDataFormat format, uint32_t data) |
| Create event to be sent to another pad. More... | |
| FlowReturn | init_pad (StreamPad *pad, void *parent, PadType type) |
| Pad initialization function. More... | |
| FlowReturn | deinit_pad (StreamPad *pad) |
| Pad deinitialization function. More... | |
| FlowReturn | pad_push (StreamPad *pad, StreamBuffer *buffer) |
| Push the data buffer to the peer pad. More... | |
| FlowReturn | pad_pull_range (StreamPad *pad, uint32_t offset, uint32_t size, StreamBuffer *buffer) |
| Pull the data buffer from the peer pad. More... | |
| uint8_t | pad_push_event (StreamPad *pad, StreamEvent *event) |
| Push event to the peer pad. More... | |
| uint8_t | pad_send_event (StreamPad *pad, StreamEvent *event) |
| Send the event to the element where it will be handled by a handler function. More... | |
| uint8_t | activate_pad (StreamPad *pad, uint8_t activate) |
| Call the appropriate pad activation function. More... | |
| uint8_t | pad_activate_pull (StreamPad *pad, uint8_t active) |
| Pad activation/deactivation in pull mode. More... | |
| uint8_t | pad_activate_push (StreamPad *pad, uint8_t active) |
| Pad activation/deactivation in push mode. More... | |
| FlowReturn | event_create_flush_start (StreamEvent *event) |
| Create flush start event. More... | |
| FlowReturn | event_create_flush_stop (StreamEvent *event) |
| Create flush stop event. More... | |
| FlowReturn | event_create_eos (StreamEvent *event) |
| Create end of stream event. More... | |
| FlowReturn | event_create_new_segment (StreamEvent *event, StreamDataFormat format, uint32_t data) |
| Create new segment event. More... | |
| FlowReturn | event_create_seek (StreamEvent *event, StreamDataFormat format, uint32_t data) |
| Create seek event. More... | |
| uint8_t | pad_query (StreamPad *pad, StreamQuery *query) |
| Send a query to a pad. More... | |
| FlowReturn | query_create (StreamQuery *query, StreamInfoType type, StreamDataFormat format, StreamDataType data_type, StreamData *data) |
| Create a query for element or pipeline. More... | |
|
static |
| pad | sink pad that needs to process the chain handler |
| buffer | buffer to be processed |
|
static |
| pad | source pad that needs to process the pull handler |
| offset | position in the source buffer |
| size | size to be read |
| buffer | buffer to be filled |
|
static |
| pad | pad to be activated |
| new_mode | scheduling mode to be applied |
|
static |
| pad | pad to be activated |
| new_mode | scheduling mode to be applied |
|
static |
| event | event object |
| type | type of event |
| format | event format |
| data | event data |
| FlowReturn init_pad | ( | StreamPad * | pad, |
| void * | parent, | ||
| PadType | type | ||
| ) |
| pad | pad object |
| parent | parent element object |
| type | pad type |
| FlowReturn deinit_pad | ( | StreamPad * | pad | ) |
| pad | pad object |
| FlowReturn pad_push | ( | StreamPad * | pad, |
| StreamBuffer * | buffer | ||
| ) |
| pad | pad object |
| buffer | data buffer |
| FlowReturn pad_pull_range | ( | StreamPad * | pad, |
| uint32_t | offset, | ||
| uint32_t | size, | ||
| StreamBuffer * | buffer | ||
| ) |
| pad | pad object |
| offset | offset position to be read from |
| size | size to be read |
| buffer | data buffer to be filled |
| uint8_t pad_push_event | ( | StreamPad * | pad, |
| StreamEvent * | event | ||
| ) |
| pad | pad object |
| event | event object |
| uint8_t pad_send_event | ( | StreamPad * | pad, |
| StreamEvent * | event | ||
| ) |
| pad | pad object |
| event | event object |
| uint8_t activate_pad | ( | StreamPad * | pad, |
| uint8_t | activate | ||
| ) |
| pad | pad object |
| activate | activation/deactivation flag |
| uint8_t pad_activate_pull | ( | StreamPad * | pad, |
| uint8_t | active | ||
| ) |
| pad | pad object |
| active | activation/deactivation flag |
| uint8_t pad_activate_push | ( | StreamPad * | pad, |
| uint8_t | active | ||
| ) |
| pad | pad object |
| active | activation/deactivation flag |
| FlowReturn event_create_flush_start | ( | StreamEvent * | event | ) |
| event | event object |
| FlowReturn event_create_flush_stop | ( | StreamEvent * | event | ) |
| event | event object |
| FlowReturn event_create_eos | ( | StreamEvent * | event | ) |
| event | event object |
| FlowReturn event_create_new_segment | ( | StreamEvent * | event, |
| StreamDataFormat | format, | ||
| uint32_t | data | ||
| ) |
| event | event object |
| format | data format |
| data | data object |
| FlowReturn event_create_seek | ( | StreamEvent * | event, |
| StreamDataFormat | format, | ||
| uint32_t | data | ||
| ) |
| event | event object |
| format | data format |
| data | data object |
| uint8_t pad_query | ( | StreamPad * | pad, |
| StreamQuery * | query | ||
| ) |
| pad | pad object |
| query | query object |
| FlowReturn query_create | ( | StreamQuery * | query, |
| StreamInfoType | type, | ||
| StreamDataFormat | format, | ||
| StreamDataType | data_type, | ||
| StreamData * | data | ||
| ) |
| query | query object to be created |
| type | type of information to be queried |
| format | data format |
| data_type | data type |
| data | data object |