/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 42 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override; 45 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override; 93 const std::unique_ptr<C2Work> &work, 122 void finish(uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork); 138 const std::unique_ptr<C2Work> ¤tWork, 139 std::function<void(const std::unique_ptr<C2Work> &)> fillWork); 205 typedef std::unordered_map<uint64_t, std::unique_ptr<C2Work>> PendingWork; 212 std::unique_ptr<C2Work> pop_front(); 213 void push_back(std::unique_ptr<C2Work> work); 227 std::unique_ptr<C2Work> work;
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.h | 53 const std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> fn = 58 std::list<std::unique_ptr<C2Work>>& workItems) override { in onWorkDone() 108 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack; 189 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue, 194 std::list<std::unique_ptr<C2Work>>& workQueue, 199 std::unique_ptr<C2Work>& work, std::list<uint64_t>& flushedIndices, 201 std::list<std::unique_ptr<C2Work>>& workQueue, bool& eos, bool& csd,
|
D | media_c2_hidl_test_common.cpp | 26 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue, in testInputBuffer() 28 std::unique_ptr<C2Work> work; in testInputBuffer() 51 std::list<std::unique_ptr<C2Work>> items; in testInputBuffer() 59 std::list<std::unique_ptr<C2Work>>& workQueue, in waitOnInputConsumption() 83 std::unique_ptr<C2Work>& work, std::list<uint64_t>& flushedIndices, in workDone() 85 std::list<std::unique_ptr<C2Work>>& workQueue, bool& eos, bool& csd, in workDone()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.h | 44 void process(const std::unique_ptr<C2Work>& work, 64 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work, 67 const std::unique_ptr<C2Work>& work); 70 const std::unique_ptr<C2Work>& work);
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 33 std::unique_ptr<C2Work> SimpleC2Component::WorkQueue::pop_front() { in pop_front() 34 std::unique_ptr<C2Work> work = std::move(mQueue.front().work); in pop_front() 39 void SimpleC2Component::WorkQueue::push_back(std::unique_ptr<C2Work> work) { in push_back() 229 c2_status_t SimpleC2Component::queue_nb(std::list<std::unique_ptr<C2Work>> * const items) { in queue_nb() 257 flush_mode_t flushMode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm() 270 std::unique_ptr<C2Work> work = queue->pop_front(); in flush_sm() 383 std::list<std::unique_ptr<C2Work>> vec(std::unique_ptr<C2Work> &work) { in vec() 384 std::list<std::unique_ptr<C2Work>> ret; in vec() 392 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish() 393 std::unique_ptr<C2Work> work; in finish() [all …]
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.h | 61 const std::function<void(std::list<std::unique_ptr<C2Work>> &workItems)> fn = nullptr) 64 std::list<std::unique_ptr<C2Work>> &workItems) override { in onWorkDone() 100 std::function<void(std::list<std::unique_ptr<C2Work>> &workItems)> callBack; 122 void handleWorkDone(std::list<std::unique_ptr<C2Work>> &workItems); 138 std::list<std::unique_ptr<C2Work>> mWorkQueue;
|
D | BenchmarkC2Common.cpp | 46 mWorkQueue.emplace_back(new C2Work); in setupCodec2() 91 void BenchmarkC2Common::handleWorkDone(std::list<std::unique_ptr<C2Work>> &workItems) { in handleWorkDone() 94 for (std::unique_ptr<C2Work> &work : workItems) { in handleWorkDone()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.h | 42 const std::unique_ptr<C2Work> &work, 86 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work, 90 const std::unique_ptr<C2Work> &work); 94 const std::unique_ptr<C2Work> &work);
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.h | 41 const std::unique_ptr<C2Work> &work, 53 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work); 54 bool handleResChange(const std::unique_ptr<C2Work> &work);
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.h | 44 void process(const std::unique_ptr<C2Work>& work, 68 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work, 71 const std::unique_ptr<C2Work>& work); 75 const std::unique_ptr<C2Work>& work);
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 71 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() 76 mWorkQueue.emplace_back(new C2Work); in SetUp() 131 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() 132 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone() 163 std::list<std::unique_ptr<C2Work>> mWorkQueue; 281 std::list<std::unique_ptr<C2Work>>& workQueue, in encodeNFrames() 299 std::unique_ptr<C2Work> work; in encodeNFrames() 354 std::list<std::unique_ptr<C2Work>> items; in encodeNFrames() 482 std::unique_ptr<C2Work> work; in TEST_F() 501 std::list<std::unique_ptr<C2Work>> items; in TEST_F() [all …]
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 77 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() 82 mWorkQueue.emplace_back(new C2Work); in SetUp() 150 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() 151 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone() 214 std::list<std::unique_ptr<C2Work>> mWorkQueue; 399 std::list<std::unique_ptr<C2Work>>& workQueue, in decodeNFrames() 411 std::unique_ptr<C2Work> work; in decodeNFrames() 473 std::list<std::unique_ptr<C2Work>> items; in decodeNFrames() 694 std::unique_ptr<C2Work> work; in TEST_F() 714 std::list<std::unique_ptr<C2Work>> items; in TEST_F() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 72 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() 80 mWorkQueue.emplace_back(new C2Work); in SetUp() 96 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() 97 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone() 111 std::list<std::unique_ptr<C2Work>> mWorkQueue; 129 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F() 146 std::list<std::unique_ptr<C2Work>> workList; in TEST_F() 317 std::list<std::unique_ptr<C2Work>> workList; in TEST_F()
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 81 std::list<std::unique_ptr<C2Work>> workItems); 103 std::list<std::unique_ptr<C2Work>> mWorkQueue; 107 std::list<std::unique_ptr<C2Work>> mProcessedWork; 120 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb() 175 std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone() 227 mWorkQueue.emplace_back(new C2Work); in play() 234 std::unique_ptr<C2Work> work; in play() 329 std::unique_ptr<C2Work> work; in play() 360 std::list<std::unique_ptr<C2Work>> items; in play()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacDec.h | 41 const std::unique_ptr<C2Work> &work, 82 const std::unique_ptr<C2Work> &work, 88 const std::unique_ptr<C2Work> &work);
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 70 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() 75 mWorkQueue.emplace_back(new C2Work); in SetUp() 134 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() 135 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone() 213 std::list<std::unique_ptr<C2Work>> mWorkQueue; 284 std::list<std::unique_ptr<C2Work>>& workQueue, in encodeNFrames() 300 std::unique_ptr<C2Work> work; in encodeNFrames() 369 std::list<std::unique_ptr<C2Work>> items; in encodeNFrames() 487 std::unique_ptr<C2Work> work; in TEST_F() 506 std::list<std::unique_ptr<C2Work>> items; in TEST_F() [all …]
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 80 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() 85 mWorkQueue.emplace_back(new C2Work); in SetUp() 147 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() 148 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone() 221 std::list<std::unique_ptr<C2Work>> mWorkQueue; 336 std::list<std::unique_ptr<C2Work>>& workQueue, in decodeNFrames() 348 std::unique_ptr<C2Work> work; in decodeNFrames() 411 std::list<std::unique_ptr<C2Work>> items; in decodeNFrames() 580 std::unique_ptr<C2Work> work; in TEST_F() 599 std::list<std::unique_ptr<C2Work>> items; in TEST_F() [all …]
|
/frameworks/av/media/codec2/faultinjection/ |
D | C2ComponentWrapper.h | 52 std::list<std::unique_ptr<C2Work>> workItems) override; 67 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override; 70 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
|
D | C2ComponentWrapper.cpp | 65 std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone_nb() 88 c2_status_t C2ComponentWrapper::queue_nb(std::list<std::unique_ptr<C2Work>>* const items) { in queue_nb() 97 C2Component::flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm()
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | types.h | 219 const std::list<std::unique_ptr<C2Work>>& s, 224 std::list<std::unique_ptr<C2Work>>* d, 314 const std::list<std::unique_ptr<C2Work>>& workList, 333 const std::list<std::unique_ptr<C2Work>>& workList,
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.h | 65 const std::unique_ptr<C2Work> &work, 92 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work); 97 const std::unique_ptr<C2Work> &work);
|
D | C2SoftHevcEnc.h | 57 void process(const std::unique_ptr<C2Work>& work, 107 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work, 112 const std::unique_ptr<C2Work>& work);
|
/frameworks/av/media/codec2/sfplugin/ |
D | C2OMXNode.cpp | 61 std::unique_ptr<C2Work> &&work, in queue() 92 std::list<std::unique_ptr<C2Work>> items; in threadLoop() 130 WorkFence(std::unique_ptr<C2Work> &&w, int fd) : work(std::move(w)), fenceFd(fd) {} in WorkFence() 133 std::unique_ptr<C2Work> &&w, in WorkFence() 142 std::unique_ptr<C2Work> work; 375 std::unique_ptr<C2Work> work(new C2Work); in emptyBuffer()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 209 std::unique_ptr<C2Work> work(new C2Work); in submitBuffer() 229 std::list<std::unique_ptr<C2Work>> items; in submitBuffer() 240 std::unique_ptr<C2Work> work(new C2Work); in submitEos() 247 std::list<std::unique_ptr<C2Work>> items; in submitEos() 405 c2_status_t queueToSink(std::list<std::unique_ptr<C2Work>>* const items) { in queueToSink()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.h | 42 const std::unique_ptr<C2Work> &work, 85 const std::unique_ptr<C2Work>& work);
|