summaryrefslogtreecommitdiff
path: root/tests/fate
Commit message (Collapse)AuthorAgeFilesLines
* fate: Add test for packed mp3 in mp4 demuxingMichael Niedermayer2016-02-261-0/+3
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/fate: added dnxhr parser regression testMark Reid2016-02-171-1/+3
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/source-check.sh: Use "git show" instead of git --version to test for gitMichael Niedermayer2016-02-151-1/+1
| | | | | | This fixes fate with non git source trees Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/source: Do not use GNU extensions in sedTimothy Gu2016-02-131-3/+5
|
* tests: Add test for proper header guardTimothy Gu2016-02-101-0/+11
| | | | Reviewed-by: Clément Bœsch <u@pkh.me>
* fate: fix fate-aac-pns-encode failures on non-sse x86_32 targetsJames Almer2016-02-041-1/+1
| | | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '2862b63783b5556f7f3fb2d097629bc6879f833a'Derek Buitenhuis2016-02-031-4/+4
|\ | | | | | | | | | | | | * commit '2862b63783b5556f7f3fb2d097629bc6879f833a': lavc: Move prediction_method to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavc: Move prediction_method to codec private optionsVittorio Giovara2016-01-211-4/+4
| | | | | | | | | | | | | | | | | | | | This options is only used by huffyuv, ffvhuv, jpegls, mjpeg, mpegvideoenc, png, utvideo. It is a very codec-specific options, so deprecate the global variant. Set proper limits to the maximum allowed values, and update utvideoenc tests to use the new option name. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | dca: add new fate tests based on the dcadec-samples test suiteHendrik Leppkes2016-02-021-0/+64
| |
* | dca: split decoder fate tests into dca.makHendrik Leppkes2016-02-022-16/+15
| |
* | fate: re-enable dca-xll testJames Almer2016-02-011-0/+3
| | | | | | | | | | | | | | And check for bitexact output instead Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/dca: add new decoder based on libdcadecfoo862016-01-312-4/+4
| |
* | avcodec/dca: remove old decoderfoo862016-01-312-9/+4
| | | | | | | | | | Remove all files and functions which are not going to be reused, and disable all functions and FATE tests temporarily which will be.
* | Merge commit '1482aff2048511b821ff9feac19426113cc641a2'Derek Buitenhuis2016-01-281-1/+2
|\ \ | |/ | | | | | | | | | | * commit '1482aff2048511b821ff9feac19426113cc641a2': lavc: Move noise_reduction to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavc: Move noise_reduction to codec private optionsVittorio Giovara2016-01-211-1/+2
| | | | | | | | | | | | | | This option is only used by mpegvideoenc, x264, xavs, and vpx. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * fate: add 10-bit v210 encoder testsJames Darnley2016-01-211-1/+2
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | FATE: update AAC encoder PNS test targetRostislav Pehlivanov2016-01-271-1/+1
| | | | | | | | | | | | Test target hasn't been updated with the latest changes. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avcodec/dcaenc: return correct number of bytes in output packetPaul B Mahol2016-01-251-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate/ffmpeg: Fix colorkey test failure without samplesMichael Niedermayer2016-01-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Add a small number of rawvideo in mov testsMichael Niedermayer2016-01-221-0/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add 1 and 15BPP rawvideo in avi testsMichael Niedermayer2016-01-221-1/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Add test for colorkeyMichael Niedermayer2016-01-211-0/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/fate/aac: remove unneeded strict arguments from the encoder testsRostislav Pehlivanov2016-01-201-8/+8
| | | | | | | | | | | | Leftover from the experimental flag removal. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | AAC encoder: use signed coeffs when measuring IS energyClaudio Freire2016-01-171-1/+1
| | | | | | | | | | | | 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-171-1/+2
| |
* | fate: add test for realtime ccaption decoderAman Gupta2016-01-141-0/+3
| |
* | AAC encoder: fix I/S relative error evaluationClaudio Freire2016-01-131-2/+2
| | | | | | | | | | | | | | 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-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-131-1/+1
| | | | | | | | | | 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.
* | Merge commit 'aebf07075f4244caf591a3af71e5872fe314e87b'Hendrik Leppkes2016-01-021-2/+2
|\ \ | |/ | | | | | | | | | | * 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-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | lavf/srtdec: rewrite parsing logicClément Bœsch2016-01-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-211-0/+3
| |
* | fate: increase FUZZ by 1 for aac-tns-encodeAndreas Cadhalpun2015-12-131-1/+1
| | | | | | | | | | | | | | | | 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>
* | fate/api-jpeg-codec-param: rename to api-mjpeg-codec-paramMatthieu Bouron2015-12-081-3/+3
| |
* | aacenc_ltp: disable LTP with high lambda valuesRostislav Pehlivanov2015-12-081-1/+1
| | | | | | | | | | | | 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-081-1/+1
| | | | | | | | | | | | | | | | 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-081-2/+2
| |
* | fate/api: add w32+os2 support for fate-api-threadmessageClément Bœsch2015-12-071-1/+1
| |
* | fate/api: fix fate-api-threadmessage dependencyClément Bœsch2015-12-071-1/+1
| |
* | fate/api: test threadmessageClément Bœsch2015-12-071-0/+6
| |
* | fate: add limited_input_seek testsSimon Thelen2015-12-071-0/+6
| | | | | | | | | | 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-061-7/+7
| | | | | | | | | | | | | | The case of PNS was outdated and resulted in failures on some kdfreebds systems. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | aacenc_ltp: fix out of bounds memory accessRostislav Pehlivanov2015-12-031-1/+1
| | | | | | | | Discovered by Coverity.
* | AAC encoder: improve SF range utilizationClaudio Freire2015-12-021-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch does 4 things, all of which interact and thus it woudln't be possible to commit them separately without causing either quality regressions or assertion failures. Fate comparison targets don't all reflect improvements in quality, yet listening tests show substantially improved quality and stability. 1. Increase SF range utilization. The spec requires SF delta values to be constrained within the range -60..60. The previous code was applying that range to the whole SF array and not only the deltas of consecutive values, because doing so requires smarter code: zeroing or otherwise skipping a band may invalidate lots of SF choices. This patch implements that logic to allow the coders to utilize the full dynamic range of scalefactors, increasing quality quite considerably, and fixing delta-SF-related assertion failures, since now the limitation is enforced rather than asserted. 2. PNS tweaks The previous modification makes big improvements in twoloop's efficiency, and every time that happens PNS logic needs to be tweaked accordingly to avoid it from stepping all over twoloop's decisions. This patch includes modifications of the sort. 3. Account for lowpass cutoff during PSY analysis The closer PSY's allocation is to final allocation the better the quality is, and given these modifications, twoloop is now very efficient at avoiding holes. Thus, to compute accurate thresholds, PSY needs to account for the lowpass applied implicitly during twoloop (by zeroing high bands). This patch makes twoloop set the cutoff in psymodel's context the first time it runs, and makes PSY account for it during threshold computation, making PE and threshold computations closer to the final allocation and thus achieving better subjective quality. 4. Tweaks to RC lambda tracking loop in relation to PNS Without this tweak some corner cases cause quality regressions. Basically, lambda needs to react faster to overall bitrate efficiency changes since now PNS can be quite successful in enforcing maximum bitrates, when PSY allocates too many bits to the lower bands, suppressing the signals RC logic uses to lower lambda in those cases and causing aggressive PNS. This tweak makes PNS much less aggressive, though it can still use some further tweaks. Also update MIPS specializations and adjust fuzz Also in lavc/mips/aacpsy_mips.h: remove trailing whitespace
* | avformat/mp3dec: prefer "fast_seek" to TOC seek for CBR files.Chris Cunningham2015-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Fast seek" uses linear interpolation to find the position of the requested seek time. For CBR this is more direct than using the mp3 TOC and bypassing the TOC avoids problems with TOC precision. (see https://crbug.com/545914#c13) For VBR, fast seek is not precise, so continue to prefer the TOC when available (the lesser of two evils). Also, some re-ordering of the logic in mp3_seek to simplify and give usetoc=1 precedence over fastseek flag. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | AAC encoder: make pe.min a local minimumClaudio Freire2015-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted in a comment, pe.min in the reference encoder is centered around current pe. The bit reservoir algo needs pe.min to be a local minimum, because it can only account for local PE variations. If it's set to a global minimum as was being done, bit reservoir logic doesn't work as efficiently. This patch tries to forget old minimums and converge to a local minimum without losing the stability of the previous solution. Listening tests until now suggest this solves numerous RC issues.
* | Merge commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3'Hendrik Leppkes2015-11-291-26/+7
|\ \ | |/ | | | | | | | | | | * commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3': fate: Rework sgi tests into a suite and add the missing ones Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * fate: Rework sgi tests into a suite and add the missing onesVittorio Giovara2015-11-241-26/+7
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | aac_ltp: split, reorder and improve prediction algorithmRostislav Pehlivanov2015-11-261-1/+1
| | | | | | | | | | This commit attempts to mirror what the decoder does more closely in addition to fixing some shortcomings.