<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Tee enforces that all branches support the exact same caps so it is
impossible to have a tee output both gluploadmeta buffers and sysmem
buffers (in terms of caps). However, the uploadmeta can still be
placed on the buffers when negotiated as sysmem but the format will
be incorrect and need converting which is the bug/discussion that
was linked before. In that case, It would be simpler to just not
add the upload meta and go through sysmem.<br>
<br>
The other alternative is to add code to glupload (as was mentioned
before and would be much preferred), or create an Vivante specific
UploadMethod and at runtime, add it to the a list of possible
uploaders when the application/plugins are loaded.<br>
<br>
<div class="moz-cite-prefix">On 06/09/15 17:50, Carlos Rafael Giani
wrote:<br>
</div>
<blockquote cite="mid:%3C55EBF03C.4010800@pseudoterminal.org%3E"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
So, if I get this right, then the decoder would check if
downstream supports this caps feature. If so, it sets the caps to
format=RGBA and feature=gluploadmeta. Internally, the buffer holds
I420 data, but the Vivante direct texture based upload code will
then transparently convert to RGBA. So far so good.<br>
<br>
But what if there is a branch downstream, for example because of a
tee element, and one element supports this caps feature, the other
doesn't?<br>
<br>
<div class="moz-cite-prefix">Am 2015-09-04 um 17:08 schrieb
Nicolas Dufresne:<br>
</div>
<blockquote cite="mid:1441379301.30997.2.camel@collabora.com"
type="cite">
<pre wrap="">Le vendredi 04 septembre 2015 à 16:02 +0200, Carlos Rafael Giani a
écrit :
</pre>
<blockquote type="cite">
<pre wrap="">Well the main problem was that the Vivante stuff can implicitely do
color space conversion, transparently exposing YUV textures as RGB(A)
ones to OpenGL ES shaders, and this is not possible with this meta,
since you cannot specify two caps (the input format - typically some
YUV format - and the format that the glimagesink textures - some RGB
format).
</pre>
</blockquote>
<pre wrap="">That's something you can negotiate. This is the same thing with VAAPI
btw. Use a caps feature "meta:GLUpload" and if you have this feature,
set format=RGBA. Same as gtreamer-vaapi here.
Nicolas</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>