blob: 546b93ca118631a800470a34b42349efbb59dcc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/**
Support for Intel Camera Imaging ISP subsystem.
Copyright (c) 2010 - 2015, Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as published by the Free Software Foundation.
This program is distributed in the hope it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
*/
#ifndef __MEMORY_REALLOC_H_INCLUDED__
#define __MEMORY_REALLOC_H_INCLUDED__
/*!
* \brief
* Define the internal reallocation of private css memory
*
*/
#include <type_support.h>
/*
* User provided file that defines the (sub)system address types:
* - hrt_vaddress a type that can hold the (sub)system virtual address range
*/
#include "system_types.h"
#include "ia_css_err.h"
bool reallocate_buffer(
hrt_vaddress *curr_buf,
size_t *curr_size,
size_t needed_size,
bool force,
enum ia_css_err *err);
#endif /*__MEMORY_REALLOC_H_INCLUDED__*/
|