Go to the source code of this file.
|
| enum | var_name {
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
, VARS_NB
} |
| |
◆ OFFSET
◆ FLAGS
◆ var_name
| 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 | |
| VARS_NB | |
Definition at line 43 of file vf_pad_opencl.c.
◆ pad_opencl_init()
◆ filter_frame()
◆ pad_opencl_uninit()
◆ pad_opencl_config_output()
| static int pad_opencl_config_output |
( |
AVFilterLink * | outlink | ) |
|
|
static |
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
pad_opencl | | ) |
|
◆ 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",
}
Definition at line 30 of file vf_pad_opencl.c.
◆ pad_opencl_inputs
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
int ff_opencl_filter_config_input(AVFilterLink *inlink)
Check that the input link contains a suitable hardware frames context and extract the device from it.
Definition at line 349 of file vf_pad_opencl.c.
◆ pad_opencl_outputs
Initial value:= {
{
.name = "default",
},
}
static int pad_opencl_config_output(AVFilterLink *outlink)
Definition at line 358 of file vf_pad_opencl.c.
◆ pad_opencl_options
Initial value:= {
}
@ AV_OPT_TYPE_RATIONAL
Underlying C type is AVRational.
@ 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_COLOR
Underlying C type is uint8_t[4].
Definition at line 369 of file vf_pad_opencl.c.
◆ ff_vf_pad_opencl
Initial value:= {
.p.name = "pad_opencl",
.p.priv_class = &pad_opencl_class,
}
int(* init)(AVBSFContext *ctx)
#define AVFILTER_FLAG_HWDEVICE
The filter can create hardware frames using AVFilterContext.hw_device_ctx.
static av_cold void uninit(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
#define FILTER_SINGLE_PIXFMT(pix_fmt_)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
int ff_opencl_filter_init(AVFilterContext *avctx)
Initialise an OpenCL filter context.
@ AV_PIX_FMT_OPENCL
Hardware surfaces for OpenCL.
static av_cold void pad_opencl_uninit(AVFilterContext *avctx)
static const AVFilterPad pad_opencl_inputs[]
static const AVFilterPad pad_opencl_outputs[]
Definition at line 383 of file vf_pad_opencl.c.