#include <stdio.h>
#include <string.h>
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/avassert.h"
#include "libswscale/swscale.h"
Go to the source code of this file.
Definition in file vf_scale.c.
| enum var_name |
Definition at line 56 of file vf_scale.c.
| static int config_props | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 160 of file vf_scale.c.
| static int draw_slice | ( | AVFilterLink * | link, | |
| int | y, | |||
| int | h, | |||
| int | slice_dir | |||
| ) | [static] |
Definition at line 370 of file vf_scale.c.
| static av_cold int init | ( | AVFilterContext * | ctx, | |
| const char * | args | |||
| ) | [static] |
Definition at line 91 of file vf_scale.c.
| static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 130 of file vf_scale.c.
| static int scale_slice | ( | AVFilterLink * | link, | |
| struct SwsContext * | sws, | |||
| int | y, | |||
| int | h, | |||
| int | mul, | |||
| int | field | |||
| ) | [static] |
| static int start_frame | ( | AVFilterLink * | link, | |
| AVFilterBufferRef * | picref | |||
| ) | [static] |
Definition at line 279 of file vf_scale.c.
| static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 121 of file vf_scale.c.
Initial value:
{
.name = "scale",
.description = NULL_IF_CONFIG_SMALL("Scale the input video to width:height size and/or convert the image format."),
.init = init,
.uninit = uninit,
.query_formats = query_formats,
.priv_size = sizeof(ScaleContext),
.inputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.start_frame = start_frame,
.draw_slice = draw_slice,
.min_perms = AV_PERM_READ, },
{ .name = NULL}},
.outputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_props, },
{ .name = NULL}},
}
Definition at line 398 of file vf_scale.c.
const char* const var_names[] [static] |
Initial value:
{
"in_w", "iw",
"in_h", "ih",
"out_w", "ow",
"out_h", "oh",
"a",
"sar",
"dar",
"hsub",
"vsub",
NULL
}
Definition at line 43 of file vf_scale.c.
1.5.8