1,433
edits
Line 645: | Line 645: | ||
=== <span style="color:#0931C6">Frame-rate</span><br> === | === <span style="color:#0931C6">Frame-rate</span><br> === | ||
'''''Test pipeline ( | '''''Test pipeline (vpe):''''' | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
GST_TRACER_PLUGINS="framerate" gst-launch-1.0 | 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 ( | '''''Test pipeline (videoscale and videoconvert):''''' | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
GST_TRACER_PLUGINS="framerate" gst-launch-1.0 | 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- | [[Image:AM572x-testbench-vpe-framerate.png|center|700px|AM572x-testbench-vpe-framerate.png]]<br> | ||
In the chart above, it can be seen | 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> === |
edits