summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Merge commit 'fec76cd430f3c865183a6e5b4caec0743e055605'Hendrik Leppkes2016-01-19
|\ | | | | | | | | | | | | * commit 'fec76cd430f3c865183a6e5b4caec0743e055605': checkasm: Check register clobbering on aarch64 Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: Check register clobbering on aarch64Martin Storsjö2016-01-07
| | | | | | | | | | | | | | This is disabled on iOS, since iOS uses a slightly different ABI for vararg parameters. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '26ec75aec3576daea691dee53a78ec67c0dc4040'Hendrik Leppkes2016-01-19
|\| | | | | | | | | | | | | * commit '26ec75aec3576daea691dee53a78ec67c0dc4040': checkasm: Check register clobbering on arm Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: Check register clobbering on armMartin Storsjö2016-01-07
| | | | | | | | | | | | | | | | | | | | | | Use two separate functions, depending on whether VFP/NEON is available. This is set to require armv5te - it uses blx, which is only available since armv5t, but we don't have a separate configure item for that. (It also uses ldrd, which requires armv5te, but this could be avoided if necessary.) Signed-off-by: Martin Storsjö <martin@martin.st>
* | AAC encoder: use signed coeffs when measuring IS energyClaudio Freire2016-01-17
| | | | | | | | | | | | I/S energy, especially when it comes to phase cancellations, needs to use signed coefficients as input, yet it was using abs'd coefficients. That was a slight bug.
* | fate: add 10-bit v210 encoder testsJames Darnley2016-01-17
| |
* | fate: add test for realtime ccaption decoderAman Gupta2016-01-14
| |
* | AAC encoder: fix I/S relative error evaluationClaudio Freire2016-01-13
| | | | | | | | | | | | | | The relative error between two encoding strategies is the simple difference of rate-distortion values, and not the absolute difference. An absolute measure would allow worsening of the quantization error as well as improving.
* | AAC encoder: various fixes in M/S codingClaudio Freire2016-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fix sf_idx and band_type addressing to address only the first subwindow in the group (others could hold garbage values) 2. Don't step on ms_mask when is_mask is set. I/S selection already sets the ms_mask properly and shouldn't be overridden. 3. Use mid/sid cb/sf when computing coding error, as should be since those are the cb/sfs that will eventually be set. 4. Fix distortion computation on multi-subwindow groups (was subtracting the bits terms multiple times) 5. Clear ms_mask when one side uses PNS and the other doesn't. When using PNS, ms_mask signals correlated noise, which can be detected just like regular M/S detection, so we don't skip noise bands, but when only one side uses PNS setting the flag can confuse some encoders, so avoid that.
* | AAC encoder: avoid assertion failure on PNSClaudio Freire2016-01-13
| | | | | | | | | | In rare corner cases it could still fail an assert on sf_diff due to failure to update prev_sf in some code paths. Fix that case.
* | fate: fix sub-cc fontClément Bœsch2016-01-10
| |
* | lavc/ccaption_dec: improve default styleClément Bœsch2016-01-10
| | | | | | | | Use monospaced font, and a black box outline.
* | lavc/ccaption_dec: fix ASS tagsClément Bœsch2016-01-10
| |
* | lavc/ccaption_dec: implement font stylesAman Gupta2016-01-09
| |
* | lavc/qtrle: Use AV_PIX_FMT_PAL8 for 1-bit videoMats Peterson2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes the lack of palettized display of 1-bit video in the qtrle decoder. It is related to my commit of lavf/qtpalette, which added 1-bit video to the "palettized video" category. As far as I can see, everything works fine, but comments are of course welcome. Below are links to sample files, which should now be displayed properly with bluish colors, but which were previously displayed in black & white. Matroska: https://drive.google.com/open?id=0B3_pEBoLs0faNjI0cHBMWDhYY2c Earth Spin 1-bit qtrle.mkv QuickTime (mov): https://drive.google.com/open?id=0B3_pEBoLs0faUlItWm9KaGJSTEE Earth Spin 1-bit qtrle.mov Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d': checkasm: x86: post commit review fixes Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: x86: post commit review fixesJanne Grunau2015-12-29
| | | | | | | | | | | | | | Check the full FPU tag word instead of only the lower half and simplify the comparison. Use upper-case function base name as macro name to instantiate both checked_call variants.
* | Merge commit '2008f76054906e9ff6bf744800af0e5a5bfe61be'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '2008f76054906e9ff6bf744800af0e5a5bfe61be': dca: remove unused decode_hf function and quant_d tables Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dca: remove unused decode_hf function and quant_d tablesAlexandra Hájková2015-12-24
| | | | | | | | | | They were superseded with their integer equivalents. Rename integer decode_hf to decode_hf.
* | Merge commit 'aebf07075f4244caf591a3af71e5872fe314e87b'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit 'aebf07075f4244caf591a3af71e5872fe314e87b': dca: change the core to work with integer coefficients. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dca: change the core to work with integer coefficients.Alexandra Hájková2015-12-23
| | | | | | | | | | | | | | | | | | | | | | | | The DCA core decoder converts integer coefficients read from the bitstream to floats just after reading them (along with dequantization). All the other steps of the audio reconstruction are done with floats which makes the output for the DTS lossless extension (XLL) actually lossy. This patch changes the DCA core to work with integer coefficients until QMF. At this point the integer coefficients are converted to floats. The coefficients for the LFE channel (lfe_data) are not touched. This is the first step for the really lossless XLL decoding.
* | Merge commit '489e6add4478b0f5717dbf644234c6f3a3baf02c'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '489e6add4478b0f5717dbf644234c6f3a3baf02c': checkasm: add fmtconvert tests Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add fmtconvert testsJanne Grunau2015-12-21
| |
* | Merge commit '568a4323fbde03665b2b23a98068d02b39121812'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '568a4323fbde03665b2b23a98068d02b39121812': checkasm: add synth_filter test Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add synth_filter testJanne Grunau2015-12-21
| |
* | Merge commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d': checkasm: add tests for dcadsp Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add tests for dcadspJanne Grunau2015-12-21
| |
* | Merge commit '9d218d573f8088c606d873e80df572582e6773ef'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '9d218d573f8088c606d873e80df572582e6773ef': checkasm: add float comparison util functions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add float comparison util functionsJanne Grunau2015-12-21
| |
* | Merge commit '711781d7a1714ea4eb0217eb1ba04811978c43d1'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit '711781d7a1714ea4eb0217eb1ba04811978c43d1': x86: checkasm: check for or handle missing cleanup after MMX instructions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * x86: checkasm: check for or handle missing cleanup after MMX instructionsJanne Grunau2015-12-21
| | | | | | | | | | | | | | | | Not every asm routine is expected clear the MMX state after returning. It is however a requisite for testing floating point code in checkasm. Annotate functions requiring cleanup with declare_func_emms() and issue emms after the call. The remaining functions are checked for having a cleared MMX state after return.
* | Merge commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0'Hendrik Leppkes2016-01-02
|\| | | | | | | | | | | | | * commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0': arm: add a cpu flag for the VFPv2 vector mode Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * arm: add a cpu flag for the VFPv2 vector modeJanne Grunau2015-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The vector mode was deprecated in ARMv7-A/VFPv3 and various cpu implementations do not support it in hardware. Vector mode code will depending the OS either be emulated in software or result in an illegal instruction on cpus which does not support it. This was not really problem in practice since NEON implementations of the same functions are preferred. It will however become a problem for checkasm which tests every cpu flag separately. Since this is a cpu feature newer cpu do not support anymore the behaviour of this flag differs from the other flags. It can be only activated by runtime cpu feature selection.
| * checkasm: add HEVC MC testsAnton Khirnov2015-12-05
| |
| * movenc-test: Fix integer overflowsMichael Niedermayer2015-11-24
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavf/srtdec: rewrite parsing logicClément Bœsch2016-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Ticket #5032 The samples in Ticket #5032 is using \r\r\n as line breaks. Since we already are handling \r, or \n, or \r\n as line breaks, \r\n\n will be considered as a double line breaks. This is an issue because ff_subtitles_read_text_chunk() will as a result stop extracting a chunk after just one line. So instead of parsing the SRT by "chunks" (which means splitting every double LB), this new parser is detecting timing lines, and split the events on this basis. While this sounds safe and simple, it needs to take into account the event number preceding the timing line while handling situations such as: - event number starting at 0 or actually any number instead of 1 - event numbers not being ordered at all - event number being followed by text garbage (this really happened, see Ticket #4898) - event payload containing one or multiple number (a protagonist saying a count-down, a date or whatever) which could be confused with a chapter number - event number being empty (see Ticket #2167) - all kind of weird line breaks can appear randomly like wild pokémons - untrustable line breaks (Ticket #5032) The sample madness.srt tries to sum up most of this into one sample, ticket5032-rrn.srt is the file containing \r\r\n line breaks. and empty-events-2167.srt contains empty events.
* | lavc: add text encoderClément Bœsch2015-12-21
| |
* | fate: increase FUZZ by 1 for aac-tns-encodeAndreas Cadhalpun2015-12-13
| | | | | | | | | | | | | | | | This should fix this test failing on kfreebsd, a regression since 6e5dbe7, which decreased the CMP_TARGET by 1. Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avfilter/vf_delogo: round to the closest valueJean Delvare2015-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | When the interpolated value is divided by the sum of weights, no rounding is done, which means the value is truncated. This results in a slight bias towards dark green in the interpolated area. Rounding properly removes the bias. I measured this change to reduce the interpolation error by 1 to 2 % on average on a number of sample input and logo area combinations. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate/api-jpeg-codec-param: rename to api-mjpeg-codec-paramMatthieu Bouron2015-12-08
| |
* | aacenc_ltp: disable LTP with high lambda valuesRostislav Pehlivanov2015-12-08
| | | | | | | | | | | | Makes no sense to enable for high bitrates, the coder does well enough. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | aacenc_tns: use 4 bits for short windowsRostislav Pehlivanov2015-12-08
| | | | | | | | | | | | | | | | With only 7 coefficients per short window at most the extra precision makes a difference and seems to reduce crackling and stddev even further. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | fate/api-{jpeg,png}-codec-param: add missing codec dependenciesMatthieu Bouron2015-12-08
| |
* | fate/api-codec-param: fix codec context leakMatthieu Bouron2015-12-08
| |
* | fate/api: add w32+os2 support for fate-api-threadmessageClément Bœsch2015-12-07
| |
* | fate/api: fix fate-api-threadmessage dependencyClément Bœsch2015-12-07
| |
* | fate/api: test threadmessageClément Bœsch2015-12-07
| |
* | fate: add limited_input_seek testsSimon Thelen2015-12-07
| | | | | | | | | | Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: change the CMP_TARGETs for the recent AAC encoder changesRostislav Pehlivanov2015-12-06
| | | | | | | | | | | | | | The case of PNS was outdated and resulted in failures on some kdfreebds systems. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | fate/concatdec: Use -bitexactTimothy Gu2015-12-06
| | | | | | | | | | | | Fixes FATE failures on --enable-small builds. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>