Home
last modified time | relevance | path

Searched refs:CachedStreamBuffer (Results 1 – 15 of 15) sorted by relevance

/device/google/cuttlefish/guest/hals/camera/
Dcached_stream_buffer.cpp42 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()
Dcached_stream_buffer.h42 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();
Dstream_buffer_cache.cpp21 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()
Dstream_buffer_cache.h27 std::shared_ptr<CachedStreamBuffer> get(uint64_t buffer_id);
35 std::vector<std::shared_ptr<CachedStreamBuffer>> cache_;
/device/generic/goldfish/camera/
DCachedStreamBuffer.h34 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
DCachedStreamBuffer.cpp98 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()
DQemuCamera.h54 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;
DFakeRotatingCamera.h49 processCaptureRequest(CameraMetadata, Span<CachedStreamBuffer*>) override;
98 CachedStreamBuffer* csb,
103 CachedStreamBuffer* dst) const;
106 CachedStreamBuffer* dst) const;
109 CachedStreamBuffer* csb) const;
DStreamBufferCache.cpp28 CachedStreamBuffer*
32 const auto r = mCache.insert({sb.bufferId, CachedStreamBuffer(sb)}); in update()
36 CachedStreamBuffer* csb = &bi->second; in update()
DQemuCamera.cpp217 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()
DFakeRotatingCamera.cpp440 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()
DStreamBufferCache.h36 CachedStreamBuffer* update(const StreamBuffer& sb);
42 std::map<int64_t, CachedStreamBuffer> mCache;
DHwCamera.h61 std::vector<CachedStreamBuffer*> buffers;
85 processCaptureRequest(CameraMetadata, Span<CachedStreamBuffer*>) = 0;
DAndroid.bp32 "CachedStreamBuffer.cpp",
DCameraDeviceSession.cpp593 CachedStreamBuffer* csb = req.buffers[i]; in disposeCaptureRequest()