Go to the source code of this file.
|
enum | TonemapAlgorithm {
TONEMAP_NONE,
TONEMAP_LINEAR,
TONEMAP_GAMMA,
TONEMAP_CLIP,
TONEMAP_REINHARD,
TONEMAP_HABLE,
TONEMAP_MOBIUS,
TONEMAP_MAX,
TONEMAP_NONE,
TONEMAP_LINEAR,
TONEMAP_GAMMA,
TONEMAP_CLIP,
TONEMAP_REINHARD,
TONEMAP_HABLE,
TONEMAP_MOBIUS,
TONEMAP_MAX
} |
|
◆ DETECTION_FRAMES
#define DETECTION_FRAMES 63 |
◆ OPENCL_SOURCE_NB
#define OPENCL_SOURCE_NB 3 |
◆ OFFSET
◆ FLAGS
◆ TonemapAlgorithm
Enumerator |
---|
TONEMAP_NONE | |
TONEMAP_LINEAR | |
TONEMAP_GAMMA | |
TONEMAP_CLIP | |
TONEMAP_REINHARD | |
TONEMAP_HABLE | |
TONEMAP_MOBIUS | |
TONEMAP_MAX | |
TONEMAP_NONE | |
TONEMAP_LINEAR | |
TONEMAP_GAMMA | |
TONEMAP_CLIP | |
TONEMAP_REINHARD | |
TONEMAP_HABLE | |
TONEMAP_MOBIUS | |
TONEMAP_MAX | |
Definition at line 41 of file vf_tonemap_opencl.c.
◆ get_rgb2rgb_matrix()
◆ tonemap_opencl_init()
◆ tonemap_opencl_config_output()
◆ launch_kernel()
◆ tonemap_opencl_filter_frame()
◆ tonemap_opencl_uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
tonemap_opencl |
| ) |
|
◆ linearize_funcs
◆ delinearize_funcs
◆ primaries_table
◆ whitepoint_table
◆ tonemap_func
◆ sdr_avg
const float sdr_avg = 0.25f |
|
static |
◆ tonemap_opencl_options
◆ tonemap_opencl_inputs
◆ tonemap_opencl_outputs
◆ ff_vf_tonemap_opencl
Initial value:= {
.name = "tonemap_opencl",
.priv_class = &tonemap_opencl_class,
}
Definition at line 543 of file vf_tonemap_opencl.c.
static av_cold int init(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...
static int tonemap_opencl_config_output(AVFilterLink *outlink)
static int tonemap_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
static const AVFilterPad outputs[]
static const AVFilterPad tonemap_opencl_outputs[]
static av_cold void tonemap_opencl_uninit(AVFilterContext *avctx)
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
@ AVCOL_TRC_BT2020_10
ITU-R BT2020 for 10-bit system.
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
@ AVCOL_PRI_BT2020
ITU-R BT2020.
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad tonemap_opencl_inputs[]
int ff_opencl_filter_config_input(AVFilterLink *inlink)
Check that the input link contains a suitable hardware frames context and extract the device from it.
@ AVCOL_TRC_BT709
also ITU-R BT1361
int ff_opencl_filter_init(AVFilterContext *avctx)
Initialise an OpenCL filter context.
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
static int query_formats(AVFilterContext *ctx)
static av_cold int uninit(AVCodecContext *avctx)
int ff_opencl_filter_query_formats(AVFilterContext *avctx)
Return that all inputs and outputs support only AV_PIX_FMT_OPENCL.