#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "transpose.h"
#include "vaapi_vpp.h"
Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ transpose_vaapi_build_filter_params()
◆ transpose_vaapi_filter_frame()
◆ transpose_vaapi_init()
◆ transpose_vaapi_vpp_config_output()
◆ get_video_buffer()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
transpose_vaapi |
| ) |
|
◆ transpose_vaapi_options
const AVOption transpose_vaapi_options[] |
|
static |
Initial value:= {
{ "passthrough", "do not apply transposition if the input matches the specified geometry",
}
@ TRANSPOSE_PT_TYPE_PORTRAIT
@ TRANSPOSE_PT_TYPE_LANDSCAPE
Definition at line 235 of file vf_transpose_vaapi.c.
◆ transpose_vaapi_inputs
Initial value:= {
{
.name = "default",
},
}
int ff_vaapi_vpp_config_input(AVFilterLink *inlink)
static int transpose_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_frame)
static AVFrame * get_video_buffer(AVFilterLink *inlink, int w, int h)
Definition at line 257 of file vf_transpose_vaapi.c.
◆ transpose_vaapi_outputs
Initial value:= {
{
.name = "default",
},
}
static int transpose_vaapi_vpp_config_output(AVFilterLink *outlink)
Definition at line 268 of file vf_transpose_vaapi.c.
◆ ff_vf_transpose_vaapi
Initial value:= {
.name = "transpose_vaapi",
.priv_class = &transpose_vaapi_class,
}
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
static av_cold int init(AVCodecContext *avctx)
static av_cold int uninit(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...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
void ff_vaapi_vpp_ctx_uninit(AVFilterContext *avctx)
int ff_vaapi_vpp_query_formats(AVFilterContext *avctx)
static const AVFilterPad transpose_vaapi_outputs[]
static const AVFilterPad transpose_vaapi_inputs[]
static av_cold int transpose_vaapi_init(AVFilterContext *avctx)
Definition at line 277 of file vf_transpose_vaapi.c.