Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/hidl_service/
Dhidl_utils.cc336 StreamBuffer* hidl_buffer) { in ConvertToHidlStreamBuffer() argument
337 if (hidl_buffer == nullptr) { in ConvertToHidlStreamBuffer()
342 hidl_buffer->streamId = hal_buffer.stream_id; in ConvertToHidlStreamBuffer()
343 hidl_buffer->bufferId = hal_buffer.buffer_id; in ConvertToHidlStreamBuffer()
344 hidl_buffer->buffer = nullptr; in ConvertToHidlStreamBuffer()
347 ConvertToHidlBufferStatus(hal_buffer.status, &hidl_buffer->status); in ConvertToHidlStreamBuffer()
354 hidl_buffer->acquireFence = nullptr; in ConvertToHidlStreamBuffer()
355 hidl_buffer->releaseFence = hal_buffer.release_fence; in ConvertToHidlStreamBuffer()
636 status_t ConvertToHalStreamBuffer(const StreamBuffer& hidl_buffer, in ConvertToHalStreamBuffer() argument
643 hal_buffer->stream_id = hidl_buffer.streamId; in ConvertToHalStreamBuffer()
[all …]
Dhidl_camera_device_session.cc216 for (auto& hidl_buffer : hidl_buffers) { in RequestStreamBuffers() local
218 hidl_utils::ConvertToHalStreamBuffer(hidl_buffer, &hal_buffer); in RequestStreamBuffers()
225 if (hidl_buffer.acquireFence.getNativeHandle() != nullptr) { in RequestStreamBuffers()
227 native_handle_clone(hidl_buffer.acquireFence.getNativeHandle()); in RequestStreamBuffers()
237 if (hidl_buffer.buffer.getNativeHandle() != nullptr) { in RequestStreamBuffers()
242 buffer_mapper_v4_, hidl_buffer.buffer); in RequestStreamBuffers()
247 buffer_mapper_v3_, hidl_buffer.buffer); in RequestStreamBuffers()
252 buffer_mapper_v2_, hidl_buffer.buffer); in RequestStreamBuffers()
Dhidl_utils.h129 StreamBuffer* hidl_buffer);
136 status_t ConvertToHalStreamBuffer(const StreamBuffer& hidl_buffer,