[readme]: update readme.txt

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@909 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-06-13 10:07:15 +00:00
parent 4201f689c0
commit 866ddebce3

View File

@@ -38,8 +38,6 @@ NOTE:
| |
|----- inc header file for external usage, including platform header and mpi header |----- inc header file for external usage, including platform header and mpi header
| |
|----- mpi Media Process Interface: the api function implement in public (vpu_api layer)
|
|----- mpp Media Process Platform : mpi function private implement and mpp infrastructure (vpu_api private layer) |----- mpp Media Process Platform : mpi function private implement and mpp infrastructure (vpu_api private layer)
| | | |
| |----- common video codec protocol syntax interface for both codec parser and hal | |----- common video codec protocol syntax interface for both codec parser and hal
@@ -112,7 +110,7 @@ NOTE:
| |
|----- osal Operation System Abstract Layer: abstract layer for different operation system |----- osal Operation System Abstract Layer: abstract layer for different operation system
| | | |
| |----- mem mpi memory subsystem for hardware | |----- mem mpi memory subsystem for hardware
| | | |
| |----- android google's android | |----- android google's android
| | | |
@@ -129,26 +127,26 @@ NOTE:
Here is the mpp implement overall framework: Here is the mpp implement overall framework:
+-------------------------+ +--------+ +-------------------------+ +--------+
| | | | | | | |
| MPI / MPP | | | | MPI / MPP | | |
| buffer queue manage | | | | buffer queue manage | | |
| | | | | | | |
+-------------------------+ | | +-------------------------+ | |
| | | |
+-------------------------+ | | +-------------------------+ | |
| | | | | | | |
| codec | | OSAL | | codec | | OSAL |
| decoder / encoder | | | | decoder / encoder | | |
| | | | | | | |
+-------------------------+ | | +-------------------------+ | |
| | | |
+-----------+ +-----------+ | | +-----------+ +-----------+ | |
| | | | | | | | | | | |
| parser | | HAL | | | | parser | | HAL | | |
| recoder | | reg_gen | | | | recoder | | reg_gen | | |
| | | | | | | | | | | |
+-----------+ +-----------+ +--------+ +-----------+ +-----------+ +--------+
Here is the Media Process Interface hierarchical structure Here is the Media Process Interface hierarchical structure
@@ -156,34 +154,34 @@ 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. And MpiBuffer encapsulates different buffer implement like Linux's dma-buf and Android's ion.
This part is learned from ffmpeg. This part is learned from ffmpeg.
+-------------------+ +-------------------+
| | | |
| MPI | | MPI |
| | | |
+---------+---------+ +---------+---------+
| |
| |
v v
+---------+---------+ +---------+---------+
| | | |
+---+ ctx +---+ +---+ ctx +---+
| | | | | | | |
| +-------------------+ | | +-------------------+ |
| | | |
v v v v
+-------+-------+ +-------+-------+ +-------+-------+ +-------+-------+
| | | | | | | |
| packet | | frame | | packet | | frame |
| | | | | | | |
+---------------+ +-------+-------+ +---------------+ +-------+-------+
| | |
| | |
v | |
+-------+-------+ | +---------------+ |
| | | | | |
| buffer | +---->+ buffer +<----+
| | | |
+---------------+ +---------------+