You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
923 B
44 lines
923 B
/*
|
|
* 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
|
|
|