doc: add graphics to bbdev guide

Add two SVG graphics representing Turbo coding of code blocks
in mbuf data buffer.

Signed-off-by: Amr Mokhtar <amr.mokhtar@intel.com>
This commit is contained in:
Amr Mokhtar 2018-07-19 18:29:36 +01:00 committed by Pablo de Lara
parent 6760463c9f
commit 54c4cbb6cc
3 changed files with 3437 additions and 0 deletions

View File

@ -566,6 +566,15 @@ The case when one CB belongs to TB and is being enqueued individually to BBDEV,
this case is considered as a special case of partial TB where its number of CBs
is 1. Therefore, it requires to get processed in TB-mode.
The figure below visualizes the encoding of CBs using BBDEV interface in
TB-mode. CB-mode is a reduced version, where only one CB exists:
.. _figure_turbo_tb_encode:
.. figure:: img/turbo_tb_encode.svg
Turbo encoding of Code Blocks in mbuf structure
BBDEV Turbo Decode Operation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -651,6 +660,15 @@ is 1. Therefore, it requires to get processed in TB-mode.
The output mbuf data structure is expected to be allocated by the application
with enough room for the output data.
The figure below visualizes the decoding of CBs using BBDEV interface in
TB-mode. CB-mode is a reduced version, where only one CB exists:
.. _figure_turbo_tb_decode:
.. figure:: img/turbo_tb_decode.svg
Turbo decoding of Code Blocks in mbuf structure
Sample code
-----------

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 65 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 87 KiB