xref: /rockchip-linux_mpp/mpp/hal/rkdec/h265d/hal_h265d_debug.h (revision 437bfbeb9567cca9cd9080e3f6954aa9d6a94f18)
1 /*
2 *
3 * Copyright 2015 Rockchip Electronics Co. LTD
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 
18 #ifndef __HAL_H265D_DEBUG_H__
19 #define __HAL_H265D_DEBUG_H__
20 
21 #include "mpp_debug.h"
22 
23 #define H265H_DBG_FUNCTION          (0x00000001)
24 #define H265H_DBG_RPS               (0x00000002)
25 #define H265H_DBG_PPS               (0x00000004)
26 #define H265H_DBG_REG               (0x00000008)
27 #define H265H_DBG_FAST_ERR          (0x00000010)
28 #define H265H_DBG_TASK_ERR          (0x00000020)
29 
30 #define h265h_dbg(flag, fmt, ...) _mpp_dbg(hal_h265d_debug, flag, fmt, ## __VA_ARGS__)
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 extern RK_U32 hal_h265d_debug;
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /*__HAL_H265D_DEBUG_H__*/
43