#include "libavutil/file.h"
#include "libavutil/opt.h"
#include "internal.h"
#include "vulkan_filter.h"
#include "scale_eval.h"
#include <libplacebo/renderer.h>
#include <libplacebo/utils/libav.h>
#include <libplacebo/vulkan.h>
Go to the source code of this file.
|
enum | {
TONE_MAP_AUTO,
TONE_MAP_CLIP,
TONE_MAP_ST2094_40,
TONE_MAP_ST2094_10,
TONE_MAP_BT2390,
TONE_MAP_BT2446A,
TONE_MAP_SPLINE,
TONE_MAP_REINHARD,
TONE_MAP_MOBIUS,
TONE_MAP_HABLE,
TONE_MAP_GAMMA,
TONE_MAP_LINEAR,
TONE_MAP_COUNT
} |
|
◆ OFFSET
◆ STATIC
◆ DYNAMIC
◆ anonymous enum
Enumerator |
---|
TONE_MAP_AUTO | |
TONE_MAP_CLIP | |
TONE_MAP_ST2094_40 | |
TONE_MAP_ST2094_10 | |
TONE_MAP_BT2390 | |
TONE_MAP_BT2446A | |
TONE_MAP_SPLINE | |
TONE_MAP_REINHARD | |
TONE_MAP_MOBIUS | |
TONE_MAP_HABLE | |
TONE_MAP_GAMMA | |
TONE_MAP_LINEAR | |
TONE_MAP_COUNT | |
Definition at line 29 of file vf_libplacebo.c.
◆ get_log_level()
static enum pl_log_level get_log_level |
( |
void |
| ) |
|
|
inlinestatic |
◆ pl_av_log()
static void pl_av_log |
( |
void * |
log_ctx, |
|
|
enum pl_log_level |
level, |
|
|
const char * |
msg |
|
) |
| |
|
static |
◆ parse_shader()
◆ find_scaler()
static int find_scaler |
( |
AVFilterContext * |
avctx, |
|
|
const struct pl_filter_config ** |
opt, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ libplacebo_uninit()
◆ libplacebo_init()
◆ init_vulkan()
◆ process_frames()
◆ filter_frame()
◆ libplacebo_query_format()
◆ libplacebo_config_input()
◆ libplacebo_config_output()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
libplacebo |
| ) |
|
◆ tonemapping_funcs
const struct pl_tone_map_function* const tonemapping_funcs[TONE_MAP_COUNT] |
|
static |
◆ libplacebo_options
◆ libplacebo_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 858 of file vf_libplacebo.c.
◆ libplacebo_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 867 of file vf_libplacebo.c.
◆ ff_vf_libplacebo
Initial value:= {
.name = "libplacebo",
.priv_class = &libplacebo_class,
}
Definition at line 875 of file vf_libplacebo.c.
static int libplacebo_query_format(AVFilterContext *ctx)
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
#define FILTER_QUERY_FUNC(func)
static int libplacebo_config_output(AVFilterLink *outlink)
static int filter_frame(AVFilterLink *link, AVFrame *in)
static const AVFilterPad libplacebo_inputs[]
int(* init)(AVBSFContext *ctx)
static void libplacebo_uninit(AVFilterContext *avctx)
#define FILTER_INPUTS(array)
static int libplacebo_config_input(AVFilterLink *inlink)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.
static const AVFilterPad libplacebo_outputs[]
#define FILTER_OUTPUTS(array)
static av_cold int uninit(AVCodecContext *avctx)
static int libplacebo_init(AVFilterContext *avctx)