From 812ab44cfbf34f408749ad25a2b3185d0cbef7ea Mon Sep 17 00:00:00 2001 From: ChenHengming Date: Fri, 25 Jan 2008 14:58:04 +0000 Subject: [PATCH] [mpp_log]: revert mpp_dbg git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@192 6e48237b-75ef-9749-8fc9-41990f28c85a --- mpp/mpp.h | 9 +++------ osal/inc/mpp_log.h | 3 +++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mpp/mpp.h b/mpp/mpp.h index 5d919d3b..10bf75e7 100644 --- a/mpp/mpp.h +++ b/mpp/mpp.h @@ -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; diff --git a/osal/inc/mpp_log.h b/osal/inc/mpp_log.h index 06bf1bd3..6185a020 100644 --- a/osal/inc/mpp_log.h +++ b/osal/inc/mpp_log.h @@ -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 */