1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16#ifndef _isp2400_support_h
17#define _isp2400_support_h
18
19#ifndef ISP2400_VECTOR_TYPES
20
21
22typedef char *tmemvectors, *tmemvectoru, *tvector;
23#endif
24
25#define hrt_isp_vamem1_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem1), addr, val)
26#define hrt_isp_vamem2_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem2), addr, val)
27
28#define hrt_isp_dmem(cell) HRT_PROC_TYPE_PROP(cell, _base_dmem)
29#define hrt_isp_vmem(cell) HRT_PROC_TYPE_PROP(cell, _simd_vmem)
30
31#define hrt_isp_dmem_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_dmem(cell))
32#define hrt_isp_vmem_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_vmem(cell))
33
34#if ISP_HAS_HIST
35#define hrt_isp_hist(cell) HRT_PROC_TYPE_PROP(cell, _simd_histogram)
36#define hrt_isp_hist_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_hist(cell))
37#endif
38
39#endif
40