/device/google/cuttlefish/guest/hals/camera/ |
D | cached_stream_buffer.cpp | 42 CachedStreamBuffer::CachedStreamBuffer() in CachedStreamBuffer() function in android::hardware::camera::device::V3_4::implementation::CachedStreamBuffer 45 CachedStreamBuffer::CachedStreamBuffer(const StreamBuffer& buffer) in CachedStreamBuffer() function in android::hardware::camera::device::V3_4::implementation::CachedStreamBuffer 54 CachedStreamBuffer::CachedStreamBuffer(CachedStreamBuffer&& from) noexcept { in CachedStreamBuffer() function in android::hardware::camera::device::V3_4::implementation::CachedStreamBuffer 63 CachedStreamBuffer& CachedStreamBuffer::operator=( in operator =() 64 CachedStreamBuffer&& from) noexcept { in operator =() 76 CachedStreamBuffer::~CachedStreamBuffer() { in ~CachedStreamBuffer() 83 void CachedStreamBuffer::importFence(const native_handle_t* fence_handle) { in importFence() 88 YCbCrLayout CachedStreamBuffer::acquireAsYUV(int32_t width, int32_t height, in acquireAsYUV() 118 void* CachedStreamBuffer::acquireAsBlob(int32_t size, int timeout_ms) { in acquireAsBlob() 130 int CachedStreamBuffer::release() { return g_importer.unlock(buffer_); } in release()
|
D | cached_stream_buffer.h | 42 class CachedStreamBuffer { 44 CachedStreamBuffer(); 45 CachedStreamBuffer(const StreamBuffer& buffer); 47 CachedStreamBuffer(const CachedStreamBuffer&) = delete; 48 CachedStreamBuffer& operator=(const CachedStreamBuffer&) = delete; 50 CachedStreamBuffer(CachedStreamBuffer&& from) noexcept; 51 CachedStreamBuffer& operator=(CachedStreamBuffer&& from) noexcept; 53 ~CachedStreamBuffer();
|
D | stream_buffer_cache.cpp | 21 std::shared_ptr<CachedStreamBuffer> StreamBufferCache::get(uint64_t buffer_id) { in get() 23 [buffer_id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in get() 33 [&buffer_id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in remove() 42 auto id_match = [id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in update() 48 cache_.emplace_back(std::make_shared<CachedStreamBuffer>(buffer)); in update()
|
D | stream_buffer_cache.h | 27 std::shared_ptr<CachedStreamBuffer> get(uint64_t buffer_id); 35 std::vector<std::shared_ptr<CachedStreamBuffer>> cache_;
|
/device/generic/goldfish/camera/ |
D | CachedStreamBuffer.h | 34 struct CachedStreamBuffer { struct 35 CachedStreamBuffer(const StreamBuffer& sb); 36 CachedStreamBuffer(CachedStreamBuffer&&) noexcept; 37 ~CachedStreamBuffer(); 62 CachedStreamBuffer(const CachedStreamBuffer&) = delete; argument 63 CachedStreamBuffer& operator=(const CachedStreamBuffer&) = delete; argument 64 CachedStreamBuffer& operator=(CachedStreamBuffer&&) = delete; argument
|
D | CachedStreamBuffer.cpp | 98 CachedStreamBuffer::CachedStreamBuffer(const StreamBuffer& sb) in CachedStreamBuffer() function in android::hardware::camera::provider::implementation::CachedStreamBuffer 108 CachedStreamBuffer::CachedStreamBuffer(CachedStreamBuffer&& rhs) noexcept in CachedStreamBuffer() function in android::hardware::camera::provider::implementation::CachedStreamBuffer 119 CachedStreamBuffer::~CachedStreamBuffer() { in ~CachedStreamBuffer() 127 void CachedStreamBuffer::importAcquireFence(const NativeHandle& fence) { in importAcquireFence() 133 bool CachedStreamBuffer::waitAcquireFence(const unsigned timeoutMs) { in waitAcquireFence() 146 StreamBuffer CachedStreamBuffer::finish(const bool success) { in finish()
|
D | QemuCamera.h | 54 processCaptureRequest(CameraMetadata, Span<CachedStreamBuffer*>) override; 86 CachedStreamBuffer* csb, 89 bool captureFrameYUV(const StreamInfo& si, CachedStreamBuffer* dst) const; 90 bool captureFrameRGBA(const StreamInfo& si, CachedStreamBuffer* dst) const; 92 CachedStreamBuffer* csb) const; 94 CachedStreamBuffer* csb) const;
|
D | FakeRotatingCamera.h | 49 processCaptureRequest(CameraMetadata, Span<CachedStreamBuffer*>) override; 98 CachedStreamBuffer* csb, 103 CachedStreamBuffer* dst) const; 106 CachedStreamBuffer* dst) const; 109 CachedStreamBuffer* csb) const;
|
D | StreamBufferCache.cpp | 28 CachedStreamBuffer* 32 const auto r = mCache.insert({sb.bufferId, CachedStreamBuffer(sb)}); in update() 36 CachedStreamBuffer* csb = &bi->second; in update()
|
D | QemuCamera.cpp | 217 Span<CachedStreamBuffer*> csbs) { in processCaptureRequest() 228 CachedStreamBuffer* csb = csbs[i]; in processCaptureRequest() 257 CachedStreamBuffer* csb, in captureFrame() 287 CachedStreamBuffer* csb) const { in captureFrameYUV() 313 CachedStreamBuffer* csb) const { in captureFrameRGBA() 338 CachedStreamBuffer* csb) const { in captureFrameRAW16() 372 CachedStreamBuffer* csb) const { in captureFrameJpeg()
|
D | FakeRotatingCamera.cpp | 440 Span<CachedStreamBuffer*> csbs) { in processCaptureRequest() 477 CachedStreamBuffer* csb = csbs[i]; in processCaptureRequest() 505 CachedStreamBuffer* csb = csbs[i]; in processCaptureRequest() 517 CachedStreamBuffer* csb, in captureFrame() 543 CachedStreamBuffer* csb) const { in captureFrameRGBA() 553 CachedStreamBuffer* csb) const { in captureFrameYUV() 590 CachedStreamBuffer* csb) const { in captureFrameJpeg()
|
D | StreamBufferCache.h | 36 CachedStreamBuffer* update(const StreamBuffer& sb); 42 std::map<int64_t, CachedStreamBuffer> mCache;
|
D | HwCamera.h | 61 std::vector<CachedStreamBuffer*> buffers; 85 processCaptureRequest(CameraMetadata, Span<CachedStreamBuffer*>) = 0;
|
D | Android.bp | 32 "CachedStreamBuffer.cpp",
|
D | CameraDeviceSession.cpp | 593 CachedStreamBuffer* csb = req.buffers[i]; in disposeCaptureRequest()
|