FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "filters.h"
#include "formats.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | GEQContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | MAX_NB_THREADS 32 |
#define | NB_PLANES 4 |
#define | OFFSET(x) offsetof(GEQContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | InterpolationMethods { INTERP_NEAREST, INTERP_BILINEAR, NB_INTERP } |
enum | { VAR_X, VAR_Y, VAR_W, VAR_H, VAR_N, VAR_SW, VAR_SH, VAR_T, VAR_VARS_NB } |
enum | { Y = 0, U, V, A, G, B, R } |
Functions | |
AVFILTER_DEFINE_CLASS (geq) | |
static double | getpix (void *priv, double x, double y, int plane) |
static int | calculate_sums (GEQContext *geq, int plane, int w, int h) |
static double | getpix_integrate_internal (GEQContext *geq, int x, int y, int plane, int w, int h) |
static double | getpix_integrate (void *priv, double x, double y, int plane) |
static double | lum (void *priv, double x, double y) |
static double | cb (void *priv, double x, double y) |
static double | cr (void *priv, double x, double y) |
static double | alpha (void *priv, double x, double y) |
static double | lumsum (void *priv, double x, double y) |
static double | cbsum (void *priv, double x, double y) |
static double | crsub (void *priv, double x, double y) |
static double | alphasum (void *priv, double x, double y) |
static av_cold int | geq_init (AVFilterContext *ctx) |
static int | geq_query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
static int | geq_config_props (AVFilterLink *inlink) |
static int | slice_geq_filter (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | geq_filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold void | geq_uninit (AVFilterContext *ctx) |
Variables | |
static const char *const | var_names [] = { "X", "Y", "W", "H", "N", "SW", "SH", "T", NULL } |
static const AVOption | geq_options [] |
static const AVFilterPad | geq_inputs [] |
const AVFilter | ff_vf_geq |
Generic equation change filter Originally written by Michael Niedermayer for the MPlayer project, and ported by Clément Bœsch for FFmpeg.
Definition in file vf_geq.c.
#define OFFSET | ( | x | ) | offsetof(GEQContext, x) |
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
enum InterpolationMethods |
anonymous enum |
AVFILTER_DEFINE_CLASS | ( | geq | ) |
|
static |
Definition at line 164 of file vf_geq.c.
Referenced by geq_filter_frame().
|
inlinestatic |
Definition at line 212 of file vf_geq.c.
Referenced by getpix_integrate().
Definition at line 246 of file vf_geq.c.
Referenced by geq_init().
Definition at line 247 of file vf_geq.c.
Referenced by apply_noise_fill(), av_executor_alloc(), av_executor_execute(), build_canonical_huff(), calc_power(), cfhd_encode_frame(), codebook_trellis_rate(), create_adapt_vect(), create_vorbis_context(), decode_frame(), decode_huffman2(), decode_lsp(), decode_q_branch(), do_decode(), draw_cursor(), draw_spatial(), dvbsub_parse_clut_segment(), encode_frame(), encode_q_branch(), encode_window_bands_info(), escape130_decode_frame(), ff_check_interrupt(), ff_dvdclut_yuv_to_rgb(), ff_executor_alloc(), ff_fill_rgb2yuv_table(), ff_poll_interrupt(), ff_quantize_and_encode_band_cost(), ff_vvc_inv_dct2_64(), filter_frame(), find_best_vect(), find_min_book(), frame_checksum_compare(), geq_init(), idct_put(), if(), index_mb(), init_dimensions(), ivi_create_huff_from_desc(), m101_decode_frame(), mediacodec_init(), mediacodec_ndk_setAsyncNotifyCallback(), opus_rc_enc_carryout(), osq_channel_parameters(), paf_audio_decode(), parse_ifo_palette(), parse_palette_segment(), pgmyuv_save(), pps_scc_extension(), ps_tableinit(), put_codebook_header(), put_codeword(), quantize_and_encode_band(), quantize_and_encode_band_cost_template(), quantize_band_cost(), quantize_band_cost_bits(), quantize_band_cost_cached(), read_coeffs_coarse(), ready_codebook(), ready_residue(), reset_stats(), rgb24_to_yuv420p(), rgb_to_yuv(), run_one_task(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), set_blocks(), spectrum_scale(), unpack_codebook(), update_residue_parameter(), update_stats(), update_volume(), vcr1_decode_frame(), vibrance_slice16(), vibrance_slice16p(), vibrance_slice8(), vibrance_slice8p(), vorbis_parse_setup_hdr_codebooks(), vvc_deblock_bs_luma(), vvc_deblock_subblock_bs(), yuv_a_to_rgba(), and yuv_to_rgba().
Definition at line 248 of file vf_geq.c.
Referenced by decode_frame(), decode_q_branch(), draw_cursor(), draw_mandelbrot(), draw_spatial(), dvbsub_parse_clut_segment(), encode_frame(), encode_q_branch(), escape130_decode_frame(), ff_dvdclut_yuv_to_rgb(), ff_fill_rgb2yuv_table(), geq_init(), idct_put(), init_dimensions(), m101_decode_frame(), parse_ifo_palette(), parse_palette_segment(), pgmyuv_save(), pps_scc_extension(), rgb24_to_yuv420p(), rgb_to_yuv(), set_blocks(), vcr1_decode_frame(), vibrance_slice16(), vibrance_slice16p(), vibrance_slice8(), vibrance_slice8p(), view_matrix(), yuv_a_to_rgba(), and yuv_to_rgba().
Definition at line 249 of file vf_geq.c.
Referenced by geq_init().
Definition at line 251 of file vf_geq.c.
Referenced by geq_init().
Definition at line 252 of file vf_geq.c.
Referenced by geq_init().
Definition at line 253 of file vf_geq.c.
Referenced by geq_init().
Definition at line 254 of file vf_geq.c.
Referenced by geq_init().
|
static |
|
static |
|
static |
|
static |
Definition at line 400 of file vf_geq.c.
Referenced by geq_filter_frame().
|
static |
|
static |
Definition at line 49 of file vf_geq.c.
Referenced by geq_init().
|
static |
|
static |
const AVFilter ff_vf_geq |