![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <stdlib.h>#include <pthread.h>#include "debug.h"#include "lib_common.h"#include "gl_context.h"#include "video.h"#include "video_display.h"#include "vo_postprocess.h"
Go to the source code of this file.
Classes | |
| struct | state_scale |
Functions | |
| REGISTER_MODULE (scale, &vo_pp_scale_info, LIBRARY_CLASS_VIDEO_POSTPROCESS, VO_PP_ABI_VERSION) | |
| static void | scale_done (void *state) |
| static void | scale_get_out_desc (void *state, struct video_desc *out, int *in_display_mode, int *out_frames) |
| static bool | scale_get_property (void *state, int property, void *val, size_t *len) |
| static struct video_frame * | scale_getf (void *state) |
| static void * | scale_init (const char *config) |
| static bool | scale_postprocess (void *state, struct video_frame *in, struct video_frame *out, int req_pitch) |
| static bool | scale_reconfigure (void *state, struct video_desc desc) |
| static void | usage () |
Variables | |
| static const struct vo_postprocess_info | vo_pp_scale_info |
Definition in file scale.c.
| REGISTER_MODULE | ( | scale | , |
| & | vo_pp_scale_info, | ||
| LIBRARY_CLASS_VIDEO_POSTPROCESS | , | ||
| VO_PP_ABI_VERSION | ) |
|
static |
Definition at line 309 of file scale.c.
References state_scale::context, tile::data, destroy_gl_context(), state_scale::fbo, state_scale::in, state, state_scale::tex_input, state_scale::tex_output, video_frame::tiles, and vf_free().

|
static |
Definition at line 326 of file scale.c.
References video_desc::color_spec, video_frame::color_spec, DISPLAY_PROPERTY_VIDEO_MERGED, video_desc::fps, video_frame::fps, video_desc::height, state_scale::in, video_desc::interlacing, video_frame::interlacing, state_scale::scaled_height, state_scale::scaled_width, state, video_desc::tile_count, and video_desc::width.
|
static |
Definition at line 64 of file scale.c.
References len, property, RGBA, state, UNUSED, UYVY, val, and VO_PP_PROPERTY_CODECS.
|
static |
Definition at line 223 of file scale.c.
References state_scale::in, and state.
|
static |
Definition at line 93 of file scale.c.
References state_scale::context, state_scale::fbo, GL_CONTEXT_LEGACY, gl_context_make_current(), state_scale::in, init_gl_context(), state_scale::scaled_height, state_scale::scaled_width, state_scale::tex_input, state_scale::tex_output, and usage().

|
static |
Definition at line 230 of file scale.c.
References video_frame::color_spec, state_scale::context, tile::data, state_scale::fbo, gl_context_make_current(), tile::height, state_scale::in, INTERLACED_MERGED, video_frame::interlacing, state_scale::scaled_height, state_scale::scaled_width, state, state_scale::tex_input, state_scale::tex_output, video_frame::tile_count, video_frame::tiles, UYVY, vc_get_linesize(), vf_get_tile(), and tile::width.

|
static |
Definition at line 154 of file scale.c.
References video_desc::color_spec, video_frame::color_spec, state_scale::context, tile::data, tile::data_len, desc, video_desc::fps, video_frame::fps, gl_context_make_current(), tile::height, video_desc::height, state_scale::in, INTERLACED_MERGED, video_desc::interlacing, video_frame::interlacing, state_scale::scaled_height, state_scale::scaled_width, state, state_scale::tex_input, state_scale::tex_output, video_desc::tile_count, video_frame::tile_count, video_frame::tiles, UYVY, vc_get_linesize(), vf_alloc(), vf_free(), vf_get_tile(), tile::width, and video_desc::width.

|
static |
Definition at line 87 of file scale.c.
Referenced by scale_init().
|
static |
Definition at line 341 of file scale.c.