1#ifndef IPC_FRAME_UG_32ee5c748f3e
2#define IPC_FRAME_UG_32ee5c748f3e
22 unsigned scale_factor);
30 unsigned scale_factor);
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.