summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/ttaenc: split off hybrid filter processing as ttaencdspJames Almer2016-08-02
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/tee: Factor parse_slave_options() outMichael Niedermayer2016-08-02
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* 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.
* avcodec/alacenc: allocate bigger packetsPaul B Mahol2016-08-02
|
* mathematics: Make function prototypes identical to definitionsTimothy Gu2016-08-02
| | | | Doxygen gets confused by this.
* lavu/hwcontext_vaapi: Fix compilation if VA_FOURCC_ABGR is not defined.Carl Eugen Hoyos2016-08-02
| | | | Fixes ticket #5484.
* murmur3: Add Doxygen documentationTimothy Gu2016-08-02
| | | | The interface has been stable for some time now.
* avutil: Add detailed Doxygen description to a few hashesTimothy Gu2016-08-02
|
* avutil: Group hash functions separately in DoxygenTimothy Gu2016-08-02
|
* build: Make API documentation depend on config.makTimothy Gu2016-08-02
| | | | | | The Doxygen command is generated from the list of installed headers, which may change per configuration (e.g. `--enable-gpl` results in libpostproc to be built and installed).
* lavf/rmdec: Do not return EIO on EOF.Carl Eugen Hoyos2016-08-02
| | | | Reported-by: applemax82
* doc/filters: Add stats_version documentation to PSNR filterLucas Cooper2016-08-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add test for tremolo filterPetru Rares Sincraian2016-08-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '996f13413b0415097e2a184d161462ffb3ceb647'James Almer2016-08-01
|\ | | | | | | | | | | | | | | | | | | | | | | * commit '996f13413b0415097e2a184d161462ffb3ceb647': h264: fix warnings in fill_filter_caches_inter() Conflicts: libavcodec/h264_slice.c See ef8f6464a55db730cab8c48a1a51fa4e6ca12107 Merged-by: James Almer <jamrial@gmail.com>
| * h264: fix warnings in fill_filter_caches_inter()Anton Khirnov2016-06-21
| | | | | | | | | | | | The code does some weird casting to a 2-dimensional sub-array of ref2frm. This is not necessary, since only one dimension is needed there.
* | 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>
* | Merge commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | * commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1': h264: drop tests whether the codec id is AV_CODEC_ID_H264 Conflicts: libavcodec/h264dec.c Merged-by: James Almer <jamrial@gmail.com>
| * h264: drop tests whether the codec id is AV_CODEC_ID_H264Anton Khirnov2016-06-21
| | | | | | | | Those are unused remnants of the old SVQ3 code.
* | Merge commit '8281cd5cb80582d668ce0848e0e035b383f161f6'James Almer2016-08-01
|\| | | | | | | | | | | | | * commit '8281cd5cb80582d668ce0848e0e035b383f161f6': h264_cabac: drop an always true condition Merged-by: James Almer <jamrial@gmail.com>
| * h264_cabac: drop an always true conditionAnton Khirnov2016-06-21
| |
* | Merge commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c': h264: add H264_ prefix to the NAL unit types Conflicts: libavcodec/h264_parse.c libavcodec/h264_parser.c libavcodec/h264_slice.c libavcodec/h264dec.c Merged-by: James Almer <jamrial@gmail.com>
| * h264: add H264_ prefix to the NAL unit typesAnton Khirnov2016-06-21
| | | | | | | | | | This will prevent conflicts e.g. in code that deals with both h264 and hevc.
* | 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>
* | MAINTAINERS: Add myself for af_hdcdBurt P2016-08-01
| | | | | | | | | | Signed-off-by: Burt P <pburt0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1cf2f3d334f52849aae2be868bad1e5fa5f59aa0'James Almer2016-08-01
|\| | | | | | | | | | | | | * commit '1cf2f3d334f52849aae2be868bad1e5fa5f59aa0': h264_sei: drop an unnecessary h264dec.h include Merged-by: James Almer <jamrial@gmail.com>
| * h264_sei: drop an unnecessary h264dec.h includeAnton Khirnov2016-06-21
| | | | | | | | | | The code does not depend on the h264 decoder anymore and only needs information from h264_ps
* | Merge commit 'b24dafe10572254ff0decc18b0d7c3d3707d5a29'James Almer2016-08-01
|\| | | | | | | | | | | | | * commit 'b24dafe10572254ff0decc18b0d7c3d3707d5a29': lavc: drop unnecessary h264dec.h includes Merged-by: James Almer <jamrial@gmail.com>
| * lavc: drop unnecessary h264dec.h includesAnton Khirnov2016-06-21
| |
* | Merge commit '70b1dcef2d859ae6b3e21d61de928c3dd0cf1aa4'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | * commit '70b1dcef2d859ae6b3e21d61de928c3dd0cf1aa4': h264: tighten the valid range for ref_frame_count Conflicts: libavcodec/h264_ps.c Merged-by: James Almer <jamrial@gmail.com>
| * h264: tighten the valid range for ref_frame_countAnton Khirnov2016-06-21
| | | | | | | | | | This field (which the spec calls max_num_ref_frames) must be less than or equal to MaxDpbFrames, which is at most 16.
* | Merge commit 'f638b67e5790735f34620bf82025c9b9d6fc7216'James Almer2016-08-01
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'f638b67e5790735f34620bf82025c9b9d6fc7216': h264: move the parameter set definitions to a new header file Conflicts: libavcodec/h264_parse.h libavcodec/h264_ps.c libavcodec/h264dec.h Merged-by: James Almer <jamrial@gmail.com>
| * h264: move the parameter set definitions to a new header fileAnton Khirnov2016-06-21
| | | | | | | | | | The PS parsing code is independent from the decoder, so it makes more sense for it to have its own separate header.
* | avcodec/vp9_parser: Check the input frame sizes for being consistentMichael Niedermayer2016-08-01
| | | | | | | | | | | | Suggested-by: BBB Fixed-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Doxygen: Re-enable JAVADOC_AUTOBRIEFTimothy Gu2016-07-31
| |
* | dynarray: Change AV_ to FF_ for AV_DYNARRAY_ADDTimothy Gu2016-07-31
| | | | | | | | | | The header is not installed and the macro isn't used outside libavutil, so it is obviously privat to libavutil. Make the name reflect that.
* | avformat/matroskaenc: fix Voids with size < 10Michael Bradshaw2016-07-31
| | | | | | | | 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>
* | Doxyfile: Reset unused options back to defaultTimothy Gu2016-07-30
| | | | | | | | Silences a few warnings.
* | doxygen: Remove outdated EXPAND_AS_DEFINEDTimothy Gu2016-07-30
| |
* | 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.
* | doc/filters: mention HDMI output format for stereo3d filterPaul B Mahol2016-07-30
| |
* | doxygen: Set tab size to 4Timothy Gu2016-07-29
| |
* | doxygen: Update Doxyfile for Doxygen 1.8.8Timothy Gu2016-07-29
| |
* | doxygen: Fix PREDEFINED syntaxTimothy Gu2016-07-29
| |
* | doxygen: Add a note on libavutil's modular natureTimothy Gu2016-07-29
| |
* | libavformat/matroskadec: Add test for seeking with codec delay.Chris Cunningham2016-07-30
| | | | | | | | | | | | Also cleanup parens for the skip_to_timecode check. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>