mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-21 16:19:23 +08:00
[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:
11
mpp/mpp.h
11
mpp/mpp.h
@@ -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 &);
|
||||
};
|
||||
|
Reference in New Issue
Block a user