[mpp]: Add comments

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@561 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-01-29 12:01:44 +00:00
parent 8add393bd7
commit f338b15f80

View File

@@ -75,6 +75,7 @@ public:
mpp_list *mFrames;
mpp_list *mTasks;
/* counters for debug */
RK_U32 mPacketPutCount;
RK_U32 mPacketGetCount;
RK_U32 mFramePutCount;
@@ -95,6 +96,15 @@ public:
MppBufferGroup mPacketGroup;
MppBufferGroup mFrameGroup;
/*
* There are two threads for each decoder/encoder: codec thread and hal thread
*
* codec thread generate protocol syntax structure and send to hardware
* hal thread wait hardware return and do corresponding process
*
* Two threads work parallelly so that all decoder/encoder will share this
* acceleration mechanism
*/
MppThread *mThreadCodec;
MppThread *mThreadHal;
@@ -115,7 +125,6 @@ private:
RK_U32 mStatus;
RK_U32 mFastMode;
Mpp(const Mpp &);
Mpp &operator=(const Mpp &);
};