<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/4 Andoni Morales <span dir="ltr"><<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">2013/9/4 jojo <span dir="ltr"><<a href="mailto:rjiejie@gmail.com" target="_blank">rjiejie@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



                <div>
                    Hi,
                </div><div><br></div><div><span style="white-space:pre-wrap">     </span>Yes, i am sure the androidmedia plugin is working in my testing,</div><div><br></div><div><span style="white-space:pre-wrap">        </span>but i make a mistake, i am testing again in 1080P case, the CS(NV12 -> RGBx) operation</div>


<div><br></div><div><span style="white-space:pre-wrap"> </span>costs about 70ms average time per frame …. it is too much, i use the ffmpegcolorspace plugin to do that, it's the limit of performance in my case  :( </div>


<div><br></div><div><span style="white-space:pre-wrap"> </span>is there acceleration API about for CS operation in android ? or how to use the YUV format bitmap to display ?</div><div><br></div><div><span style="white-space:pre-wrap">  </span>i think about this function is a standard module in HW/chip.</div>


</blockquote><div><br></div></div><div>Most colorspace operations are handled by liborc, and it might be possible that since we don't build for neon it's taking a slower path.<br></div></div></div></div></blockquote>

<div><br></div><div>Sorry, that's for 1.0 and not 0.10<br><br></div><div>Andoni <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">

<div class="gmail_quote"><div><br></div><div>Cheers,<br></div><div>Andoni<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div><div><br></div><div>Thanks,</div><div><br></div><div>- Jojo</div><div><br></div></div>
                 
                <p style="color:#a0a0a8">在 2013年8月30日星期五,下午3:37,Sebastian Dröge 写道:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div><div><div><div>On Do, 2013-08-29 at 16:10 +0800, jojo wrote:</div><blockquote type="cite"><div><div>Hi, </div><div>I use plugin "androidmedia" to decode video in android platform with</div>


<div>AVC HW decoder,</div><div><br></div><div><br></div><div>my device is: IMX6Q-SDB</div><div><br></div><div><br></div><div>my pipe line is:</div><div><br></div><div><br></div><div>video pipeline: appsrc is-live=true do-timestamp=true</div>


<div>caps="video/x-h264, width=1920, height=800" name="appsrc" !</div><div>decodebin2 ! queue ! ffmpegcolorspace ! appsink caps="video/x-raw-rgb,</div><div>bpp = (int) 32, depth = (int) 24, endianness = (int) BIG_ENDIAN,</div>


<div>red_mask = (int) 0xFF000000, green_mask = (int) 0x00FF0000, blue_mask</div><div>= (int) 0x0000FF00, width = (int) [ 1, max ], height = (int) [ 1, max</div><div>], framerate = (fraction) [ 0, max ]" name="appsink"</div>


<div><br></div><div><br></div><div><br></div><div><br></div><div>I collect time in "GstAppSinkCallbacks.new_buffer",</div><div><br></div><div><br></div><div>in 1080P@30FPS local case,</div><div><br></div><div><br>


</div><div>the average decoding time is 50 ms,</div><div><br></div><div><br></div><div>if i remove the plugin "ffmpegcolorspace" from pipe line, it costs</div><div>about 47 ms also, why ?</div><div><br></div><div>


<br></div><div>i think the CS convert operation should take much more then 2 ms….</div><div><br></div><div>someone have performance data for this plugin ?</div><div><br></div><div><br></div><div>and what's the best configuration about for this plugin ?</div>


</div></blockquote><div><br></div><div>Do some profiling to see which step exactly takes so much time. Also how</div><div>do you measure this 50ms/47ms? Having the color format conversion to RGB</div><div>take just 3ms compared to everything else seems quite low.</div>


<div><br></div><div>Are you sure that the androidmedia plugin is actually used in decodebin</div><div>here? If it is, another step that can take some time is that it</div><div>currently copies every frame once... but if the color format conversion</div>


<div>just need 3ms, the copying should take even less than that.</div></div></div></div><div><div>_______________________________________________</div><div>gstreamer-android mailing list</div><div><a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a></div>


<div><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            <br>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a>
</font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>