From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105145] vaExportSurfaceHandle interaction with surface interlaced flag prevents switching on vaapi deinterlacing dynamically Date: Wed, 07 Mar 2018 07:43:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0861014824==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 604866E68F for ; Wed, 7 Mar 2018 07:43:50 +0000 (UTC) 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 --===============0861014824== Content-Type: multipart/alternative; boundary="15204086300.Bc3a.31675" Content-Transfer-Encoding: 7bit --15204086300.Bc3a.31675 Date: Wed, 7 Mar 2018 07:43:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105145 --- Comment #9 from k.philipp@gmail.com --- (In reply to Christian K=C3=B6nig from comment #8) > (In reply to k.philipp from comment #7) > > I did think about that, but it has the problem of breaking deinterlacin= g on > > all clients that do *not* set VA_SURFACE_ATTRIB_USAGE_HINT_VPP_READ (wh= ich I > > assume to be most) since there is - correct me if I'm wrong - at presen= t no > > code to un-weave a decoded frame to fields and go back to interlaced/fi= eld > > mode, causing the initial issue in the first place. >=20 > Yeah, we can't do this without at least adding this frame to field > conversion. >=20 > How about VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT then? The VA-API hints seem= to > describe the use case instead of the effect, so that would match. I filed a PR with libva (https://github.com/intel/libva/pull/196), we'll see how it goes. --=20 You are receiving this mail because: You are the assignee for the bug.= --15204086300.Bc3a.31675 Date: Wed, 7 Mar 2018 07:43:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 9 on bug 10514= 5 from k.philipp@gm= ail.com
(In reply to Christian K=C3=B6nig from comment #8)
> (In reply to k.philipp from comment #7)
> > I did think about that, but it has the problem of breaking deinte=
rlacing on
> > all clients that do *not* set VA_SURFACE_ATTRIB_USAGE_HINT_VPP_RE=
AD (which I
> > assume to be most) since there is - correct me if I'm wrong - at =
present no
> > code to un-weave a decoded frame to fields and go back to interla=
ced/field
> > mode, causing the initial issue in the first place.
>=20
> Yeah, we can't do this without at least adding this frame to field
> conversion.
>=20
> How about VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT then? The VA-API hints s=
eem to
> describe the use case instead of the effect, so that would match.
I filed a PR with libva (https://github.com/intel/libva/pull/196), we'll see
how it goes.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15204086300.Bc3a.31675-- --===============0861014824== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0861014824==--