[vlc-commits] [Git][videolan/vlc][master] avcodec/chroma: map VLC_CODEC_VUYA to AV_PIX_FMT_VUYX

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Apr 28 23:22:20 UTC 2024



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
60c58cee by Steve Lhomme at 2024-04-28T22:57:41+00:00
avcodec/chroma: map VLC_CODEC_VUYA to AV_PIX_FMT_VUYX

It is (at least) part of FFmpeg 6.1 and can be used as DXVA/QSV output.

- - - - -


1 changed file:

- modules/codec/avcodec/chroma.c


Changes:

=====================================
modules/codec/avcodec/chroma.c
=====================================
@@ -121,6 +121,10 @@ static const struct
     {VLC_CODEC_UYVY, AV_PIX_FMT_UYVY422,  COLOR_RANGE_UNDEF },
     {VLC_CODEC_YVYU, AV_PIX_FMT_YVYU422,  COLOR_RANGE_UNDEF },
 
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(57, 34, 100)
+    {VLC_CODEC_VUYA, AV_PIX_FMT_VUYX,     COLOR_RANGE_UNDEF },
+#endif
+
     /* Packed RGB formats */
     {VLC_CODEC_RGB233, AV_PIX_FMT_RGB8,  COLOR_RANGE_UNDEF },
     {VLC_CODEC_BGR233, AV_PIX_FMT_BGR8,  COLOR_RANGE_UNDEF },



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/60c58cee7707d5ac7617b833e4c2bd2b628de6f9

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/60c58cee7707d5ac7617b833e4c2bd2b628de6f9
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list