FFmpeg
Data Structures | Macros | Functions
vf_nlmeans_vulkan.c File Reference
#include "libavutil/mem.h"
#include "libavutil/random_seed.h"
#include "libavutil/vulkan_spirv.h"
#include "libavutil/opt.h"
#include "vulkan_filter.h"
#include "filters.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  NLMeansVulkanContext
 
struct  NLMeansVulkanContext::nlmeans_opts
 

Macros

#define TYPE_NAME   "vec4"
 
#define TYPE_ELEMS   4
 
#define TYPE_SIZE   (TYPE_ELEMS*4)
 
#define OFFSET(x)   offsetof(NLMeansVulkanContext, x)
 
#define FLAGS   (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM)
 

Functions

static void insert_first (FFVulkanShader *shd, int r, const char *off, int horiz, int plane, int comp)
 
static void insert_horizontal_pass (FFVulkanShader *shd, int nb_rows, int first, int plane, int comp)
 
static void insert_vertical_pass (FFVulkanShader *shd, int nb_rows, int first, int plane, int comp)
 
static void insert_weights_pass (FFVulkanShader *shd, int nb_rows, int vert, int t, int dst_comp, int plane, int comp)
 

Macro Definition Documentation

◆ TYPE_NAME

#define TYPE_NAME   "vec4"

Definition at line 30 of file vf_nlmeans_vulkan.c.

◆ TYPE_ELEMS

#define TYPE_ELEMS   4

Definition at line 31 of file vf_nlmeans_vulkan.c.

◆ TYPE_SIZE

#define TYPE_SIZE   (TYPE_ELEMS*4)

Definition at line 32 of file vf_nlmeans_vulkan.c.

◆ OFFSET

#define OFFSET (   x)    offsetof(NLMeansVulkanContext, x)

◆ FLAGS

Function Documentation

◆ insert_first()

static void insert_first ( FFVulkanShader shd,
int  r,
const char *  off,
int  horiz,
int  plane,
int  comp 
)
static

Definition at line 67 of file vf_nlmeans_vulkan.c.

◆ insert_horizontal_pass()

static void insert_horizontal_pass ( FFVulkanShader shd,
int  nb_rows,
int  first,
int  plane,
int  comp 
)
static

Definition at line 84 of file vf_nlmeans_vulkan.c.

◆ insert_vertical_pass()

static void insert_vertical_pass ( FFVulkanShader shd,
int  nb_rows,
int  first,
int  plane,
int  comp 
)
static

Definition at line 110 of file vf_nlmeans_vulkan.c.

◆ insert_weights_pass()

static void insert_weights_pass ( FFVulkanShader shd,
int  nb_rows,
int  vert,
int  t,
int  dst_comp,
int  plane,
int  comp 
)
static

Definition at line 139 of file vf_nlmeans_vulkan.c.