/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved. * Description : vbi part * Author : sdk * Create : 2020-05-21 */ #ifndef __DRV_VBI_H__ #define __DRV_VBI_H__ #include "osal_ext.h" #include "td_type.h" #include "drv_ioctl_vbi.h" #include "drv_vbi_hal.h" #include "drv_tvd_ext.h" #include "soc_log.h" #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /* __cplusplus */ #define drv_vbi_check_pointer(p, ret) \ do { \ if (TD_NULL_PTR == (p)) { \ soc_log_err(#p " null pointer\n"); \ (ret) = TD_FAILURE; \ } \ } while (0) typedef struct ext_drv_vbi_ctrl_func { tvd_export_func *tvd_func_p; } drv_vbi_ctrl_func; #ifdef __cplusplus #if __cplusplus } #endif #endif /* __cplusplus */ #endif