ED247 Library
VA2.3.0
Implementation of ED247-A standard
|
Typedefs | |
typedef ed247_status_t(* | ed247_stream_recv_callback_t) (ed247_context_t context, ed247_stream_t stream) |
Stream receive callback function pointer. More... | |
Functions | |
LIBED247_EXPORT ed247_status_t | ed247_stream_register_recv_callback (ed247_context_t context, ed247_stream_t stream, ed247_stream_recv_callback_t callback) |
Register a callback (in a stream) which is called once a frame is received and decoded. More... | |
LIBED247_EXPORT ed247_status_t | ed247_stream_unregister_recv_callback (ed247_context_t context, ed247_stream_t stream, ed247_stream_recv_callback_t callback) |
Unregister a callback (from a stream) which is called once a frame is received and decoded. More... | |
LIBED247_EXPORT ed247_status_t | ed247_streams_register_recv_callback (ed247_context_t context, ed247_stream_list_t streams, ed247_stream_recv_callback_t callback) |
Register a callback (in several streams as once) which is called once a frame is received and decoded. More... | |
LIBED247_EXPORT ed247_status_t | ed247_streams_unregister_recv_callback (ed247_context_t context, ed247_stream_list_t streams, ed247_stream_recv_callback_t callback) |
Unregister a callback (from several streams as once) which is called once a frame is received and decoded. More... | |
LIBED247_EXPORT ed247_status_t | ed247_register_recv_callback (ed247_context_t context, ed247_stream_recv_callback_t callback) |
Register a callback (in all streams) which is called once a frame is received and decoded. More... | |
LIBED247_EXPORT ed247_status_t | ed247_unregister_recv_callback (ed247_context_t context, ed247_stream_recv_callback_t callback) |
Unegister a callback (in all streams) which is called once a frame is received and decoded. More... | |
typedef ed247_status_t(* ed247_stream_recv_callback_t) (ed247_context_t context, ed247_stream_t stream) |
Stream receive callback function pointer.
The decoding of the current frame will be aborted if the callback do not return ED247_STATUS_SUCCESS.
LIBED247_EXPORT ed247_status_t ed247_stream_register_recv_callback | ( | ed247_context_t | context, |
ed247_stream_t | stream, | ||
ed247_stream_recv_callback_t | callback | ||
) |
Register a callback (in a stream) which is called once a frame is received and decoded.
[in] | context | |
[in] | stream | Stream identifier |
[in] | callback | The callback function |
ED247_STATUS_SUCCESS | |
ED247_STATUS_FAILURE |
LIBED247_EXPORT ed247_status_t ed247_stream_unregister_recv_callback | ( | ed247_context_t | context, |
ed247_stream_t | stream, | ||
ed247_stream_recv_callback_t | callback | ||
) |
Unregister a callback (from a stream) which is called once a frame is received and decoded.
[in] | context | |
[in] | stream | Stream identifier |
[in] | callback | The callback function |
ED247_STATUS_SUCCESS | |
ED247_STATUS_FAILURE |
LIBED247_EXPORT ed247_status_t ed247_streams_register_recv_callback | ( | ed247_context_t | context, |
ed247_stream_list_t | streams, | ||
ed247_stream_recv_callback_t | callback | ||
) |
Register a callback (in several streams as once) which is called once a frame is received and decoded.
[in] | context | |
[in] | streams | Stream identifiers |
[in] | callback | The callback function |
ED247_STATUS_SUCCESS | |
ED247_STATUS_FAILURE |
LIBED247_EXPORT ed247_status_t ed247_streams_unregister_recv_callback | ( | ed247_context_t | context, |
ed247_stream_list_t | streams, | ||
ed247_stream_recv_callback_t | callback | ||
) |
Unregister a callback (from several streams as once) which is called once a frame is received and decoded.
[in] | context | |
[in] | streams | Stream identifiers |
[in] | callback | The callback function |
ED247_STATUS_SUCCESS | |
ED247_STATUS_FAILURE |
LIBED247_EXPORT ed247_status_t ed247_register_recv_callback | ( | ed247_context_t | context, |
ed247_stream_recv_callback_t | callback | ||
) |
Register a callback (in all streams) which is called once a frame is received and decoded.
[in] | context | |
[in] | callback | The callback function |
ED247_STATUS_SUCCESS | |
ED247_STATUS_FAILURE |
LIBED247_EXPORT ed247_status_t ed247_unregister_recv_callback | ( | ed247_context_t | context, |
ed247_stream_recv_callback_t | callback | ||
) |
Unegister a callback (in all streams) which is called once a frame is received and decoded.
[in] | context | |
[in] | callback | The callback function |
ED247_STATUS_SUCCESS | |
ED247_STATUS_FAILURE |