FFmpeg
Data Structures | Functions | Variables
vf_bwdif_vulkan.c File Reference
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "libavutil/vulkan_spirv.h"
#include "vulkan_filter.h"
#include "yadif.h"
#include "filters.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

const char * ff_source_bwdif_comp
 
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 49 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 185 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 204 of file vf_bwdif_vulkan.c.

◆ bwdif_vulkan_config_input()

static int bwdif_vulkan_config_input ( AVFilterLink inlink)
static

Definition at line 224 of file vf_bwdif_vulkan.c.

◆ bwdif_vulkan_config_output()

static int bwdif_vulkan_config_output ( AVFilterLink outlink)
static

Definition at line 257 of file vf_bwdif_vulkan.c.

Variable Documentation

◆ ff_source_bwdif_comp

const char* ff_source_bwdif_comp

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 296 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 304 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 313 of file vf_bwdif_vulkan.c.

◆ ff_vf_bwdif_vulkan

const AVFilter ff_vf_bwdif_vulkan
Initial value:

Definition at line 322 of file vf_bwdif_vulkan.c.

FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: filters.h:262
ff_vk_filter_init
int ff_vk_filter_init(AVFilterContext *avctx)
General lavfi IO functions.
Definition: vulkan_filter.c:233
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:204
bwdif_vulkan_config_input
static int bwdif_vulkan_config_input(AVFilterLink *inlink)
Definition: vf_bwdif_vulkan.c:224
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: filters.h:263
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:257
AV_CLASS_CATEGORY_FILTER
@ AV_CLASS_CATEGORY_FILTER
Definition: log.h:36
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: filters.h:206
ff_yadif_options
const AVOption ff_yadif_options[]
Definition: yadif_common.c:273
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:368
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:94
AVFILTER_FLAG_HWDEVICE
#define AVFILTER_FLAG_HWDEVICE
The filter can create hardware frames using AVFilterContext.hw_device_ctx.
Definition: avfilter.h:173
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:296
bwdif_vulkan_outputs
static const AVFilterPad bwdif_vulkan_outputs[]
Definition: vf_bwdif_vulkan.c:313
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:304
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
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:190
FILTER_SINGLE_PIXFMT
#define FILTER_SINGLE_PIXFMT(pix_fmt_)
Definition: filters.h:252
ff_yadif_filter_frame
int ff_yadif_filter_frame(AVFilterLink *link, AVFrame *frame)
Definition: yadif_common.c:104