summaryrefslogtreecommitdiffstats
path: root/libswscale/tests
Commit message (Collapse)AuthorAgeFilesLines
* swscale/tests/swscale: Lengthen pixfmt name buffer to 21 bytesMichael Niedermayer2019-05-131-4/+4
| | | | | | 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-131-2/+2
| | | | | | | | | | | 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-121-0/+1
| | | | | | 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-301-10/+14
|\ | | | | | | | | | | | | * commit '0fd0d4fd0a518e30ff23972828ad7cf7f35cfb9d': swscale-test: const correctness Merged-by: James Almer <jamrial@gmail.com>
| * swscale-test: const correctnessDiego Biurrun2017-04-241-10/+14
| |
| * swscale-test: const correctness for pointer variableDiego Biurrun2017-01-241-1/+1
| | | | | | | | | | 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-301-1/+1
| | | | | | | | Fix CID 1415949
* | sws/tests/pixdesc_query: replace rgb based pix fmts with endianess agnostic ↵Clément Bœsch2017-07-301-2/+9
| | | | | | | | | | | | names Fixes ticket #6554
* | sws/tests/pixdesc_query: sort pixel formatsClément Bœsch2017-07-301-0/+11
| |
* | sws/tests/pixdesc_query: save every pix fmts in a listClément Bœsch2017-07-301-4/+15
| | | | | | | | This will be required for the next commit.
* | libswscale/tests/swscale: Fix uninitialized variablesMichael Niedermayer2017-04-301-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50'Clément Bœsch2017-03-241-1/+1
|\ \ | |/ | | | | | | | | | | * 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-281-1/+1
| |
| * swscale: Add proper ff_ prefix to init functionsDiego Biurrun2016-07-161-1/+1
| | | | | | | | | | | | | | | | 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-241-42/+17
| |
* | swscale: remove unused is{RGB,BGR}inBytesClément Bœsch2017-03-201-4/+0
| |
* | fate: add fate-sws-pixdesc-queryClément Bœsch2017-03-202-0/+91
| | | | | | | | Test the pixel format querying within libswscale.
* | swscale/tests/swscale: add cpuflags optionMichael Niedermayer2016-09-021-0/+9
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch2016-06-222-41/+64
|/ | | | | | | * 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-133-0/+577
OpenPOWER on IntegriCloud