FFmpeg
|
#include <float.h>
#include "libavutil/vulkan_spirv.h"
#include "libavutil/opt.h"
#include "libavutil/timestamp.h"
#include "vulkan_filter.h"
#include "filters.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | BlackDetectVulkanContext |
struct | BlackDetectPushData |
struct | BlackDetectBuf |
Macros | |
#define | SLICES 16 |
#define | OFFSET(x) offsetof(BlackDetectVulkanContext, x) |
#define | FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Functions | |
static av_cold int | init_filter (AVFilterContext *ctx) |
static void | report_black_region (AVFilterContext *ctx, int64_t black_end) |
static void | evaluate (AVFilterLink *link, AVFrame *in, const BlackDetectBuf *sum) |
static int | blackdetect_vulkan_filter_frame (AVFilterLink *link, AVFrame *in) |
static void | blackdetect_vulkan_uninit (AVFilterContext *avctx) |
static int | config_output (AVFilterLink *outlink) |
AVFILTER_DEFINE_CLASS (blackdetect_vulkan) | |
Variables | |
static const AVOption | blackdetect_vulkan_options [] |
static const AVFilterPad | blackdetect_vulkan_inputs [] |
static const AVFilterPad | blackdetect_vulkan_outputs [] |
const FFFilter | ff_vf_blackdetect_vulkan |
#define SLICES 16 |
Definition at line 52 of file vf_blackdetect_vulkan.c.
#define OFFSET | ( | x | ) | offsetof(BlackDetectVulkanContext, x) |
Definition at line 401 of file vf_blackdetect_vulkan.c.
#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM) |
Definition at line 402 of file vf_blackdetect_vulkan.c.
|
static |
Definition at line 56 of file vf_blackdetect_vulkan.c.
Referenced by blackdetect_vulkan_filter_frame().
|
static |
Definition at line 159 of file vf_blackdetect_vulkan.c.
Referenced by blackdetect_vulkan_uninit(), and evaluate().
|
static |
Definition at line 175 of file vf_blackdetect_vulkan.c.
|
static |
Definition at line 209 of file vf_blackdetect_vulkan.c.
|
static |
Definition at line 359 of file vf_blackdetect_vulkan.c.
|
static |
Definition at line 378 of file vf_blackdetect_vulkan.c.
AVFILTER_DEFINE_CLASS | ( | blackdetect_vulkan | ) |
|
static |
Definition at line 403 of file vf_blackdetect_vulkan.c.
|
static |
Definition at line 416 of file vf_blackdetect_vulkan.c.
|
static |
Definition at line 425 of file vf_blackdetect_vulkan.c.
const FFFilter ff_vf_blackdetect_vulkan |
Definition at line 433 of file vf_blackdetect_vulkan.c.