FFmpeg
|
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "compat/w32dlfcn.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_d3d11va.h"
#include "filters.h"
#include "scale_eval.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | ScaleD3D11Context |
Macros | |
#define | OFFSET(x) offsetof(ScaleD3D11Context, x) |
#define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Functions | |
static av_cold int | scale_d3d11_init (AVFilterContext *ctx) |
static void | release_d3d11_resources (ScaleD3D11Context *s) |
static int | scale_d3d11_configure_processor (ScaleD3D11Context *s, AVFilterContext *ctx) |
static int | scale_d3d11_filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | scale_d3d11_config_props (AVFilterLink *outlink) |
static av_cold void | scale_d3d11_uninit (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (scale_d3d11) | |
Variables | |
static const AVFilterPad | scale_d3d11_inputs [] |
static const AVFilterPad | scale_d3d11_outputs [] |
static const AVOption | scale_d3d11_options [] |
const FFFilter | ff_vf_scale_d3d11 |
#define OFFSET | ( | x | ) | offsetof(ScaleD3D11Context, x) |
Definition at line 437 of file vf_scale_d3d11.c.
#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 438 of file vf_scale_d3d11.c.
|
static |
< all real work is done in config_props and filter_frame
Definition at line 61 of file vf_scale_d3d11.c.
|
static |
Definition at line 66 of file vf_scale_d3d11.c.
Referenced by scale_d3d11_config_props(), and scale_d3d11_uninit().
|
static |
< Define the video processor content description
< Query video device interface
Definition at line 88 of file vf_scale_d3d11.c.
Referenced by scale_d3d11_filter_frame().
|
static |
< Validate input frame
< Get info from input texture
< Get video context
< Clean up resources
< Forward the frame
Definition at line 147 of file vf_scale_d3d11.c.
|
static |
< Clean up any previous resources
< Evaluate output dimensions
< Validate input hw_frames_ctx
Definition at line 315 of file vf_scale_d3d11.c.
|
static |
< Release D3D11 resources
< Free the hardware device context reference
< Free option strings
Definition at line 406 of file vf_scale_d3d11.c.
AVFILTER_DEFINE_CLASS | ( | scale_d3d11 | ) |
|
static |
Definition at line 421 of file vf_scale_d3d11.c.
|
static |
Definition at line 429 of file vf_scale_d3d11.c.
|
static |
Definition at line 440 of file vf_scale_d3d11.c.
const FFFilter ff_vf_scale_d3d11 |
Definition at line 449 of file vf_scale_d3d11.c.