[readme]: update readme.txt for MPI IO date structure

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@111 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming 2015-08-17 06:26:20 +00:00
parent bef6e8533a
commit b5259e231a

View file

@ -137,6 +137,42 @@ Here is the mpp implement overall framework:
| recoder | | reg_gen | | |
| | | | | |
+-----------+ +-----------+ +--------+
Here is the Media Process Interface hierarchical structure
MpiPacket and MpiFrame is the stream I/O data structure.
And MpiBuffer encapsulates different buffer implement like Linux's dma-buf and Android's ion.
This part is learned from ffmpeg.
+-------------------+
| |
| MPI |
| |
+---------+---------+
|
|
v
+---------+---------+
| |
+---+ ctx +---+
| | | |
| +-------------------+ |
| |
v v
+-------+-------+ +-------+-------+
| | | |
| packet | | frame |
| | | |
+---------------+ +-------+-------+
|
|
v
+-------+-------+
| |
| buffer |
| |
+---------------+
Take H.264 deocder for example. Video stream will first queued by MPI/MPP layer, MPP will send the stream to codec layer,