summaryrefslogtreecommitdiffstats
path: root/libavutil/pixelutils.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-111-135/+0
| | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil: check pixdescs in a different placewm42015-02-101-0/+3
| | | | | | | | | | | | | | | | Doing this check in avutil_version() is not appropriate. Also, this code is by default disabled (--assert-level is by default 0). A FATE run with defaults will never execute the checks. Move it to the pixelutils test program. Whatever reason there was in avutil_version() not to run this test by default, it should be fine in this test program. This means FATE will run the test by default. (Yes, pixelutils is not strictly the best place for it either, but it's better.) (pixdesc.c also has a small test program, but it's never run by FATE.) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/pixelutils: add small buffers testsClément Bœsch2014-09-021-19/+75
|
* avutil/pixelutils: check for malloc failureMichael Niedermayer2014-08-061-0/+6
| | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/pixelutils: avoid on stack arraysMichael Niedermayer2014-08-061-15/+19
| | | | | | | The arrays are fairly large and could cause problems on some embedded systems also they are not endian safe as they mix 32 and 8bit Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil: add pixelutils APIClément Bœsch2014-08-051-0/+153
OpenPOWER on IntegriCloud