summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* avfilter/vaf_spectrumsynth: check return codePaul B Mahol2016-08-16
|
* avfilter/avf_showspectrum: do not let multiple threads to write to same part ↵Paul B Mahol2016-08-16
| | | | of memory
* avfilter/window_func: add dolph windowPaul B Mahol2016-08-16
|
* avfilter/vf_atadenoise: set default size value to 9Paul B Mahol2016-08-15
| | | | This is enough, bigger sizes do not produce better output in 99% cases.
* avfilter/vf_atadenoise: add support for more pixel formatsPaul B Mahol2016-08-15
|
* avfilter/af_astats: add support for other sample formatsPaul B Mahol2016-08-15
|
* avfilter/avf_showspectrum: add some multithreading supportPaul B Mahol2016-08-15
|
* avfilter/vf_zoompan: fix pzoom usagePaul B Mahol2016-08-15
|
* avfilter/vf_signalstats: fix saturation calculation for >8 bitPaul B Mahol2016-08-14
|
* avfilter/vf_signalstats: measure video bitdepthPaul B Mahol2016-08-13
|
* avfilter/vf_signalstats: add >8 bit depth supportPaul B Mahol2016-08-13
|
* avfilter/af_adelay: make it possible to delay channels by exact number of ↵Paul B Mahol2016-08-11
| | | | samples
* avfilter/avf_avectorscope: fix initialization for prev_y in polar modePaul B Mahol2016-08-11
|
* avfilter/avf_avectorscope: add scale optionPaul B Mahol2016-08-11
|
* avfilter: add acrusher filterPaul B Mahol2016-08-11
|
* avfiltergraph.c: restore disabling of auto conversionsBurt P2016-08-10
| | | | | | | | Restore a check added in 440af105f2306d3c7b3b3f4d7530bab910d49cb9 but lost sometime after. avfilter_graph_set_auto_convert() will have an effect once again. Signed-off-by: Burt P <pburt0@gmail.com>
* avfilter/avf_showwaves: add sqrt and cbrt amplitude scalersPaul B Mahol2016-08-10
|
* avfilter/vf_remap: >8 bit supportPaul B Mahol2016-08-10
|
* avfilter/drawutils: Fix single plane with alphaMichael Niedermayer2016-08-09
| | | | | | Fixes Ticket5720 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: Don't warn if converting from AV_SAMPLE_FMT_S16PBurt P2016-08-08
| | | | | | | Also checking AVFilterLink->type is AVMEDIA_TYPE_AUDIO before calling av_get_sample_fmt_name() on AVFilterLink->format. Signed-off-by: Burt P <pburt0@gmail.com>
* af_hdcd: Add analyze modeBurt P2016-08-08
| | | | | | | | | | A new mode, selected by filter option, to aid in analysis of HDCD encoded audio. In this mode the audio is replaced by a solid tone and the amplitude is adjusted to signal some specified aspect of the process. The output file can be loaded in an audio editor alongside the original, where the user can see where different features or states are present. Signed-off-by: Burt P <pburt0@gmail.com>
* avfilter/af_dynaudnorm: use better check for infinite loopPaul B Mahol2016-08-07
| | | | Apparently due to rounding this happens.
* avfilter/avf_showspectrum: improve dB scale descriptionPaul B Mahol2016-08-07
|
* avfilter: add crystalizer audio filterVitaly Ostrosablin2016-08-07
| | | | Signed-off-by: Vitaly Ostrosablin <tmp6154@yandex.ru>
* af_hdcd: convert AVOptions from INT to BOOLBurt P2016-08-06
| | | | | | As suggested by Timothy Gu. Signed-off-by: Burt P <pburt0@gmail.com>
* avfilter/avf_showspectrum: add color rotation featurePaul B Mahol2016-08-05
| | | | Mostly useful with channel color scheme.
* avfilter/af_astats: extend bitdepth calculationPaul B Mahol2016-08-03
|
* af_hdcd: add flags to AVOption defsBurt P2016-08-02
| | | | | Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* doxygen: Standardize root-level modulesTimothy Gu2016-08-02
|
* avfilter/af_dynaudnorm: improve pre-filling codeLoRd_MuldeR2016-08-02
| | | | | | | | In order to avoid possible clipping at the very beginning. Especially apparent when "alternative" boundary mode is used. Adopted from original commit by committer.
* af_hdcd: Warn if there is any resampling or format conversion in the link chainBurt P2016-08-01
| | | | | | | | | HDCD is only encoded in s16@44100Hz. Scan the chain of AVFilterLinks for any resampling or format conversion/truncation that might cause problems for the filter and issue warnings. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: Process stereo channels together, fix #5727Burt P2016-08-01
| | | | | | | | | | | | | | | Issue #5727: gain adjustment should only be applied if matching gain value from a valid packet in both channels. The existing functions process each channel separately, so it was not possible. * New versions of hdcd_process(), hdcd_scan(), hdcd_integrate() named hdcd_*_stereo() that process both channels together. * target_gain applied will be the last matching target_gain. * The old single channel functions remain as an option. They can be used by: -af hdcd=process_stereo=0. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: Move code detect/check into own functionBurt P2016-08-01
| | | | | Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: add force_pe filter optionBurt P2016-08-01
| | | | | | | | | Used to attempt replication of some results from http://www.audiomisc.co.uk/HFN/HDCD/Examined.html May not be generally useful, defaults to off. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: Improve error detection loggingBurt P2016-08-01
| | | | | | | | | * Moves the filter context member out of state and into HDCDContext * More useful information when an error is detected * Gives a location near where the error was detected Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: give cdt expired counter a value for never setBurt P2016-07-31
| | | | | | | | The counter is now -1 if the code detect timer was never set, and 0 if it was set but never expired. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: fix a minor cosmetic annoyanceBurt P2016-07-31
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_stereowiden: fix read/write past the end of bufferAlexey Tourbin2016-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The stereowiden filter uses a buffer, s->buffer[], and a pointer within the buffer, s->write, to implement inter-channel delays. The loop which applies the delayed samples turns out to be faulty. 109 for (n = 0; n < in->nb_samples; n++, src += 2, dst += 2) { 110 const float left = src[0], right = src[1]; 111 float *read = s->write + 2; 112 113 if (read > s->buffer + s->length) 114 read = s->buffer; 115 116 dst[0] = drymix * left - crossfeed * right - feedback * read[1]; 117 dst[1] = drymix * right - crossfeed * left - feedback * read[0]; 118 119 s->write[0] = left; 120 s->write[1] = right; 121 122 if (s->write == s->buffer + s->length) 123 s->write = s->buffer; 124 else 125 s->write += 2; 126 } For one, the buffer gets written past its end in lines 119-120, before the bound check is done in lines 122-123. This can be easily confirmed by valgrind. ==3544== Invalid read of size 4 ==3544== at 0x593B41: filter_frame (af_stereowiden.c:116) ==3544== Address 0xb1b03c4 is 4 bytes after a block of size 7,680 alloc'd ==3544== ==3544== Invalid read of size 4 ==3544== at 0x593B66: filter_frame (af_stereowiden.c:117) ==3544== Address 0xb1b03c0 is 0 bytes after a block of size 7,680 alloc'd ==3544== ==3544== Invalid write of size 4 ==3544== at 0x593B79: filter_frame (af_stereowiden.c:119) ==3544== Address 0xb1b03c0 is 0 bytes after a block of size 7,680 alloc'd ==3544== ==3544== Invalid write of size 4 ==3544== at 0x593B7D: filter_frame (af_stereowiden.c:120) ==3544== Address 0xb1b03c4 is 4 bytes after a block of size 7,680 alloc'd Also, using two separate pointers, s->write and read = s->write + 2, does not seem to be well thought out. To apply the delay of s->buffer[], it is enough to read the delayed samples at the current position within the buffer, and then to store new samples at the same current position. Thus the application of delayed samples can probably be best described with a single pointer s->cur. I also introduce a minor change to ensure that the size of s->buffer[] is always a multiple of 2. Since the delay parameter is a float, it is otherwise possible to trick the code into allocating off-by-one buffer.
* avfilter: Add new format for PSNR stats logLucas Cooper2016-07-29
| | | | | | | | | | | | Add an AVOption stats_version with a new header for V2 stats, which specifies the stats log version and lists the fields that will be present in the log (to ease parsing). The primary motivation is to facilitate the addition of optional fields to the log without breaking backwards compatibility, while making the logs easier to parse. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/f_drawgraph: add another slide modePaul B Mahol2016-07-28
|
* lavfi/hdcd: fix styleClément Bœsch2016-07-28
|
* lavfi/hdcd: mark pe_str as static and constClément Bœsch2016-07-28
|
* af_hdcd: Report PE as being intermittent or permanentBurt P2016-07-28
| | | | | | | | The Peak Extend feature could be enabled permanently or only when needed. This is now reported. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: Add counter for cdt expirationsBurt P2016-07-27
| | | | | | | | Adds a counter for when the "code detect timer" expired without finding a valid packet. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: more comments in state structBurt P2016-07-27
| | | | | | | Add some comments describing the fields in hdcd_state_t. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* af_hdcd: Improve HDCD detectionBurt P2016-07-27
| | | | | | | | HDCD is now only considered detected if a valid packet is active in both channels simultaneously. Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/curves: fix meaningless const int returned valueClément Bœsch2016-07-26
| | | | Spotted-by: James Almer <jamrial@gmail.com>
* lavfi/selectivecolor: add 16-bit supportClément Bœsch2016-07-24
|
* lavfi/selectivecolor: fix picking black as neutral when alpha is presentClément Bœsch2016-07-24
|
* lavfi: bump minor after recent curves filter additionsClément Bœsch2016-07-24
|