|
FFmpeg
|
scale video filter More...
#include <nppi.h>#include <stdio.h>#include <string.h>#include "libavutil/hwcontext.h"#include "libavutil/hwcontext_cuda_internal.h"#include "libavutil/cuda_check.h"#include "libavutil/internal.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/parseutils.h"#include "libavutil/eval.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "filters.h"#include "formats.h"#include "scale_eval.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | NPPScaleStageContext |
| struct | NPPScaleContext |
Macros | |
| #define | CHECK_CU(x) |
| #define | IS_SCALE2REF(ctx) |
| #define | OFFSET(x) |
| #define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM) |
Enumerations | |
| enum | ScaleStage { STAGE_DEINTERLEAVE , STAGE_RESIZE , STAGE_INTERLEAVE , STAGE_NB } |
| enum | var_name { VAR_IN_W , VAR_IW , VAR_IN_H , VAR_IH , VAR_OUT_W , VAR_OW , VAR_OUT_H , VAR_OH , VAR_A , VAR_SAR , VAR_DAR , VAR_N , VAR_T , VAR_S2R_MAIN_W , VAR_S2R_MAIN_H , VAR_S2R_MAIN_A , VAR_S2R_MAIN_SAR , VAR_S2R_MAIN_DAR , VAR_S2R_MDAR , VAR_S2R_MAIN_N , VAR_S2R_MAIN_T , VARS_NB } |
| enum | EvalMode { EVAL_MODE_INIT , EVAL_MODE_FRAME , EVAL_MODE_NB } |
Variables | |
| static enum AVPixelFormat | supported_formats [] |
| static enum AVPixelFormat | deinterleaved_formats [][2] |
| static const char *const | var_names [] |
| const FFFilter | ff_vf_scale2ref_npp |
| static int(*const | nppscale_process [])(AVFilterContext *ctx, NPPScaleStageContext *stage, AVFrame *out, AVFrame *in) |
| static const AVOption | options [] |
| static const AVClass | nppscale_class |
| static const AVFilterPad | nppscale_inputs [] |
| static const AVFilterPad | nppscale_outputs [] |
| const FFFilter | ff_vf_scale_npp |
| static const AVFilterPad | nppscale2ref_inputs [] |
| static const AVFilterPad | nppscale2ref_outputs [] |
scale video filter
Definition in file vf_scale_npp.c.
| #define CHECK_CU | ( | x | ) |
Definition at line 44 of file vf_scale_npp.c.
Referenced by nppscale_filter_frame().
| #define IS_SCALE2REF | ( | ctx | ) |
Definition at line 166 of file vf_scale_npp.c.
Referenced by check_exprs(), config_props(), nppscale_eval_dimensions(), and nppscale_scale().
| #define OFFSET | ( | x | ) |
Definition at line 966 of file vf_scale_npp.c.
| #define FLAGS (AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 967 of file vf_scale_npp.c.
| enum ScaleStage |
| Enumerator | |
|---|---|
| STAGE_DEINTERLEAVE | |
| STAGE_RESIZE | |
| STAGE_INTERLEAVE | |
| STAGE_NB | |
Definition at line 57 of file vf_scale_npp.c.
| enum var_name |
Definition at line 98 of file vf_scale_npp.c.
| enum EvalMode |
| Enumerator | |
|---|---|
| EVAL_MODE_INIT | |
| EVAL_MODE_FRAME | |
| EVAL_MODE_NB | |
Definition at line 118 of file vf_scale_npp.c.
|
static |
Definition at line 625 of file vf_scale_npp.c.
Referenced by nppscale_parse_expr(), and nppscale_scale().
|
static |
Definition at line 170 of file vf_scale_npp.c.
Referenced by nppscale_parse_expr().
|
static |
Definition at line 223 of file vf_scale_npp.c.
Referenced by nppscale_init(), and nppscale_scale().
|
static |
Definition at line 279 of file vf_scale_npp.c.
|
static |
Definition at line 356 of file vf_scale_npp.c.
Referenced by config_props().
|
static |
Definition at line 417 of file vf_scale_npp.c.
|
static |
Definition at line 433 of file vf_scale_npp.c.
Referenced by init_processing_chain().
|
static |
Definition at line 492 of file vf_scale_npp.c.
Referenced by init_processing_chain().
|
static |
Definition at line 502 of file vf_scale_npp.c.
Referenced by init_processing_chain().
|
static |
Definition at line 516 of file vf_scale_npp.c.
Referenced by config_props().
|
static |
Definition at line 679 of file vf_scale_npp.c.
Referenced by nppscale_filter_frame_ref().
|
static |
Definition at line 697 of file vf_scale_npp.c.
|
static |
Definition at line 721 of file vf_scale_npp.c.
|
static |
Definition at line 749 of file vf_scale_npp.c.
|
static |
Definition at line 781 of file vf_scale_npp.c.
Referenced by nppscale_filter_frame().
|
static |
Definition at line 880 of file vf_scale_npp.c.
|
static |
Definition at line 925 of file vf_scale_npp.c.
|
static |
Definition at line 956 of file vf_scale_npp.c.
|
static |
Definition at line 961 of file vf_scale_npp.c.
|
static |
Definition at line 46 of file vf_scale_npp.c.
|
static |
Definition at line 53 of file vf_scale_npp.c.
Referenced by get_deinterleaved_format().
|
static |
Definition at line 78 of file vf_scale_npp.c.
| const FFFilter ff_vf_scale2ref_npp |
Definition at line 165 of file vf_scale_npp.c.
|
static |
Definition at line 774 of file vf_scale_npp.c.
Referenced by nppscale_scale().
|
static |
Definition at line 968 of file vf_scale_npp.c.
|
static |
Definition at line 995 of file vf_scale_npp.c.
|
static |
Definition at line 1003 of file vf_scale_npp.c.
|
static |
Definition at line 1011 of file vf_scale_npp.c.
| const FFFilter ff_vf_scale_npp |
Definition at line 1019 of file vf_scale_npp.c.
|
static |
Definition at line 1038 of file vf_scale_npp.c.
|
static |
Definition at line 1051 of file vf_scale_npp.c.