summaryrefslogtreecommitdiffstats
path: root/video/repack.h
Commit message (Collapse)AuthorAgeFilesLines
* repack: add support for converting from/to float formatswm42020-05-091-0/+4
| | | | | Will be needed by draw_bmp.c. The tests cross-check this with zimg to control whether we're getting it right.
* video: separate repacking code from zimg and make it independentwm42020-05-091-0/+72
For whatever purpose. If anything, this makes the zimg wrapper cleaner. The added tests are not particular exhaustive, but nice to have. This also makes the scale_zimg.c test pretty useless, because it only tests repacking (going through the zimg wrapper). In theory, the repack_tests things could also be used on scalers, but I guess it doesn't matter. Some things are added over the previous zimg wrapper code. For example, some fringe formats can now be expanded to 8 bit per component for convenience.