Jump to content

AM5728 Multimedia Performance Testbench: Difference between revisions

Line 337: Line 337:
=== <span style="color:#0931C6">Memory consumption</span><br>  ===
=== <span style="color:#0931C6">Memory consumption</span><br>  ===


'''''Test pipeline (ducatimpeg4enc):'''''
'''''Test pipeline (ducatih264dec):'''''
<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
gst-launch-1.0 -e videotestsrc num-buffers=640 is-live=true ! 'video/x-raw,format=(string)NV12,width=720,height=420,framerate=(fraction)30/1' ! ducatimpeg4enc ! fakesink sync=true
gst-launch-1.0 filesrc location=/am5728-gst-tests/video-samples/TearOfSteel-Short-1920x800-H264.mov ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! ducatih264dec ! fakesink sync=true -e
</pre>
</pre>


'''''Test pipeline (avenc_mpeg4):'''''
'''''Test pipeline (avdec_h264):'''''
<pre style="background:#d6e4f1">
<pre style="background:#d6e4f1">
gst-launch-1.0 -e videotestsrc num-buffers=640 is-live=true ! 'video/x-raw,format=(string)I420,width=720,height=420,framerate=(fraction)30/1' ! avenc_mpeg4 ! fakesink sync=true
gst-launch-1.0 filesrc location=/am5728-gst-tests/video-samples/TearOfSteel-Short-1920x800-H264.mov ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! avdec_h264 ! fakesink sync=true -e
</pre>
</pre>


'''''Obtained Results:'''''
'''''Obtained Results:'''''
[[Image:AM572x-testbench-MPEG4-enc-memuse.png|center|700px|AM572x-testbench-MPEG4-enc-memuse.png]]<br>
[[Image:AM572x-testbench-H264-dec-memuse.png|center|700px|AM572x-testbench-H264-dec-memuse.png]]<br>


In the chart above, it can be seen that when using hardware acceleration, a big reduction is achieved in memory consumption. The average difference is 4514 KB of less consumption when hardware acceleration is used.
In the chart above, it can be seen that when using hardware acceleration, an enormous reduction is achieved in memory consumption. The average difference is 10 869 KB of less consumption when hardware acceleration is used.


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

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.