/frameworks/native/libs/ui/include/ui/ |
D | Gralloc.h | 39 virtual std::string dumpBuffer(buffer_handle_t /*bufferHandle*/, bool /*less*/) const { in dumpBuffer() argument 48 buffer_handle_t* outBufferHandle) const = 0; 50 virtual void freeBuffer(buffer_handle_t bufferHandle) const = 0; 52 virtual status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, 57 virtual void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 62 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 68 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 73 virtual int unlock(buffer_handle_t bufferHandle) const = 0; 87 virtual status_t getBufferId(buffer_handle_t /*bufferHandle*/, in getBufferId() argument 91 virtual status_t getName(buffer_handle_t /*bufferHandle*/, std::string* /*outName*/) const { in getName() argument [all …]
|
D | GraphicBufferMapper.h | 61 void dumpBuffer(buffer_handle_t bufferHandle, std::string& result, bool less = true) const; 62 static void dumpBufferToSystemLog(buffer_handle_t bufferHandle, bool less = true); 68 buffer_handle_t* outHandle); 70 status_t importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle); 72 status_t freeBuffer(buffer_handle_t handle); 74 void getTransportSize(buffer_handle_t handle, 91 ui::Result<LockResult> lock(buffer_handle_t handle, int64_t usage, const Rect& bounds, 94 ui::Result<android_ycbcr> lockYCbCr(buffer_handle_t handle, int64_t usage, const Rect& bounds, 97 status_t lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr); 99 status_t lockYCbCr(buffer_handle_t handle, [all …]
|
D | Gralloc5.h | 34 [[nodiscard]] std::string dumpBuffer(buffer_handle_t bufferHandle, bool less) const override; 39 buffer_handle_t *outBufferHandle) const override; 41 void freeBuffer(buffer_handle_t bufferHandle) const override; 43 [[nodiscard]] status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, 48 void getTransportSize(buffer_handle_t bufferHandle, uint32_t *outNumFds, 51 [[nodiscard]] status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect &bounds, 55 [[nodiscard]] status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect &bounds, 58 [[nodiscard]] int unlock(buffer_handle_t bufferHandle) const override; 64 [[nodiscard]] status_t getBufferId(buffer_handle_t bufferHandle, 67 [[nodiscard]] status_t getName(buffer_handle_t bufferHandle, [all …]
|
D | Gralloc4.h | 42 std::string dumpBuffer(buffer_handle_t bufferHandle, bool less = true) const override; 48 buffer_handle_t* outBufferHandle) const override; 50 void freeBuffer(buffer_handle_t bufferHandle) const override; 52 status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, uint32_t height, 56 void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 59 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 63 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 66 int unlock(buffer_handle_t bufferHandle) const override; 71 status_t getBufferId(buffer_handle_t bufferHandle, uint64_t* outBufferId) const override; 72 status_t getName(buffer_handle_t bufferHandle, std::string* outName) const override; [all …]
|
D | Gralloc2.h | 44 buffer_handle_t* outBufferHandle) const override; 46 void freeBuffer(buffer_handle_t bufferHandle) const override; 48 status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, uint32_t height, 52 void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 55 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 59 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 62 int unlock(buffer_handle_t bufferHandle) const override; 85 buffer_handle_t* outBufferHandles, bool importBuffers = true) const override;
|
D | Gralloc3.h | 43 buffer_handle_t* outBufferHandle) const override; 45 void freeBuffer(buffer_handle_t bufferHandle) const override; 47 status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, uint32_t height, 51 void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 54 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 58 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 61 int unlock(buffer_handle_t bufferHandle) const override; 86 buffer_handle_t* outBufferHandles, bool importBuffers = true) const override;
|
D | GraphicBufferAllocator.h | 64 buffer_handle_t handle = nullptr; 69 explicit AllocationResult(buffer_handle_t handle, uint32_t stride) in AllocationResult() 81 uint64_t usage, buffer_handle_t* handle, uint32_t* stride, 92 uint64_t usage, buffer_handle_t* handle, uint32_t* stride, 100 buffer_handle_t* handle, uint32_t* stride, uint64_t graphicBufferId, 103 status_t free(buffer_handle_t handle); 125 uint64_t usage, buffer_handle_t* handle, uint32_t* stride, 129 static KeyedVector<buffer_handle_t, alloc_rec_t> sAllocList;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 61 void dumpBuffer(buffer_handle_t bufferHandle, std::string& result, bool less = true) const; 62 static void dumpBufferToSystemLog(buffer_handle_t bufferHandle, bool less = true); 68 buffer_handle_t* outHandle); 70 status_t importBufferNoValidate(const native_handle_t* rawHandle, buffer_handle_t* outHandle); 72 status_t freeBuffer(buffer_handle_t handle); 74 void getTransportSize(buffer_handle_t handle, 91 ui::Result<LockResult> lock(buffer_handle_t handle, int64_t usage, const Rect& bounds, 94 ui::Result<android_ycbcr> lockYCbCr(buffer_handle_t handle, int64_t usage, const Rect& bounds, 97 status_t lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr); 99 status_t lockYCbCr(buffer_handle_t handle, [all …]
|
D | GraphicBufferAllocator.h | 64 buffer_handle_t handle = nullptr; 69 explicit AllocationResult(buffer_handle_t handle, uint32_t stride) in AllocationResult() 81 uint64_t usage, buffer_handle_t* handle, uint32_t* stride, 92 uint64_t usage, buffer_handle_t* handle, uint32_t* stride, 100 buffer_handle_t* handle, uint32_t* stride, uint64_t graphicBufferId, 103 status_t free(buffer_handle_t handle); 125 uint64_t usage, buffer_handle_t* handle, uint32_t* stride, 129 static KeyedVector<buffer_handle_t, alloc_rec_t> sAllocList;
|
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 85 void GraphicBufferMapper::dumpBuffer(buffer_handle_t bufferHandle, std::string& result, in dumpBuffer() 90 void GraphicBufferMapper::dumpBufferToSystemLog(buffer_handle_t bufferHandle, bool less) { in dumpBufferToSystemLog() 99 buffer_handle_t* outHandle) { in importBuffer() 102 buffer_handle_t bufferHandle; in importBuffer() 123 buffer_handle_t* outHandle) { in importBufferNoValidate() 127 void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, in getTransportSize() 133 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) in freeBuffer() 142 ui::Result<LockResult> GraphicBufferMapper::lock(buffer_handle_t handle, int64_t usage, in lock() 156 ui::Result<android_ycbcr> GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, int64_t usage, in lockYCbCr() 170 status_t GraphicBufferMapper::unlock(buffer_handle_t handle, base::unique_fd* outFence) { in unlock() [all …]
|
D | Gralloc5.cpp | 133 static auto getStandardMetadata(AIMapper *mapper, buffer_handle_t bufferHandle) in getStandardMetadata() 160 static AIMapper_Error setStandardMetadata(AIMapper *mapper, buffer_handle_t bufferHandle, in setStandardMetadata() 228 buffer_handle_t* outBufferHandles, bool importBuffers) const { in allocate() 443 std::string Gralloc5Mapper::dumpBuffer(buffer_handle_t bufferHandle, bool less) const { in dumpBuffer() 523 buffer_handle_t *outBufferHandle) const { in importBuffer() 527 void Gralloc5Mapper::freeBuffer(buffer_handle_t bufferHandle) const { in freeBuffer() 531 status_t Gralloc5Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize() 592 void Gralloc5Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t *outNumFds, in getTransportSize() 597 status_t Gralloc5Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect &bounds, in lock() 609 status_t Gralloc5Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect &bounds, in lock() [all …]
|
D | Gralloc4.cpp | 202 buffer_handle_t* outBufferHandle) const { in importBuffer() 209 *outBufferHandle = static_cast<buffer_handle_t>(tmpBuffer); in importBuffer() 215 void Gralloc4Mapper::freeBuffer(buffer_handle_t bufferHandle) const { in freeBuffer() 223 status_t Gralloc4Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize() 239 void Gralloc4Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize() 262 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() 303 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() 404 int Gralloc4Mapper::unlock(buffer_handle_t bufferHandle) const { in unlock() 474 status_t Gralloc4Mapper::get(buffer_handle_t bufferHandle, const MetadataType& metadataType, in get() 502 status_t Gralloc4Mapper::set(buffer_handle_t bufferHandle, const MetadataType& metadataType, in set() [all …]
|
D | GraphicBufferAllocator.cpp | 48 KeyedVector<buffer_handle_t, 88 KeyedVector<buffer_handle_t, alloc_rec_t>& list(sAllocList); in dump() 174 KeyedVector<buffer_handle_t, alloc_rec_t>& list(sAllocList); in allocate() 191 buffer_handle_t* handle, uint32_t* stride, in allocateHelper() 240 KeyedVector<buffer_handle_t, alloc_rec_t>& list(sAllocList); in allocateHelper() 256 buffer_handle_t* handle, uint32_t* stride, in allocate() 264 uint64_t usage, buffer_handle_t* handle, in allocateRawHandle() 273 buffer_handle_t* handle, uint32_t* stride, in allocate() 279 status_t GraphicBufferAllocator::free(buffer_handle_t handle) in free() 288 KeyedVector<buffer_handle_t, alloc_rec_t>& list(sAllocList); in free()
|
D | Gralloc2.cpp | 165 buffer_handle_t* outBufferHandle) const { in importBuffer() 175 *outBufferHandle = static_cast<buffer_handle_t>(tmpBuffer); in importBuffer() 181 void Gralloc2Mapper::freeBuffer(buffer_handle_t bufferHandle) const { in freeBuffer() 190 status_t Gralloc2Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize() 211 void Gralloc2Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize() 238 status_t Gralloc2Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() 284 status_t Gralloc2Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() 330 int Gralloc2Mapper::unlock(buffer_handle_t bufferHandle) const { in unlock() 387 uint32_t* outStride, buffer_handle_t* outBufferHandles, in allocate()
|
D | Gralloc3.cpp | 142 buffer_handle_t* outBufferHandle) const { in importBuffer() 149 *outBufferHandle = static_cast<buffer_handle_t>(tmpBuffer); in importBuffer() 155 void Gralloc3Mapper::freeBuffer(buffer_handle_t bufferHandle) const { in freeBuffer() 163 status_t Gralloc3Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize() 176 void Gralloc3Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize() 199 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() 244 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() 288 int Gralloc3Mapper::unlock(buffer_handle_t bufferHandle) const { in unlock() 375 buffer_handle_t* outBufferHandles, bool importBuffers) const { in allocate()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | BufferUtils.h | 35 size_t operator()(const buffer_handle_t& buf) const { in operator() 49 bool operator()(const buffer_handle_t& buf1, const buffer_handle_t& buf2) const { in operator() 63 typedef std::unordered_map<const buffer_handle_t, uint64_t, 71 typedef std::unordered_map<uint64_t, buffer_handle_t*> InflightBufferMap; 74 typedef std::unordered_map<uint64_t, std::pair<int32_t, buffer_handle_t*>> RequestedBufferMap; 99 const buffer_handle_t& buf, int streamId) override; 123 buffer_handle_t *buffer); 127 /*out*/ buffer_handle_t **buffer) override; 137 uint64_t bufferId, buffer_handle_t* buf, int32_t streamId) override; 141 /*out*/ buffer_handle_t** buffer,
|
D | Camera3OutputInterface.h | 51 virtual std::pair<bool, uint64_t> getBufferId(const buffer_handle_t& buf, int streamId) = 0; 59 /*out*/ buffer_handle_t **buffer) = 0; 63 uint64_t bufferId, buffer_handle_t* buf, int32_t streamId) = 0; 67 /*out*/ buffer_handle_t** buffer,
|
D | BufferUtils.cpp | 64 const buffer_handle_t& buf, int streamId) { in getBufferId() 187 int32_t frameNumber, int32_t streamId, buffer_handle_t *buffer) { in pushInflightBuffer() 196 /*out*/ buffer_handle_t **buffer) { in popInflightBuffer() 219 uint64_t bufferId, buffer_handle_t* buf, int32_t streamId) { in pushInflightRequestBuffer() 233 /*out*/ buffer_handle_t** buffer, in popInflightRequestBuffer()
|
D | Camera3OutputUtilsTemplated.h | 199 std::vector<buffer_handle_t> outputBufferHandles(result.outputBuffers.size()); in processOneCaptureResultLockedT() 213 buffer_handle_t *buffer = nullptr; in processOneCaptureResultLockedT() 271 buffer_handle_t *buffer; in processOneCaptureResultLockedT() 317 buffer_handle_t* buffer; in returnStreamBuffersT()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | ion_buffer.h | 16 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, 18 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, 42 void Reset(buffer_handle_t handle, uint32_t width, uint32_t height, 49 int Import(buffer_handle_t handle, uint32_t width, uint32_t height, 74 buffer_handle_t handle() const { in handle()
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferAllocator_test.cpp | 72 buffer_handle_t handle; in TEST_F() 85 buffer_handle_t handle; in TEST_F() 109 buffer_handle_t handle; in TEST_F()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | ion_buffer.cpp | 26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() 31 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() 91 void IonBuffer::Reset(buffer_handle_t handle, uint32_t width, uint32_t height, in Reset() 101 int IonBuffer::Import(buffer_handle_t handle, uint32_t width, uint32_t height, in Import()
|
/frameworks/native/libs/ui/tests/mock/ |
D | MockGrallocAllocator.h | 39 buffer_handle_t* outBufferHandles, bool less),
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraStream.cc | 45 const buffer_handle_t bufferHandle) { in createGraphicBuffer() 76 buffer_handle_t bufferHandle; in importBufferInternal()
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | HDCPAPI.h | 121 buffer_handle_t /*buffer*/, size_t /*offset*/, size_t /*size*/, in encryptNative()
|