summaryrefslogtreecommitdiff
path: root/tests/fate/image.mak
Commit message (Collapse)AuthorAge
* fate/png: add test for ICC profile parsingNiklas Haas2022-07-30
| | | | | | | This tests the new "-flags2 icc_profiles" option by making sure the embedded ICC profile gets correctly detected as sRGB. Signed-off-by: Niklas Haas <git@haasn.dev>
* tests/Makefile: Redo how to keep intermediate FATE-filesAndreas Rheinhardt2022-05-06
| | | | | | | | | Extend the ordinary mechanism to signal KEEP for this. This also allows to remove the keep-parameter from enc_dec, transcode and stream_remux, so that several empty parameters '""' could be removed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/image: Fix requirements of testsAndreas Rheinhardt2022-04-28
| | | | | | Also reduce the amount of repetitions a bit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/image: Use TRANSCODE where appropriateAndreas Rheinhardt2022-04-14
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests: Fix the dependencies for the fate-jpg-icc testMartin Storsjö2022-04-12
| | | | | | | The test also requires a png decoder, which often can be disabled in cross building setups, where zlib might be missing. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec/mjpegenc: support writing ICC profilesNiklas Haas2022-04-11
| | | | | | | | | | | | | | | | This is mostly straightforward. The major complication is that, as a result of the 16-bit chunk size limitation, ICC profiles may need to be split up into multiple chunks. We also need to make sure to allocate enough extra space in the packet to fit the ICC profile, so modify both mpegvideo_enc.c and ljpegenc.c to take into account this extra overhead, failing cleanly if necessary. Also add a FATE transcode test to ensure that the ICC profile gets written (and read) correctly. Note that this ICC profile is smaller than 64 kB, so this doesn't test the APP2 chunk re-arranging code at all. Signed-off-by: Niklas Haas <git@haasn.dev>
* avcodec/pngenc: support writing iCCP chunksNiklas Haas2022-04-11
| | | | | | | | | | | | | | | | | We re-use the PNGEncContext.zstream for deflate-related operations. Other than that, the code is pretty straightforward. Special care needs to be taken to avoid writing more than 79 characters of the profile description (the maximum supported). To write the (dynamically sized) deflate-encoded data, we allocate extra space in the packet and use that directly as a scratch buffer. Modify png_write_chunk slightly to allow pre-writing the chunk contents like this. Also add a FATE transcode test to ensure that the ICC profile gets encoded correctly. Signed-off-by: Niklas Haas <git@haasn.dev>
* fate/image: Modify aliaspix tests to also cover the encoderAndreas Rheinhardt2021-10-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* webp: fix transforms after a palette with pixel packing.Maryla2021-09-25
| | | | | | | | | | | | | | | When a color indexing transform with 16 or fewer colors is used, WebP uses "pixel packing", i.e. storing several pixels in one byte, which virtually reduces the width of the image (see WebPContext's reduced_width field). This reduced_width should always be used when reading and applying subsequent transforms. Updated patch with added fate test. The source image dual_transform.webp can be downloaded by cloning https://chromium.googlesource.com/webm/libwebp-test-data/ Fixes: 9368 Signed-off-by: James Zern <jzern@google.com>
* fate/demux, gapless, image: Add missing ffprobe dependenciesAndreas Rheinhardt2021-09-19
| | | | | | | And remove the unnecessary ffmpeg dependencies while at it. Reviewed-by: Soft Works <softworkz@hotmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/image: remove colorspace conversion from jpegls testsJames Almer2021-05-03
| | | | | | It's not needed after 011006874cb46325b6bc83234f81879ff421c05f. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/mjpegdec: Decode to PAL8 independant of the location of LSEMichael Niedermayer2021-05-03
| | | | | | | | This simply performs a 2nd pass if a LSE is encountered with GRAY8 Fixes: tickets/3933/128.jls Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Revert "avcodec/mjpegdec: postpone calling ff_get_buffer() until the SOS marker"Michael Niedermayer2021-05-03
| | | | | | This also temporary disables fate-jpegls which is re-enabled in the next commit This reverts commit c8197f73e684b0edc450f3dc2b2b4b3fb9dedd0d.
* fate: add tests for JPEG-LS PAL8James Almer2021-04-24
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tests/fate: add tests for PNG side/meta dataAnton Khirnov2021-04-08
|
* fate/image: add missing ffprobe dependency to fate-dpx-probeJames Almer2020-12-18
| | | | | | And use the existing probeframes helper while at it. Signed-off-by: James Almer <jamrial@gmail.com>
* fate: Add dpx-probe testHarry Mallon2020-12-17
| | | | Signed-off-by: Harry Mallon <harry.mallon@codex.online>
* avcodec/exr: preserve half-float NaN bits and add fate testMark Reid2020-12-09
| | | | | Handles NaNs more like the official implementation handles them, preserving the original bits.
* fate: add scale filters for big-endian architectures.Nicolas George2020-09-30
| | | | | | | | | | Filters mostly work in native endianness, but they must output a specified endianness, usually little: that requires a final conversion for big endian. I do not know what's the deal with gif-deal: inserting explicitly the filters that are implicitly inserted result in less frames in output. Probably a strange problem of duration.
* fate: use correct uint32 layerMark Reid2020-09-12
|
* avcodec/exr: add support data windows larger or outside display windowMark Reid2020-09-12
|
* fate: disable automatic conversions on many tests.Nicolas George2020-09-08
| | | | | | | | | | Explicitly insert the scale or aresample filter where it would have been inserted by the negotiation. Re-enable conversions if it cannot be done easily. If a conversion is needed in a test, we want to know about it. If the negotiation changes and makes new conversion necessary, we want to know about it even more.
* avcodec/exr: output float pixels in float pixel formatMark Reid2020-05-20
| | | | | | | | | changes since v1 - default behavior, no longer hidden behind decoder parameter - updated tests to reflect change Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr : add test for long name flagMartin Vignali2018-02-24
| | | | ticket 6994
* fate/exr : add test for Y, b44A negative half, and datawindow != displaywindowMartin Vignali2017-05-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr : add test for negative float valueMartin Vignali2017-05-01
| | | | | | | the tested sample contain negative value in the red channel need to be clip to zero, and not set to MAX_RED Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr : add tests for piz uncompressMartin Vignali2017-05-01
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr : fix pix_fmtMartin Vignali2017-04-25
| | | | | | rgb_scanline_pxr24_half_uint32_13x9.exr doesn't have alpha Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate : add test for exr with offset table set to 0Martin Vignali2017-04-03
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr : add test for uint32 dataMartin Vignali2017-03-31
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/psd : add test for bitmap and duotoneMartin Vignali2017-01-14
| | | | | | The duotone file is interpreted as gray Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/psd : add test for 256 colorMartin Vignali2017-01-11
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/psd: add tests for uncompress and rle samplesMartin Vignali2016-12-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr: add test for pxr24 with half and uint32 channelMartin Vignali2016-11-25
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* fate: Add test for ticket #5805.Carl Eugen Hoyos2016-09-04
|
* fate: add 12bpp sampleChristophe Gisquet2016-09-04
| | | | | | | Allows testing simple_idct12 correctness/bitexactness, as the sample was generated using faani as idct. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/png : add test for rgba64 and interleaved rgbMartin Vignali2016-07-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/webp : add test for lossless picture to improve coverMartin Vignali2016-07-01
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/webp : add test for lossy compression.Martin Vignali2016-06-28
| | | | | | | the result of ffmpeg decoding is binary exact with the yuv output of official decoder (dwebp) Signed-off-by: James Almer <jamrial@gmail.com>
* fate/webp : add test for webp lossless decoding (rgb and rgba)Martin Vignali2016-06-26
| | | | | | output have been compared with official decoding tool output (dwebp) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/exr : add tests for file with half and float channelsMartin Vignali2016-06-26
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '4b2e69397b84d1c1a29ffae6e9f106f2c32b1869'Clément Bœsch2016-06-21
|\ | | | | | | | | | | | | * commit '4b2e69397b84d1c1a29ffae6e9f106f2c32b1869': dds: Add support for monochrome images Merged-by: Clément Bœsch <clement@stupeflix.com>
| * dds: Add support for monochrome imagesVittorio Giovara2016-04-26
| |
* | Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec'Derek Buitenhuis2016-05-09
|\| | | | | | | | | | | | | * commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec': build: miscellaneous cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | | | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* | Merge commit '00658253e237ab975ae2d384e02b5936781f103d'Derek Buitenhuis2016-05-08
|\| | | | | | | | | | | | | * commit '00658253e237ab975ae2d384e02b5936781f103d': fate: Update DDS tests Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * fate: Update DDS testsVittorio Giovara2016-04-06
| |
* | fate/exr : add test for PXR24 Float and tile uncompressMartin Vignali2016-04-10
| |
* | fate/exr : add test for b44/b44a compressionMartin Vignali2016-04-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3'Hendrik Leppkes2015-11-29
|\| | | | | | | | | | | | | * commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3': fate: Rework sgi tests into a suite and add the missing ones Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>