1/****************************************************************************** 2 * 3 * Copyright (C) 2015 The Android Open Source Project 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 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore 19*/ 20/** 21******************************************************************************* 22* @file 23* ideint_debug.h 24* 25* @brief 26* Contains debug macros 27* 28* @author 29* Ittiam 30* 31* @par List of Functions: 32* 33* @remarks 34* None 35* 36******************************************************************************* 37*/ 38 39#ifndef __IDEINT_DEBUG_H__ 40#define __IDEINT_DEBUG_H__ 41 42 43#ifdef CORRUPT_PIC 44void ideint_corrupt_pic(icv_pic_t *ps_pic, WORD32 val); 45#define IDEINT_CORRUPT_PIC(ps_pic, val) ideint_corrupt_pic(ps_pic, val); 46#else 47#define IDEINT_CORRUPT_PIC(ps_pic, val) 48#endif 49 50#ifdef PROFILE_DIS_SAD 51#define PROFILE_DISABLE_SAD if(0) 52#else 53#define PROFILE_DISABLE_SAD 54#endif 55 56#ifdef PROFILE_DIS_VARIANCE 57#define PROFILE_DISABLE_VARIANCE if(0) 58#else 59#define PROFILE_DISABLE_VARIANCE 60#endif 61 62#ifdef PROFILE_DIS_CAC 63#define PROFILE_DISABLE_CAC if(0) 64#else 65#define PROFILE_DISABLE_CAC 66#endif 67 68 69#ifdef PROFILE_DIS_SPATIO_TEMPORAL 70#define PROFILE_DISABLE_SPATIO_TEMPORAL if(0) 71#else 72#define PROFILE_DISABLE_SPATIO_TEMPORAL 73#endif 74 75#ifdef PROFILE_DIS_SPATIAL 76#define PROFILE_DISABLE_SPATIAL if(0) 77#else 78#define PROFILE_DISABLE_SPATIAL 79#endif 80 81#endif /* __IDEINT_DEBUG_H__ */ 82