Home
last modified time | relevance | path

Searched refs:workItems (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/services/surfaceflinger/
DBackgroundExecutor.cpp36 ftl::SmallVector<Work*, 10> workItems; in BackgroundExecutor() local
40 workItems.push_back(work); in BackgroundExecutor()
46 std::stable_sort(workItems.begin(), workItems.end(), [](Work* left, Work* right) { in BackgroundExecutor()
49 for (Work* work : workItems) { in BackgroundExecutor()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.h61 const std::function<void(std::list<std::unique_ptr<C2Work>> &workItems)> fn = nullptr)
64 std::list<std::unique_ptr<C2Work>> &workItems) override { in onWorkDone()
67 if (callBack) callBack(workItems); in onWorkDone()
100 std::function<void(std::list<std::unique_ptr<C2Work>> &workItems)> callBack;
122 void handleWorkDone(std::list<std::unique_ptr<C2Work>> &workItems);
DBenchmarkC2Common.cpp91 void BenchmarkC2Common::handleWorkDone(std::list<std::unique_ptr<C2Work>> &workItems) { in handleWorkDone() argument
94 for (std::unique_ptr<C2Work> &work : workItems) { in handleWorkDone()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp41 std::list<std::unique_ptr<C2Work>>& workItems)> in CodecListener()
45 std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone_nb()
47 callBack(comp, workItems); in onWorkDone_nb()
63 std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
123 std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
125 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
208 [this](std::weak_ptr<C2Component> comp, std::list<std::unique_ptr<C2Work>>& workItems) { in initDecoder() argument
209 handleWorkDone(comp, workItems); in initDecoder()
DC2Fuzzer.h57 std::list<std::unique_ptr<C2Work>>& workItems);
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h77 const std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> fn = nullptr)
80 std::list<std::unique_ptr<C2Work>>& workItems) override { in onWorkDone()
84 if (callBack) callBack(workItems); in onWorkDone()
124 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp81 std::list<std::unique_ptr<C2Work>> workItems);
120 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb() argument
121 mThis->onWorkDone(component, std::move(workItems)); in onWorkDone_nb()
175 std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone() argument
179 for (auto & item : workItems) { in onWorkDone()
/frameworks/av/media/codec2/faultinjection/
DC2ComponentWrapper.cpp65 std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone_nb() argument
66 mListener->onWorkDone_nb(component, std::move(workItems)); in onWorkDone_nb()
DC2ComponentWrapper.h52 std::list<std::unique_ptr<C2Work>> workItems) override;
/frameworks/av/media/codec2/hidl/plugin/
DFilterWrapper.cpp655 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb() argument
659 for (std::unique_ptr<C2Work> &work : workItems) { in onWorkDone_nb()
665 workItems.clear(); in onWorkDone_nb()
667 for (auto it = workItems.begin(); it != workItems.end(); ) { in onWorkDone_nb()
672 it = workItems.erase(it); in onWorkDone_nb()
698 if (!workItems.empty()) { in onWorkDone_nb()
699 nextComponent->queue_nb(&workItems); in onWorkDone_nb()
733 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb() argument
740 mWrappedComponent, std::move(workItems)); in onWorkDone_nb()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp68 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
69 handleWorkDone(workItems); in SetUp()
102 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
103 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp27 [this](std::list<std::unique_ptr<C2Work>> &workItems) { handleWorkDone(workItems); })); in createCodec2Component() argument
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp25 [this](std::list<std::unique_ptr<C2Work>> &workItems) { handleWorkDone(workItems); })); in createCodec2Component() argument
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h290 std::list<std::unique_ptr<C2Work>>& workItems) = 0;
461 void handleOnWorkDone(const std::list<std::unique_ptr<C2Work>> &workItems);
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp60 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
61 handleWorkDone(workItems); in SetUp()
114 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
115 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp87 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
88 handleWorkDone(workItems); in SetUp()
147 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
148 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
/frameworks/av/media/codec2/sfplugin/include/media/stagefright/
DCCodec.h75 void onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems);
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp60 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
61 handleWorkDone(workItems); in SetUp()
130 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
131 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp110 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
111 handleWorkDone(workItems); in SetUp()
246 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
247 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp504 std::list<std::unique_ptr<C2Work>> workItems; in onWorkDone() local
505 if (!objcpy(&workItems, workBundle)) { in onWorkDone()
513 strongComponent->handleOnWorkDone(workItems); in onWorkDone()
516 listener->onWorkDone(component, workItems); in onWorkDone()
1326 const std::list<std::unique_ptr<C2Work>> &workItems) { in handleOnWorkDone() argument
1328 mOutputBufferQueue->holdBufferQueueBlocks(workItems); in handleOnWorkDone()
/frameworks/av/media/codec2/core/include/
DC2Component.h338 std::list<std::unique_ptr<C2Work>> workItems) = 0;
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp573 std::list<std::unique_ptr<C2Work>>& workItems) override { in onWorkDone()
579 codec->onWorkDone(workItems); in onWorkDone()
2289 void CCodec::onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems) { in onWorkDone() argument
2290 if (!workItems.empty()) { in onWorkDone()
2292 queue->splice(queue->end(), workItems); in onWorkDone()