1,433
edits
Line 187: | Line 187: | ||
In the chart above, it can be seen that when using hardware acceleration, a little reduction is achieved in memory consumption. The average difference is 363 KB of less consumption when hardware acceleration is used. | In the chart above, it can be seen that when using hardware acceleration, a little reduction is achieved in memory consumption. The average difference is 363 KB of less consumption when hardware acceleration is used. | ||
=== <span style="color:#0931C6">Memory bandwidth consumption</span><br> === | |||
<pre style="background:#d6e4f1"> | |||
gst-launch-1.0 -e videotestsrc is-live=true ! 'video/x-raw,format=(string)NV12,width=720,height=420,framerate=(fraction)30/1' ! ducatih264enc ! fakesink sync=true | |||
</pre> | |||
'''''Test pipeline (openh264enc):''''' | |||
<pre style="background:#d6e4f1"> | |||
gst-launch-1.0 -e videotestsrc is-live=true ! 'video/x-raw,format=(string)I420,width=720,height=420,framerate=(fraction)30/1' ! openh264enc ! fakesink sync=true | |||
</pre> | |||
Note: In both charts the memory bandwidth consumption is presented separately in sequential (seq) and aleatory (al) memory access. | |||
'''''Memory bandwidth consumption by memory readings obtained results:''''' | |||
[[Image:AM572x-testbench-H264-enc-readsbandwidth.png|center|700px|AM572x-testbench-H264-enc-readbandwidth.png]]<br> | |||
In the chart above, it can be seen that when using hardware acceleration, more memory bandwidth consumption by sequential memory readings is obtained (average difference of 137.3 MB/s). In the case of aleatory memory reads, the average difference is 48.3 MB/s less when using hardware acceleration. | |||
'''''Memory bandwidth consumption by memory writings obtained results:''''' | |||
[[Image:AM572x-testbench-H264-enc-writebandwidth.png|center|700px|AM572x-testbench-H264-enc-writebandwidth.png]]<br> | |||
In the chart above, it can be seen that when using hardware acceleration (NEON&VFPv4 extension), less memory bandwidth consumption by memory writings is obtained. The average difference is 473.1 MB/s for sequential reads and 2.6 MB/s for aleatory reads (this last value es negligible). |
edits