[vlc-commits] [Git][videolan/vlc][master] interop_vaapi: fix 420_10BPP format description

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Thu Apr 28 20:12:59 UTC 2022



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


Commits:
a478e7bc by Alexandre Janniaux at 2022-04-28T18:03:05+00:00
interop_vaapi: fix 420_10BPP format description

VLC_CODEC_VAAPI_420_10BPP is equivalent to VLC_FOURCC_P010 and has a
plane description that is like NV12, so it should not be different from
NV12. Only the bits per component, and so texture storage type is
changing for this format.

It was leading to incorrect or green color rendering with vaapi.
Regression from c344522ff264caa43c9dbc710484f01edbad04cb.

Fixes #26883

- - - - -


1 changed file:

- modules/video_output/opengl/interop_vaapi.c


Changes:

=====================================
modules/video_output/opengl/interop_vaapi.c
=====================================
@@ -499,7 +499,7 @@ Open(vlc_object_t *obj)
                 .type = GL_UNSIGNED_BYTE,
             };
             interop->texs[1] = (struct vlc_gl_tex_cfg) {
-                .w = {1, 1},
+                .w = {1, 2},
                 .h = {1, 2},
                 .internal = GL_RG16,
                 .format = GL_RG,



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a478e7bca65627b08643273cb9edff744a677a97
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