FFmpeg
Data Structures | Functions | Variables
vf_bwdif_vulkan.c File Reference
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "vulkan_filter.h"
#include "vulkan_spirv.h"
#include "yadif.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  BWDIFVulkanContext
 
struct  BWDIFParameters
 

Functions

static av_cold int init_filter (AVFilterContext *ctx)
 
static void bwdif_vulkan_filter_frame (AVFilterContext *ctx, AVFrame *dst, int parity, int tff)
 
static void bwdif_vulkan_uninit (AVFilterContext *avctx)
 
static int bwdif_vulkan_config_input (AVFilterLink *inlink)
 
static int bwdif_vulkan_config_output (AVFilterLink *outlink)
 

Variables

static const char filter_fn []
 
static const AVClass bwdif_vulkan_class
 
static const AVFilterPad bwdif_vulkan_inputs []
 
static const AVFilterPad bwdif_vulkan_outputs []
 
const AVFilter ff_vf_bwdif_vulkan
 

Function Documentation

◆ init_filter()

static av_cold int init_filter ( AVFilterContext ctx)
static

Definition at line 94 of file vf_bwdif_vulkan.c.

Referenced by bwdif_vulkan_config_output().

◆ bwdif_vulkan_filter_frame()

static void bwdif_vulkan_filter_frame ( AVFilterContext ctx,
AVFrame dst,
int  parity,
int  tff 
)
static

Definition at line 264 of file vf_bwdif_vulkan.c.

Referenced by bwdif_vulkan_config_output().

◆ bwdif_vulkan_uninit()

static void bwdif_vulkan_uninit ( AVFilterContext avctx)
static

Definition at line 283 of file vf_bwdif_vulkan.c.

◆ bwdif_vulkan_config_input()

static int bwdif_vulkan_config_input ( AVFilterLink inlink)
static

Definition at line 304 of file vf_bwdif_vulkan.c.

◆ bwdif_vulkan_config_output()

static int bwdif_vulkan_config_output ( AVFilterLink outlink)
static

Definition at line 336 of file vf_bwdif_vulkan.c.

Variable Documentation

◆ filter_fn

const char filter_fn[]
static

Definition at line 48 of file vf_bwdif_vulkan.c.

Referenced by init_filter().

◆ bwdif_vulkan_class

const AVClass bwdif_vulkan_class
static
Initial value:
= {
.class_name = "bwdif_vulkan",
.item_name = av_default_item_name,
.option = ff_yadif_options,
}

Definition at line 374 of file vf_bwdif_vulkan.c.

◆ bwdif_vulkan_inputs

const AVFilterPad bwdif_vulkan_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = ff_yadif_filter_frame,
.config_props = &bwdif_vulkan_config_input,
},
}

Definition at line 382 of file vf_bwdif_vulkan.c.

◆ bwdif_vulkan_outputs

const AVFilterPad bwdif_vulkan_outputs[]
static
Initial value:
= {
{
.name = "default",
.request_frame = ff_yadif_request_frame,
.config_props = &bwdif_vulkan_config_output,
},
}

Definition at line 391 of file vf_bwdif_vulkan.c.

◆ ff_vf_bwdif_vulkan

const AVFilter ff_vf_bwdif_vulkan
Initial value:

Definition at line 400 of file vf_bwdif_vulkan.c.

FF_FILTER_FLAG_HWFRAME_AWARE
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
Definition: internal.h:351
ff_vk_filter_init
int ff_vk_filter_init(AVFilterContext *avctx)
General lavfi IO functions.
Definition: vulkan_filter.c:221
AV_PIX_FMT_VULKAN
@ AV_PIX_FMT_VULKAN
Vulkan hardware images.
Definition: pixfmt.h:379
bwdif_vulkan_uninit
static void bwdif_vulkan_uninit(AVFilterContext *avctx)
Definition: vf_bwdif_vulkan.c:283
bwdif_vulkan_config_input
static int bwdif_vulkan_config_input(AVFilterLink *inlink)
Definition: vf_bwdif_vulkan.c:304
FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: internal.h:182
LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
av_default_item_name
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:237
bwdif_vulkan_config_output
static int bwdif_vulkan_config_output(AVFilterLink *outlink)
Definition: vf_bwdif_vulkan.c:336
AV_CLASS_CATEGORY_FILTER
@ AV_CLASS_CATEGORY_FILTER
Definition: log.h:36
ff_yadif_options
const AVOption ff_yadif_options[]
Definition: yadif_common.c:271
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:365
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:106
AVFILTER_FLAG_HWDEVICE
#define AVFILTER_FLAG_HWDEVICE
The filter can create hardware frames using AVFilterContext.hw_device_ctx.
Definition: avfilter.h:138
FILTER_SINGLE_PIXFMT
#define FILTER_SINGLE_PIXFMT(pix_fmt_)
Definition: internal.h:172
uninit
static void uninit(AVBSFContext *ctx)
Definition: pcm_rechunk.c:68
BWDIFVulkanContext
Definition: vf_bwdif_vulkan.c:30
bwdif_vulkan_class
static const AVClass bwdif_vulkan_class
Definition: vf_bwdif_vulkan.c:374
bwdif_vulkan_outputs
static const AVFilterPad bwdif_vulkan_outputs[]
Definition: vf_bwdif_vulkan.c:391
ff_yadif_request_frame
int ff_yadif_request_frame(AVFilterLink *link)
Definition: yadif_common.c:184
bwdif_vulkan_inputs
static const AVFilterPad bwdif_vulkan_inputs[]
Definition: vf_bwdif_vulkan.c:382
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: internal.h:183
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
Definition: avfilter.h:155
ff_yadif_filter_frame
int ff_yadif_filter_frame(AVFilterLink *link, AVFrame *frame)
Definition: yadif_common.c:104