![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <loopback.hpp>


Classes | |
| struct | m_configure_desc |
Public Member Functions | |
| loopback_video_rxtx (std::map< std::string, param_u > const &) | |
| virtual | ~loopback_video_rxtx () |
Public Member Functions inherited from video_rxtx | |
| virtual | ~video_rxtx () |
| virtual void | join () |
| void | send (std::shared_ptr< struct video_frame >) |
| virtual void | set_audio_spec (const struct audio_desc *desc, int audio_rx_port, int audio_tx_port, bool ipv6) |
| bool | supports_receiving () |
Private Member Functions | |
| void * | receiver_loop () |
| virtual void | send_frame (std::shared_ptr< video_frame >) noexcept override |
Static Private Member Functions | |
| static void * | receiver_thread (void *arg) |
Private Attributes | |
| virtual void *(*)(void *arg) | get_receiver_thread () noexcept |
| struct display * | m_display_device |
| std::condition_variable | m_frame_ready |
| std::queue< std::shared_ptr< video_frame > > | m_frames |
| std::mutex | m_lock |
Additional Inherited Members | |
Static Public Member Functions inherited from video_rxtx | |
| static video_rxtx * | create (std::string const &name, std::map< std::string, param_u > const &) |
| static const char * | get_long_name (std::string const &short_name) |
| static void | list (bool full) |
| static void * | receiver_thread (void *arg) |
Public Attributes inherited from video_rxtx | |
| std::string | m_port_id |
Protected Member Functions inherited from video_rxtx | |
| video_rxtx (std::map< std::string, param_u > const &) | |
| void | check_sender_messages () |
Protected Attributes inherited from video_rxtx | |
| struct common_opts | m_common |
| unsigned long long int | m_frames_sent |
| struct module | m_receiver_mod |
| int | m_rxtx_mode |
| struct module | m_sender_mod |
| bool | m_should_exit = false |
Definition at line 51 of file loopback.hpp.
| loopback_video_rxtx::loopback_video_rxtx | ( | std::map< std::string, param_u > const & | params | ) |
Definition at line 68 of file loopback.cpp.
References m_display_device.
|
virtual |
Definition at line 74 of file loopback.cpp.
|
private |
Definition at line 97 of file loopback.cpp.
References tile::data, tile::data_len, display_get_frame(), display_put_frame(), display_reconfigure(), FALSE, frame, LOG, LOG_LEVEL_ERROR, m_display_device, m_frame_ready, m_frames, m_lock, video_rxtx::m_should_exit, PUTF_BLOCKING, set_thread_name(), video_frame::tiles, video_desc_from_frame(), and VIDEO_NORMAL.
Referenced by receiver_thread().

|
staticprivate |
Definition at line 78 of file loopback.cpp.
References receiver_loop().

|
overrideprivatevirtualnoexcept |
Implements video_rxtx.
Definition at line 85 of file loopback.cpp.
References BUFF_MAX_LEN, LOG, LOG_LEVEL_WARNING, and MODULE_NAME.
|
private |
Definition at line 126 of file loopback.hpp.
|
private |
Definition at line 62 of file loopback.hpp.
Referenced by loopback_video_rxtx(), and receiver_loop().
|
private |
Definition at line 65 of file loopback.hpp.
Referenced by receiver_loop().
|
private |
Definition at line 64 of file loopback.hpp.
Referenced by receiver_loop().
|
private |
Definition at line 66 of file loopback.hpp.
Referenced by receiver_loop().