![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <stdint.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include "ipc_frame.h"
Go to the source code of this file.
Functions | |
| void | ipc_frame_free (Ipc_frame *frame) |
| Ipc_frame * | ipc_frame_new () |
| bool | ipc_frame_parse_header (Ipc_frame_header *hdr, const char *buf) |
| bool | ipc_frame_reserve (Ipc_frame *frame, size_t size) |
| void | ipc_frame_write_header (const struct Ipc_frame_header *hdr, char *dst) |
| void ipc_frame_free | ( | 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 | ( | 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 | ( | 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().