Go to the source code of this file.
|
static av_cold int | cudabilateral_init (AVFilterContext *ctx) |
|
static av_cold void | cudabilateral_uninit (AVFilterContext *ctx) |
|
static av_cold int | init_hwframe_ctx (CUDABilateralContext *s, AVBufferRef *device_ctx, int width, int height) |
|
static int | format_is_supported (enum AVPixelFormat fmt) |
|
static av_cold void | set_format_info (AVFilterContext *ctx, enum AVPixelFormat in_format, enum AVPixelFormat out_format) |
|
static av_cold int | init_processing_chain (AVFilterContext *ctx, int width, int height) |
|
static av_cold int | cuda_bilateral_load_functions (AVFilterContext *ctx) |
|
static av_cold int | cuda_bilateral_config_props (AVFilterLink *outlink) |
|
static int | call_cuda_kernel (AVFilterContext *ctx, CUfunction func, CUtexObject src_tex[3], AVFrame *out_frame, int width, int height, int pitch, int width_uv, int height_uv, int pitch_uv, int window_size, float sigmaS, float sigmaR) |
|
static int | cuda_bilateral_process_internal (AVFilterContext *ctx, AVFrame *out, AVFrame *in) |
|
static int | cuda_bilateral_process (AVFilterContext *ctx, AVFrame *out, AVFrame *in) |
|
static int | cuda_bilateral_filter_frame (AVFilterLink *link, AVFrame *in) |
|
◆ DIV_UP
#define DIV_UP |
( |
|
a, |
|
|
|
b |
|
) |
| ( ((a) + (b) - 1) / (b) ) |
◆ BLOCKX
◆ BLOCKY
◆ CHECK_CU
◆ OFFSET
◆ FLAGS
◆ cudabilateral_init()
◆ cudabilateral_uninit()
◆ init_hwframe_ctx()
◆ format_is_supported()
◆ set_format_info()
◆ init_processing_chain()
◆ cuda_bilateral_load_functions()
◆ cuda_bilateral_config_props()
◆ call_cuda_kernel()
static int call_cuda_kernel |
( |
AVFilterContext * |
ctx, |
|
|
CUfunction |
func, |
|
|
CUtexObject |
src_tex[3], |
|
|
AVFrame * |
out_frame, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
pitch, |
|
|
int |
width_uv, |
|
|
int |
height_uv, |
|
|
int |
pitch_uv, |
|
|
int |
window_size, |
|
|
float |
sigmaS, |
|
|
float |
sigmaR |
|
) |
| |
|
static |
◆ cuda_bilateral_process_internal()
◆ cuda_bilateral_process()
◆ cuda_bilateral_filter_frame()
◆ supported_formats
◆ options
◆ cuda_bilateral_class
◆ cuda_bilateral_inputs
◆ cuda_bilateral_outputs
◆ ff_vf_bilateral_cuda
@ AV_PIX_FMT_CUDA
HW acceleration through CUDA.
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
static const AVOption options[]
static int cuda_bilateral_filter_frame(AVFilterLink *link, AVFrame *in)
static const AVFilterPad cuda_bilateral_inputs[]
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_INPUTS(array)
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static av_cold int cudabilateral_init(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad cuda_bilateral_outputs[]
static av_cold void cudabilateral_uninit(AVFilterContext *ctx)
static av_cold int cuda_bilateral_config_props(AVFilterLink *outlink)
#define FILTER_SINGLE_PIXFMT(pix_fmt_)
@ AV_PIX_FMT_NV12
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
static const AVClass cuda_bilateral_class
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
#define FILTER_OUTPUTS(array)