AM5728 Multimedia Performance Testbench: Difference between revisions

Line 645: Line 645:
=== <span style="color:#0931C6">Frame-rate</span><br>  ===
=== <span style="color:#0931C6">Frame-rate</span><br>  ===


'''''Test pipeline (ducatijpegdec):'''''
'''''Test pipeline (vpe):'''''
<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
GST_TRACER_PLUGINS="framerate" gst-launch-1.0 filesrc location=/am5728-gst-tests/video-samples/TearOfSteel-Short-1920x800-MJPEG.mov ! qtdemux name=demux demux.video_0 ! queue ! jpegparse ! ducatijpegdec ! fakesink sync=true -e
GST_TRACER_PLUGINS="framerate" gst-launch-1.0 -e videotestsrc num-buffers=640 is-live=true ! 'video/x-raw,format=(string)YUY2,width=320,height=240,framerate=(fraction)30/1' ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)1024' ! fakesink sync=true
</pre>
</pre>


'''''Test pipeline (avdec_mjpeg):'''''
'''''Test pipeline (videoscale and videoconvert):'''''
<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
GST_TRACER_PLUGINS="framerate" gst-launch-1.0 filesrc location=/am5728-gst-tests/video-samples/TearOfSteel-Short-1920x800-MJPEG.mov ! qtdemux name=demux demux.video_0 ! queue ! jpegparse ! avdec_mjpeg ! fakesink sync=true -e
GST_TRACER_PLUGINS="framerate" gst-launch-1.0 -e videotestsrc num-buffers=525 is-live=true ! 'video/x-raw,format=(string)YUY2,width=320,height=240,framerate=(fraction)30/1' ! videoscale ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)1024' ! videoconvert ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)1024' ! fakesink sync=true
</pre>
</pre>


'''''Obtained Results:'''''
'''''Obtained Results:'''''
[[Image:AM572x-testbench-JPEG-dec-framerate.png|center|700px|AM572x-testbench-JPEG-dec-framerate.png]]<br>
[[Image:AM572x-testbench-vpe-framerate.png|center|700px|AM572x-testbench-vpe-framerate.png]]<br>


In the chart above, it can be seen in a general way that in both cases, the frame-rate reaches the expected value of 25 fps and then remains stable.
In the chart above, it can be seen that when vpe coprocessor is used, the expected value of 30 fps is achieved and then frame-rate maintains stable. In the other case, when no hardware acceleration is used, the expected value of 30 fps can not be achieved, and it shows an unstable behavior between 24 and 25 fps.


=== <span style="color:#0931C6">Memory consumption</span><br>  ===
=== <span style="color:#0931C6">Memory consumption</span><br>  ===
1,433

edits