mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[mpp_log]: revert mpp_dbg
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@192 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
parent
95448ffabb
commit
812ab44cfb
2 changed files with 6 additions and 6 deletions
|
|
@ -23,17 +23,11 @@
|
|||
#include "mpp_hal.h"
|
||||
#include "mpp_buf_slot.h"
|
||||
|
||||
extern RK_U32 mpp_debug;
|
||||
|
||||
#define MPP_DBG_FUNCTION (0x00000001)
|
||||
#define MPP_DBG_PACKET (0x00000002)
|
||||
#define MPP_DBG_FRAME (0x00000004)
|
||||
#define MPP_DBG_BUFFER (0x00000008)
|
||||
|
||||
|
||||
#define mpp_dbg(flag, fmt, ...) _mpp_dbg(mpp_debug, flag, fmt, ## __VA_ARGS__)
|
||||
|
||||
|
||||
class Mpp
|
||||
{
|
||||
public:
|
||||
|
|
@ -83,6 +77,9 @@ public:
|
|||
|
||||
RK_U32 mStatus;
|
||||
|
||||
void *mCodec;
|
||||
MppHal *mHal;
|
||||
|
||||
// decoder context
|
||||
MppBufSlots mBufSlots;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@
|
|||
#define _mpp_dbg(debug, flag, fmt, ...) \
|
||||
__mpp_dbg(debug, flag, MODULE_TAG, fmt, NULL, ## __VA_ARGS__)
|
||||
|
||||
extern RK_U32 mpp_debug;
|
||||
#define mpp_dbg(flag, fmt, ...) _mpp_dbg(mpp_debug, flag, fmt, ## __VA_ARGS__)
|
||||
|
||||
/*
|
||||
* _f function will add function name to the log
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue