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.
32 lines
708 B
32 lines
708 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2019-2019. All rights reserved.
|
|
* Description: adec lock function
|
|
* Author: audio
|
|
* Create: 2019-12-30
|
|
*/
|
|
|
|
#ifndef __ADEC_LOCK_H__
|
|
#define __ADEC_LOCK_H__
|
|
|
|
#include "td_type.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
td_void adec_mpi_lock(td_void);
|
|
td_void adec_mpi_unlock(td_void);
|
|
td_void adec_api_lock(td_u32 adec_id);
|
|
td_void adec_api_unlock(td_u32 adec_id);
|
|
td_void adec_data_lock(td_u32 adec_id);
|
|
td_void adec_data_unlock(td_u32 adec_id);
|
|
td_void adec_io_lock(td_u32 adec_id);
|
|
td_void adec_io_unlock(td_u32 adec_id);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __ADEC_LOCK_H__ */
|
|
|