2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2010-2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef __VMEM_LOCAL_H_INCLUDED__
16 #define __VMEM_LOCAL_H_INCLUDED__
18 #include "type_support.h"
19 #include "vmem_global.h"
21 typedef uint16_t t_vmem_elem;
23 #define VMEM_ARRAY(x,s) t_vmem_elem x[s/ISP_NWAY][ISP_NWAY]
27 const t_vmem_elem *from,
29 unsigned elems); /* In t_vmem_elem */
34 const t_vmem_elem *from,
35 unsigned elems); /* In t_vmem_elem */
37 void isp_vmem_2d_load (
39 const t_vmem_elem *from,
43 unsigned stride_to, /* In t_vmem_elem */
44 unsigned stride_from /* In t_vmem_elem */);
46 void isp_vmem_2d_store (
49 const t_vmem_elem *from,
52 unsigned stride_to, /* In t_vmem_elem */
53 unsigned stride_from /* In t_vmem_elem */);
55 #endif /* __VMEM_LOCAL_H_INCLUDED__ */