35 #ifndef OPENAVB_MAP_PUB_H
36 #define OPENAVB_MAP_PUB_H 1
38 #include "openavb_types_pub.h"
45 #define MAP_NULL_OPENAVB_FORMAT 0x00
49 #define MAP_PIPE_OPENAVB_FORMAT 0x01
52 #define MAP_CTRL_OPENAVB_FORMAT 0x00
239 #endif // OPENAVB_MAP_PUB_H
openavb_map_cfg_cb_t map_cfg_cb
Configuration callback.
Definition: openavb_map_pub.h:199
openavb_map_subtype_cb_t map_subtype_cb
AVB subtype callback.
Definition: openavb_map_pub.h:201
openavb_map_rx_init_cb_t map_rx_init_cb
Initialize receive callback.
Definition: openavb_map_pub.h:217
bool(* openavb_map_rx_cb_t)(media_q_t *pMediaQ, U8 *pData, U32 datalen)
This callback occurs when running as a listener and data is available.
Definition: openavb_map_pub.h:152
void(* openavb_map_gen_init_cb_t)(media_q_t *pMediaQ)
General initialize callback regardless if a talker or listener.
Definition: openavb_map_pub.h:104
void(* openavb_map_end_cb_t)(media_q_t *pMediaQ)
This callback will be called when the stream is closing.
Definition: openavb_map_pub.h:158
void(* openavb_map_tx_init_cb_t)(media_q_t *pMediaQ)
A call to this callback indicates that this mapping module will be a talker.
Definition: openavb_map_pub.h:127
openavb_map_gen_init_cb_t map_gen_init_cb
General initialize callback.
Definition: openavb_map_pub.h:209
unsigned int(* openavb_map_get_max_interval_frames_cb_t)(media_q_t *pMediaQ, SRClassIdx_t sr_class)
Get max interval frames.
Definition: openavb_map_pub.h:193
tx_cb_ret_t(* openavb_map_tx_cb_t)(media_q_t *pMediaQ, U8 *pData, U32 *datalen)
This talker callback will be called for each AVB observation interval.
Definition: openavb_map_pub.h:136
U16(* openavb_map_max_data_size_cb_t)(media_q_t *pMediaQ)
Maximum data size callback.
Definition: openavb_map_pub.h:89
uint8_t U8
Unsigned 8 bit type.
Definition: openavb_types_base_pub.h:77
U8(* openavb_map_subtype_cb_t)()
AVB subtype callback.
Definition: openavb_map_pub.h:76
openavb_map_get_max_interval_frames_cb_t map_get_max_interval_frames_cb
Max interval frames callback.
Definition: openavb_map_pub.h:227
void(* openavb_map_gen_end_cb_t)(media_q_t *pMediaQ)
General shutdown callback regardless if a talker or listener.
Definition: openavb_map_pub.h:165
openavb_map_tx_init_cb_t map_tx_init_cb
Initialize transmit callback.
Definition: openavb_map_pub.h:213
void(* openavb_map_cfg_cb_t)(media_q_t *pMediaQ, const char *name, const char *value)
Configuration callback.
Definition: openavb_map_pub.h:70
openavb_map_gen_end_cb_t map_gen_end_cb
General shutdown callback.
Definition: openavb_map_pub.h:223
Packet will be sent on this callback interal.
Definition: openavb_map_pub.h:58
tx_cb_ret_t
Return value of talker callback.
Definition: openavb_map_pub.h:56
openavb_map_transmit_interval_cb_t map_transmit_interval_cb
Transmit interval callback.
Definition: openavb_map_pub.h:207
uint32_t U32
Unsigned 32 bit type.
Definition: openavb_types_base_pub.h:85
void(* openavb_map_avdecc_init_cb_t)(media_q_t *pMediaQ, U16 configIdx, U16 descriptorType, U16 descriptorIdx)
AVDECC initialize callback for both a talker or listener.
Definition: openavb_map_pub.h:120
Packet will be sent and the callback called immediately again.
Definition: openavb_map_pub.h:59
Mapping callbacks structure.
Definition: openavb_map_pub.h:197
U32(* openavb_map_transmit_interval_cb_t)(media_q_t *pMediaQ)
Transmit interval callback.
Definition: openavb_map_pub.h:97
openavb_map_set_src_bitrate_cb_t map_set_src_bitrate_cb
Set source bit rate callback.
Definition: openavb_map_pub.h:225
void(* openavb_map_rx_init_cb_t)(media_q_t *pMediaQ)
A call to this callback indicates that this mapping module will be a listener.
Definition: openavb_map_pub.h:144
openavb_map_tx_cb_t map_tx_cb
Transmit callback.
Definition: openavb_map_pub.h:215
openavb_map_avtp_version_cb_t map_avtp_version_cb
AVTP version callback.
Definition: openavb_map_pub.h:203
void(* openavb_map_set_src_bitrate_cb_t)(media_q_t *pMediaQ, unsigned int bitrate)
Set source bitrate callback.
Definition: openavb_map_pub.h:178
openavb_map_end_cb_t map_end_cb
Stream end callback.
Definition: openavb_map_pub.h:221
uint16_t U16
Unsigned 16 bit type.
Definition: openavb_types_base_pub.h:81
openavb_map_avdecc_init_cb_t map_avdecc_init_cb
AVDECC initialize callback.
Definition: openavb_map_pub.h:211
openavb_map_rx_cb_t map_rx_cb
Receive callback.
Definition: openavb_map_pub.h:219
bool(* openavb_map_initialize_fn_t)(media_q_t *pMediaQ, openavb_map_cb_t *pMapCB, U32 inMaxTransitUsec)
Main initialization entry point into the mapping module.
Definition: openavb_map_pub.h:237
openavb_map_max_data_size_cb_t map_max_data_size_cb
Maximum data size callback.
Definition: openavb_map_pub.h:205
SRClassIdx_t
Supported AVB classes.
Definition: openavb_types_base_pub.h:104
U8(* openavb_map_avtp_version_cb_t)()
AVTP version callback.
Definition: openavb_map_pub.h:82
Packet will not be sent on this callback interval.
Definition: openavb_map_pub.h:57