<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - vaExportSurfaceHandle interaction with surface interlaced flag prevents switching on vaapi deinterlacing dynamically"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105145#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - vaExportSurfaceHandle interaction with surface interlaced flag prevents switching on vaapi deinterlacing dynamically"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105145">bug 105145</a>
from <span class="vcard"><a class="email" href="mailto:k.philipp@gmail.com" title="k.philipp@gmail.com">k.philipp@gmail.com</a>
</span></b>
<pre>(In reply to Christian König from <a href="show_bug.cgi?id=105145#c6">comment #6</a>)
<span class="quote">> But checking the documentation once more
> VA_SURFACE_ATTRIB_USAGE_HINT_VPP_READ 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.</span >
I did think about that, but it has the problem of breaking deinterlacing on all
clients that do *not* set VA_SURFACE_ATTRIB_USAGE_HINT_VPP_READ (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 interlaced/field mode,
causing the initial issue in the first place.
<span class="quote">> Now you just need to find somebody volunteering to implement that :)</span >
Using the hint like in your proposal sounds doable to me because it's just
shuffling some code around, but if we have to add de-weaving (is that even a
word?) I'm probably out.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>