#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 "scale_eval.h"
#include "video.h"
#include "vaapi_vpp.h"
Go to the source code of this file.
◆ STRING_OPTION
#define STRING_OPTION |
( |
|
var_name, |
|
|
|
func_name, |
|
|
|
default_value |
|
) |
| |
Value: do { \
if (
ctx->var_name ## _string) { \
int var = av_ ## func_name ## _from_name(
ctx->var_name ## _string); \
if (var < 0) { \
} \
ctx->var_name = var; \
} else { \
ctx->var_name = default_value; \
} \
} while (0)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
◆ OFFSET
◆ FLAGS
◆ scale_vaapi_mode_name()
static const char* scale_vaapi_mode_name |
( |
int |
mode | ) |
|
|
static |
◆ scale_vaapi_config_output()
◆ scale_vaapi_filter_frame()
◆ scale_vaapi_init()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
scale_vaapi |
| ) |
|
◆ scale_vaapi_options
◆ scale_vaapi_inputs
Initial value:= {
{
.name = "default",
},
}
int ff_vaapi_vpp_config_input(AVFilterLink *inlink)
static int scale_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_frame)
Definition at line 267 of file vf_scale_vaapi.c.
◆ scale_vaapi_outputs
Initial value:= {
{
.name = "default",
},
}
static int scale_vaapi_config_output(AVFilterLink *outlink)
Definition at line 277 of file vf_scale_vaapi.c.
◆ ff_vf_scale_vaapi
Initial value:= {
.name = "scale_vaapi",
.priv_class = &scale_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 scale_vaapi_outputs[]
static const AVFilterPad scale_vaapi_inputs[]
static av_cold int scale_vaapi_init(AVFilterContext *avctx)
Definition at line 286 of file vf_scale_vaapi.c.