Home
last modified time | relevance | path

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

/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.h58 std::list<std::unique_ptr<C2Work>>& workItems);
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h88 const std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> fn = nullptr)
91 std::list<std::unique_ptr<C2Work>>& workItems) override { in onWorkDone()
94 if (callBack) callBack(workItems); in onWorkDone()
133 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/hal/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp69 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
70 handleWorkDone(workItems); in SetUp()
103 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
104 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
/frameworks/av/media/codec2/hal/plugin/
DFilterWrapper.cpp656 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb() argument
660 for (std::unique_ptr<C2Work> &work : workItems) { in onWorkDone_nb()
666 workItems.clear(); in onWorkDone_nb()
668 for (auto it = workItems.begin(); it != workItems.end(); ) { in onWorkDone_nb()
673 it = workItems.erase(it); in onWorkDone_nb()
699 if (!workItems.empty()) { in onWorkDone_nb()
700 nextComponent->queue_nb(&workItems); in onWorkDone_nb()
734 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb() argument
741 mWrappedComponent, std::move(workItems)); in onWorkDone_nb()
/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.cpp27 [this](std::list<std::unique_ptr<C2Work>> &workItems) { handleWorkDone(workItems); })); in createCodec2Component() argument
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp61 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
62 handleWorkDone(workItems); in SetUp()
116 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
117 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp86 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
87 handleWorkDone(workItems); in SetUp()
150 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
151 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
/frameworks/av/media/codec2/hal/client/
Dclient.cpp848 std::list<std::unique_ptr<C2Work>> workItems; in onWorkDone() local
849 if (!c2_hidl::utils::objcpy(&workItems, workBundle)) { in onWorkDone()
857 strongComponent->handleOnWorkDone(workItems); in onWorkDone()
860 listener->onWorkDone(component, workItems); in onWorkDone()
945 std::list<std::unique_ptr<C2Work>> workItems; in onWorkDone() local
946 if (!c2_aidl::utils::FromAidl(&workItems, workBundle)) { in onWorkDone()
954 strongComponent->handleOnWorkDone(workItems); in onWorkDone()
957 listener->onWorkDone(component, workItems); in onWorkDone()
2152 const std::list<std::unique_ptr<C2Work>> &workItems) { in handleOnWorkDone() argument
2154 holdIgbaBlocks(workItems); in handleOnWorkDone()
[all …]
/frameworks/av/media/codec2/hal/client/include/codec2/hidl/
Dclient.h348 std::list<std::unique_ptr<C2Work>>& workItems) = 0;
547 void handleOnWorkDone(const std::list<std::unique_ptr<C2Work>> &workItems);
/frameworks/av/media/codec2/sfplugin/include/media/stagefright/
DCCodec.h75 void onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems);
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp62 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
63 handleWorkDone(workItems); in SetUp()
134 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
135 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp112 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp() argument
113 handleWorkDone(workItems); in SetUp()
247 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone() argument
248 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
/frameworks/av/media/codec2/core/include/
DC2Component.h338 std::list<std::unique_ptr<C2Work>> workItems) = 0;
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp829 std::list<std::unique_ptr<C2Work>>& workItems) override { in onWorkDone()
835 codec->onWorkDone(workItems); in onWorkDone()
2709 void CCodec::onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems) { in onWorkDone() argument
2710 if (!workItems.empty()) { in onWorkDone()
2713 queue->splice(queue->end(), workItems); in onWorkDone()