FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | WaveformContext |
Macros | |
#define | OFFSET(x) offsetof(WaveformContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
enum | FilterType { biquad, equalizer, bass, treble, band, bandpass, bandreject, allpass, highpass, lowpass, LOWPASS, FLAT, AFLAT, CHROMA, ACHROMA, COLOR, NB_FILTERS } |
Functions | |
AVFILTER_DEFINE_CLASS (waveform) | |
static int | query_formats (AVFilterContext *ctx) |
static void | envelope_instant16 (WaveformContext *s, AVFrame *out, int plane, int component) |
static void | envelope_instant (WaveformContext *s, AVFrame *out, int plane, int component) |
static void | envelope_peak16 (WaveformContext *s, AVFrame *out, int plane, int component) |
static void | envelope_peak (WaveformContext *s, AVFrame *out, int plane, int component) |
static void | envelope16 (WaveformContext *s, AVFrame *out, int plane, int component) |
static void | envelope (WaveformContext *s, AVFrame *out, int plane, int component) |
static void | update16 (uint16_t *target, int max, int intensity, int limit) |
static void | update (uint8_t *target, int max, int intensity) |
static void | lowpass16 (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static void | lowpass (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static void | flat (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static void | aflat (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static void | chroma (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static void | achroma (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static void | color16 (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static void | color (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset, int column) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | waveform_options [] |
static enum AVPixelFormat | lowpass_pix_fmts [] |
static enum AVPixelFormat | flat_pix_fmts [] |
static enum AVPixelFormat | color_pix_fmts [] |
static const uint8_t | black_yuva_color [4] = { 0, 127, 127, 255 } |
static const uint8_t | black_gbrp_color [4] = { 0, 0, 0, 255 } |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
AVFilter | ff_vf_waveform |
#define OFFSET | ( | x | ) | offsetof(WaveformContext, x) |
Definition at line 66 of file vf_waveform.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 67 of file vf_waveform.c.
enum FilterType |
Enumerator | |
---|---|
biquad | |
equalizer | |
bass | |
treble | |
band | |
bandpass | |
bandreject | |
allpass | |
highpass | |
lowpass | |
LOWPASS | |
FLAT | |
AFLAT | |
CHROMA | |
ACHROMA | |
COLOR | |
NB_FILTERS |
Definition at line 31 of file vf_waveform.c.
AVFILTER_DEFINE_CLASS | ( | waveform | ) |
|
static |
Definition at line 132 of file vf_waveform.c.
|
static |
Definition at line 153 of file vf_waveform.c.
Referenced by envelope16(), and envelope_peak16().
|
static |
Definition at line 204 of file vf_waveform.c.
Referenced by envelope(), and envelope_peak().
|
static |
Definition at line 254 of file vf_waveform.c.
Referenced by envelope16().
|
static |
Definition at line 327 of file vf_waveform.c.
Referenced by envelope().
|
static |
Definition at line 399 of file vf_waveform.c.
Referenced by color16(), and lowpass16().
|
static |
|
static |
Definition at line 421 of file vf_waveform.c.
Referenced by lowpass16().
|
static |
Definition at line 437 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 487 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 534 of file vf_waveform.c.
Referenced by config_input(), ff_loop_filter_h_44_16_msa(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_4_8_msa(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_h_8_8_msa(), ff_loop_filter_v_16_8_msa(), ff_loop_filter_v_44_16_msa(), ff_loop_filter_v_48_16_msa(), ff_loop_filter_v_4_8_msa(), ff_loop_filter_v_84_16_msa(), ff_loop_filter_v_88_16_msa(), ff_loop_filter_v_8_8_msa(), ff_vp8_h_loop_filter16_inner_msa(), ff_vp8_h_loop_filter16_msa(), ff_vp8_h_loop_filter8uv_inner_msa(), ff_vp8_h_loop_filter8uv_msa(), ff_vp8_v_loop_filter16_inner_msa(), ff_vp8_v_loop_filter16_msa(), ff_vp8_v_loop_filter8uv_inner_msa(), ff_vp8_v_loop_filter8uv_msa(), flat_init(), flat_print_section_header(), flat_print_str(), vp9_hz_lpf_t16_16w(), vp9_hz_lpf_t4_and_t8_16w(), vp9_vt_lpf_t16_16w(), vp9_vt_lpf_t16_8w(), vp9_vt_lpf_t4_and_t8_16w(), and vp9_vt_lpf_t4_and_t8_8w().
|
static |
Definition at line 632 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 785 of file vf_waveform.c.
Referenced by config_input(), deblocking_filter_CTB(), encode_slice_plane(), ff_h264_filter_mb(), fic_draw_cursor(), filter_frame(), h264_filter_mb_fast_internal(), rv40_adaptive_loop_filter(), ulti_decode_frame(), vdpau_get_buffer(), and x8_decode_intra_mb().
|
static |
Definition at line 856 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 984 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1075 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1168 of file vf_waveform.c.
|
static |
Definition at line 1216 of file vf_waveform.c.
|
static |
Definition at line 1275 of file vf_waveform.c.
|
static |
Definition at line 1322 of file vf_waveform.c.
|
static |
Definition at line 69 of file vf_waveform.c.
|
static |
Definition at line 103 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 120 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 124 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 1165 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1166 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1329 of file vf_waveform.c.
|
static |
Definition at line 1339 of file vf_waveform.c.
AVFilter ff_vf_waveform |
Definition at line 1348 of file vf_waveform.c.