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: Tue, 20 Feb 2018 12:56:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0264732058==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6EBCB6E3EA for ; Tue, 20 Feb 2018 12:56:22 +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 --===============0264732058== Content-Type: multipart/alternative; boundary="15191313820.adBDF5.19658" Content-Transfer-Encoding: 7bit --15191313820.adBDF5.19658 Date: Tue, 20 Feb 2018 12:56:22 +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 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |enhancement Status|RESOLVED |VERIFIED --- Comment #6 from Christian K=C3=B6nig = --- (In reply to k.philipp from comment #5) > There are some surface hints, but I'm not sure if they fit this use case. Setting the DISPLAY hint can be used with KMS to display the result without copying it, so that is not what we are searching for. But checking the documentation once more VA_SURFACE_ATTRIB_USAGE_HINT_VPP_R= EAD actually sounds exactly like what we need. E.g. we switch over to allocate all surfaces in the progressive/frame format and only use the interlaced/field format when VA_SURFACE_ATTRIB_USAGE_HINT_VPP_READ is given. Now you just need to find somebody volunteering to implement that :) I can assist finding the proper places in the code, but I don't have time t= o do it myself. --=20 You are receiving this mail because: You are the assignee for the bug.= --15191313820.adBDF5.19658 Date: Tue, 20 Feb 2018 12:56:22 +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 Christian K=C3=B6nig changed bug 10514= 5
What Removed Added
Severity major enhancement
Status RESOLVED VERIFIED

Commen= t # 6 on bug 10514= 5 from Christian K=C3= =B6nig
(In reply to k.philipp from comment #5)
> There are some surface hints, but I'm not sure i=
f they fit this use case.

Setting the DISPLAY hint can be used with KMS to display the result without
copying it, so that is not what we are searching for.

But checking the documentation once more VA_SURFACE_ATTRIB_USAGE_HINT_VPP_R=
EAD
actually sounds exactly like what we need.

E.g. we switch over to allocate all surfaces in the progressive/frame format
and only use the interlaced/field format when
VA_SURFACE_ATTRIB_USAGE_HINT_VPP_READ is given.

Now you just need to find somebody volunteering to implement that :)

I can assist finding the proper places in the code, but I don't have time t=
o do
it myself.


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