UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
ipc_frame_ug.h
Go to the documentation of this file.
1#ifndef IPC_FRAME_UG_32ee5c748f3e
2#define IPC_FRAME_UG_32ee5c748f3e
3
4#include "ipc_frame.h"
5#include "types.h"
6
7struct video_frame;
8
19bool ipc_frame_from_ug_frame(struct Ipc_frame *dst,
20 const struct video_frame *src,
22 unsigned scale_factor);
23
28 const struct video_frame *src,
30 unsigned scale_factor);
31
32bool ipc_frame_write_to_fd(const struct Ipc_frame *f, int fd);
33
34int ipc_frame_get_scale_factor(int src_w, int src_h, int target_w, int target_h);
35
36#endif //IPC_FRAME_UG_32ee5c748f3e
bool ipc_frame_write_to_fd(const struct Ipc_frame *f, int fd)
bool ipc_frame_from_ug_frame_hq(struct Ipc_frame *dst, const struct video_frame *src, codec_t codec, unsigned scale_factor)
Same as ipc_frame_from_ug_frame, but convert pixfmt first and scale later.
bool ipc_frame_from_ug_frame(struct Ipc_frame *dst, const struct video_frame *src, codec_t codec, unsigned scale_factor)
Make an ipc frame from ultragrid frame.
int ipc_frame_get_scale_factor(int src_w, int src_h, int target_w, int target_h)
Struct video_frame represents a video frame and contains video description.
Definition types.h:305
codec_t
Definition types.h:65