Home
last modified time | relevance | path

Searched refs:hal_buffer (Results 1 – 3 of 3) sorted by relevance

/hardware/google/camera/common/hal/hidl_service/
Dhidl_utils.cc335 const google_camera_hal::StreamBuffer& hal_buffer, in ConvertToHidlStreamBuffer() argument
342 hidl_buffer->streamId = hal_buffer.stream_id; in ConvertToHidlStreamBuffer()
343 hidl_buffer->bufferId = hal_buffer.buffer_id; in ConvertToHidlStreamBuffer()
347 ConvertToHidlBufferStatus(hal_buffer.status, &hidl_buffer->status); in ConvertToHidlStreamBuffer()
355 hidl_buffer->releaseFence = hal_buffer.release_fence; in ConvertToHidlStreamBuffer()
637 google_camera_hal::StreamBuffer* hal_buffer) { in ConvertToHalStreamBuffer() argument
638 if (hal_buffer == nullptr) { in ConvertToHalStreamBuffer()
643 hal_buffer->stream_id = hidl_buffer.streamId; in ConvertToHalStreamBuffer()
644 hal_buffer->buffer_id = hidl_buffer.bufferId; in ConvertToHalStreamBuffer()
645 hal_buffer->buffer = hidl_buffer.buffer.getNativeHandle(); in ConvertToHalStreamBuffer()
[all …]
Dhidl_camera_device_session.cc217 google_camera_hal::StreamBuffer hal_buffer = {}; in RequestStreamBuffers() local
218 hidl_utils::ConvertToHalStreamBuffer(hidl_buffer, &hal_buffer); in RequestStreamBuffers()
226 hal_buffer.acquire_fence = in RequestStreamBuffers()
228 if (hal_buffer.acquire_fence == nullptr) { in RequestStreamBuffers()
234 hal_buffer.release_fence = nullptr; in RequestStreamBuffers()
239 hal_buffer.buffer = ImportBufferHandle< in RequestStreamBuffers()
244 hal_buffer.buffer = ImportBufferHandle< in RequestStreamBuffers()
249 hal_buffer.buffer = ImportBufferHandle< in RequestStreamBuffers()
256 hal_buffer_return.val.buffers.push_back(hal_buffer); in RequestStreamBuffers()
Dhidl_utils.h128 const google_camera_hal::StreamBuffer& hal_buffer,
137 google_camera_hal::StreamBuffer* hal_buffer);