FFmpeg
|
#include <nppi.h>
#include <stdio.h>
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/cuda_check.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.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) FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x) |
#define | OFFSET(x) offsetof(NPPScaleContext, x) |
#define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM) |
Enumerations | |
enum | ScaleStage { STAGE_DEINTERLEAVE, STAGE_RESIZE, STAGE_INTERLEAVE, STAGE_NB } |
Variables | |
static enum AVPixelFormat | supported_formats [] |
static enum AVPixelFormat | deinterleaved_formats [][2] |
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 [] |
AVFilter | ff_vf_scale_npp |
scale video filter
Definition in file vf_scale_npp.c.
#define CHECK_CU | ( | x | ) | FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x) |
Definition at line 43 of file vf_scale_npp.c.
#define OFFSET | ( | x | ) | offsetof(NPPScaleContext, x) |
Definition at line 548 of file vf_scale_npp.c.
#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 549 of file vf_scale_npp.c.
enum ScaleStage |
Enumerator | |
---|---|
STAGE_DEINTERLEAVE | |
STAGE_RESIZE | |
STAGE_INTERLEAVE | |
STAGE_NB |
Definition at line 55 of file vf_scale_npp.c.
|
static |
Definition at line 107 of file vf_scale_npp.c.
|
static |
Definition at line 134 of file vf_scale_npp.c.
|
static |
Definition at line 146 of file vf_scale_npp.c.
|
static |
Definition at line 156 of file vf_scale_npp.c.
Referenced by init_processing_chain().
|
static |
Definition at line 208 of file vf_scale_npp.c.
Referenced by init_processing_chain().
|
static |
Definition at line 218 of file vf_scale_npp.c.
Referenced by init_processing_chain().
|
static |
Definition at line 232 of file vf_scale_npp.c.
Referenced by nppscale_config_props().
|
static |
Definition at line 339 of file vf_scale_npp.c.
|
static |
Definition at line 383 of file vf_scale_npp.c.
|
static |
Definition at line 407 of file vf_scale_npp.c.
|
static |
Definition at line 435 of file vf_scale_npp.c.
|
static |
Definition at line 467 of file vf_scale_npp.c.
Referenced by nppscale_filter_frame().
|
static |
Definition at line 504 of file vf_scale_npp.c.
|
static |
Definition at line 45 of file vf_scale_npp.c.
Referenced by format_is_supported().
|
static |
Definition at line 51 of file vf_scale_npp.c.
Referenced by get_deinterleaved_format().
|
static |
|
static |
Definition at line 550 of file vf_scale_npp.c.
|
static |
Definition at line 572 of file vf_scale_npp.c.
|
static |
Definition at line 579 of file vf_scale_npp.c.
|
static |
Definition at line 588 of file vf_scale_npp.c.
AVFilter ff_vf_scale_npp |
Definition at line 597 of file vf_scale_npp.c.