<html><head></head><body>They are not hardware formats. They are not even HAL/API pixel formats. VDPAU has separate and more popular enums for the later, and does not expose the former.<br><br><div class="gmail_quote">Le 16 janvier 2020 12:21:53 GMT+02:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2020-01-16 11:11, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Those aren't GPU pixel formats.<br></blockquote><br>They are<br>VDP_CHROMA_TYPE_420 + VDP_YCBCR_FORMAT_NV12<br>VDP_CHROMA_TYPE_422 + VDP_YCBCR_FORMAT_UYVY<br>VDP_CHROMA_TYPE_444 + VDP_YCBCR_FORMAT_NV12 (!)<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Le 16 janvier 2020 11:56:48 GMT+02:00, Steve Lhomme <robux4@ycbcr.xyz> a <br>écrit :<br><br>    On 2020-01-16 10:28, Rémi Denis-Courmont wrote:<br><br>        No they don't.<br><br><br>    Yes they are.<br><br>        None of the existing opaque formats are that way, and<br>        they should not.<br><br><br>    Just a few examples of something you should know:<br><br>    VLC_CODEC_VDPAU_OUTPUT: Internal VDPAU RGBA 8 bits<br>    VLC_CODEC_VDPAU_VIDEO_420: Internal VDPAU YUV 420 8 bits<br>    VLC_CODEC_VDPAU_VIDEO_422: Internal VDPAU YUV 422 8 bits<br>    VLC_CODEC_VDPAU_VIDEO_444: Internal VDPAU YUV 444 8 bits<br><br>    Anytime we add support for a hardware chroma we need the matching the<br>    corresponding VLC chroma so we can convert to/from it and detect chroma<br>    changes.<br><br>        -1.<br><br>        Le 16 janvier 2020 10:59:03 GMT+02:00, Steve Lhomme<br>        <robux4@ycbcr.xyz> a<br>        écrit :<br><br>        On 2020-01-15 18:27, Rémi Denis-Courmont wrote:<br><br>        Le keskiviikkona 15. tammikuuta 2020, 17.46.31 EET Steve Lhomme<br>        a écrit :<br><br>        diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c<br>        index 9b4ea14c31b..ef83ac3b4ad 100644<br>        --- a/src/misc/fourcc.c<br>        +++ b/src/misc/fourcc.c<br>        @@ -816,8 +816,13 @@ static const struct<br>        { { VLC_CODEC_VDPAU_VIDEO_420, VLC_CODEC_VDPAU_VIDEO_422,<br>        VLC_CODEC_VDPAU_VIDEO_444, VLC_CODEC_VDPAU_OUTPUT },<br>        FAKE_FMT() },<br>        - { { VLC_CODEC_ANDROID_OPAQUE, VLC_CODEC_MMAL_OPAQUE,<br>        - VLC_CODEC_D3D9_OPAQUE, VLC_CODEC_D3D11_OPAQUE },<br>        + { { VLC_CODEC_ANDROID_OPAQUE }, FAKE_FMT() },<br>        + { { VLC_CODEC_MMAL_OPAQUE, VLC_CODEC_MMAL_ZC_SAND30 },<br>        + FAKE_FMT() },<br>        + { { VLC_CODEC_MMAL_ZC_I420, VLC_CODEC_MMAL_ZC_SAND8,<br>        + VLC_CODEC_MMAL_ZC_SAND10, VLC_CODEC_MMAL_ZC_RGB32 },<br>        + FAKE_FMT() },<br>        + { { VLC_CODEC_D3D9_OPAQUE, VLC_CODEC_D3D11_OPAQUE },<br><br>        That's a lot of entries for a single piece of hardware. We don't<br>        normally<br>        expose specific hardware pixel formats.<br><br><br>        The lines above and below say otherwise.<br><br>        FAKE_FMT() },<br>        { { VLC_CODEC_D3D11_OPAQUE_10B, VLC_CODEC_D3D9_OPAQUE_10B,<br>        VLC_CODEC_D3D11_OPAQUE_RGBA, VLC_CODEC_D3D11_OPAQUE_BGRA },<hr>        vlc-devel mailing list<br>        To unsubscribe or modify your subscription options:<br>        <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br><br>        -- <br>        Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez<br>        excuser<br>        ma brièveté.<hr>        vlc-devel mailing list<br>        To unsubscribe or modify your subscription options:<br>        <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><hr>    vlc-devel mailing list<br>    To unsubscribe or modify your subscription options:<br>    <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser <br>ma brièveté.<hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>