[vlc-commits] avcodec: map VLC_CODEC_RGBA64 to AV_PIX_FMT_RGBA64LE

Steve Lhomme git at videolan.org
Fri Aug 3 08:08:15 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Aug  3 08:01:01 2018 +0200| [940525f30f5bf3aa6bff4e8fe85880f2f8dfc50c] | committer: Steve Lhomme

avcodec: map VLC_CODEC_RGBA64 to AV_PIX_FMT_RGBA64LE

The current mask only handles 32 bits so leave that for now, it works without.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=940525f30f5bf3aa6bff4e8fe85880f2f8dfc50c
---

 modules/codec/avcodec/chroma.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index ffb7612de8..06c4e09823 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -147,6 +147,10 @@ static const struct
     VLC_RGB( VLC_CODEC_RGB32, AV_PIX_FMT_0BGR32, AV_PIX_FMT_0RGB32, 0x000000ff, 0x0000ff00, 0x00ff0000 )
 #endif
 
+#if (LIBAVUTIL_VERSION_MICRO == 0 || LIBAVUTIL_VERSION_INT >= AV_VERSION_INT( 55, 0, 100 ) )
+    {VLC_CODEC_RGBA64, AV_PIX_FMT_RGBA64LE, 0, 0, 0 },
+#endif
+
     {VLC_CODEC_RGBA, AV_PIX_FMT_RGBA, 0, 0, 0 },
     {VLC_CODEC_ARGB, AV_PIX_FMT_ARGB, 0, 0, 0 },
     {VLC_CODEC_BGRA, AV_PIX_FMT_BGRA, 0, 0, 0 },



More information about the vlc-commits mailing list