Hi Rob, <br><br>I see that there are variables like share_input_buffer,share_output_buffer which avoid copying within the gst-openmax wrapper. <br><br>My question was for the entire gstreamer stack. Considering an application that uses Phonon over Gstreamer (over may be openmax). Are there any optimizations possbile there? <br>
Running QT over Phonon, Gstreamer on Embedded devices can kill the cpu for D1 resolutions. <br><br><br>Thanks,<br>Nitin <br><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 1:29 PM, Rob Clark <span dir="ltr"><<a href="mailto:rob@ti.com">rob@ti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On 04/09/2010 01:52 AM, Nitin PAI wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi,<br>
<br>
Currently, a typical gstreamer pipeline looks like<br>
<br>
>gst-launch filesrc location=XYZ ! demuxer ! decodebin ! ffmpegcolorspace ! videobalance ! videoscale ! ximagesink.<br>
<br>
The movement of data accross is enormous for a D1 or HD resolution as the pipeline passes YUV/RGB data which is very huge.<br>
<br>
Is there any optimization possible or used which uses *pointers* to pass rather than the huge mem-copies involved?<br>
</blockquote>
<br>
<br></div></div>
Hi Nitin,<br>
<br>
search for share_buffer<br>
<br>
For this to work, it depends on your OpenMAX implementation to support 'non-pre-announced' buffers (which was a recent proposal from Nokia to Khronos standards group)<br>
<br>
BR,<br><font color="#888888">
-R<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>“Karmanya vadhikaraste ma phaleshu kadachana Ma karma-phala-hetur bhu ma te sango stav karmani” - Krishna<br>