[FFmpeg-devel] [PATCH 2/3] libswscale: add support for VUYX format

James Almer jamrial at gmail.com
Sat Aug 20 04:37:00 EEST 2022


On 8/19/2022 10:24 PM, Philip Langdale wrote:
> 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.
> 
> Signed-off-by: Philip Langdale <philipl at overt.org>
> ---
>   libswscale/input.c                       | 10 ++++---
>   libswscale/output.c                      | 35 +++++++++++++++++++++---
>   libswscale/utils.c                       |  1 +
>   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 +
>   tests/ref/fate/pixfmt_best               |  2 +-
>   16 files changed, 51 insertions(+), 9 deletions(-)
>   create mode 100644 tests/ref/fate/filter-pixdesc-vuyx
> 

[...]

> diff --git a/tests/ref/fate/pixfmt_best b/tests/ref/fate/pixfmt_best
> index 1da1846275..783c5fe640 100644
> --- a/tests/ref/fate/pixfmt_best
> +++ b/tests/ref/fate/pixfmt_best
> @@ -1 +1 @@
> -74 tests passed, 0 tests failed.
> +75 tests passed, 0 tests failed.

Shouldn't this be in patch 1/3?


More information about the ffmpeg-devel mailing list