Go to the source code of this file.
|
enum | {
VAR_IN_W,
VAR_IW,
VAR_IN_H,
VAR_IH,
VAR_OUT_W,
VAR_OW,
VAR_OUT_H,
VAR_OH,
VAR_X,
VAR_Y,
VAR_A,
VAR_SAR,
VAR_DAR,
VAR_HSUB,
VAR_VSUB,
VARS_NB
} |
|
enum | EvalMode {
EVAL_MODE_ONCE,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB
} |
|
CUDA video padding filter
Definition in file vf_pad_cuda.c.
◆ CHECK_CU
◆ DIV_UP
#define DIV_UP |
( |
|
a, |
|
|
|
b |
|
) |
| ( ((a) + (b) - 1) / (b) ) |
◆ BLOCK_X
◆ BLOCK_Y
◆ OFFSET
◆ FLAGS
◆ anonymous enum
Enumerator |
---|
VAR_IN_W | |
VAR_IW | |
VAR_IN_H | |
VAR_IH | |
VAR_OUT_W | |
VAR_OW | |
VAR_OUT_H | |
VAR_OH | |
VAR_X | |
VAR_Y | |
VAR_A | |
VAR_SAR | |
VAR_DAR | |
VAR_HSUB | |
VAR_VSUB | |
VARS_NB | |
Definition at line 97 of file vf_pad_cuda.c.
◆ EvalMode
Enumerator |
---|
EVAL_MODE_ONCE | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
Definition at line 116 of file vf_pad_cuda.c.
◆ eval_expr()
◆ cuda_pad_alloc_out_frames_ctx()
static int cuda_pad_alloc_out_frames_ctx |
( |
AVFilterContext * |
ctx, |
|
|
AVBufferRef ** |
out_frames_ctx, |
|
|
const int |
width, |
|
|
const int |
height |
|
) |
| |
|
static |
◆ cuda_pad_init()
◆ cuda_pad_uninit()
◆ cuda_pad_load_functions()
◆ cuda_pad_config_props()
◆ cuda_pad_pad()
◆ cuda_pad_filter_frame()
◆ supported_formats
◆ var_names
const char* const var_names[] |
|
static |
Initial value:= {
"in_w", "iw",
"in_h", "ih",
"out_w", "ow",
"out_h", "oh",
"x",
"y",
"a",
"sar",
"dar",
"hsub",
"vsub",
}
Definition at line 82 of file vf_pad_cuda.c.
Referenced by eval_expr().
◆ cuda_pad_options
◆ cuda_pad_class
Initial value:= {
.class_name = "pad_cuda",
}
Definition at line 602 of file vf_pad_cuda.c.
◆ cuda_pad_inputs
Initial value:= {{
.name = "default",
}}
Definition at line 609 of file vf_pad_cuda.c.
◆ cuda_pad_outputs
Initial value:= {{
.name = "default",
}}
Definition at line 615 of file vf_pad_cuda.c.
◆ ff_vf_pad_cuda
Initial value:= {
.p.name = "pad_cuda",
}
Definition at line 621 of file vf_pad_cuda.c.
@ AV_PIX_FMT_CUDA
HW acceleration through CUDA.
static const AVFilterPad cuda_pad_outputs[]
#define FILTER_INPUTS(array)
@ AV_OPT_TYPE_RATIONAL
Underlying C type is AVRational.
static const AVFilterPad cuda_pad_inputs[]
static const AVOption cuda_pad_options[]
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
static const AVClass cuda_pad_class
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_OUTPUTS(array)
static int cuda_pad_config_props(AVFilterLink *outlink)
#define LIBAVUTIL_VERSION_INT
@ AV_OPT_TYPE_COLOR
Underlying C type is uint8_t[4].
const char * av_default_item_name(void *ptr)
Return the context name.
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
static int cuda_pad_filter_frame(AVFilterLink *inlink, AVFrame *in)
@ 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...
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
static av_cold void cuda_pad_uninit(AVFilterContext *ctx)
static av_cold int cuda_pad_init(AVFilterContext *ctx)
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
#define FILTER_SINGLE_PIXFMT(pix_fmt_)