<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Jan,<br>
<br>
I don't think we have implemented EGL interop on VA-API to this
extend. All that is supported is exporting the handle of RGBA
images, not directly decoded YUV data.<br>
<br>
If you need decoding support with OpenGL/EGL interop on AMD
hardware please use VDPAU instead.<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 15.07.2016 um 11:25 schrieb Jan Burgmeier:<br>
</div>
<blockquote
cite="mid:1072473949.16895.1468574717574.JavaMail.zimbra@unicon-software.com"
type="cite">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div>Hi,<br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div>I am developing an application which uses vaapi and egl. My
goal is to use vaDeriveImage and vaAcquireBufferHandle to get
the drm buffer id which then can be used to create a
EGLImageKHR. My problem is, that on amd hardware (AMD GX-212ZC
SOC with Radeon(TM) R1E Graphics and AMD GX-424CC SOC with
Radeon(TM) R5E Graphics) vaDeriveImage fails with "invalid
VASurfaceID" and when I do vaGetImage as a fallback to get the
image vaAcquireBufferHandle fails with "invalid VABufferID".
The same code works on Intel hardware.<br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div>Mesa version: 11.2.2<br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div> - Should this work in general?<br data-mce-bogus="1">
</div>
<div> - Is there any special setting needed?<br
data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div>Kind regards<br data-mce-bogus="1">
</div>
<div>Jan Burgmeier<br data-mce-bogus="1">
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mesa-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>