From: bugzilla-daemon@freedesktop.org
Subject: [Bug 92220] GL_NV_vdpau_interop partially available
Date: Thu, 01 Oct 2015 20:32:00 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1056108798=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id C71C86ED2D
for ; Thu, 1 Oct 2015 13:32:00 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1056108798==
Content-Type: multipart/alternative; boundary="1443731520.85367C1.8977"; charset="UTF-8"
--1443731520.85367C1.8977
Date: Thu, 1 Oct 2015 20:32:00 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=92220
--- Comment #3 from Alex Deucher ---
You can't really enable a GL extension if there is not support for the entire
thing. Early versions of UVD did not support field based output. The
extension provides access to both the raw decoded video surfaces (field based)
and the vdpau processed output surface (frame based). I think by default kodi
only uses the vdapu processed output which is the part that is supported.
Changing the kodi settings may require the full extension which will not work.
I guess there are 3 options:
1. Force the option but limit it to cases where you are only using the output
surface via the interop extension. This works today.
2. Add an extra step to the drivers using shaders to split the frame up into
separate fields in vlVdpVideoSurfaceGallium
(src/gallium/state_trackers/vdpau/surface.c) for chips that don't support field
based decode. This adds an extra copy and someone needs to write the code.
With that done, the extension can be enabled on all asics.
3. Write a new simplified GL/VDPAU interop extension that only supports
interop with output surfaces. This extension could be enabled on all asics.
--
You are receiving this mail because:
You are the assignee for the bug.
--1443731520.85367C1.8977
Date: Thu, 1 Oct 2015 20:32:00 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 92220
from Alex Deucher
You can't really enable a GL extension if there is not support for the entire
thing. Early versions of UVD did not support field based output. The
extension provides access to both the raw decoded video surfaces (field based)
and the vdpau processed output surface (frame based). I think by default kodi
only uses the vdapu processed output which is the part that is supported.
Changing the kodi settings may require the full extension which will not work.
I guess there are 3 options:
1. Force the option but limit it to cases where you are only using the output
surface via the interop extension. This works today.
2. Add an extra step to the drivers using shaders to split the frame up into
separate fields in vlVdpVideoSurfaceGallium
(src/gallium/state_trackers/vdpau/surface.c) for chips that don't support field
based decode. This adds an extra copy and someone needs to write the code.
With that done, the extension can be enabled on all asics.
3. Write a new simplified GL/VDPAU interop extension that only supports
interop with output surfaces. This extension could be enabled on all asics.
You are receiving this mail because:
- You are the assignee for the bug.
--1443731520.85367C1.8977--
--===============1056108798==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1056108798==--