summaryrefslogtreecommitdiff
path: root/libswscale/tests
Commit message (Collapse)AuthorAge
* swscale: introduce isSwappedChromarcombs2022-01-04
|
* swscale: introduce isDataInHighBitsrcombs2022-01-04
|
* libswscale/tests: add floatimg_cmp testMark Reid2020-10-02
| | | | | | | | | | changes since v1: - made into fate test - fixed c90 warnings - tests more intermediate formats - tested on BE mips too Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/tests/swscale: use 1 for indicating errosMichael Niedermayer2020-07-16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/tests/swscale: Initialize res to a non random error codeMichael Niedermayer2020-07-14
| | | | | | | | | Regression since: 3adffab073bc59af39dddd035168ac72bc9ffde3 -1 is consistent what other error paths return Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/tests/swscale: Fix incorrect return code checkMichael Niedermayer2020-07-14
| | | | | | | Regression since: 3adffab073bc59af39dddd035168ac72bc9ffde3 Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/tests: check return value of sws_scaleLynne2020-07-09
|
* swscale/tests/swscale: Lengthen pixfmt name buffer to 21 bytesMichael Niedermayer2019-05-13
| | | | | | Some formats use longer names than 12. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libswcale: Fix possible string overflow in test.Adam Richter2019-05-13
| | | | | | | | | | | In libswcale/tests/swcale.c, the function fileTest() calls sscanf in an argument of "%12s" on character srcStr[] and dstStr[], which are only 12 bytes. So, if the input string is 12 characters, a terminating null byte can be written past the end of these arrays. This bug was found by cppcheck. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Add test for isSemiPlanarYUV to pixdesc_queryPhilip Langdale2019-05-12
| | | | | | Lauri had asked me what the semi planar formats were and that reminded me that we could add it to pixdesc_query so we know exactly what the list is.
* Merge commit '0fd0d4fd0a518e30ff23972828ad7cf7f35cfb9d'James Almer2017-10-30
|\ | | | | | | | | | | | | * commit '0fd0d4fd0a518e30ff23972828ad7cf7f35cfb9d': swscale-test: const correctness Merged-by: James Almer <jamrial@gmail.com>
| * swscale-test: const correctnessDiego Biurrun2017-04-24
| |
| * swscale-test: const correctness for pointer variableDiego Biurrun2017-01-24
| | | | | | | | | | libswscale/swscale-test.c:369:20: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type [-Wincompatible-pointer-types] libswscale/swscale.h:207:5: note: expected ‘const uint8_t * const* {aka const unsigned char * const*}’ but argument is of type ‘uint8_t ** {aka unsigned char **}’
* | sws/tests/pixdesc_query: fix use of free() instead of av_free()Clément Bœsch2017-07-30
| | | | | | | | Fix CID 1415949
* | sws/tests/pixdesc_query: replace rgb based pix fmts with endianess agnostic ↵Clément Bœsch2017-07-30
| | | | | | | | | | | | names Fixes ticket #6554
* | sws/tests/pixdesc_query: sort pixel formatsClément Bœsch2017-07-30
| |
* | sws/tests/pixdesc_query: save every pix fmts in a listClément Bœsch2017-07-30
| | | | | | | | This will be required for the next commit.
* | libswscale/tests/swscale: Fix uninitialized variablesMichael Niedermayer2017-04-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50'Clément Bœsch2017-03-24
|\| | | | | | | | | | | | | * commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50': Adjust printf conversion specifiers to match variable signedness Merged-by: Clément Bœsch <u@pkh.me>
| * Adjust printf conversion specifiers to match variable signednessDiego Biurrun2016-10-28
| |
| * swscale: Add proper ff_ prefix to init functionsDiego Biurrun2016-07-16
| | | | | | | | | | | | | | | | They are internal symbols that should not be exported. based on a patch by Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | sws/tests/pixdesc_query: remove func wrappersClément Bœsch2017-03-24
| |
* | swscale: remove unused is{RGB,BGR}inBytesClément Bœsch2017-03-20
| |
* | fate: add fate-sws-pixdesc-queryClément Bœsch2017-03-20
| | | | | | | | Test the pixel format querying within libswscale.
* | swscale/tests/swscale: add cpuflags optionMichael Niedermayer2016-09-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch2016-06-22
|/ | | | | | | * commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196': tests: Move all test programs to a subdirectory Merged-by: Clément Bœsch <clement@stupeflix.com>
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13