![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include "types.h"

Go to the source code of this file.
Classes | |
| struct | resize_param |
Macros | |
| #define | RESIZE_ALGO_DFL (-1) |
| #define | RESIZE_ALGO_HELP_SHOWN (-3) |
| #define | RESIZE_ALGO_UNKN (-2) |
| #define | RESIZE_SUPPORTED_PIXFMT_INIT RGB, RGBA, I420, UYVY, YUYV, RG48 |
Functions | |
| int | resize_algo_from_string (const char *str) |
| void | resize_frame (char *indata, codec_t in_color, char *outdata, int width, int height, struct resize_param *resize_spec) |
| #define RESIZE_ALGO_DFL (-1) |
Definition at line 58 of file resize_utils.h.
Referenced by init(), and resize_frame().
| #define RESIZE_ALGO_HELP_SHOWN (-3) |
Definition at line 60 of file resize_utils.h.
Referenced by parse_fmt(), and resize_algo_from_string().
| #define RESIZE_ALGO_UNKN (-2) |
Definition at line 59 of file resize_utils.h.
Referenced by resize_algo_from_string().
Definition at line 56 of file resize_utils.h.
Referenced by reconfigure_if_needed().
| int resize_algo_from_string | ( | const char * | str | ) |
Definition at line 224 of file resize_utils.cpp.
References color_printf(), DEFAULT_ALGO, interp_map, RESIZE_ALGO_HELP_SHOWN, RESIZE_ALGO_UNKN, and TBOLD.
Referenced by parse_fmt().

| void resize_frame | ( | char * | indata, |
| codec_t | in_color, | ||
| char * | outdata, | ||
| int | width, | ||
| int | height, | ||
| struct resize_param * | resize_spec ) |
Definition at line 184 of file resize_utils.cpp.
References resize_param::algo, DEBUG_TIMER_START, DEBUG_TIMER_STOP, DEFAULT_ALGO, resize_param::factor, get_out_cv_data_type(), resize_param::mode, MSG, RESIZE_ALGO_DFL, resize_algo_to_string(), resize_frame_dimensions(), resize_param::target_height, resize_param::target_width, ug_to_rgb_mat(), resize_param::USE_DIMENSIONS, and resize_param::USE_FRACTION.
Referenced by filter().
