62 if (
params.at(
"opts").str) {
63 oss << params.at(
"opts").str <<
":";
66 oss <<
"fs=" <<
params.at(
"receiver").str;
71 throw string(
"Unable to initialize SAGE TX.");
89 tx_frame->tiles[0].data_len);
struct video_frame * frame
struct video_desc video_desc_from_frame(const struct video_frame *frame)
Returns struct video_desc from video frame.
struct video_desc m_saved_video_desc
void send_frame(std::shared_ptr< video_frame >) noexcept override
sage_video_rxtx(std::map< std::string, param_u > const &)
struct display * m_sage_tx_device
bool display_put_frame(struct display *d, struct video_frame *frame, long long timeout_ns)
Puts filled video frame. After calling this function, video frame cannot be used.
void display_run_new_thread(struct display *d)
void display_done(struct display *d)
This function performs cleanup after done.
void display_join(struct display *d)
int initialize_video_display(struct module *parent, const char *requested_display, const char *fmt, unsigned int flags, const char *postprocess, struct display **out)
Initializes video display.
struct video_frame * display_get_frame(struct display *d)
Returns video framebuffer which will be written to.
@ LIBRARY_CLASS_VIDEO_RXTX
#define REGISTER_MODULE(name, info, lclass, abi)
Registers module to global modules' registry.
char * data
Raw tile data. Pointer must be at least 4B aligned.
Struct video_frame represents a video frame and contains video description.
struct tile tiles[FLEXIBLE_ARRAY_MEMBER]
struct module m_sender_mod
@ VIDEO_NORMAL
normal video (one tile)
This is an umbrella header for video functions.
bool display_reconfigure(struct display *d, struct video_desc desc, enum video_mode video_mode)
Reconfigure display to new video format.
bool video_desc_eq(struct video_desc a, struct video_desc b)
Compares two video descriptions.
static video_rxtx * create_video_rxtx_sage(std::map< std::string, param_u > const ¶ms)
static const struct video_rxtx_info sage_video_rxtx_info
#define VIDEO_RXTX_ABI_VERSION