Go to the source code of this file.
|
static CUresult | call_kernel (AVFilterContext *ctx, CUfunction func, CUdeviceptr prev, CUdeviceptr cur, CUdeviceptr next, CUarray_format format, int channels, int src_width, int src_height, int src_pitch, CUdeviceptr dst, int dst_width, int dst_height, int dst_pitch, int parity, int tff) |
|
static void | filter (AVFilterContext *ctx, AVFrame *dst, int parity, int tff) |
|
static av_cold void | deint_cuda_uninit (AVFilterContext *ctx) |
|
static int | deint_cuda_query_formats (AVFilterContext *ctx) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | config_output (AVFilterLink *link) |
|
◆ DIV_UP
#define DIV_UP |
( |
|
a, |
|
|
|
b |
|
) |
| ( ((a) + (b) - 1) / (b) ) |
◆ ALIGN_UP
#define ALIGN_UP |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) + (b) - 1) & ~((b) - 1)) |
◆ BLOCKX
◆ BLOCKY
◆ CHECK_CU
◆ call_kernel()
static CUresult call_kernel |
( |
AVFilterContext * |
ctx, |
|
|
CUfunction |
func, |
|
|
CUdeviceptr |
prev, |
|
|
CUdeviceptr |
cur, |
|
|
CUdeviceptr |
next, |
|
|
CUarray_format |
format, |
|
|
int |
channels, |
|
|
int |
src_width, |
|
|
int |
src_height, |
|
|
int |
src_pitch, |
|
|
CUdeviceptr |
dst, |
|
|
int |
dst_width, |
|
|
int |
dst_height, |
|
|
int |
dst_pitch, |
|
|
int |
parity, |
|
|
int |
tff |
|
) |
| |
|
static |
◆ filter()
◆ deint_cuda_uninit()
◆ deint_cuda_query_formats()
◆ config_input()
◆ config_output()
◆ vf_yadif_cuda_ptx
◆ yadif_cuda_class
Initial value:= {
.class_name = "yadif_cuda",
}
Definition at line 348 of file vf_yadif_cuda.c.
◆ deint_cuda_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 356 of file vf_yadif_cuda.c.
◆ deint_cuda_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 366 of file vf_yadif_cuda.c.
◆ ff_vf_yadif_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 int config_input(AVFilterLink *inlink)
static const AVFilterPad deint_cuda_outputs[]
static const AVFilterPad deint_cuda_inputs[]
static const AVFilterPad outputs[]
#define LIBAVUTIL_VERSION_INT
static const AVClass yadif_cuda_class
const char * av_default_item_name(void *ptr)
Return the context name.
static av_cold void deint_cuda_uninit(AVFilterContext *ctx)
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
@ AV_CLASS_CATEGORY_FILTER
const AVOption ff_yadif_options[]
static int config_output(AVFilterLink *link)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int deint_cuda_query_formats(AVFilterContext *ctx)
int ff_yadif_request_frame(AVFilterLink *link)
static int query_formats(AVFilterContext *ctx)
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
#define flags(name, subs,...)
static av_cold int uninit(AVCodecContext *avctx)
int ff_yadif_filter_frame(AVFilterLink *link, AVFrame *frame)