diff options
author | Iliyan Malchev <malchev@google.com> | 2011-06-06 17:21:32 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-06-07 11:43:20 -0700 |
commit | 26adde897188059057b3ffcfde1d60171fc6888c (patch) | |
tree | 8ad4e488ac2efc5e0f5234f4b690c1818eb6e1e8 /include | |
parent | 6e49bd393f263bd17a65eb5c1a0e649933c78504 (diff) | |
download | frameworks_av-26adde897188059057b3ffcfde1d60171fc6888c.zip frameworks_av-26adde897188059057b3ffcfde1d60171fc6888c.tar.gz frameworks_av-26adde897188059057b3ffcfde1d60171fc6888c.tar.bz2 |
frameworks/base: updates for camera HAL memory management
-- when the camera HAL allocates memory
-- it requests is as N buffers by S bytes each
-- it may specify a file descriptor to get mmapped; if -1, then we use ashmem
-- when issuing data and data-timestamp callbacks, the camera HAL specifies a
buffer index
-- range checking is performed on the buffer indices
-- memory requested by a camera HAL is not incStrong'ed, and needs to be
expliciftly released by the camera HAL (by calling the release method on the
camera_memory_t handle)
Change-Id: I0f09603aa786c238590e7288388ab673787e6032
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions