DSP API Overview

Data Structure

UCP Call DSP Data Structure

NameDescription
hbDSPRpcCmdDSP operator registration command enumeration

DSP Backend Data Structure

NameDescription
handle_fn DSP operator pointer type

Functional Interface

UCP Call DSP Interface

NameDescription
hbDSPRpcV2Task creation interface
hbDSPAddrMapDSP memory mapping interface
hbDSPAddrUnmapDSP memory demapping interface

DSP Backend Interface

NameDescription
hb_dsp_env_initDSP environment initialization
hb_dsp_env_init_exDSP environment initialization and support command line parameters
hb_dsp_init_global_tmInitialize the TileManager object on the DSP side
hb_get_global_tmGet the TileManager object on the DSP side
hb_get_global_tm_bufGet the idma buffer object in TileManager on the DSP side
hb_dsp_startDSP thread starts and will not exit
hb_dsp_mem_mapMemory address mapping interface
hb_dsp_mem_unmapMemory address unmapping interface
hb_dsp_register_fnRegister DSP op
hb_dsp_unregister_fnUnregister DSP op