FFmpeg
|
#include <string.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 [] |
const AVFilter | ff_vf_procamp_vaapi |
#define BRIGHTNESS_MIN -100.0F |
Definition at line 29 of file vf_procamp_vaapi.c.
#define BRIGHTNESS_MAX 100.0F |
Definition at line 30 of file vf_procamp_vaapi.c.
#define BRIGHTNESS_DEFAULT 0.0F |
Definition at line 31 of file vf_procamp_vaapi.c.
#define CONTRAST_MIN 0.0F |
Definition at line 33 of file vf_procamp_vaapi.c.
#define CONTRAST_MAX 10.0F |
Definition at line 34 of file vf_procamp_vaapi.c.
#define CONTRAST_DEFAULT 1.0F |
Definition at line 35 of file vf_procamp_vaapi.c.
#define HUE_MIN -180.0F |
Definition at line 37 of file vf_procamp_vaapi.c.
#define HUE_MAX 180.0F |
Definition at line 38 of file vf_procamp_vaapi.c.
#define HUE_DEFAULT 0.0F |
Definition at line 39 of file vf_procamp_vaapi.c.
#define SATURATION_MIN 0.0F |
Definition at line 41 of file vf_procamp_vaapi.c.
#define SATURATION_MAX 10.0F |
Definition at line 42 of file vf_procamp_vaapi.c.
#define SATURATION_DEFAULT 1.0F |
Definition at line 43 of file vf_procamp_vaapi.c.
#define OFFSET | ( | x | ) | offsetof(ProcampVAAPIContext, x) |
Definition at line 191 of file vf_procamp_vaapi.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) |
Definition at line 192 of file vf_procamp_vaapi.c.
Definition at line 54 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_build_filter_params().
|
static |
Definition at line 64 of file vf_procamp_vaapi.c.
Referenced by procamp_vaapi_init().
|
static |
Definition at line 126 of file vf_procamp_vaapi.c.
|
static |
Definition at line 179 of file vf_procamp_vaapi.c.
AVFILTER_DEFINE_CLASS | ( | procamp_vaapi | ) |
|
static |
Definition at line 193 of file vf_procamp_vaapi.c.
|
static |
Definition at line 215 of file vf_procamp_vaapi.c.
|
static |
Definition at line 224 of file vf_procamp_vaapi.c.
const AVFilter ff_vf_procamp_vaapi |
Definition at line 232 of file vf_procamp_vaapi.c.