FFmpeg
4.0
|
scale video filter More...
#include <stdio.h>
#include <string.h>
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "scale.h"
#include "video.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.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.
Data Structures | |
struct | ScaleContext |
Macros | |
#define | OFFSET(x) offsetof(ScaleContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static av_cold int | init_dict (AVFilterContext *ctx, AVDictionary **opts) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static const int * | parse_yuv_type (const char *s, enum AVColorSpace colorspace) |
static int | config_props (AVFilterLink *outlink) |
static int | config_props_ref (AVFilterLink *outlink) |
static int | request_frame (AVFilterLink *outlink) |
static int | request_frame_ref (AVFilterLink *outlink) |
static int | scale_slice (AVFilterLink *link, AVFrame *out_buf, AVFrame *cur_pic, struct SwsContext *sws, int y, int h, int mul, int field) |
static int | filter_frame (AVFilterLink *link, AVFrame *in) |
static int | filter_frame_ref (AVFilterLink *link, AVFrame *in) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
static const AVClass * | child_class_next (const AVClass *prev) |
Variables | |
AVFilter | ff_vf_scale2ref |
static const AVOption | scale_options [] |
static const AVClass | scale_class |
static const AVFilterPad | avfilter_vf_scale_inputs [] |
static const AVFilterPad | avfilter_vf_scale_outputs [] |
AVFilter | ff_vf_scale |
static const AVClass | scale2ref_class |
static const AVFilterPad | avfilter_vf_scale2ref_inputs [] |
static const AVFilterPad | avfilter_vf_scale2ref_outputs [] |
scale video filter
Definition in file vf_scale.c.
#define OFFSET | ( | x | ) | offsetof(ScaleContext, x) |
Definition at line 563 of file vf_scale.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 564 of file vf_scale.c.
enum EvalMode |
Definition at line 44 of file vf_scale.c.
|
static |
Definition at line 98 of file vf_scale.c.
|
static |
Definition at line 148 of file vf_scale.c.
|
static |
Definition at line 158 of file vf_scale.c.
|
static |
Definition at line 196 of file vf_scale.c.
Referenced by filter_frame().
|
static |
Definition at line 220 of file vf_scale.c.
Referenced by filter_frame(), and process_command().
|
static |
Definition at line 356 of file vf_scale.c.
|
static |
Definition at line 369 of file vf_scale.c.
|
static |
Definition at line 374 of file vf_scale.c.
|
static |
Definition at line 379 of file vf_scale.c.
Referenced by filter_frame().
|
static |
Definition at line 403 of file vf_scale.c.
|
static |
Definition at line 527 of file vf_scale.c.
|
static |
Definition at line 534 of file vf_scale.c.
Definition at line 558 of file vf_scale.c.
AVFilter ff_vf_scale2ref |
Definition at line 96 of file vf_scale.c.
|
static |
Definition at line 566 of file vf_scale.c.
|
static |
Definition at line 604 of file vf_scale.c.
|
static |
Definition at line 613 of file vf_scale.c.
|
static |
Definition at line 622 of file vf_scale.c.
AVFilter ff_vf_scale |
Definition at line 631 of file vf_scale.c.
|
static |
Definition at line 644 of file vf_scale.c.
|
static |
Definition at line 653 of file vf_scale.c.
|
static |
Definition at line 667 of file vf_scale.c.