#include <string.h>
#include <va/va.h>
#include <va/va_vpp.h>
#include "libavutil/avassert.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vaapi.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
#define CS |
( |
|
av, |
|
|
|
va |
|
) |
| case AVCOL_SPC_ ## av: return VAProcColorStandard ## va; |
static int scale_vaapi_config_input |
( |
AVFilterLink * |
inlink | ) |
|
|
static |
static int scale_vaapi_config_output |
( |
AVFilterLink * |
outlink | ) |
|
|
static |
static int vaapi_proc_colour_standard |
( |
enum AVColorSpace |
av_cs | ) |
|
|
static |
Initial value:= {
{ "w", "Output video width",
{ "h", "Output video height",
{ "format", "Output video format (software format of hardware frames)",
}
Definition at line 414 of file vf_scale_vaapi.c.
Initial value:= {
.class_name = "scale_vaapi",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption scale_vaapi_options[]
Definition at line 424 of file vf_scale_vaapi.c.
Initial value:= {
{
.name = "default",
},
}
static int scale_vaapi_config_input(AVFilterLink *inlink)
static int scale_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_frame)
Definition at line 431 of file vf_scale_vaapi.c.
Initial value:= {
{
.name = "default",
},
}
static int scale_vaapi_config_output(AVFilterLink *outlink)
Definition at line 441 of file vf_scale_vaapi.c.
Initial value:= {
.name = "scale_vaapi",
}
static av_cold int init(AVCodecContext *avctx)
static av_cold void scale_vaapi_uninit(AVFilterContext *avctx)
static av_cold int uninit(AVCodecContext *avctx)
static av_cold int scale_vaapi_init(AVFilterContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad scale_vaapi_inputs[]
static const AVClass scale_vaapi_class
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
static const AVFilterPad scale_vaapi_outputs[]
static int query_formats(AVFilterContext *ctx)
static int scale_vaapi_query_formats(AVFilterContext *avctx)
Definition at line 450 of file vf_scale_vaapi.c.