FFmpeg
Data Structures | Macros | Functions | Variables
vf_nlmeans_vulkan.c File Reference
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "vulkan_filter.h"
#include "vulkan_spirv.h"
#include "internal.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 (FFVkSPIRVShader *shd, int r, const char *off, int horiz, int plane, int comp)
 
static void insert_horizontal_pass (FFVkSPIRVShader *shd, int nb_rows, int first, int plane, int comp)
 
static void insert_vertical_pass (FFVkSPIRVShader *shd, int nb_rows, int first, int plane, int comp)
 
static void insert_weights_pass (FFVkSPIRVShader *shd, int nb_rows, int vert, int t, int dst_comp, int plane, int comp)
 

Variables

const char * ff_source_prefix_sum_comp
 

Macro Definition Documentation

◆ TYPE_NAME

#define TYPE_NAME   "vec4"

Definition at line 28 of file vf_nlmeans_vulkan.c.

◆ TYPE_ELEMS

#define TYPE_ELEMS   4

Definition at line 29 of file vf_nlmeans_vulkan.c.

◆ TYPE_SIZE

#define TYPE_SIZE   (TYPE_ELEMS*4)

Definition at line 30 of file vf_nlmeans_vulkan.c.

◆ OFFSET

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

◆ FLAGS

Function Documentation

◆ insert_first()

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

Definition at line 70 of file vf_nlmeans_vulkan.c.

◆ insert_horizontal_pass()

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

Definition at line 87 of file vf_nlmeans_vulkan.c.

◆ insert_vertical_pass()

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

Definition at line 113 of file vf_nlmeans_vulkan.c.

◆ insert_weights_pass()

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

Definition at line 142 of file vf_nlmeans_vulkan.c.

Variable Documentation

◆ ff_source_prefix_sum_comp

const char* ff_source_prefix_sum_comp