<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi,<br>
<br>
The answer is it depends on your pipeline :)<br>
<br>
If your appsink is receiving caps with
video/x-raw(memory:GLMemory), then appsink is receiving OpenGL
textures. OpenGL textures are only mapped to the CPU when mapped
with gst_memory_map() and friends without the GST_MAP_GL map flag.<br>
<br>
Cheers<br>
-Matt<br>
<br>
On 9/6/20 12:49 am, Avishay Orpaz wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMkyJgCXckgnrs1Ah3oGnZ4bONbtK7EHtgaqd-pi4+67iTvEJw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="rtl">
<div dir="ltr">Hi</div>
<div dir="ltr">I have a pipeline in which an nvdec element feeds
an appsink element. The nvdec element does its data processing
on the GPU and emits GLBuffers. Downstream, I only need a
fraction of the frames decoded by the GPU, so I don't want
them to be copied into the CPU memory at all. How do I
accomplish this? Are the buffers received by appsink GL or CPU
buffers? What is the exact point the buffers get copied from
the GPU into the CPU?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Avishay<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>