/packages/services/Car/cpp/evs/support_library/ |
D | StreamHandler.h | 42 using ::android::hardware::automotive::evs::V1_0::BufferDesc; 70 const BufferDesc& getNewDisplayFrame(); 71 void doneWithFrame(const BufferDesc& buffer); 133 Return<void> deliverFrame(const BufferDesc& buffer) override; 135 bool processFrame(const BufferDesc&, BufferDesc&); 136 bool copyAndAnalyzeFrame(const BufferDesc&); 149 BufferDesc mOriginalBuffers[2]; 153 BufferDesc mProcessedBuffers[2]; 154 BufferDesc mAnalyzeBuffer GUARDED_BY(mAnalyzerLock);
|
D | RenderBase.h | 35 using ::android::hardware::automotive::evs::V1_0::BufferDesc; 48 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) = 0; 53 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
|
D | StreamHandler.cpp | 86 const BufferDesc& StreamHandler::getNewDisplayFrame() { in getNewDisplayFrame() 110 void StreamHandler::doneWithFrame(const BufferDesc& buffer) { in doneWithFrame() 128 Return<void> StreamHandler::deliverFrame(const BufferDesc& buffer) { in deliverFrame() 229 bool isSameFormat(const BufferDesc& input, const BufferDesc& output) { in isSameFormat() 235 bool allocate(BufferDesc& buffer) { in allocate() 264 bool StreamHandler::processFrame(const BufferDesc& input, BufferDesc& output) { in processFrame() 358 bool StreamHandler::copyAndAnalyzeFrame(const BufferDesc& input) { in copyAndAnalyzeFrame()
|
D | RenderDirectView.h | 31 using ::android::hardware::automotive::evs::V1_0::BufferDesc; 41 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) override;
|
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/ |
D | HidlCameraStream.cpp | 30 using ::aidl::android::hardware::automotive::evs::BufferDesc; 38 Return<void> HidlCameraStream::deliverFrame(const hidlevs::V1_0::BufferDesc& buffer) { in deliverFrame() 44 std::vector<BufferDesc> aidlBuffers(1); in deliverFrame() 72 const hidl_vec<hidlevs::V1_1::BufferDesc>& buffers) { in deliverFrame_1_1() 78 std::vector<BufferDesc> aidlBuffers(buffers.size()); in deliverFrame_1_1() 80 hidlevs::V1_1::BufferDesc buffer = std::move(buffers[i]); in deliverFrame_1_1() 105 bool HidlCameraStream::getHidlBuffer(int id, hidlevs::V1_0::BufferDesc* _return) { in getHidlBuffer() 107 [id](const hidlevs::V1_0::BufferDesc& buffer) { in getHidlBuffer() 119 bool HidlCameraStream::getHidlBuffer(int id, hidlevs::V1_1::BufferDesc* _return) { in getHidlBuffer() 121 [id](const hidlevs::V1_1::BufferDesc& buffer) { in getHidlBuffer()
|
D | AidlCameraStream.cpp | 30 using ::aidl::android::hardware::automotive::evs::BufferDesc; 46 ScopedAStatus AidlCameraStream::deliverFrame(const std::vector<BufferDesc>& buffers) { in deliverFrame() 54 bool AidlCameraStream::getBuffer(int id, BufferDesc* _return) { in getBuffer() 58 bool AidlCameraStream::IHidlCameraStream::getBuffer(int id, BufferDesc* _return) { in getBuffer() 60 [id](const BufferDesc& buffer) { return id == buffer.bufferId; }); in getBuffer() 73 ScopedAStatus AidlCameraStream::ImplV0::deliverFrame(const std::vector<BufferDesc>& buffers) { in deliverFrame() 116 ScopedAStatus AidlCameraStream::ImplV1::deliverFrame(const std::vector<BufferDesc>& buffers) { in deliverFrame() 118 ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc> hidlBuffers(n); in deliverFrame() 120 BufferDesc buffer = std::move(Utils::dupBufferDesc(buffers[i], /* doDup= */ true)); in deliverFrame()
|
D | AidlCamera.cpp | 28 using ::aidl::android::hardware::automotive::evs::BufferDesc; 61 ScopedAStatus AidlCamera::doneWithFrame(const std::vector<BufferDesc>& buffers) { in doneWithFrame() 94 ScopedAStatus AidlCamera::importExternalBuffers(const std::vector<BufferDesc>& buffers, in importExternalBuffers() 151 ScopedAStatus AidlCamera::ImplV0::doneWithFrame(const std::vector<BufferDesc>& buffers) { in doneWithFrame() 157 hidlevs::V1_0::BufferDesc hidlBuffer; in doneWithFrame() 215 ScopedAStatus AidlCamera::ImplV0::importExternalBuffers(const std::vector<BufferDesc>& /*buffers*/, in importExternalBuffers() argument 294 ScopedAStatus AidlCamera::ImplV1::doneWithFrame(const std::vector<BufferDesc>& buffers) { in doneWithFrame() 301 hidl_vec<hidlevs::V1_1::BufferDesc> hidlBuffers(n); in doneWithFrame() 303 hidlevs::V1_1::BufferDesc buffer; in doneWithFrame() 406 ScopedAStatus AidlCamera::ImplV1::importExternalBuffers(const std::vector<BufferDesc>& buffers, in importExternalBuffers() [all …]
|
D | HidlCamera.cpp | 29 using ::aidl::android::hardware::automotive::evs::BufferDesc; 104 Return<void> HidlCamera::doneWithFrame(const hidlevs::V1_0::BufferDesc& buffer) { in doneWithFrame() 110 BufferDesc aidlBuffer; in doneWithFrame() 116 std::vector<BufferDesc> buffersToReturn(1); in doneWithFrame() 211 const hidl_vec<hidlevs::V1_1::BufferDesc>& buffers) { in doneWithFrame_1_1() 217 std::vector<BufferDesc> buffersToReturn(buffers.size()); in doneWithFrame_1_1() 219 BufferDesc aidlBuffer; in doneWithFrame_1_1() 407 Return<void> HidlCamera::importExternalBuffers(const hidl_vec<hidlevs::V1_1::BufferDesc>& buffers, in importExternalBuffers() 415 std::vector<BufferDesc> aidlBuffers(buffers.size()); in importExternalBuffers()
|
/packages/services/Car/cpp/evs/manager/aidl/utils/include/ |
D | Utils.h | 49 const hidlevs::V1_0::BufferDesc& hidlBuffer, bool doDup); 52 const hidlevs::V1_1::BufferDesc& hidlBuffer, bool doDup); 54 static aidlevs::BufferDesc makeFromHidl(const hidlevs::V1_0::BufferDesc& hidlBuffer, 57 static aidlevs::BufferDesc makeFromHidl(const hidlevs::V1_1::BufferDesc& hidlBuffer, 60 static hidlevs::V1_0::BufferDesc makeToHidlV1_0(const aidlevs::BufferDesc& hidlBuffer, 63 static hidlevs::V1_1::BufferDesc makeToHidlV1_1(const aidlevs::BufferDesc& hidlBuffer, 137 static aidlevs::BufferDesc dupBufferDesc(const aidlevs::BufferDesc& src, bool doDup);
|
/packages/services/Car/cpp/evs/sampleDriver/hidl/ |
D | bufferCopy.h | 30 void fillNV21FromNV21(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf, 33 void fillNV21FromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf, 36 void fillRGBAFromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf, 39 void fillRGBAFromUYVY(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf, 42 void fillYUYVFromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf, 45 void fillYUYVFromUYVY(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf,
|
D | bufferCopy.cpp | 46 void fillNV21FromNV21(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void*, unsigned) { in fillNV21FromNV21() 64 void fillNV21FromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void*, in fillNV21FromYUYV() 126 void fillRGBAFromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf, in fillRGBAFromYUYV() 152 void fillRGBAFromUYVY(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void* buf, in fillRGBAFromUYVY() 178 void fillYUYVFromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void*, in fillYUYVFromYUYV() 194 void fillYUYVFromUYVY(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, void*, in fillYUYVFromUYVY()
|
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/ |
D | HidlCameraStream.h | 35 const hidlevs::V1_0::BufferDesc& buffer) override; 39 const ::android::hardware::hidl_vec<hidlevs::V1_1::BufferDesc>& buffers) override; 46 bool getHidlBuffer(int id, hidlevs::V1_0::BufferDesc* _return); 47 bool getHidlBuffer(int id, hidlevs::V1_1::BufferDesc* _return); 52 std::list<hidlevs::V1_0::BufferDesc> mHidlV0Buffers; 53 std::list<hidlevs::V1_1::BufferDesc> mHidlV1Buffers;
|
D | AidlCameraStream.h | 37 ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) override; 43 bool getBuffer(int id, aidlevs::BufferDesc* _return); 55 virtual ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) = 0; 57 virtual bool getBuffer(int id, aidlevs::BufferDesc* _return); 68 std::list<aidlevs::BufferDesc> mBuffers; 73 ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) override; 82 ::ndk::ScopedAStatus deliverFrame(const std::vector<aidlevs::BufferDesc>& buffer) override;
|
/packages/services/Car/service/jni/evs/ |
D | StreamHandler.cpp | 30 using ::aidl::android::hardware::automotive::evs::BufferDesc; 66 BufferDesc dupBufferDesc(const BufferDesc& src, bool doDup) { in dupBufferDesc() 67 BufferDesc dup = { in dupBufferDesc() 176 std::vector<BufferDesc> frames(1); in blockingStopStream() 215 BufferDesc bufferToReturn; in doneWithFrame() 219 [bufferId](BufferDesc& b) { return b.bufferId == bufferId; }); in doneWithFrame() 230 std::vector<BufferDesc> frames(1); in doneWithFrame() 240 void StreamHandler::doneWithFrame(const BufferDesc& buffer) { in doneWithFrame() 244 ::ndk::ScopedAStatus StreamHandler::deliverFrame(const std::vector<BufferDesc>& buffers) { in deliverFrame() 247 const BufferDesc& bufferToUse = buffers[0]; in deliverFrame()
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/ |
D | bufferCopy.h | 25 void fillNV21FromNV21(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff, 28 void fillNV21FromYUYV(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff, 31 void fillRGBAFromYUYV(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff, 34 void fillYUYVFromYUYV(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff, 37 void fillYUYVFromUYVY(const ::aidl::android::hardware::automotive::evs::BufferDesc& tgtBuff,
|
/packages/services/Car/cpp/evs/apps/default/inc/ |
D | StreamHandler.h | 55 const aidl::android::hardware::automotive::evs::BufferDesc& getNewFrame(); 56 void doneWithFrame(const aidl::android::hardware::automotive::evs::BufferDesc& buffer); 61 const std::vector<aidl::android::hardware::automotive::evs::BufferDesc>& buffers) 77 aidl::android::hardware::automotive::evs::BufferDesc mBuffers[2]; 80 std::vector<aidl::android::hardware::automotive::evs::BufferDesc> mOwnBuffers;
|
D | Utils.h | 22 aidl::android::hardware::automotive::evs::BufferDesc dupBufferDesc( 23 const aidl::android::hardware::automotive::evs::BufferDesc& src); 25 const aidl::android::hardware::automotive::evs::BufferDesc& buffer);
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | StreamHandler.cpp | 34 using aidl::android::hardware::automotive::evs::BufferDesc; 64 BufferDesc buf; in StreamHandler() 156 const BufferDesc& StreamHandler::getNewFrame() { in getNewFrame() 176 void StreamHandler::doneWithFrame(const BufferDesc& bufDesc) { in doneWithFrame() 192 std::vector<BufferDesc> frames(1); in doneWithFrame() 202 ndk::ScopedAStatus StreamHandler::deliverFrame(const std::vector<BufferDesc>& buffers) { in deliverFrame() 207 const BufferDesc& bufferToUse = buffers[0]; in deliverFrame() 212 std::vector<BufferDesc> frames(1); in deliverFrame()
|
D | Utils.cpp | 25 using aidl::android::hardware::automotive::evs::BufferDesc; 53 BufferDesc dupBufferDesc(const BufferDesc& src) { in dupBufferDesc() 54 BufferDesc dup = { in dupBufferDesc() 66 native_handle_t* getNativeHandle(const BufferDesc& buffer) { in getNativeHandle()
|
/packages/services/Car/cpp/evs/manager/aidl/utils/src/ |
D | Utils.cpp | 25 using ::aidl::android::hardware::automotive::evs::BufferDesc; 87 HardwareBuffer Utils::makeHwBufferFromHidlBuffer(const hidlevs::V1_0::BufferDesc& hidlBuffer, in makeHwBufferFromHidlBuffer() 126 HardwareBuffer Utils::makeHwBufferFromHidlBuffer(const hidlevs::V1_1::BufferDesc& hidlBuffer, in makeHwBufferFromHidlBuffer() 143 BufferDesc Utils::makeFromHidl(const hidlevs::V1_0::BufferDesc& hidlBuffer, bool doDup) { in makeFromHidl() 144 BufferDesc aidlBuffer = { in makeFromHidl() 155 BufferDesc Utils::makeFromHidl(const hidlevs::V1_1::BufferDesc& hidlBuffer, bool doDup) { in makeFromHidl() 156 BufferDesc aidlBuffer = { in makeFromHidl() 191 hidlevs::V1_0::BufferDesc Utils::makeToHidlV1_0(const BufferDesc& aidlBuffer, bool doDup) { in makeToHidlV1_0() 192 hidlevs::V1_0::BufferDesc hidlBuffer = { in makeToHidlV1_0() 207 hidlevs::V1_1::BufferDesc Utils::makeToHidlV1_1(const BufferDesc& aidlBuffer, bool doDup) { in makeToHidlV1_1() [all …]
|
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/ |
D | EvsDisplayManager.cpp | 37 using android::hardware::automotive::evs::V1_0::BufferDesc; 41 BufferDesc getBufferDesc(const std::shared_ptr<MemHandle>& frame) { in getBufferDesc() 45 BufferDesc buffer; in getBufferDesc() 130 BufferDesc tgtBuffer = {}; in threadFn() 131 evsDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in threadFn() 136 BufferDesc srcBuffer = getBufferDesc(mNextFrame); in threadFn()
|
/packages/services/Car/cpp/evs/manager/aidl/include/ |
D | VirtualCamera.h | 50 ::ndk::ScopedAStatus doneWithFrame(const std::vector<aidlevs::BufferDesc>& buffers) override; 63 ::ndk::ScopedAStatus importExternalBuffers(const std::vector<aidlevs::BufferDesc>& buffers, 91 bool deliverFrame(const aidlevs::BufferDesc& bufDesc); 113 std::unordered_map<std::string, std::deque<aidlevs::BufferDesc>> mFramesHeld GUARDED_BY(mMutex); 114 std::unordered_map<std::string, std::deque<aidlevs::BufferDesc>> mFramesUsed GUARDED_BY(mMutex);
|
/packages/services/Car/cpp/evs/manager/1.1/stats/ |
D | CameraUsageStats.cpp | 39 using ::android::hardware::automotive::evs::V1_1::BufferDesc; 41 void CameraUsageStats::updateFrameStatsOnArrival(const hidl_vec<BufferDesc>& bufs) { in updateFrameStatsOnArrival() 53 void CameraUsageStats::updateFrameStatsOnReturn(const hidl_vec<BufferDesc>& bufs) { in updateFrameStatsOnReturn() 84 void CameraUsageStats::framesReceived(const hidl_vec<BufferDesc>& bufs) { in framesReceived() 96 void CameraUsageStats::framesReturned(const hidl_vec<BufferDesc>& bufs) { in framesReturned()
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/ |
D | bufferCopy.cpp | 34 void fillNV21FromNV21(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, unsigned) { in fillNV21FromNV21() 52 void fillNV21FromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, unsigned imgStride) { in fillNV21FromYUYV() 113 void fillRGBAFromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, unsigned imgStride) { in fillRGBAFromYUYV() 139 void fillYUYVFromYUYV(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, unsigned imgStride) { in fillYUYVFromYUYV() 155 void fillYUYVFromUYVY(const BufferDesc& tgtBuff, uint8_t* tgt, void* imgData, unsigned imgStride) { in fillYUYVFromUYVY()
|
/packages/services/Car/cpp/evs/manager/aidl/stats/src/ |
D | CameraUsageStats.cpp | 25 using ::aidl::android::hardware::automotive::evs::BufferDesc; 36 void CameraUsageStats::updateFrameStatsOnArrivalLocked(const std::vector<BufferDesc>& bufs) { in updateFrameStatsOnArrivalLocked() 48 void CameraUsageStats::updateFrameStatsOnReturnLocked(const std::vector<BufferDesc>& bufs) { in updateFrameStatsOnReturnLocked() 79 void CameraUsageStats::framesReceived(const std::vector<BufferDesc>& bufs) { in framesReceived() 91 void CameraUsageStats::framesReturned(const std::vector<BufferDesc>& bufs) { in framesReturned()
|