Hi, Thanks so much for your reply! Do you mean that if I link the tee element to gstomx component, such as omx_videomixer, it will do memcpy to fill the input buffer of omx_videomixer? <br><br><div class="gmail_quote">2012/11/16 Stirling Westrup [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4656940&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

        On Mon, Nov 12, 2012 at 9:11 PM, bboyavatar <<a href="http://user/SendEmail.jtp?type=node&node=4656933&i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a>> wrote:
<br>> Hi, I have a question about the tee element. It is said that this element
<br>> splits the input data and feeds multiple output pads with the same data. I
<br>> read the sourc code and find that it uses gst_pad_push_data()function to
<br>> feed data to the srcpads. So, I wonder if it does the memcpy or just feeds
<br>> the srcpads with the buffer reference.
<br>> Could someone answer me? Thanks so much!
<br>>
<br><br>That's a more complex question than it sounds like. Whenever possible
<br>gstreamer passes references to buffers rather than using memcpy, but
<br>there are cases where this won't work. For example, if your tee
<br>connects to sinks that produce hardware buffers to fill out, then
<br>gstreamer will do memcpy operations to fill the hardware buffers.
<br><br>-- 
<br>Stirling Westrup
<br>Programmer, Entrepreneur.
<br><a href="https://www.linkedin.com/e/fpf/77228" rel="nofollow" target="_blank" link="external">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" rel="nofollow" target="_blank" link="external">http://www.linkedin.com/in/swestrup</a><br>
<a href="http://technaut.livejournal.com" rel="nofollow" target="_blank" link="external">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" rel="nofollow" target="_blank" link="external">http://sourceforge.net/users/stirlingwestrup</a><br>
_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4656933&i=1" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" target="_blank" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" size="1" noshade>
        <div style="font:12px/normal tahoma,geneva,helvetica,arial,sans-serif;color:rgb(68,68,68);font-size-adjust:none;font-stretch:normal">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://gstreamer-devel.966125.n4.nabble.com/How-does-the-tee-element-split-data-to-multiple-pads-tp4656880p4656933.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/How-does-the-tee-element-split-data-to-multiple-pads-tp4656880p4656933.html</a>
        </div>
        <div style="font:11px/1.5em tahoma,geneva,helvetica,arial,sans-serif;color:rgb(102,102,102);margin-top:0.4em;font-size-adjust:none;font-stretch:normal">
                
                To unsubscribe from How does the tee element split data to multiple pads?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a style="font:9px/normal serif;font-size-adjust:none;font-stretch:normal" href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br><br clear="all"><br>-- <br>刘冰<br>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-does-the-tee-element-split-data-to-multiple-pads-tp4656880p4656940.html">Re: How does the tee element split data to multiple pads?</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>