![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include "tv.h"

Go to the source code of this file.
Classes | |
| struct | pdb_e |
Typedefs | |
| typedef void(* | decoder_state_deleter_t) (void *) |
| typedef void * | pdb_iter_t |
Functions | |
| int | pdb_add (struct pdb *db, uint32_t ssrc) |
| void | pdb_destroy (struct pdb **db) |
| void | pdb_destroy_item (struct pdb_e *item) |
| struct pdb_e * | pdb_get (struct pdb *db, uint32_t ssrc) |
| struct pdb * | pdb_init (volatile int *delay_ms) |
| void | pdb_iter_done (pdb_iter_t *it) |
| struct pdb_e * | pdb_iter_init (struct pdb *db, pdb_iter_t *it) |
| struct pdb_e * | pdb_iter_next (pdb_iter_t *it) |
| int | pdb_remove (struct pdb *db, uint32_t ssrc, struct pdb_e **item) |
| typedef void(* decoder_state_deleter_t) (void *) |
| typedef void* pdb_iter_t |
| int pdb_add | ( | struct pdb * | db, |
| uint32_t | ssrc ) |
Definition at line 299 of file pdb.c.
References BTREE_NODE_MAGIC, s_pdb_node::data, debug_msg, pdb::delay_ms, s_pdb_node::key, s_pdb_node::left, s_pdb_node::magic, s_pdb_node::parent, pdb_create_item(), pdb_insert_node(), pdb_search(), pdb_validate(), s_pdb_node::right, pdb::root, and pdb_e::ssrc.
Referenced by initialize_audio_network(), rtp_video_rxtx::initialize_network(), process_sdes(), rtp_recv_callback(), and vidcap_rtsp_init().

| void pdb_destroy | ( | struct pdb ** | db | ) |
Definition at line 256 of file pdb.c.
References pdb_destroy_item(), pdb_iter_done(), pdb_iter_init(), pdb_iter_next(), pdb_remove(), pdb_validate(), pdb::root, and pdb_e::ssrc.
Referenced by rtp_video_rxtx::~rtp_video_rxtx(), audio_done(), and audio_init().

| void pdb_destroy_item | ( | struct pdb_e * | item | ) |
Definition at line 370 of file pdb.c.
References pbuf_destroy(), and tfrc_done().
Referenced by pdb_destroy(), and rtp_recv_callback().

Definition at line 332 of file pdb.c.
References s_pdb_node::data, pdb_search(), pdb_validate(), pdb::root, and pdb_e::ssrc.
Referenced by process_sdes(), and rtp_recv_callback().

| struct pdb * pdb_init | ( | volatile int * | delay_ms | ) |
| delay_ms | delay to be added to playback. Main reason is to give user a possibility to sync audio and video. |
Definition at line 244 of file pdb.c.
References pdb::count, pdb::delay_ms, pdb::magic, PDB_MAGIC, and pdb::root.
Referenced by rtp_video_rxtx::rtp_video_rxtx(), audio_init(), and vidcap_rtsp_init().
| void pdb_iter_done | ( | pdb_iter_t * | it | ) |
Definition at line 412 of file pdb.c.
Referenced by audio_receiver_process_message(), audio_receiver_thread(), pdb_destroy(), ultragrid_rtp_video_rxtx::receiver_loop(), ultragrid_rtp_video_rxtx::remove_display_from_decoders(), and vidcap_rtsp_thread().
| struct pdb_e * pdb_iter_init | ( | struct pdb * | db, |
| pdb_iter_t * | it ) |
Definition at line 393 of file pdb.c.
References s_pdb_node::data, pdb_min(), and pdb::root.
Referenced by audio_receiver_process_message(), audio_receiver_thread(), pdb_destroy(), ultragrid_rtp_video_rxtx::receiver_loop(), ultragrid_rtp_video_rxtx::receiver_process_messages(), ultragrid_rtp_video_rxtx::remove_display_from_decoders(), and vidcap_rtsp_thread().

| struct pdb_e * pdb_iter_next | ( | pdb_iter_t * | it | ) |
Definition at line 402 of file pdb.c.
References s_pdb_node::data, and pdb_successor().
Referenced by audio_receiver_process_message(), audio_receiver_thread(), pdb_destroy(), ultragrid_rtp_video_rxtx::receiver_loop(), ultragrid_rtp_video_rxtx::receiver_process_messages(), ultragrid_rtp_video_rxtx::remove_display_from_decoders(), and vidcap_rtsp_thread().

Definition at line 346 of file pdb.c.
References s_pdb_node::data, debug_msg, pdb_delete_node(), pdb_search(), pdb_validate(), pdb::root, and pdb_e::ssrc.
Referenced by pdb_destroy(), and rtp_recv_callback().
