/*
 * copyright (c) hisilicon technologies co., ltd. 2016-2019. all rights reserved.
 * description: type.h
 * author: hisilicon multimedia software group
 * create: 2019-05-17
 */

#ifndef __TYPE_H__
#define __TYPE_H__


#ifdef __cplusplus
#if __cplusplus
extern "C"{
#endif
#endif /* __cplusplus */

/*----------------------------------------------*
 * const defination                             *
 *----------------------------------------------*/

#ifndef NULL
    #define NULL    0L
#endif

#ifndef HI_FALSE
    #define HI_FALSE   0
#endif

#ifndef HI_TRUE
    #define HI_TRUE    1
#endif

#ifndef HI_SUCCESS
#define HI_SUCCESS  0
#endif

#ifndef  HI_FAILURE
#define HI_FAILURE  (-1)
#endif

typedef unsigned char HI_U8;

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */

#endif /* __TYPE_H__ */

