libswscale: add support for VUYX format

Multimedia / FFmpeg - Philip Langdale [overt.org] - 26 August 2022 02:03 UTC

As we already have support for VUYA, I figured I should do the small amount of work to support VUYX as well. That means a little refactoring to share code.

45726aa117 libswscale: add support for VUYX format
libswscale/input.c | 10 +++++----
libswscale/output.c | 35 ++++++++++++++++++++++++++++----
libswscale/utils.c | 1 +
libswscale/version.h | 2 +-
tests/ref/fate/filter-pixdesc-vuyx | 1 +
tests/ref/fate/filter-pixfmts-copy | 1 +
tests/ref/fate/filter-pixfmts-crop | 1 +
tests/ref/fate/filter-pixfmts-field | 1 +
tests/ref/fate/filter-pixfmts-fieldorder | 1 +
tests/ref/fate/filter-pixfmts-hflip | 1 +
tests/ref/fate/filter-pixfmts-il | 1 +
tests/ref/fate/filter-pixfmts-null | 1 +
tests/ref/fate/filter-pixfmts-pad | 1 +
tests/ref/fate/filter-pixfmts-scale | 1 +
tests/ref/fate/filter-pixfmts-transpose | 1 +
tests/ref/fate/filter-pixfmts-vflip | 1 +
16 files changed, 51 insertions(+), 9 deletions(-)

  • Share