FFmpeg
4.0
|
#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 "vaapi_vpp.h"
Go to the source code of this file.
Data Structures | |
struct | ProcampVAAPIContext |
Macros | |
#define | BRIGHTNESS_MIN -100.0F |
#define | BRIGHTNESS_MAX 100.0F |
#define | BRIGHTNESS_DEFAULT 0.0F |
#define | CONTRAST_MIN 0.0F |
#define | CONTRAST_MAX 10.0F |
#define | CONTRAST_DEFAULT 1.0F |
#define | HUE_MIN -180.0F |
#define | HUE_MAX 180.0F |
#define | HUE_DEFAULT 0.0F |
#define | SATURATION_MIN 0.0F |
#define | SATURATION_MAX 10.0F |
#define | SATURATION_DEFAULT 1.0F |
#define | OFFSET(x) offsetof(ProcampVAAPIContext, x) |
#define | FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
Functions | |
static float | map (float x, float in_min, float in_max, float out_min, float out_max) |
static int | procamp_vaapi_build_filter_params (AVFilterContext *avctx) |
static int | procamp_vaapi_filter_frame (AVFilterLink *inlink, AVFrame *input_frame) |
static av_cold int | procamp_vaapi_init (AVFilterContext *avctx) |
AVFILTER_DEFINE_CLASS (procamp_vaapi) | |
Variables | |
static const AVOption | procamp_vaapi_options [] |
static const AVFilterPad | procamp_vaapi_inputs [] |
static const AVFilterPad | procamp_vaapi_outputs [] |
AVFilter | ff_vf_procamp_vaapi |
#define BRIGHTNESS_MIN -100.0F |
Definition at line 31 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define BRIGHTNESS_MAX 100.0F |
Definition at line 32 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define BRIGHTNESS_DEFAULT 0.0F |
Definition at line 33 of file vf_procamp_vaapi.c.
#define CONTRAST_MIN 0.0F |
Definition at line 35 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define CONTRAST_MAX 10.0F |
Definition at line 36 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define CONTRAST_DEFAULT 1.0F |
Definition at line 37 of file vf_procamp_vaapi.c.
#define HUE_MIN -180.0F |
Definition at line 39 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define HUE_MAX 180.0F |
Definition at line 40 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define HUE_DEFAULT 0.0F |
Definition at line 41 of file vf_procamp_vaapi.c.
#define SATURATION_MIN 0.0F |
Definition at line 43 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define SATURATION_MAX 10.0F |
Definition at line 44 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
#define SATURATION_DEFAULT 1.0F |
Definition at line 45 of file vf_procamp_vaapi.c.
#define OFFSET | ( | x | ) | offsetof(ProcampVAAPIContext, x) |
Definition at line 216 of file vf_procamp_vaapi.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
Definition at line 217 of file vf_procamp_vaapi.c.
|
static |
Definition at line 56 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
|
static |
Definition at line 66 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_init().
|
static |
Definition at line 128 of file vf_procamp_vaapi.c.
|
static |
Definition at line 204 of file vf_procamp_vaapi.c.
AVFILTER_DEFINE_CLASS | ( | procamp_vaapi | ) |
|
static |
Definition at line 218 of file vf_procamp_vaapi.c.
|
static |
Definition at line 240 of file vf_procamp_vaapi.c.
|
static |
Definition at line 250 of file vf_procamp_vaapi.c.
AVFilter ff_vf_procamp_vaapi |
Definition at line 259 of file vf_procamp_vaapi.c.