Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ transpose_opencl_init()
◆ transpose_opencl_config_output()
◆ get_video_buffer()
◆ transpose_opencl_filter_frame()
◆ transpose_opencl_uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
transpose_opencl |
| ) |
|
◆ transpose_opencl_options
const AVOption transpose_opencl_options[] |
|
static |
Initial value:= {
{ "passthrough", "do not apply transposition if the input matches the specified geometry",
}
Definition at line 239 of file vf_transpose_opencl.c.
◆ transpose_opencl_inputs
◆ transpose_opencl_outputs
◆ ff_vf_transpose_opencl
Initial value:= {
.name = "transpose_opencl",
.priv_class = &transpose_opencl_class,
}
Definition at line 277 of file vf_transpose_opencl.c.
static av_cold int init(AVCodecContext *avctx)
#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 AVFilterPad transpose_opencl_outputs[]
static int transpose_opencl_config_output(AVFilterLink *outlink)
static AVFrame * get_video_buffer(AVFilterLink *inlink, int w, int h)
static const AVFilterPad outputs[]
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
@ TRANSPOSE_PT_TYPE_PORTRAIT
static const AVFilterPad transpose_opencl_inputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
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.
static int transpose_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
int ff_opencl_filter_init(AVFilterContext *avctx)
Initialise an OpenCL filter context.
@ TRANSPOSE_PT_TYPE_LANDSCAPE
static int query_formats(AVFilterContext *ctx)
static av_cold int uninit(AVCodecContext *avctx)
static av_cold void transpose_opencl_uninit(AVFilterContext *avctx)
int ff_opencl_filter_query_formats(AVFilterContext *avctx)
Return that all inputs and outputs support only AV_PIX_FMT_OPENCL.