![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <stdbool.h>#include <stddef.h>#include <memory>

Go to the source code of this file.
Classes | |
| struct | Ipc_frame |
| struct | Ipc_frame_deleter |
| struct | Ipc_frame_header |
Macros | |
| #define | IPC_FRAME_HEADER_LEN 128 |
Typedefs | |
| using | Ipc_frame_uniq = std::unique_ptr<Ipc_frame, Ipc_frame_deleter> |
Enumerations | |
| enum | Ipc_frame_color_spec { IPC_FRAME_COLOR_NONE = 0 , IPC_FRAME_COLOR_RGBA = 1 , IPC_FRAME_COLOR_UYVY = 2 , IPC_FRAME_COLOR_RGB = 11 } |
Functions | |
| void | ipc_frame_free (struct Ipc_frame *frame) |
| Ipc_frame * | ipc_frame_new () |
| bool | ipc_frame_parse_header (struct Ipc_frame_header *hdr, const char *buf) |
| bool | ipc_frame_reserve (struct Ipc_frame *frame, size_t size) |
| void | ipc_frame_write_header (const struct Ipc_frame_header *hdr, char *dst) |
| #define IPC_FRAME_HEADER_LEN 128 |
Definition at line 7 of file ipc_frame.h.
Referenced by do_frame_read(), and ipc_frame_write_header().
| using Ipc_frame_uniq = std::unique_ptr<Ipc_frame, Ipc_frame_deleter> |
Definition at line 40 of file ipc_frame.h.
| enum Ipc_frame_color_spec |
| Enumerator | |
|---|---|
| IPC_FRAME_COLOR_NONE | |
| IPC_FRAME_COLOR_RGBA | |
| IPC_FRAME_COLOR_UYVY | |
| IPC_FRAME_COLOR_RGB | |
Definition at line 9 of file ipc_frame.h.
| void ipc_frame_free | ( | struct Ipc_frame * | frame | ) |
Definition at line 61 of file ipc_frame.cpp.
References frame.
Referenced by Ipc_frame_deleter::operator()().
| Ipc_frame * ipc_frame_new | ( | ) |
Definition at line 48 of file ipc_frame.cpp.
References video_frame::color_spec, frame, and IPC_FRAME_COLOR_NONE.
Referenced by display_unix_sock_init(), init(), and main().
| bool ipc_frame_parse_header | ( | struct Ipc_frame_header * | hdr, |
| const char * | buf ) |
Definition at line 31 of file ipc_frame.cpp.
References Ipc_frame_header::color_spec, Ipc_frame_header::data_len, Ipc_frame_header::height, and Ipc_frame_header::width.
Referenced by do_frame_read().
| bool ipc_frame_reserve | ( | struct Ipc_frame * | frame, |
| size_t | size ) |
Definition at line 66 of file ipc_frame.cpp.
References frame.
Referenced by do_frame_read(), ipc_frame_from_ug_frame(), and ipc_frame_from_ug_frame_hq().
| void ipc_frame_write_header | ( | const struct Ipc_frame_header * | hdr, |
| char * | dst ) |
Definition at line 40 of file ipc_frame.cpp.
References Ipc_frame_header::color_spec, Ipc_frame_header::data_len, Ipc_frame_header::height, IPC_FRAME_HEADER_LEN, and Ipc_frame_header::width.
Referenced by ipc_frame_writer_write().