1 /* Release Version: irci_stable_candrpv_0415_20150521_0458 */
3 * Support for Intel Camera Imaging ISP subsystem.
4 * Copyright (c) 2015, Intel Corporation.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 #ifndef __SH_CSS_HOST_DATA_H
17 #define __SH_CSS_HOST_DATA_H
19 #include <ia_css_types.h> /* ia_css_pipe */
22 * @brief Allocate structure ia_css_host_data.
24 * @param[in] size Size of the requested host data
27 * - NULL, can't allocate requested size
28 * - pointer to structure, field address points to host data with size bytes
30 struct ia_css_host_data *
31 ia_css_host_data_allocate(size_t size);
34 * @brief Free structure ia_css_host_data.
36 * @param[in] me Pointer to structure, if a NULL is passed functions
37 * returns without error. Otherwise a valid pointer to
38 * structure must be passed and a related memory
43 void ia_css_host_data_free(struct ia_css_host_data *me);
45 #endif /* __SH_CSS_HOST_DATA_H */